Macro NdisRawReadPortBufferUshort (ndis.h)

NdisRawReadPortBufferUshort legge un numero specificato di USHORT in un buffer fornito dal chiamante.

Sintassi

void NdisRawReadPortBufferUshort(
  [in]   Port,
  [out]  Buffer,
  [in]   Length
);

Parametri

[in] Port

Specifica la porta di I/O. Questo indirizzo rientra in un intervallo mappato durante l'inizializzazione con NdisMRegisterIoPortRange.

[out] Buffer

Puntatore a un buffer allocato dal chiamante, nella memoria residente, in cui verranno trasferiti gli USHORT dalla scheda di interfaccia di rete. Il chiamante deve allocare almeno un buffer (sizeof(USHORT) * Length ).

[in] Length

Specifica il numero di USHORT da trasferire dalla scheda di interfaccia di rete.

Valore restituito

nessuno

Osservazioni

NdisRawReadPortBufferUshort legge ogni valore USHORT, uno alla volta, dalla porta di I/O specificata nel buffer specificato.

Requisiti

Requisito Valore
Client minimo supportato Supportato per i driver NDIS 6.0 e NDIS 5.1 (vedere NdisRawReadPortBufferUshort (NDIS 5.1)) in Windows Vista. Supportato per i driver NDIS 5.1 (vedere NdisRawReadPortBufferUshort (NDIS 5.1)) in Windows XP.
Piattaforma di destinazione Universale
Intestazione ndis.h (include Ndis.h)
IRQL Qualsiasi livello

Vedi anche

MiniportInitializeEx

NdisMRegisterIoPortRange

NdisRawReadPortBufferUchar

NdisRawReadPortBufferUlong

NdisRawReadPortUshort

NdisRawWritePortBufferUshort