AVRF_HEAPALLOCATION_ENUMERATE_CALLBACK回呼函式 (avrfsdk.h)

接收堆積配置的相關信息。

語法

AVRF_HEAPALLOCATION_ENUMERATE_CALLBACK AvrfHeapallocationEnumerateCallback;

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

參數

HeapAllocation

包含要列舉之堆積相關信息 的AVRF_HEAP_ALLOCATION 結構的指標。

EnumerationContext

叫用 VerifierEnumerateResource 函式時,列舉內容中使用者定義資訊的指標。

EnumerationLevel

值的指標,通知 VerifierEnumerateResource 函式繼續或停止列舉作業。 這些值定義在 eHeapEnumerationLevel 列舉中。

傳回值

此函式會傳回錯誤碼或應用程式所定義的其他值。

規格需求

需求
最低支援的用戶端 Windows XP [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限桌面應用程式]
目標平台 Windows
標頭 avrfsdk.h

另請參閱

資源列舉