NET_BUFFER_LIST_FIRST_NB macro (ndis/nblaccessors.h)

NET_BUFFER_LIST_FIRST_NB is a macro that NDIS drivers use to get the first NET_BUFFER structure in a NET_BUFFER_LIST structure.

Syntax

#define NET_BUFFER_LIST_FIRST_NB(_NBL) ((_NBL)->FirstNetBuffer)

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

Return value

NET_BUFFER_LIST_FIRST_NB returns a pointer to the first NET_BUFFER structure in the indicated NET_BUFFER_LIST structure.

Remarks

NET_BUFFER_LIST_FIRST_NB gets the return value from the FirstNetBuffer member of the NET_BUFFER_LIST structure.

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

NET_BUFFER_LIST