Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ScsiPortReadPortBufferUshort routine transfers a given number of USHORT values from the HBA to a buffer.
Syntax
SCSIPORT_API VOID ScsiPortReadPortBufferUshort(
[in] PUSHORT Port,
[in] PUSHORT Buffer,
[in] ULONG 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 USHORT values to read from the HBA.
Return value
None
Remarks
ScsiPortReadPortBufferUshort ensures that the data is transferred correctly.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | srb.h (include Miniport.h, Scsi.h, Storport.h) |
| Library | Scsiport.lib |