include: Deconstify a variable

Francois Gouget fgouget at free.fr
Thu Mar 19 09:00:10 CDT 2009


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 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 include it probably does not mean 
much. 

So that leaves the questions of whether my latest SDK is recent enough 
(6.0.6001.18000.367-20080205), and why Wine declares MapLS in winbase.h.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
A particle is an irreducible representation of the Poincaré Group - Eugene Wigner


More information about the wine-devel mailing list