Compartir a través de


NdisDprAllocatePacket (Windows CE 5.0)

Send Feedback

NdisDprAllocatePacket allocates and initializes a packet descriptor. Because Windows CE does not support DPC IRQL, all NdisDprXXX functions perform identically to the non-DPR equivalent.

VOID NdisDprAllocatePacket(PNDIS_STATUSStatus,PNDIS_PACKET* Packet,NDIS_HANDLEPoolHandle); 

Parameters

  • Status
    [out] Pointer to a caller-supplied variable in which this function returns the final status of the request.
  • Packet
    [out] Pointer to a caller-supplied variable in which this function returns a pointer to the allocated packet descriptor.
  • PoolHandle
    [in] Specifies the handle returned by a preceding call to NdisAllocatePacketPool.

Return Values

The following table shows the return values for this function

Value Description
NDIS_STATUS_SUCCESS The caller can use the packet descriptor returned at Packet.
NDIS_STATUS_RESOURCES The free list for the packet pool currently has no available entries. A subsequent call to NdisDprFreePacket or NdisFreePacket will return the given entry to the free list. The variable at Packet is set to NULL.

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 | NdisDprAllocatePacketNonInterlocked | NdisDprFreePacket | NdisDprReleaseSpinLock | NdisFreePacket | NdisMSynchronizeWithInterrupt | NdisReleaseSpinLock

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.