NdisTestNblFlag macro (ndis/nblaccessors.h)

The NdisTestNblFlag macro retrieves the current setting of a flag in a NET_BUFFER_LIST structure.

Syntax

void NdisTestNblFlag(
   _NBL,
   _F
);

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

_F

The flag in the NblFlags member of the NET_BUFFER_LIST structure for which to retrieve the current setting.

Return value

NdisTestNblFlag returns TRUE if the flag that is specified in the _F parameter is set. Otherwise, this macro returns FALSE.

Remarks

NDIS drivers use the NdisTestNblFlag macro to retrieve the setting of the specified flag (_F) in the NblFlags member of a NET_BUFFER_LIST structure.

For more information about the flags, see the NblFlags member on the NET_BUFFER_LIST topic.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis/nblaccessors.h (include ndis.h)

See also

NET_BUFFER_LIST