NET_BUFFER_DATA_LENGTH macro

NET_BUFFER_DATA_LENGTH is a macro that NDIS drivers use to get the amount of used data space in a NET_BUFFER structure.

Syntax

void NET_BUFFER_DATA_LENGTH(
   _NB
);

Parameters

_NB

A pointer to a NET_BUFFER structure.

Return Value

NET_BUFFER_DATA_LENGTH returns the amount of used data space in a NET_BUFFER structure.

Remarks

NET_BUFFER_DATA_LENGTH gets the return value from the DataLength member of the NET_BUFFER structure.

Requirements

   
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis.h

See Also

NET_BUFFER