FltFreePoolAlignedWithTag function (fltkernel.h)

The FltFreePoolAlignedWithTag routine frees a cache-aligned buffer that was allocated by a previous call to FltAllocatePoolAlignedWithTag.

Syntax

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

Parameters

[in] Instance

Opaque instance pointer for a caller-owned minifilter driver instance that is attached to the volume. Must be the same instance pointer as the one used in the call to FltAllocatePoolAlignedWithTag.

[in] Buffer

Address of the block of pool memory to be freed.

[in] Tag

Tag used to mark the pool block. Must be the same tag as the one used in the call to FltAllocatePoolAlignedWithTag.

Return value

None

Remarks

The memory that the Buffer parameter points to must not be accessed after it is freed by FltFreePoolAlignedWithTag.

The caller of FltFreePoolAlignedWithTag can be running at IRQL DISPATCH_LEVEL if a NonPagedXxxPoolType value was specified when the memory was allocated. Otherwise, the caller must be running at IRQL <= APC_LEVEL.

Requirements

Requirement Value
Target Platform Universal
Header fltkernel.h (include Fltkernel.h)
Library FltMgr.lib
IRQL See Remarks section.

See also

FltAllocatePoolAlignedWithTag