mirror of
https://github.com/reactos/reactos.git
synced 2024-09-14 06:42:52 +00:00
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:
parent
677670754c
commit
b04cf03c9a
|
@ -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)
|
||||
|
|
|
@ -4991,11 +4991,6 @@ GlobalAlloc(
|
|||
DWORD dwBytes
|
||||
);
|
||||
|
||||
HGLOBAL
|
||||
STDCALL
|
||||
GlobalDiscard(
|
||||
HGLOBAL hglbMem
|
||||
);
|
||||
|
||||
HGLOBAL
|
||||
STDCALL
|
||||
|
|
Loading…
Reference in a new issue