ScsiPortReadRegisterBufferUchar function (srb.h)

The ScsiPortReadRegisterBufferUchar routine transfers a specified number of unsigned bytes 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

SCSIPORT_API VOID ScsiPortReadRegisterBufferUchar(
  [in] PUCHAR Register,
  [in] PUCHAR Buffer,
  [in] ULONG  Count
);

Parameters

[in] Register

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

[in] Buffer

Pointer to the buffer.

[in] Count

Specifies the number of bytes to be read from the HBA.

Return value

None

Remarks

ScsiPortReadRegisterBufferUchar ensures that the data is transferred correctly.

Requirements

Requirement Value
Target Platform Desktop
Header srb.h (include Miniport.h, Scsi.h, Storport.h)
Library Scsiport.lib

See also

ScsiPortGetDeviceBase