Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
NdisGetPacketCancelId returns the cancellation identifier assigned to a packet.
PVOID NdisGetPacketCancelId(PNDIS_PACKETPacket);
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.lib
See Also
MiniportCancelSendPackets | NdisCancelSendPackets | NdisGeneratePartialCancelId | NDIS_PACKET | NdisSetPacketCancelId
Send Feedback on this topic to the authors