NdisTestNblFlag macro

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

Syntax


BOOLEAN 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 to retrieve the current setting for.

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

Target platform

Universal

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

See also

NET_BUFFER_LIST

 

 

Send comments about this topic to Microsoft

Show: