MmGetMdlByteOffset

ULONG
MmGetMdlByteOffset(
IN PMDL
Mdl
);

MmGetMdlByteOffset returns the byte offset within a page of the buffer described by a given MDL.

Parameters

Mdl

Points to an MDL.

Return Value

MmGetMdlByteOffset returns the offset in bytes.

Comments

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

See Also

MmGetMdlByteCount MmGetMdlVirtualAddress.