This function releases a handle to a block of packet pool that was allocated with the NdisAllocatePacketPool function.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisFreePacketPool( IN NDIS_HANDLE PoolHandle );
This function frees the storage for the packet pool. Before calling this function, the driver must call the NdisFreePacket function as many times as necessary to release all packet descriptors that it has allocated with the NdisAllocatePacket function but not yet freed.
The driver must also release any spin lock it is holding before calling this function.
A driver that calls this function runs at IRQL <= DISPATCH_LEVEL.
NdisAllocatePacket, NdisAllocatePacketPool, NdisFreePacket, NdisReleaseSpinLock