次の方法で共有


NdisRawReadPortUshort (Compact 2013)

3/26/2014

This function reads a USHORT value from a specified I/O port on the network adapter.

Syntax

VOID NdisRawReadPortUshort(
    ULONG Port,
  PUSHORT Data
);

Parameters

  • Port
    [in] Specifies the I/O port. This address falls in a range that was mapped during initialization with the NdisMRegisterIoPortRange function.
  • Data
    [out] Pointer to a caller-supplied variable in which this function returns a USHORT value that is read in from the port.

Return Value

None.

Remarks

NdisRawReadPortUshort runs fast because it do not have to map a bus-relative I/O port address onto a host-dependent logical port address at every call.

Requirements

Header

ndis.h

See Also

Reference

NDIS I/O Port Raw Interface
MiniportInitializeEx
NdisMRegisterIoPortRange
NdisRawReadPortBufferUshort
NdisRawReadPortUchar
NdisRawReadPortUlong
NdisRawWritePortUshort