ScsiPortReadPortBufferUchar function

The ScsiPortReadPortBufferUchar routine transfers a given number of unsigned byte 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 ScsiPortReadPortBufferUchar(
  _In_ PUCHAR Port,
  _In_ PUCHAR Buffer,
  _In_ ULONG  Count
);

Parameters

Port

Pointer to the I/O port. The given Port must be in a mapped I/O-space range returned by ScsiPortGetDeviceBase.

Buffer

Pointer to the buffer.

Count

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

Return Value

None

Remarks

ScsiPortReadPortBufferUchar ensures that the data is transferred correctly.

Requirements

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

See Also

ScsiPortGetDeviceBase

Send comments about this topic to Microsoft