RM_APP_TYPE enumeration (restartmanager.h)

Specifies the type of application that is described by the RM_PROCESS_INFO structure.

Syntax

typedef enum _RM_APP_TYPE {
  RmUnknownApp = 0,
  RmMainWindow = 1,
  RmOtherWindow = 2,
  RmService = 3,
  RmExplorer = 4,
  RmConsole = 5,
  RmCritical = 1000
} RM_APP_TYPE;

Constants

 
RmUnknownApp
Value: 0
The application cannot be classified as any other type. An application of this type can only be shut down by a forced shutdown.
RmMainWindow
Value: 1
A Windows application run as a stand-alone process that displays a top-level window.
RmOtherWindow
Value: 2
A Windows application that does not run as a stand-alone process and does not display a top-level window.
RmService
Value: 3
The application is a Windows service.
RmExplorer
Value: 4
The application is Windows Explorer.
RmConsole
Value: 5
The application is a stand-alone console application.
RmCritical
Value: 1000
A system restart is required to complete the installation because a process cannot be shut down. The process cannot be shut down because of the following reasons. The process may be a critical process. The current user may not have permission to shut down the process. The process may belong to the primary installer that started the Restart Manager.

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