RM_REBOOT_REASON enumeration (restartmanager.h)

Describes the reasons a restart of the system is needed.

Syntax

typedef enum _RM_REBOOT_REASON {
  RmRebootReasonNone = 0x0,
  RmRebootReasonPermissionDenied = 0x1,
  RmRebootReasonSessionMismatch = 0x2,
  RmRebootReasonCriticalProcess = 0x4,
  RmRebootReasonCriticalService = 0x8,
  RmRebootReasonDetectedSelf
} RM_REBOOT_REASON;

Constants

 
RmRebootReasonNone
Value: 0x0
A system restart is not required.
RmRebootReasonPermissionDenied
Value: 0x1
The current user does not have
sufficient privileges to shut down one or more processes.
RmRebootReasonSessionMismatch
Value: 0x2
One or more processes are
running in another Terminal Services session.
RmRebootReasonCriticalProcess
Value: 0x4
A system restart is needed because one or more processes to be shut down are critical processes.
RmRebootReasonCriticalService
Value: 0x8
A system restart is needed because one or more services to be shut down are critical services.
RmRebootReasonDetectedSelf
A system restart is needed because the current process must be shut down.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header restartmanager.h

See also

RmGetList