ExFreePoolWithTag routine
The ExFreePoolWithTag routine deallocates a block of pool memory allocated with the specified tag.
Syntax
VOID ExFreePoolWithTag( _In_ PVOID P, _In_ ULONG Tag );
Parameters
- P [in]
-
Specifies the beginning address of a block of pool memory allocated by either ExAllocatePoolWithTag or ExAllocatePoolWithQuotaTag.
- Tag [in]
-
Specifies the tag value passed to ExAllocatePoolWithTag or ExAllocatePoolWithQuotaTag when the block of memory was originally allocated.
Return value
None
Remarks
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.
Requirements
|
Version | Available starting with Windows 2000. |
|---|---|
|
Header |
|
|
Library |
|
|
IRQL | <= DISPATCH_LEVEL (see Remarks section) |
|
DDI compliance rules | IrqlExFree1, IrqlExFree2, IrqlExFree3 |
See also
Send comments about this topic to Microsoft
Build date: 5/22/2013
