VOID
NdisFreeBufferPool(
IN NDIS_HANDLE PoolHandle
);
NdisFreeBufferPool releases a handle obtained in a preceding call to NdisAllocateBufferPool.
Before calling NdisFreeBufferPool, the driver must call NdisFreeBuffer as many times as necessary to release all buffer descriptors that were allocated with NdisAllocateBuffer but not yet released. Otherwise, the call to NdisFreeBufferPool causes a memory leak.
The driver must release any spin lock it is holding before calling NdisFreeBufferPool.
Callers of NdisFreeBufferPool run at IRQL <= DISPATCH_LEVEL.
NdisAllocateBuffer, NdisAllocateBufferPool, NdisFreeBuffer, NdisReleaseSpinLock