AtaPortReadRegisterBufferUshort - NtDoc

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

VOID AtaPortReadRegisterBufferUshort(
  [in] PUSHORT Register,
  [in] PUSHORT Buffer,
  [in] ULONG   Count
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

AtaPortReadRegisterBufferUshort function

Description

The AtaPortReadRegisterBufferUshort routine transfers a specified number of USHORT values from the HBA to a buffer.

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]

Contains the register address where the transfer should begin. This address value must be within the range of mapped I/O space addresses that are obtained by a call to AtaPortGetDeviceBase.

Buffer [in]

A pointer to the destination buffer.

Count [in]

Specifies the number of USHORT values to read from the HBA.

See also

AtaPortGetDeviceBase

AtaPortReadRegisterBufferUchar

AtaPortReadRegisterBufferUlong