共用方式為


ExReleaseRundownProtection 函式 (wdm.h)

ExReleaseRundownProtection 例程會釋放呼叫者先前透過呼叫 ExAcquireRundownProtection 例程取得的 run-down 保護。

語法

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

參數

[in, out] RunRef

先前呼叫 exInitializeRundownProtection 例程所初始化之EX_RUNDOWN_REF 結構的指標。 Run-down 保護例程會使用此結構來追蹤相關聯共用物件的執行狀態。 此結構對驅動程式不透明。

傳回值

沒有

言論

呼叫 ExAcquireRundownProtection 取得物件存取運行時間保護的驅動程式,負責呼叫 ExReleaseRundownProtection,以在存取完成時釋放運行時間保護。

只要 run-down 區塊本身為非分頁,就可以在 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