MM_MDL_ROUTINE callback function (wdm.h)

A driver-supplied callback routine that is invoked after a memory descriptor list (MDL) is mapped by calling the MmMapMdl function.

Syntax

MM_MDL_ROUTINE MmMdlRoutine;

void MmMdlRoutine(
  [in, optional] PVOID DriverContext,
  [in]           PVOID MappedVa
)
{...}

Parameters

[in, optional] DriverContext

A pointer to a driver-defined context. The driver's callback function can store any status information in the driver context and then examine the value, when the callback is invoked.

[in] MappedVa

A pointer to a buffer that contains the system virtual address of the mapping.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10, version 1709
Minimum supported server Windows Server 2016
Target Platform Windows
Header wdm.h
IRQL <=DISPATCH_LEVEL

See also

MmMapMdl