NdisFreePacketPool (Windows Embedded CE 6.0)
1/6/2010
This function releases a handle to a block of packet pool that was allocated with the NdisAllocatePacketPool function.
Syntax
VOID NdisFreePacketPool(
NDIS_HANDLE PoolHandle
);
Parameters
- PoolHandle
[in] Handle returned when the driver called NdisAllocatePacketPool. The pool handle is no longer valid after this function returns.
Return Value
None.
Remarks
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 that it is holding before calling this function.
Requirements
Header | ndis.h |
Library | ndis.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Library Functions
NdisAllocatePacket
NdisAllocatePacketPool
NdisFreePacket
NdisReleaseSpinLock