The NdisQueryMdl macro retrieves the buffer length, and optionally the base virtual address, from an MDL.
Syntax
VOID NdisQueryMdl(
_Mdl,
_VirtualAddress,
_Length,
_Priority
);
Parameters
_Mdl
MDL에 대한 포인터입니다.
_VirtualAddress
이 매크로가 MDL에서 설명하는 가상 주소 범위의 기본 가상 주소를 반환하는 호출자 제공 변수에 대한 포인터입니다. The base virtual address can be NULL for either of the following reasons:
System resources are low or exhausted and the _Priority parameter is set to LowPagePriority or NormalPagePriority.
System resources are exhausted and the _Priority parameter is set to HighPagePriority.
_Length
이 매크로가 MDL에서 설명하는 가상 주소 범위의 길이(바이트)를 반환하는 호출자 제공 변수에 대한 포인터입니다.
_Priority
페이지 우선 순위 값입니다. For a list of the possible values for this parameter, see the Priority parameter of the MmGetSystemAddressForMdlSafe macro.
Return value
None
Remarks
The NdisQueryMdl macro provides an MDL-based version of the NdisQueryBuffer function.
Requirements
Target platform |
Desktop |
Version |
NDIS 6.0 이상에서 지원됩니다. |
Header |
Ndis.h(Ndis.h 포함) |
IRQL |
<= 디스패치_레벨 |
DDI 규정 준수 규칙 |
Irql_NetBuffer_Function |