MmGetMdlByteCount

ULONG
MmGetMdlByteCount(

IN PMDL Mdl
);

MmGetMdlByteCount returns the length in bytes of the buffer described by a given MDL.

Parameters

Mdl

Points to an MDL.

Return Value

MmGetMdlByteCount returns the byte count of the buffer described by Mdl.

Comments

Callers of MmGetMdlByteCount can be running at any IRQL. Usually, callers are running at IRQL <= DISPATCH_LEVEL.

See Also

MmGetMdlByteOffset.