HeapDestroy (Windows CE 5.0)
This function destroys the specified heap object.
BOOLHeapDestroy(HANDLEhHeap );
Parameters
hHeap
[in] Handle to the heap to be destroyed.This parameter should be a heap handle returned by the HeapCreate function.
Do not use the handle to the process heap returned by the GetProcessHeap function.
Return Values
Nonzero indicates success.
Zero indicates failure.
To get extended error information, call GetLastError.
Remarks
Processes can call HeapDestroy without first calling the HeapFree function to free memory allocated from the heap.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Winbase.h.
Link Library: Coredll.lib.
See Also
GetProcessHeap | HeapAlloc | HeapCreate | HeapFree | HeapReAlloc | HeapSize
Send Feedback on this topic to the authors