Windows implements GlobalDiscard by using a #define to GlobalReAlloc. This update removes GlobalDiscard from the function list, and adds the define.

svn path=/trunk/; revision=6302
This commit is contained in:
Mark Tempel 2003-10-13 04:40:18 +00:00
parent 677670754c
commit b04cf03c9a
2 changed files with 1 additions and 6 deletions

View file

@ -1925,7 +1925,7 @@ extern "C" {
#define GMEM_MODIFY (128)
#define GMEM_DISCARDED (16384)
#define GMEM_LOCKCOUNT (255)
#define GlobalDiscard(h) GlobalReAlloc(h, 0, GMEM_MOVEABLE)
/* ImageList_Create */
#define ILC_COLOR (0)

View file

@ -4991,11 +4991,6 @@ GlobalAlloc(
DWORD dwBytes
);
HGLOBAL
STDCALL
GlobalDiscard(
HGLOBAL hglbMem
);
HGLOBAL
STDCALL