From: SF/projects/mingw n. l. <min...@li...> - 2010-08-25 12:43:05
|
Bugs item #1755820, was opened at 2007-07-17 20:40 Message generated for change (Comment added) made by ir0nh34d You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1755820&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: w32api Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Emmanuel Stapf (manus_eiffel) >Assigned to: Chris Sutcliffe (ir0nh34d) Summary: Incorrect definition for GetEnvironmentStrings[A|W] Initial Comment: At line 1430 of `winbase.h', the following declarations are incorrect: WINBASEAPI LPSTR WINAPI GetEnvironmentStrings(void); WINBASEAPI LPSTR WINAPI GetEnvironmentStringsA(void); WINBASEAPI LPWSTR WINAPI GetEnvironmentStringsW(void); It should be instead: WINBASEAPI LPVOID WINAPI GetEnvironmentStrings(void); WINBASEAPI LPVOID WINAPI GetEnvironmentStringsA(void); WINBASEAPI LPVOID WINAPI GetEnvironmentStringsW(void); Regards, Manu ---------------------------------------------------------------------- >Comment By: Chris Sutcliffe (ir0nh34d) Date: 2010-08-25 08:43 Message: According to MSDN (at least now) it's actually a LPTCH the function returns: http://msdn.microsoft.com/en-us/library/ms683187%28VS.85%29.aspx I will update the function calls accordingly. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1755820&group_id=2435 |