Export (0) Print
Expand All

NET_BUFFER_CURRENT_MDL_OFFSET macro

NET_BUFFER_CURRENT_MDL_OFFSET is a macro that NDIS drivers use to get the CurrentMdlOffset member of a NET_BUFFER structure.

Syntax


ULONG NET_BUFFER_CURRENT_MDL_OFFSET(
  PNET_BUFFER _NB
);

Parameters

_NB

A pointer to a NET_BUFFER structure.

Return value

NET_BUFFER_CURRENT_MDL_OFFSET returns the value of the CurrentMdlOffset member of the indicated NET_BUFFER structure.

Remarks

The return value specifies the offset, in bytes, to the beginning of the used data space in the MDL that is specified by the CurrentMdl member of the NET_BUFFER structure.

Requirements

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

See also

NET_BUFFER

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft