NET_BUFFER_FIRST_MDL (Compact 2013)

3/26/2014

This is a macro that NDIS drivers use to obtain the first MDL in a NET_BUFFER structure.

Syntax

NET_BUFFER_FIRST_MDL(_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 obtains the return value from the MdlChain member of the NET_BUFFER structure.

Requirements

Header

ndis.h

See Also

Reference

NET_BUFFER Structure Macros
NET_BUFFER