AVRF_HEAPALLOCATION_ENUMERATE_CALLBACK callback function (avrfsdk.h)

Receives information related to heap allocations.

Syntax

AVRF_HEAPALLOCATION_ENUMERATE_CALLBACK AvrfHeapallocationEnumerateCallback;

ULONG AvrfHeapallocationEnumerateCallback(
  PAVRF_HEAP_ALLOCATION HeapAllocation,
  PVOID EnumerationContext,
  PULONG EnumerationLevel
)
{...}

Parameters

HeapAllocation

A pointer to an AVRF_HEAP_ALLOCATION structure containing information about the heap to be enumerated.

EnumerationContext

A pointer to user-defined information in the context of the enumeration that is passed in when the VerifierEnumerateResource function is invoked.

EnumerationLevel

A pointer to a value that informs the VerifierEnumerateResource function to either continue or stop the enumeration operation. These values are defined in the eHeapEnumerationLevel enum.

Return value

This function returns error codes or other values defined by the application.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header avrfsdk.h

See also

Resource Enumeration