WDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS列舉 (wdfchildlist.h)

[僅適用於 KMDF]

WDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS列舉會定義架構儲存在驅動程式WDF_CHILD_RETRIEVE_INFO結構中的裝置狀態值。

Syntax

typedef enum _WDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS {
  WdfChildListRetrieveDeviceUndefined = 0,
  WdfChildListRetrieveDeviceSuccess,
  WdfChildListRetrieveDeviceNotYetCreated,
  WdfChildListRetrieveDeviceNoSuchDevice
} WDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS, *PWDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS;

常數

 
WdfChildListRetrieveDeviceUndefined
值: 0
WdfChildListRetrieveDeviceSuccess
WdfChildListRetrieveNextDeviceWdfChildListRetrievePdo 方法已成功擷取子裝置,且裝置存在架構裝置物件。
WdfChildListRetrieveDeviceNotYetCreated
WdfChildListRetrieveNextDeviceWdfChildListRetrievePdo 已成功擷取子裝置,但尚未為裝置建立架構裝置物件 (,因為架構尚未呼叫驅動程式的 EvtChildListCreateDevice 回呼函式) 。
WdfChildListRetrieveDeviceNoSuchDevice
WdfChildListRetrieveNextDeviceWdfChildListRetrievePdo 無法擷取符合搜尋準則的子裝置。

備註

WDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS列舉是用來指定WDF_CHILD_RETRIEVE_INFO結構的 Status 成員。

規格需求

需求
最小 KMDF 版本 1.0
標頭 wdfchildlist.h (包含 Wdf.h)

另請參閱

EvtChildListCreateDevice

WDF_CHILD_RETRIEVE_INFO

WdfChildListRetrieveNextDevice

WdfChildListRetrievePdo