NDIS_MDL_LINKAGE macro

The NDIS_MDL_LINKAGE macro retrieves a pointer to the next MDL that is associated with the specified MDL.

Syntax

PVOID NDIS_MDL_LINKAGE(
   PMDL _Mdl
);

Parameters

_Mdl
A pointer to an MDL.

Return value

NDIS_MDL_LINKAGE returns a pointer to an MDL or NULL if there is no next MDL.

Remarks

The NDIS_MDL_LINKAGE macro provides an MDL-based version of the NDIS_BUFFER_LINKAGE function.

Requirements

Target platform

Desktop

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

IRQL

Any level

See also

NDIS_BUFFER_LINKAGE