/// <summary>
/// Describes the current status of an application that is acted upon by the Restart Manager.
/// </summary>
public enum RM_APP_STATUS : uint
{
/// <summary>
/// Application in unknown state or state not important.
/// </summary>
RmStatusUnknown = 0x0,
/// <summary>
/// Application is currently running.
/// </summary>
RmStatusRunning = 0x1,
/// <summary>
/// Application stopped by Restart Manager.
/// </summary>
RmStatusStopped = 0x2,
/// <summary>
/// Application detected stopped by outside action.
/// </summary>
RmStatusStoppedOther = 0x4,
/// <summary>
/// Application restarted by Restart Manager.
/// </summary>
RmStatusRestarted = 0x8,
/// <summary>
/// An error occurred when stopping this application.
/// </summary>
RmStatusErrorOnStop = 0x10,
/// <summary>
/// An error occurred when restarting this application.
/// </summary>
RmStatusErrorOnRestart = 0x20,
/// <summary>
/// Shutdown action masked by filer.
/// </summary>
RmStatusShutdownMasked = 0x40,
/// <summary>
/// Restart action masked by filter.
/// </summary>
RmStatusRestartMasked = 0x80
}