ExReleaseRundownProtection 函数 (wdm.h)

ExReleaseRundownProtection 例程释放调用方之前通过调用 ExAcquireRundownProtection 例程获取的运行保护。

语法

void ExReleaseRundownProtection(
  [in, out] PEX_RUNDOWN_REF RunRef
);

参数

[in, out] RunRef

指向先前调用 ExInitializeRundownProtection 例程初始化的 EX_RUNDOWN_REF 结构的指针。 运行保护例程使用此结构来跟踪关联的共享对象的运行状态。 此结构对驱动程序不透明。

返回值

没有

言论

调用 ExAcquireRundownProtection 获取对象访问运行时保护的驱动程序负责调用 ExReleaseRundownProtection,以便在访问完成后释放运行时保护。

只要运行块本身是非分页的,就可以在DISPATCH_LEVEL调用此函数。

有关详细信息,请参阅 Run-Down 保护

要求

要求 价值
最低支持的客户端 从 Windows XP 开始可用。
目标平台 普遍
标头 wdm.h (包括 Wdm.h)
NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= DISPATCH_LEVEL (请参阅备注)
DDI 符合性规则 HwStorPortProhibitedDIS(storport)

另请参阅

EX_RUNDOWN_REF

ExAcquireRundownProtection

ExInitializeRundownProtection