From 0fc2536a690c9283ac86124bbfab68ccead9d319 Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Wed, 25 Aug 2010 23:33:14 +0000 Subject: [PATCH] 2010-08-25 Chris Sutcliffe * include/winbase.h (GetEnvironmentStrings, GetEnvironmentStringsA): Per MSDN, change return type to LPCH. (GetEnvironmentStringsW): Per MSDN, change return type to LPWCH. --- winsup/w32api/ChangeLog | 6 ++++++ winsup/w32api/include/winbase.h | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index d2a9d9536..97ec4cf45 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,9 @@ +2010-08-25 Chris Sutcliffe + + * include/winbase.h (GetEnvironmentStrings, GetEnvironmentStringsA): Per + MSDN, change return type to LPCH. + (GetEnvironmentStringsW): Per MSDN, change return type to LPWCH. + 2010-08-24 Chris Sutcliffe * include/prsht.h (SNDMDG, POSTMSG): Fix typo. diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index 39a175b3f..d3906b471 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -1571,9 +1571,9 @@ WINBASEAPI DWORD WINAPI GetDllDirectoryW(DWORD,LPWSTR); #endif WINBASEAPI UINT WINAPI GetDriveTypeA(LPCSTR); WINBASEAPI UINT WINAPI GetDriveTypeW(LPCWSTR); -WINBASEAPI LPSTR WINAPI GetEnvironmentStrings(void); -WINBASEAPI LPSTR WINAPI GetEnvironmentStringsA(void); -WINBASEAPI LPWSTR WINAPI GetEnvironmentStringsW(void); +WINBASEAPI LPCH WINAPI GetEnvironmentStrings(void); +WINBASEAPI LPCH WINAPI GetEnvironmentStringsA(void); +WINBASEAPI LPWCH WINAPI GetEnvironmentStringsW(void); WINBASEAPI DWORD WINAPI GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD); WINBASEAPI DWORD WINAPI GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD); WINBASEAPI BOOL WINAPI GetExitCodeProcess(HANDLE,PDWORD); -- 2.43.5