AtaPortStallExecution 函数 (irb.h)

AtaPortStallExecution 在微型端口驱动程序中停止。

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

语法

void AtaPortStallExecution(
  [in] ULONG Delay
);

参数

[in] Delay

指定延迟间隔(以微秒为单位)。

返回值

没有

言论

微型端口驱动程序很少调用 AtaPortStallExecution 例程。 任何微型端口驱动程序例程中的总停止时间必须始终小于 1 毫秒。 由于此调用将处理器关联起来,因此处理器在驱动程序中停止时不起作用。

通常,微型端口驱动程序应调用 AtaPortStallExecution,前提是驱动程序必须等待 HBA 上的某种状态更改而无法造成中断,或者驱动程序必须在访问 HBA 之间延迟非常短的间隔。

微型端口驱动程序应使用 AtaPortRequestTimer 例程,延迟时间超过 1 毫秒。

要求

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

另请参阅

AtaPortRequestTimer