énumération DEVICE_INSTALL_STATE (wdm.h)

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

Syntax

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 essaiera 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.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Disponible dans Microsoft Windows XP et versions ultérieures du système d’exploitation Windows.
En-tête wdm.h (inclure Wdm.h)

Voir aussi

DEVICE_REGISTRY_PROPERTY

IoGetDeviceProperty