MmGetMdlByteOffset macro (wdm.h)
The MmGetMdlByteOffset macro returns the byte offset within the initial page of the buffer described by the given MDL.
C++
void MmGetMdlByteOffset(
[in] Mdl
);
[in] Mdl
Pointer to an MDL.
None
MmGetMdlByteOffset returns the offset in bytes.
Callers of MmGetMdlByteOffset can be running at any IRQL. Usually, callers are running at IRQL <= DISPATCH_LEVEL.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 |
Header | wdm.h (include Wdm.h) |
IRQL | Any level (see Remarks) |
DDI compliance rules | MdlAfterReqCompletedIntIoctlA(kmdf), MdlAfterReqCompletedIoctlA(kmdf), MdlAfterReqCompletedReadA(kmdf), MdlAfterReqCompletedWriteA(kmdf) |