HeapValidate function kernel32

int HeapValidate(
  1. int hHeap,
  2. int dwFlags,
  3. Pointer<NativeType> lpMem
)

Validates the specified heap. The function scans all the memory blocks in the heap and verifies that the heap control structures maintained by the heap manager are in a consistent state. You can also use the HeapValidate function to validate a single memory block within a specified heap without checking the validity of the entire heap.

BOOL HeapValidate(
  HANDLE  hHeap,
  DWORD   dwFlags,
  LPCVOID lpMem
);

Implementation

int HeapValidate(int hHeap, int dwFlags, Pointer lpMem) =>
    _HeapValidate(hHeap, dwFlags, lpMem);