HeapDestroy function kernel32
Destroys the specified heap object. It decommits and releases all the pages of a private heap object, and it invalidates the handle to the heap.
BOOL HeapDestroy(
HANDLE hHeap
);
Implementation
int HeapDestroy(int hHeap) => _HeapDestroy(hHeap);