Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisGetPacketCancelId returns the cancellation identifier assigned to a packet.
- Packet [in]
Pointer to an NDIS_PACKET structure that is the descriptor for a packet.
Returns a buffer that contains the cancellation identifier for the specified packet.
The NdisGetPacketCancelId and NDIS_GET_PACKET_CANCEL_ID macros can be used interchangeably. For more information about NdisGetPacketCancelId, see NDIS_GET_PACKET_CANCEL_ID.
System support for NdisGetPacketCancelId is available in Windows XP and later versions.
|Not supported for NDIS 6.0 drivers in Windows Vista. Use NDIS_GET_NET_BUFFER_LIST_CANCEL_IDinstead. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.|