Freigeben über


NdisGetPacketCancelId (Compact 2013)

3/26/2014

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

See Also

Reference

NDIS 5.x Legacy Functions
MiniportCancelSendPackets
NdisCancelSendPackets
NdisGeneratePartialCancelId
NDIS_PACKET