AtaPortReadRegisterUshort - NtDoc

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

USHORT AtaPortReadRegisterUshort(
  [in] PUSHORT Register
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-irb-ataportreadregisterushort)

AtaPortReadRegisterUshort function

Description

The AtaPortReadRegisterUshort 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.

Parameters

Register [in]

A pointer to the register to be read. 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

AtaPortReadRegisterUshort returns a USHORT value from the HBA's register.

See also

AtaPortGetDeviceBase

AtaPortReadRegisterUchar

AtaPortReadRegisterUlong