#ifndef _NTRTL_H
/**
* The RtlEnumProcessHeaps routine enumerates the heaps of the process, invoking a callback for each.
*
* \param EnumRoutine The callback invoked for each process heap.
* \param Parameter A caller-defined value passed to the callback.
* \return NTSTATUS Successful or errant status.
*/
NTSYSAPI
NTSTATUS
NTAPI
RtlEnumProcessHeaps(
_In_ PRTL_ENUM_HEAPS_ROUTINE EnumRoutine,
_In_ PVOID Parameter
);
View code on GitHubNo description available.
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.