RM_APP_STATUS enumeration

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

Syntax


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

Constants

RmStatusUnknown

The application is in a state that is not described by any other enumerated state.

RmStatusRunning

The application is currently running.

RmStatusStopped

The Restart Manager has stopped the application.

RmStatusStoppedOther

An action outside the Restart Manager has stopped the application.

RmStatusRestarted

The Restart Manager has restarted the application.

RmStatusErrorOnStop

The Restart Manager encountered an error when stopping the application.

RmStatusErrorOnRestart

The Restart Manager encountered an error when restarting the application.

RmStatusShutdownMasked

Shutdown is masked by a filter.

RmStatusRestartMasked

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

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

 

 

Community Additions

ADD
Show: