NDIS_GET_NET_BUFFER_LIST_CANCEL_ID macro

The NDIS_GET_NET_BUFFER_LIST_CANCEL_ID macro gets the cancellation identifier from a NET_BUFFER_LIST structure.

Syntax


ULONG NDIS_GET_NET_BUFFER_LIST_CANCEL_ID(
   PNET_BUFFER_LIST _NBL
);

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

Return value

NDIS_GET_NET_BUFFER_LIST_CANCEL_ID returns a ULONG value that is a cancellation identifier for the NET_BUFFER_LIST structure.

Remarks

To cancel send requests, filter drivers call the NdisFCancelSendNetBufferLists function. Other NDIS drivers call the NdisCancelSendNetBufferLists function.

Drivers can call the NDIS_SET_NET_BUFFER_LIST_CANCEL_ID macro to set a cancellation identifier in a NET_BUFFER_LIST structure.

Requirements

Target platform

Universal

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

See also

NdisCancelSendNetBufferLists
NdisFCancelSendNetBufferLists
NDIS_SET_NET_BUFFER_LIST_CANCEL_ID
NET_BUFFER_LIST

 

 

Send comments about this topic to Microsoft

Show: