ScsiPortReadPortBufferUlong macro (storport.h)

The ScsiPortReadPortBufferUlong routine transfers a given number of ULONG 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 ScsiPortReadPortBufferUlong(
  [in]  Port,
  [in]  Buffer,
  [in]  Count
);

Parameters

[in] Port

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

[in] Buffer

Pointer to the buffer.

[in] Count

Specifies the number of ULONG values to read from the HBA.

Return value

None

Remarks

ScsiPortReadPortBufferUlong ensures that the data is transferred correctly.

Requirements

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

See also

ScsiPortGetDeviceBase