// wdm.h
typedef enum _DEVICE_INSTALL_STATE {
InstallStateInstalled,
InstallStateNeedsReinstall,
InstallStateFailedInstall,
InstallStateFinishInstall
} DEVICE_INSTALL_STATE, *PDEVICE_INSTALL_STATE;
View the official Windows Driver Kit DDI referenceNo description available.
The DEVICE_INSTALL_STATE enumeration describes a device's installation state.
InstallStateInstalledThe device is installed.
InstallStateNeedsReinstallThe system will try to reinstall the device on a later enumeration.
InstallStateFailedInstallThe device did not install properly.
InstallStateFinishInstallThe installation of this device is not yet complete.
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.