AtaPortWriteRegisterUshort function (irb.h)

The AtaPortWriteRegisterUshort routine transfers a USHORT value to 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

void AtaPortWriteRegisterUshort(
  [in] PUSHORT Register,
  [in] USHORT  Value
);

Parameters

[in] Register

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

[in] Value

Specifies the value to write to the register for the HBA.

Return value

None

Requirements

Requirement Value
Target Platform Desktop
Header irb.h (include Ata.h, Irb.h)
Library Ataport.lib; Pciidex.lib

See also

AtaPortGetDeviceBase

AtaPortWriteRegisterUchar

AtaPortWriteRegisterUlong