Share via


NdisDprFreePacket (Windows CE 5.0)

Send Feedback

NdisDprFreePacket releases a driver-allocated packet descriptor and returns it to the free list. Because Windows CE does not support DPC IRQL, all NdisDprXXX functions perform identically to the non-DPR equivalent.

VOID NdisDprFreePacket(PNDIS_PACKETPacket);

Parameters

Return Values

None.

Remarks

Before calling NdisDprFreePacket, the driver either must call NdisFreeBuffer as many times as necessary to release all buffer descriptors chained to the packet, or it must call an NdisUnchainBufferAtXxx function as many times as necessary to save all pointers to buffer descriptors. Otherwise, memory associated with buffer descriptors in the chain remains unusable by the driver and by NDIS until the system is rebooted.

Requirements

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

See Also

MiniportDisableInterrupt | MiniportISR | MiniportSynchronizeISR | NdisAcquireSpinLock | NdisAllocatePacket | NdisAllocatePacketPool | NdisAllocateSpinLock | NdisDprAllocatePacket | NdisDprFreePacketNonInterlocked | NdisDprReleaseSpinLock | NdisFreeBuffer | NdisFreePacket | NdisMSynchronizeWithInterrupt | NdisReleaseSpinLock

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.