* include/winbase.h (GolbalDiscard): Define as macro.

Thanks to: David Golub  <david_golub  at users dot sf dot net>
This commit is contained in:
Danny Smith 2005-06-18 07:36:02 +00:00
parent 91717fb806
commit 00110273cc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-06-18 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GolbalDiscard): Define as macro.
Thanks to: David Golub <david_golub at users dot sf dot net>
2005-05-13 Corinna Vinschen <corinna@vinschen.de> 2005-05-13 Corinna Vinschen <corinna@vinschen.de>
* include/winnetwk.h (WNetGetResourceParentA): Add missing declaration. * include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.

View File

@ -1534,7 +1534,7 @@ WINBASEAPI ATOM WINAPI GlobalAddAtomW( LPCWSTR);
WINBASEAPI HGLOBAL WINAPI GlobalAlloc(UINT,DWORD); WINBASEAPI HGLOBAL WINAPI GlobalAlloc(UINT,DWORD);
WINBASEAPI SIZE_T WINAPI GlobalCompact(DWORD); /* Obsolete: Has no effect. */ WINBASEAPI SIZE_T WINAPI GlobalCompact(DWORD); /* Obsolete: Has no effect. */
WINBASEAPI ATOM WINAPI GlobalDeleteAtom(ATOM); WINBASEAPI ATOM WINAPI GlobalDeleteAtom(ATOM);
WINBASEAPI HGLOBAL GlobalDiscard(HGLOBAL); #define GlobalDiscard(hMem) GlobalReAlloc((hMem), 0, GMEM_MOVEABLE)
WINBASEAPI ATOM WINAPI GlobalFindAtomA(LPCSTR); WINBASEAPI ATOM WINAPI GlobalFindAtomA(LPCSTR);
WINBASEAPI ATOM WINAPI GlobalFindAtomW(LPCWSTR); WINBASEAPI ATOM WINAPI GlobalFindAtomW(LPCWSTR);
WINBASEAPI VOID WINAPI GlobalFix(HGLOBAL); /* Obsolete: Has no effect. */ WINBASEAPI VOID WINAPI GlobalFix(HGLOBAL); /* Obsolete: Has no effect. */