AtaPortWritePortBufferUshort 函数 (irb.h)
AtaPortWritePortBufferUshort 例程将指示的 USHORT 值数从缓冲区传输到 HBA。
注意 ATA 端口驱动程序和 ATA 微型端口驱动程序模型将来可能会更改或不可用。 相反,我们建议使用 Storport 驱动程序,Storport 微型端口 驱动程序模型。
语法
void AtaPortWritePortBufferUshort(
[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 |