NDIS_GET_NET_BUFFER_LIST_CANCEL_ID macro (ndis.h)

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

Syntax

void NDIS_GET_NET_BUFFER_LIST_CANCEL_ID(
   _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

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis.h

See also

NdisCancelSendNetBufferLists

NdisFCancelSendNetBufferLists

NDIS_SET_NET_BUFFER_LIST_CANCEL_ID

NET_BUFFER_LIST