Bewerken

Delen via


NET_BUFFER_LIST_INFO macro (ndis/nblaccessors.h)

NET_BUFFER_LIST_INFO is a macro that NDIS drivers use to get and set information that applies to all the NET_BUFFER structures in a NET_BUFFER_LIST structure.

Syntax

void NET_BUFFER_LIST_INFO(
   _NBL,
   _Id
);

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

_Id

An ID that indicates the type of information to access from the NetBufferListInfo member of the NET_BUFFER_LIST structure that the _NBL parameter specifies.

Return value

NET_BUFFER_LIST_INFO returns the information that is associated with the specified ID. The information is retrieved from the NetBufferListInfo member of the indicated NET_BUFFER_LIST structure.

Remarks

For a list of the valid NetBufferListInfo IDs, see the NDIS_NET_BUFFER_LIST_INFO enumeration reference page.

The following example demonstrates getting a NetBufferListInfo value:

value = NET_BUFFER_LIST_INFO(pNBL, Id);

The following example demonstrates setting a NetBufferListInfo value:

NET_BUFFER_LIST_INFO(pNBL, Id) = value;

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

NDIS_NET_BUFFER_LIST_INFO

NET_BUFFER

NET_BUFFER_LIST