// ndis.h
VOID NdisQueryMdlOffset(
_Mdl,
_Offset,
_Length
);
View the official Windows hardware development documentationNo description available.
The NdisQueryMdlOffset macro retrieves the offset within a physical page at which a given MDL buffer begins and the length of the buffer.
_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.
None
The NdisQueryMdlOffset macro provides an MDL-based version of the NdisQueryBufferOffset function.
| 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 |