DEVICE_INSTALL_STATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

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

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-wdm-_device_install_state)

_DEVICE_INSTALL_STATE enumeration

Description

The DEVICE_INSTALL_STATE enumeration describes a device's installation 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.

See also

DEVICE_REGISTRY_PROPERTY

IoGetDeviceProperty