AtaPortReadPortBufferUshort 例程将给定数量的 USHORT 值从 HBA 传输到缓冲区。
注意 ATA 端口驱动程序和 ATA 微型端口驱动程序模型将来可能会更改或不可用。 相反,我们建议使用 Storport 驱动程序,Storport 微型端口 驱动程序模型。
语法
VOID AtaPortReadPortBufferUshort(
[in] PUSHORT Port,
[in] PUSHORT Buffer,
[in] ULONG Count
);
参数
[in] Port
指向 I/O 端口的指针。 分配给此参数的地址值必须位于通过调用 AtaPortGetDeviceBase获得的映射 I/O 空间地址范围内。
[in] Buffer
指向目标缓冲区的指针。
[in] Count
指定要从 HBA 读取的 USHORT 值的数目。
返回值
没有
要求
| 要求 | 价值 |
|---|---|
| 目标平台 | 桌面 |
| 标头 | irb.h (包括 Ata.h、Irb.h) |
| 库 | Ataport.lib;Pciidex.lib |