Partager via


NET_BUFFER_LIST_INFO (Compact 7)

3/12/2014

This 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

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 NET_BUFFER_LIST 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

Header

ndis.h

See Also

Reference

NET_BUFFER_LIST Structure Macros
NET_BUFFER
NET_BUFFER_LIST