MmGetMdlByteOffset macro (wdm.h)

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

Syntax

void MmGetMdlByteOffset(
   Mdl
);

Parameters

Mdl

[in] Pointer to an MDL.

Return value

None

Remarks

MmGetMdlByteOffset returns the offset in bytes.

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

Requirements

   
Minimum supported client Windows 2000
Header wdm.h
IRQL Any level (see Remarks)