ScsiPortReadRegisterUchar routine

The ScsiPortReadRegisterUchar routine reads an unsigned byte value from the HBA.

Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
 

Syntax


UCHAR ScsiPortReadRegisterUchar(
  _In_ PUCHAR Register
);

Parameters

Register [in]

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

Return value

ScsiPortReadRegisterUchar returns an unsigned byte from the HBA's register.

Remarks

ScsiPortReadRegisterUchar ensures that the data is transferred correctly.

Requirements

Target platform

Desktop

Header

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

Library

Scsiport.lib

See also

ScsiPortGetDeviceBase

 

 

Send comments about this topic to Microsoft

Show: