VirtualFree
VirtualFree frees memory allocated with VirtualAlloc.
Syntax
BOOL WINAPI VirtualFree( LPVOID lpAddress, SIZE_T dwSize, DWORD dwFreeType );
Parameters
lpAddress
A pointer previously returned by VirtualAlloc. This pointer cannot point to arbitrary memory. It must be the value returned from a previous call to VirtualAlloc.
dwSize
This must be zero.
dwFreeType
This must be MEM_RELEASE.
Return Value
Nonzero if the function succeeds, 0 (zero) if the function fails.
Requirements
Minimum Supported Version | RTX64 2014 |
Header | windows.h |
Library | Rtx_Rtss.lib |
See Also: