diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2005-06-18 11:36:02 +0400 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2005-06-18 11:36:02 +0400 |
commit | 00110273cc28835d0b7ac79269ddbc60989ba39d (patch) | |
tree | e5b17c7c53e902de05e7b44eb90b2b0564f527da /winsup/w32api/include/winbase.h | |
parent | 91717fb80617f29725226c723a3c0c48d7126138 (diff) |
* include/winbase.h (GolbalDiscard): Define as macro.
Thanks to: David Golub <david_golub at users dot sf dot net>
Diffstat (limited to 'winsup/w32api/include/winbase.h')
-rw-r--r-- | winsup/w32api/include/winbase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index 1963d444b..53f739dc1 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -1534,7 +1534,7 @@ WINBASEAPI ATOM WINAPI GlobalAddAtomW( LPCWSTR); WINBASEAPI HGLOBAL WINAPI GlobalAlloc(UINT,DWORD); WINBASEAPI SIZE_T WINAPI GlobalCompact(DWORD); /* Obsolete: Has no effect. */ 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 GlobalFindAtomW(LPCWSTR); WINBASEAPI VOID WINAPI GlobalFix(HGLOBAL); /* Obsolete: Has no effect. */ |