FltFreePoolAlignedWithTag routine

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

Syntax


VOID FltFreePoolAlignedWithTag(
  _In_ PFLT_INSTANCE Instance,
  _In_ PVOID         Buffer,
  _In_ ULONG         Tag
);

Parameters

Instance [in]

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.

Buffer [in]

Address of the block of pool memory to be freed.

Tag [in]

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

Target platform

Universal

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

See Remarks section.

See also

FltAllocatePoolAlignedWithTag

 

 

Send comments about this topic to Microsoft

Show: