Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DEVICE_INSTALL_STATE

DEVICE_INSTALL_STATE enumeration

The DEVICE_INSTALL_STATE enumeration describes a device's installation state.

Syntax


typedef enum _DEVICE_INSTALL_STATE { 
  InstallStateInstalled       = 0,
  InstallStateNeedsReinstall  = 1,
  InstallStateFailedInstall   = 2,
  InstallStateFinishInstall   = 3
} 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

Version

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

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft