InstallationRebootBehavior enumeration (wuapi.h)

The InstallationRebootBehavior enumeration defines the possible restart behaviors for an update. The InstallationRebootBehavior enumeration applies to the installation and uninstallation of updates.

Syntax

typedef enum tagInstallationRebootBehavior {
  irbNeverReboots = 0,
  irbAlwaysRequiresReboot = 1,
  irbCanRequestReboot = 2
} InstallationRebootBehavior;

Constants

 
irbNeverReboots
Value: 0
The update never requires a system restart during or after an installation or an uninstallation.
irbAlwaysRequiresReboot
Value: 1
The update always requires a system restart after a successful installation or uninstallation.
irbCanRequestReboot
Value: 2
The update can request a system restart after a successful installation or uninstallation.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional with SP3 [desktop apps only]
Minimum supported server Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]
Header wuapi.h