NdisFreePacketPool

Windows CE .NET

This function releases a handle to a block of packet pool that was allocated with the NdisAllocatePacketPool function.

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NdisAllocatePacket | NdisAllocatePacketPool | NdisFreePacket | NdisReleaseSpinLock


 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.

Show: