ScsiPortReadRegisterBufferUshort routine

The ScsiPortReadRegisterBufferUshort routine transfers a specified number of USHORT values from the HBA to a buffer.

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


VOID ScsiPortReadRegisterBufferUshort(
  _In_ PUSHORT Register,
  _In_ PUSHORT Buffer,
  _In_ ULONG   Count
);

Parameters

Register [in]

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

Buffer [in]

Pointer to the buffer.

Count [in]

Specifies the number of USHORT values to be read from the HBA.

Return value

None

Remarks

ScsiPortReadRegisterBufferUshort ensures that the data has been 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: