ScsiPortReadRegisterUshort routine

The ScsiPortReadRegisterUshort routine reads a USHORT value from the HBA.

Syntax


USHORT ScsiPortReadRegisterUshort(
  _In_ PUSHORT Register
);

Parameters

Register [in]

Pointer to the register. The given Register must be in a mapped memory-space range returned by ScsiPortGetDeviceBase.

Return value

ScsiPortReadRegisterUshort returns a USHORT value from the HBA's register.

Remarks

ScsiPortReadRegisterUshort ensures that the data is transferred correctly.

Requirements

Target platform

Header

Srb.h (include Miniport.h or Scsi.h)

Library

Scsiport.lib

See also

ScsiPortGetDeviceBase

 

 

Send comments about this topic to Microsoft

Show: