Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

NET_BUFFER_LIST_INFO macro

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


PVOID NET_BUFFER_LIST_INFO(
   PNET_BUFFER_LIST _NBL,
   ULONG            _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 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

Target platform

Desktop

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

See also

NDIS_NET_BUFFER_LIST_INFO
NET_BUFFER
NET_BUFFER_LIST

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft