次の方法で共有


NdisQueryMdlOffset (Compact 2013)

3/26/2014

This macro retrieves the offset within a physical page at which a given MDL buffer begins and the length of the buffer.

Syntax

NdisQueryMdlOffset(_Mdl, _Offset, _Length);

Parameters

  • _Mdl
    A pointer to an MDL.
  • _Offset
    A pointer to a caller-supplied variable in which this macro returns the zero-based byte offset within the physical page that contains the MDL-specified buffer.
  • _Length
    A pointer to a caller-supplied variable in which this macro returns the length, in bytes, of the virtual address range that is specified by the MDL.

Return Value

None

Remarks

The NdisQueryMdlOffset macro provides an MDL-based version of the NdisQueryBufferOffset function.

Requirements

Header

ndis.h

See Also

Reference

NDIS MDL Interface
NdisQueryBufferOffset