다음을 통해 공유


NdisFreePacketPool (Windows CE 5.0)

Send Feedback

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.
Link Library: Ndis.lib

See Also

NdisAllocatePacket | NdisAllocatePacketPool | NdisFreePacket | NdisReleaseSpinLock

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.