RE: include: Deconstify a variable

2009-03-19 Thread Rolf Kalbermatter
Francois Gouget [mailto:fgou...@free.fr] wrote: > On Sat, 14 Mar 2009, Andrew Talbot wrote: > > > Correct me if I'm wrong, but I don't think MapLS() takes a > pointer to const. > [...] > > --- a/include/winbase.h > > +++ b/include/winbase.h > [...] > > -WINBASEAPI DWORD WINAPI MapLS(LPCVOI

Re: include: Deconstify a variable

2009-03-19 Thread Andrew Talbot
Francois Gouget wrote: > I could not find MapLS declared in winbase.h in any of the SDKs I have > here. However I found it in win_me/inc16/thunks.h in an old DDK > (Microsoft Windows 2000 DDK) but the declaration was: > > DWORD WINAPI MapLS(DWORD); > > But this being what looks like a 16bit in

Re: include: Deconstify a variable

2009-03-19 Thread Francois Gouget
On Sat, 14 Mar 2009, Andrew Talbot wrote: > Correct me if I'm wrong, but I don't think MapLS() takes a pointer to const. [...] > --- a/include/winbase.h > +++ b/include/winbase.h [...] > -WINBASEAPI DWORD WINAPI MapLS(LPCVOID); > +WINBASEAPI DWORD WINAPI MapLS(LPVOID); I could not fin

Re: include: Deconstify a variable

2009-03-15 Thread Andrew Talbot
Oops! Please ignore this one: I only changed the prototype of MapLS() and forgot to change the definition. -- Andy.