Partager via


énumération WDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS (wdfchildlist.h)

[S’applique uniquement à KMDF]

L’énumération WDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS définit les valeurs d’état de l’appareil que le framework stocke dans la structure WDF_CHILD_RETRIEVE_INFO d’un pilote.

Syntaxe

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;

Constantes

 
WdfChildListRetrieveDeviceUndefined
Valeur : 0
WdfChildListRetrieveDeviceSuccess
La méthode WdfChildListRetrieveNextDevice ou WdfChildListRetrievePdo a correctement récupéré un appareil enfant et un objet d’appareil framework existe pour l’appareil.
WdfChildListRetrieveDeviceNotYetCreated
WdfChildListRetrieveNextDevice ou WdfChildListRetrievePdo récupéré avec succès un appareil enfant, mais un objet d’appareil framework n’a pas été créé pour l’appareil (car l’infrastructure n’a pas appelé la fonction de rappel EvtChildListCreateDevice du pilote).
WdfChildListRetrieveDeviceNoSuchDevice
WdfChildListRetrieveNextDevice ou WdfChildListRetrievePdo n’a pas pu récupérer un appareil enfant qui correspond aux critères de recherche.

Remarques

L’énumération WDF_CHILD_LIST_RETRIEVE_DEVICE_STATUS est utilisée pour spécifier le membre status d’une structure WDF_CHILD_RETRIEVE_INFO.

Exigences

Exigence Valeur
version minimale de KMDF 1.0
d’en-tête wdfchildlist.h (include Wdf.h)

Voir aussi

EvtChildListCreateDevice

WDF_CHILD_RETRIEVE_INFO

WdfChildListRetrieveNextDevice

WdfChildListRetrievePdo