共用方式為


InstallationRebootBehavior enumeration

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  { 
  irbNeverReboots          = 0,
  irbAlwaysRequiresReboot  = 1,
  irbCanRequestReboot      = 2
} InstallationRebootBehavior;

Constants

  • irbNeverReboots
    The update never requires a system restart during or after an installation or an uninstallation.

  • irbAlwaysRequiresReboot
    The update always requires a system restart after a successful installation or uninstallation.

  • irbCanRequestReboot
    The update can request a system restart after a successful installation or uninstallation.

Requirements

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

IDL

Wuapi.idl