// ntrxdef.h
VOID _RxFreePool(
PVOID Buffer,
PSZ FileName,
ULONG LineNumber
);
View the official Windows hardware development documentationNo description available.
_RxFreePool releases memory that was previously allocated using _RxAllocatePoolWithTag.
Buffer A pointer to the buffer of pool memory to be released.
FileName A pointer to the source file name where the memory allocation occurred. This parameter is not currently used.
LineNumber The line number in the source file where the memory allocation occurred. This parameter is not currently used.
None
It is recommended that the RxFreePool macro be called instead of using this routine directly. On retail builds, this macro is defined to call ExFreePool.
Memory allocated with _RxAllocatePoolWithTag should be released by calling _RxFreePool.
The _RxFreePool routine calls ExFreePool.
| Target platform | Desktop |
| Header | Ntrxdef.h (include Ntrxdef.h) |
| IRQL | <= APC_LEVEL |