ScsiPortReadRegisterUlong function (srb.h)
The ScsiPortReadRegisterUlong routine reads a ULONG value from 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 ULONG ScsiPortReadRegisterUlong(
[in] PULONG Register
);
Parameters
[in] Register
Pointer to the register. The given Register must be in a mapped memory-space range returned by ScsiPortGetDeviceBase.
Return value
ScsiPortReadRegisterUlong returns a ULONG value from the HBA's register.
Remarks
ScsiPortReadRegisterUlong ensures that data is transferred correctly.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | srb.h (include Miniport.h, Scsi.h, Storport.h) |
Library | Scsiport.lib |