ScsiPortReadPortUshort - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// srb.h

SCSIPORT_API USHORT ScsiPortReadPortUshort(
  [in] PUSHORT Port
);
View the official Windows Driver Kit DDI reference
// storport.h

void ScsiPortReadPortUshort(
  [in] Port
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-srb-scsiportreadportushort)

ScsiPortReadPortUshort function

Description

The ScsiPortReadPortUshort routine reads a USHORT 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.

Parameters

Port [in]

Pointer to the I/O port. The given Port must be in a mapped I/O-space range returned by ScsiPortGetDeviceBase.

Return value

ScsiPortReadPortUshort returns a USHORT value from the HBA's I/O port.

Remarks

ScsiPortReadPortUshort ensures that the data is transferred correctly.

See also

ScsiPortGetDeviceBase


Windows Driver Kit DDI reference (nf-storport-scsiportreadportushort)

ScsiPortReadPortUshort macro

Description

The ScsiPortReadPortUshort routine reads a USHORT 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.

Parameters

Port [in]

Pointer to the I/O port. The given Port must be in a mapped I/O-space range returned by ScsiPortGetDeviceBase.

Remarks

ScsiPortReadPortUshort ensures that the data is transferred correctly.

See also

ScsiPortGetDeviceBase