AtaPortReadRegisterBufferUlong function (irb.h)

The AtaPortReadRegisterBufferUlong routine transfers a specified number of ULONG 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.
 

Syntax

void AtaPortReadRegisterBufferUlong(
  [in] PULONG Register,
  [in] PULONG Buffer,
  [in] ULONG  Count
);

Parameters

[in] Register

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.

[in] Buffer

A pointer to the destination buffer.

[in] Count

Specifies the number of ULONG values to read from 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

AtaPortReadRegisterBufferUchar

AtaPortReadRegisterBufferUshort