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
|
Version | Supported in NDIS 6.0 through NDIS 6.30. |
|---|---|
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 5/21/2013