RM_APP_STATUS enumeration (restartmanager.h)

Describes the current status of an application that is acted upon by the Restart Manager.

Syntax

typedef enum _RM_APP_STATUS {
  RmStatusUnknown = 0x0,
  RmStatusRunning = 0x1,
  RmStatusStopped = 0x2,
  RmStatusStoppedOther = 0x4,
  RmStatusRestarted = 0x8,
  RmStatusErrorOnStop = 0x10,
  RmStatusErrorOnRestart = 0x20,
  RmStatusShutdownMasked = 0x40,
  RmStatusRestartMasked = 0x80
} RM_APP_STATUS;

Constants

 
RmStatusUnknown
Value: 0x0
The application is in a state that is not described by any other enumerated state.
RmStatusRunning
Value: 0x1
The application is currently running.
RmStatusStopped
Value: 0x2
The Restart Manager has stopped the application.
RmStatusStoppedOther
Value: 0x4
An action outside the Restart Manager has stopped the application.
RmStatusRestarted
Value: 0x8
The Restart Manager has restarted the application.
RmStatusErrorOnStop
Value: 0x10
The Restart Manager encountered an error when stopping the application.
RmStatusErrorOnRestart
Value: 0x20
The Restart Manager encountered an error when restarting the application.
RmStatusShutdownMasked
Value: 0x40
Shutdown is masked by a filter.
RmStatusRestartMasked
Value: 0x80
Restart is masked by a filter.

Remarks

The constants of RM_APP_STATUS can be combined with OR operators. The combination describes the history of actions taken by Restart Manager on the application.

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

RM_PROCESS_INFO