#include <stress.h> |
BOOL AllocMem(dwLeft) | ||||
DWORD dwLeft; | /*smallest memory allocation, */ |
The AllocMem function allocates global memory until only the specified number of bytes is available in the global heap. Before making any new memory allocations, this function frees memory previously allocated by AllocMem.
dwLeft
Specifies the smallest size, in bytes, of memory allocations to make.
The return value is nonzero if the function is successful. Otherwise, it is zero.
The FreeAllMem function frees all memory allocated by AllocMem.