AVRF_RESOURCE_ENUMERATE_CALLBACK callback function (avrfsdk.h)

Provides access to one of the specialized callback functions for enumeration of either heap allocation or handle trace information.

Syntax

AVRF_RESOURCE_ENUMERATE_CALLBACK AvrfResourceEnumerateCallback;

ULONG AvrfResourceEnumerateCallback(
  PVOID ResourceDescription,
  PVOID EnumerationContext,
  PULONG EnumerationLevel
)
{...}

Parameters

ResourceDescription

A pointer to either an AVRF_HANDLE_OPERATION structure or an AVRF_HEAP_ALLOCATION structure. Be sure to cast this parameter to the correct structure type.

EnumerationContext

A pointer to be passed to the resource-specific callback function.

EnumerationLevel

Specifies whether the enumeration operation should continue. This must be one of the values 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

VerifierEnumerateResource