#include <stress.h> |
BOOL AllocGDIMem(uLeft) | |||||
UINT uLeft; | /* number of bytes to leave available | */ |
The AllocGDIMem function allocates memory in the graphics device interface (GDI) heap until only the specified number of bytes is available. Before making any new memory allocations, this function frees memory previously allocated by AllocGDIMem.
uLeft
Specifies the amount of memory, in bytes, to leave available in the GDI heap.
The return value is nonzero if the function is successful. Otherwise, it is zero.
The FreeAllGDIMem function frees all memory allocated by AllocGDIMem.