확장 최소화

MmGetMdlByteOffset macro

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

Syntax


ULONG MmGetMdlByteOffset(
  [in]  PMDL Mdl
);

Parameters

Mdl [in]

Pointer to an MDL.

Return value

MmGetMdlByteOffset returns the offset in bytes.

Remarks

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

Requirements

Version

Available in Windows 2000 and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

IRQL

Any level (see Remarks section)

DDI compliance rules

MdlAfterReqCompletedIntIoctlA, MdlAfterReqCompletedIoctlA, MdlAfterReqCompletedReadA, MdlAfterReqCompletedWriteA

See also

MmGetMdlByteCount
MmGetMdlVirtualAddress

 

 

Send comments about this topic to Microsoft

표시:
© 2014 Microsoft