MDL structure

An MDL structure is a partially opaque structure that represents a memory descriptor list (MDL).

Syntax

typedef struct _MDL {
  struct _MDL      *Next;
  CSHORT           Size;
  CSHORT           MdlFlags;
  struct _EPROCESS *Process;
  PVOID            MappedSystemVa;
  PVOID            StartVa;
  ULONG            ByteCount;
  ULONG            ByteOffset;
} MDL, *PMDL;

Members

Next

Pointer to the next MDL in an MDL chain. For more information about MDL chains, see Using MDLs.

Size

MdlFlags

Process

MappedSystemVa

StartVa

ByteCount

ByteOffset

Remarks

An MDL describes the layout of a virtual memory buffer in physical memory. For more information, see Using MDLs.

Requirements

   
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)

See Also

IoAllocateMdl

MmGetMdlByteCount

MmGetMdlByteOffset

MmGetMdlPfnArray

MmGetMdlVirtualAddress

MmInitializeMdl