ScsiPortReadPortUchar function (srb.h)
The ScsiPortReadPortUchar routine reads an unsigned byte 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.
SCSIPORT_API UCHAR ScsiPortReadPortUchar(
[in] PUCHAR Port
);
[in] Port
Pointer to the I/O port. The given Port must be in a mapped I/O-space range returned by ScsiPortGetDeviceBase.
ScsiPortReadPortUchar returns an unsigned byte from the HBA's I/O port.
ScsiPortReadPortUchar ensures that the data is transferred correctly.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | srb.h (include Miniport.h, Scsi.h, Storport.h) |
Library | Scsiport.lib |