RM_APP_TYPE enumeration

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

Syntax


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

Constants

RmUnknownApp

The application cannot be classified as any other type. An application of this type can only be shut down by a forced shutdown.

RmMainWindow

A Windows application run as a stand-alone process that displays a top-level window.

RmOtherWindow

A Windows application that does not run as a stand-alone process and does not display a top-level window.

RmService

The application is a Windows service.

RmExplorer

The application is Windows Explorer.

RmConsole

The application is a stand-alone console application.

RmCritical

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

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:
© 2014 Microsoft