Share via


NdisRawReadPortUshort

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

VOID NdisRawReadPortUshort(
IN ULONG Port, 
OUT PUSHORT Data );

Parameters

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

Remarks

This function runs faster than the NdisImmediateReadPortUshort function because it need not map a bus-relative I/O port address onto a host-dependent logical port address at every call.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h   Ndislib.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

NdisMRegisterIoPortRange, NdisRawReadPortBufferUshort, NdisRawReadPortUchar, NdisRawReadPortUlong, NdisRawWritePortUshort

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.