HeapDestroy function Null safety kernel32

int HeapDestroy(
  1. int hHeap
)

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);