RtlEnumProcessHeaps - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

NTSYSAPI
NTSTATUS
NTAPI
RtlEnumProcessHeaps(
    _In_ PRTL_ENUM_HEAPS_ROUTINE EnumRoutine,
    _In_ PVOID Parameter
    );

#endif

View code on GitHub

PHEAP_ENUMERATION_ROUTINE is defined as follows:

typedef NTSTATUS
(*PHEAP_ENUMERATION_ROUTINE)(
        IN PVOID HeapHandle,
        IN PVOID UserParam
        );

HeapEnumerationRoutine

User function address.

Param

User defined parameter, will be placed as UserParam in every HeapEnumerationRoutine calls.

Documented by

See also