ScsiPortWriteRegisterBufferUshort function (srb.h)

The ScsiPortWriteRegisterBufferUshort routine transfers a given number of USHORT values from a buffer to the HBA.

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 ScsiPortWriteRegisterBufferUshort(
  [in] PUSHORT Register,
  [in] PUSHORT 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 a buffer containing the data to be written.

[in] Count

Specifies the number of USHORT values to be transferred to the HBA.

Return value

None

Requirements

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

See also

ScsiPortGetDeviceBase