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 NonPagedXxx PoolType when the memory was allocated. Otherwise, the caller must be running at IRQL <= APC_LEVEL.
Requirements
|
Version | Available in Windows 2000 and later versions of Windows. |
|---|---|
|
Header |
|
|
Library |
|
|
IRQL | <= DISPATCH_LEVEL (see Remarks section) |
See also
Send comments about this topic to Microsoft
Build date: 4/2/2012