MmGetMdlByteOffset - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

void MmGetMdlByteOffset(
  [in] Mdl
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-mmgetmdlbyteoffset)

Description

The MmGetMdlByteOffset macro returns the byte offset within the initial page of the buffer described by the given MDL.

Parameters

Mdl [in]

Pointer to an MDL.

Remarks

MmGetMdlByteOffset returns the offset in bytes.

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