StorPortReadRegisterUshort routine

The StorPortReadRegisterUshort routine reads a value from a specified register address.

Syntax


STORPORT_API USHORT StorPortReadRegisterUshort(
  _In_ PVOID   HwDeviceExtension,
  _In_ PUSHORT Register
);

Parameters

HwDeviceExtension [in]

Pointer to the hardware device extension.

Register [in]

Pointer to the register where the data is to be read.

Return value

StorPortReadRegisterUshort returns an unsigned character of data read from the indicated register address.

Remarks

For more information, see ScsiPortReadRegisterUshort. For a buffered version of this routine, see StorPortReadRegisterBufferUshort.

Requirements

Target platform

Universal

Header

Storport.h (include Storport.h)

Library

Storport.lib

See also

ScsiPortReadRegisterUshort
StorPortReadRegisterBufferUshort

 

 

Send comments about this topic to Microsoft

Show: