NET_BUFFER_FIRST_MDL - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// nblaccessors.h

#define NET_BUFFER_FIRST_MDL(_NB) ((_NB)->MdlChain)

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-nblaccessors-net_buffer_first_mdl)

NET_BUFFER_FIRST_MDL macro

Description

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

Syntax

#define NET_BUFFER_FIRST_MDL(_NB) ((_NB)->MdlChain)

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.

See also

NET_BUFFER