FreeHeap function
The FreeHeap function releases memory previously allocated by the AllocateHeap function.
VOID FreeHeap(
_Inout_ PVOID Base
);
- Base [in, out]
Pointer to the buffer to be freed.
This function does not return a value. However, if the function sets Base to NULL, the buffer was freed. If Base is not NULL after the function call ends, the buffer could not be freed.
A pointer to the FreeHeap function is available in the SECPKG_DLL_FUNCTIONS structure received from the SpInstanceInit function.
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
Ntsecpkg.h |