Expand Minimize

ScsiPortReadRegisterBufferUchar routine

The ScsiPortReadRegisterBufferUchar routine transfers a specified number of unsigned bytes from the HBA to a buffer.

Syntax


VOID ScsiPortReadRegisterBufferUchar(
  _In_ PUCHAR Register,
  _In_ PUCHAR 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 bytes to be read from the HBA.

Return value

None

Remarks

ScsiPortReadRegisterBufferUchar 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:
© 2015 Microsoft