NdisQueryMdlOffset - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

VOID NdisQueryMdlOffset(
    _Mdl,
    _Offset,
    _Length
);
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (ndisquerymdloffset)

NdisQueryMdlOffset macro

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

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

Target platform Desktop
Version Supported in NDIS 6.0 and later.
Header Ndis.h (include Ndis.h)
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_NetBuffer_Function

See also

NdisQueryBufferOffset