Expand Minimize

ScsiPortReadPortBufferUchar routine

The ScsiPortReadPortBufferUchar routine transfers a given number of unsigned byte values from the HBA to a buffer.

Syntax


VOID ScsiPortReadPortBufferUchar(
  _In_  PUCHAR Port,
  _In_  PUCHAR Buffer,
  _In_  ULONG Count
);

Parameters

Port [in]

Pointer to the I/O port. The given Port must be in a mapped I/O-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

ScsiPortReadPortBufferUchar ensures that the data is transferred correctly.

Requirements

Header

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

Library

Scsiport.lib

See also

ScsiPortGetDeviceBase

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft