Partager via


énumération DEVICE_INSTALL_STATE (wdm.h)

L’énumération DEVICE_INSTALL_STATE décrit l’état d’installation d’un appareil.

Syntaxe

typedef enum _DEVICE_INSTALL_STATE {
  InstallStateInstalled,
  InstallStateNeedsReinstall,
  InstallStateFailedInstall,
  InstallStateFinishInstall
} DEVICE_INSTALL_STATE, *PDEVICE_INSTALL_STATE;

Constantes

 
InstallStateInstalled
L’appareil est installé.
InstallStateNeedsReinstall
Le système tente de réinstaller l’appareil sur une énumération ultérieure.
InstallStateFailedInstall
L’appareil n’a pas été correctement installé.
InstallStateFinishInstall
L’installation de cet appareil n’est pas encore terminée.

Remarques

La routine IoGetDeviceProperty fournit une valeur d’énumération DEVICE_INSTALL_STATE lorsqu’un pilote demande DevicePropertyInstallState. Le système d’exploitation utilise la valeur comme indicateur de l’état d’installation de l’appareil.

Exigences

Exigence Valeur
client minimum pris en charge Disponible dans Microsoft Windows XP et versions ultérieures du système d’exploitation Windows.
d’en-tête wdm.h (include Wdm.h)

Voir aussi

DEVICE_REGISTRY_PROPERTY

IoGetDeviceProperty