MmInitializeMdl

VOID
MmInitializeMdl(

IN PMDL MemoryDescriptorList,
IN PVOID BaseVa,
IN ULONG Length
);

MmInitializeMdl initializes the header of an MDL.

Parameters

MemoryDescriptorList

Points to the MDL to be initialized.

BaseVa

Points to the base virtual address of a buffer.

Length

Specifies the length in bytes of the buffer to be described by the MDL.

Comments

Callers of MmInitializeMdl must be running at <= DISPATCH_LEVEL.

See Also

IoAllocateMdl, IoBuildPartialMdl, IoFreeMdl, MmBuildMdlForNonPagedPool, MmCreateMdl, MmPrepareMdlForReuse, MmSizeOfMdl