AtaPortReadRegisterBufferUlong 函数 (irb.h)

AtaPortReadRegisterBufferUlong 例程将指定数量的 ULONG 值从 HBA 传输到缓冲区。

注意 ATA 端口驱动程序和 ATA 微型端口驱动程序模型将来可能会更改或不可用。 相反,我们建议使用 Storport 驱动程序Storport 微型端口 驱动程序模型。
 

语法

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

参数

[in] Register

包含应开始传输的寄存器地址。 此地址值必须在通过调用 AtaPortGetDeviceBase 获取的映射 I/O 空间地址范围内。

[in] Buffer

指向目标缓冲区的指针。

[in] Count

指定要从 HBA 读取的 ULONG 值的数目。

返回值

要求

要求
目标平台 桌面
标头 irb.h (包括 Ata.h、Irb.h)
Library Ataport.lib;Pciidex.lib

另请参阅

AtaPortGetDeviceBase

AtaPortReadRegisterBufferUchar

AtaPortReadRegisterBufferUshort