NDIS_SET_NET_BUFFER_LIST_CANCEL_ID (Compact 7)
3/12/2014
This macro marks a NET_BUFFER_LIST structure with a cancellation identifier that a driver can later use to cancel the pending transmission of the associated data.
Syntax
NDIS_SET_NET_BUFFER_LIST_CANCEL_ID(_NBL)
Parameters
- _NBL
A pointer to a NET_BUFFER_LIST structure.
Return Value
None
Remarks
An NDIS driver can call the NDIS_SET_NET_BUFFER_LIST_CANCEL_ID macro for each NET_BUFFER_LIST structure that it passes to lower-level drivers for transmission. The NDIS_SET_NET_BUFFER_LIST_CANCEL_ID macro marks the specified NET_BUFFER_LIST structure with a cancellation identifier. Drivers must call the NdisGeneratePartialCancelId function to obtain a value that the driver must use as the high-order byte of a cancellation identifier.
To cancel send requests, filter drivers call the NdisFCancelSendNetBufferLists function. Other drivers call the NdisCancelSendNetBufferLists function.
Drivers can call the NDIS_GET_NET_BUFFER_LIST_CANCEL_ID macro to retrieve a cancellation identifier from a NET_BUFFER_LIST structure.
Requirements
Header |
ndis.h |
See Also
Reference
NDIS NET_BUFFER Send and Receive Macros
NdisCancelSendNetBufferLists
NdisFCancelSendNetBufferLists
NdisGeneratePartialCancelId
NDIS_GET_NET_BUFFER_LIST_CANCEL_ID
NET_BUFFER_LIST