Export (0) Print
Expand All

NDIS_GET_PACKET_CANCEL_ID (Windows Embedded CE 6.0)

1/6/2010

This macro returns the cancellation identifier assigned to a packet.


PVOID NDIS_GET_PACKET_CANCEL_ID(
  PNDIS_PACKET _P
);

_ P

Points to an NDIS_PACKET structure that is the descriptor for a packet.

The return value is the cancellation identifier for the specified packet.

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

A miniport driver calls NDIS_GET_PACKET_CANCEL_ID 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 cancels the pending transmission of the packet.

The NDIS_GET_PACKET_CANCEL_ID macro is defined as follows.

#define NDIS_GET_PACKET_CANCEL_ID(_P) NDIS_PER_PACKET_INFO_FROM_PACKET(_P, PacketCancelId)

Headerndis.h
Windows Embedded CEWindows CE .NET 4.0 and later

Community Additions

ADD
Show:
© 2014 Microsoft