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 值,则可以在 IRQL DISPATCH_LEVEL 运行 FltFreePoolAlignedWithTag 调用方。 否则,调用方必须在 IRQL <= APC_LEVEL上运行。

要求

要求 价值
目标平台 普遍
标头 fltkernel.h (包括 Fltkernel.h)
FltMgr.lib
IRQL 请参阅“备注”部分。

另请参阅

FltAllocatePoolAlignedWithTag