ScsiPortReadRegisterBufferUshort macro (storport.h)
The ScsiPortReadRegisterBufferUshort routine transfers a specified number of USHORT 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 ScsiPortReadRegisterBufferUshort(
[in] Register,
[in] Buffer,
[in] 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 the buffer.
[in] Count
Specifies the number of USHORT values to be read from the HBA.
Return value
None
Remarks
ScsiPortReadRegisterBufferUshort ensures that the data has been transferred correctly.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | storport.h (include Miniport.h, Scsi.h, Storport.h) |
Library | Scsiport.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for