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(
[in] Mdl
);
Parameters
[in] Mdl
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
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) |