NdisFreePacketPool releases a handle to a block of packet pool that was allocated with NdisAllocatePacketPool.
VOID
NdisFreePacketPool(
IN NDIS_HANDLE PoolHandle
);
Declared in Ndis.h. Include Ndis.h.
NdisFreePacketPool frees the storage for the packet pool. Before calling this function, the driver must call NdisFreePacket as many times as necessary to release all packet descriptors that it has allocated with NdisAllocatePacket but not yet freed.
Callers of NdisFreePacketPool run at IRQL <= DISPATCH_LEVEL.
NdisAllocatePacket, NdisAllocatePacketPool, NdisFreePacket, NdisReleaseSpinLock