RM_REBOOT_REASON enumeration

Describes the reasons a restart of the system is needed.

Syntax


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

Constants

RmRebootReasonNone

A system restart is not required.

RmRebootReasonPermissionDenied

The current user does not have sufficient privileges to shut down one or more processes.

RmRebootReasonSessionMismatch

One or more processes are running in another Terminal Services session.

RmRebootReasonCriticalProcess

A system restart is needed because one or more processes to be shut down are critical processes.

RmRebootReasonCriticalService

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

RestartManager.h

See also

RmGetList

 

 

Community Additions

ADD
Show: