DEVICE_INSTALL_STATE enumeration (wdm.h)

The DEVICE_INSTALL_STATE enumeration describes a device's installation state.

Syntax

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

Constants

 
InstallStateInstalled
The device is installed.
InstallStateNeedsReinstall
The system will try to reinstall the device on a later enumeration.
InstallStateFailedInstall
The device did not install properly.
InstallStateFinishInstall
The installation of this device is not yet complete.

Remarks

The IoGetDeviceProperty routine supplies a DEVICE_INSTALL_STATE enumeration value when a driver requests DevicePropertyInstallState. The operating system uses the value as a hint about the install state of the device.

Requirements

Requirement Value
Minimum supported client Available in Microsoft Windows XP and later versions of the Windows operating system.
Header wdm.h (include Wdm.h)

See also

DEVICE_REGISTRY_PROPERTY

IoGetDeviceProperty