HeapCompact function kernel32
Returns the size of the largest committed free block in the specified heap. If the Disable heap coalesce on free global flag is set, this function also coalesces adjacent free blocks of memory in the heap.
SIZE_T HeapCompact(
HANDLE hHeap,
DWORD dwFlags
);
Implementation
int HeapCompact(int hHeap, int dwFlags) => _HeapCompact(hHeap, dwFlags);