FltFreePoolAlignedWithTag 函式 (fltkernel.h)

FltFreePoolAlignedWithTag 例程會釋放先前呼叫 FltAllocatePoolAlignedWithTag 所配置的快取對齊緩衝區。

語法

VOID FLTAPI FltFreePoolAlignedWithTag(
  [in] PFLT_INSTANCE Instance,
  [in] PVOID         Buffer,
  [in] ULONG         Tag
);

參數

[in] Instance

附加至磁碟區的呼叫端擁有迷你篩選驅動程序實例的不透明實例指標。 必須與 呼叫 FltAllocatePoolAlignedWithTag 中使用的實例指標相同。

[in] Buffer

要釋放之集區內存區塊的位址。

[in] Tag

用來標記集區區塊的標記。 必須與 呼叫 FltAllocatePoolAlignedWithTag 中使用的標記相同。

傳回值

備註

在 FltFreePoolAlignedWithTag 釋放 Buffer 參數所指向的記憶體之後,不得加以存取。

如果配置記憶體時指定 NonPagedXxxPoolType 值,FltFreePoolAlignedWithTag 的呼叫端可以在 IRQL DISPATCH_LEVEL執行。 否則,呼叫端必須在 IRQL <= APC_LEVEL執行。

規格需求

需求
目標平台 Universal
標頭 fltkernel.h (包含 Fltkernel.h)
程式庫 FltMgr.lib
IRQL 請參閱一節。

另請參閱

FltAllocatePoolAlignedWithTag