NdisTestNblFlag (Compact 2013)

3/26/2014

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

Syntax

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

Header

ndis.h

See Also

Reference

NET_BUFFER_LIST Flags Macros
NET_BUFFER_LIST