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 Protection

規格需求

需求
最低支援的用戶端 從 Windows XP 開始提供。
目標平台 Universal
標頭 wdm.h (包含 Wdm.h)
程式庫 NtosKrnl.lib
Dll NtosKrnl.exe
IRQL <= DISPATCH_LEVEL (请参阅备注)
DDI 合規性規則 HwStorPortProhibitedDIS (storport)

另請參閱

EX_RUNDOWN_REF

ExAcquireRundownProtection

ExInitializeRundownProtection