NET_BUFFER_FIRST_MDL macro

NET_BUFFER_FIRST_MDL is a macro that NDIS drivers use to get the first MDL in a NET_BUFFER structure.

Syntax


PMDL NET_BUFFER_FIRST_MDL(
  PNET_BUFFER _NB
);

Parameters

_NB

A pointer to a NET_BUFFER structure.

Return value

NET_BUFFER_FIRST_MDL returns a pointer to the first MDL in a linked list of MDLs that is associated with the indicated NET_BUFFER structure.

Remarks

NET_BUFFER_FIRST_MDL gets the return value from the MdlChain 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