// wdm.h
void MmGetMdlByteOffset(
[in] Mdl
);
View the official Windows Driver Kit DDI referenceNo description available.
The MmGetMdlByteOffset macro returns the byte offset within the initial page of the buffer described by the given MDL.
Mdl [in]Pointer to an MDL.
MmGetMdlByteOffset returns the offset in bytes.
Callers of MmGetMdlByteOffset can be running at any IRQL. Usually, callers are running at IRQL <= DISPATCH_LEVEL.