Previous Next

NdisReadPortUshort

NdisReadPortUshort is called by the NIC driver to read a USHORT from its NIC’s I/O port.

VOID
  NdisReadPortUshort(
    IN NDIS_HANDLE  NdisAdapterHandle,
    IN ULONG  Port,
    OUT PUSHORT  Data
    );

Parameters

NdisAdapterHandle
Specifies the handle that the NDIS interface library associates with the network interface card.
Port
Specifies the I/O port.
Data
Pointer to the caller-supplied variable in which this function returns the USHORT read from Port.

Headers

Declared in Ndis.h. Include Ndis.h.

Comments

Callers of NdisReadPortUshort can be running at any IRQL.

See Also

NdisRawReadPortUshort, NdisReadPortBufferUshort, NdisWritePortUshort