#ifndef _NTRTL_H
NTSYSAPI
NTSTATUS
NTAPI
RtlWalkHeap(
_In_ PVOID HeapHandle,
_Inout_ PRTL_HEAP_WALK_ENTRY Entry
);
View code on GitHub
Address of heap.
Pointer to PROCESS_HEAP_ENTRY
structure defined in <WinNT.h>.
Repeat calls to RtlWalkHeap
until result is STATUS_NO_MORE_ENTRIES
.