The ExFreePoolWithTag routine deallocates a block of pool memory allocated with the specified tag.
void ExFreePoolWithTag( PVOID P, ULONG Tag );
Tag must be a value from 0x20 (space) to 0x7E (tilde).
Callers of ExFreePoolWithTag must be running at IRQL <= DISPATCH_LEVEL. A caller at DISPATCH_LEVEL must have specified a NonPagedXxxPoolType when the memory was allocated. Otherwise, the caller must be running at IRQL <= APC_LEVEL.
|Minimum supported client||Available starting with Windows 2000.|
|Header||wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)|
|IRQL||<= DISPATCH_LEVEL (see Remarks section)|
|DDI compliance rules||IrqlExFree1, IrqlExFree2, IrqlExFree3|