NdisGetPacketCancelId (Windows Embedded CE 6.0)

1/6/2010

NdisGetPacketCancelId returns the cancellation identifier assigned to a packet.

Syntax

PVOID NdisGetPacketCancelId(
  PNDIS_PACKET Packet
);

Parameters

  • Packet
    [in] Pointer to an NDIS_PACKET structure that is the descriptor for a packet.

Return Value

Returns the cancellation identifier for the specified packet.

Remarks

A protocol or intermediate driver can call NdisGetPacketCancelId to obtain the cancellation identifier for a packet.

A miniport driver calls NdisGetPacketCancelId from its MiniportCancelSendPackets function to obtain cancellation identifiers of packets in its send queue. If a packet's cancellation identifier matches the cancellation identifier passed to the miniport driver's MiniportCancelSendPackets function, the miniport driver cancels the pending transmission of the packet.

Requirements

Header ndis.h
Library ndis.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
MiniportCancelSendPackets
NdisCancelSendPackets
NdisGeneratePartialCancelId
NDIS_PACKET
NdisSetPacketCancelId