NET_BUFFER_LIST_CONTEXT_DATA_SIZE macro

NET_BUFFER_LIST_CONTEXT_DATA_SIZE is a macro that NDIS drivers use to get the size of the NET_BUFFER_LIST_CONTEXT data buffer that is associated with a NET_BUFFER_LIST structure.

Syntax


USHORT NET_BUFFER_LIST_CONTEXT_DATA_SIZE(
  PNET_BUFFER_LIST _NBL
);

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

Return value

NET_BUFFER_LIST_CONTEXT_DATA_SIZE returns the size, in bytes, of the NET_BUFFER_LIST_CONTEXT data buffer that is associated with the indicated NET_BUFFER_LIST structure.

Remarks

NET_BUFFER_LIST_CONTEXT_DATA_SIZE gets the return value from the Size member of the first NET_BUFFER_LIST_CONTEXT structure.

Requirements

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

See also

NET_BUFFER_LIST
NET_BUFFER_LIST_CONTEXT

 

 

Send comments about this topic to Microsoft

表示:
© 2014 Microsoft