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 AtaPortReadPortUshort routine reads a USHORT value from the HBA.
Note The ATA port driver and ATA miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
Syntax
USHORT AtaPortReadPortUshort(
[in] PUSHORT Port
);
Parameters
[in] Port
A pointer to the I/O port. The address value that is assigned to this parameter must be within the range of mapped I/O space addresses that are obtained by a call to AtaPortGetDeviceBase.
Return value
AtaPortReadPortUshort returns a USHORT value from the HBA's I/O port.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | irb.h (include Ata.h, Irb.h) |
| Library | Ataport.lib; Pciidex.lib |