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.