WdfFdoUnlockStaticChildListFromIteration 函式 (wdffdo.h)

[僅適用於 KMDF]

WdfFdoUnlockStaticChildListFromIteration 方法會解除鎖定指定裝置的子裝置清單,並處理在鎖定清單時驅動程式對清單所做的任何變更。

語法

void WdfFdoUnlockStaticChildListFromIteration(
  [in] WDFDEVICE Fdo
);

參數

[in] Fdo

代表父裝置之架構裝置物件的句柄。

傳回值

備註

如果驅動程式提供無效的物件句柄,就會發生錯誤檢查。

使用靜態總線列舉的總線驅動程式可以呼叫 WdfFdoUnlockStaticChildListFromIteration

若要鎖定子清單,驅動程式會呼叫 WdfFdoLockStaticChildListForIteration

WdfFdoLockStaticChildListForIteration 的呼叫可以是巢狀的,而且必須與對 WdfFdoUnlockStaticChildListFromIteration 的呼叫相等數目進行比對。 如果驅動程式在鎖定時從子清單中新增或移除專案,架構會將這些變更排入佇列,並在最後一次呼叫 WdfFdoUnlockStaticChildListFromIteration 之後加以處理。

如需靜態子清單的詳細資訊,請參閱 列舉總線上的裝置

範例

如需使用 WdfFdoUnlockStaticChildListFromIteration 的程式代碼範例,請參閱 WdfFdoRetrieveNextStaticChild

規格需求

需求
目標平台 Universal
最低 KMDF 版本 1.0
標頭 wdffdo.h (包含 Wdf.h)
程式庫 Wdf01000.sys (請參閱 Framework Library Versioning.)
IRQL <= DISPATCH_LEVEL
DDI 合規性規則 DriverCreate (kmdf) KmdfIrql (kmdf) KmdfIrql2 (kmdf) 、 KmdfIrqlExplicit (kmdf)

另請參閱

WdfFdoLockStaticChildListForIteration