Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
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
Um ponteiro para um MDL.
_VirtualAddress
Um ponteiro para uma variável fornecida pelo chamador na qual essa macro retorna o endereço virtual base do intervalo de endereços virtuais descrito pelo 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
Um ponteiro para uma variável fornecida pelo chamador na qual essa macro retorna o comprimento, em bytes, do intervalo de endereços virtuais descrito pelo MDL.
_Priority
Um valor de prioridade de página. 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 |
Suportado no NDIS 6.0 e posterior. |
Header |
Ndis.h (inclui Ndis.h) |
IRQL |
<= NÍVEL_DE_DESPACHO |
Regras de conformidade com DDI |
Irql_NetBuffer_Function |