#ifndef _NTRTL_H
NTSYSAPI
NTSTATUS
NTAPI
RtlEnumProcessHeaps(
_In_ PRTL_ENUM_HEAPS_ROUTINE EnumRoutine,
_In_ PVOID Parameter
);
View code on GitHub
PHEAP_ENUMERATION_ROUTINE
is defined as follows:
typedef NTSTATUS
(*PHEAP_ENUMERATION_ROUTINE)(
IN PVOID HeapHandle,
IN PVOID UserParam
);
User function address.
User defined parameter, will be placed as UserParam
in every HeapEnumerationRoutine
calls.