Skip to content

Latest commit

 

History

History
114 lines (78 loc) · 4.06 KB

ns-restartmanager-rm_process_info.md

File metadata and controls

114 lines (78 loc) · 4.06 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:restartmanager._RM_PROCESS_INFO
RM_PROCESS_INFO (restartmanager.h)
Describes an application that is to be registered with the Restart Manager.
*PRM_PROCESS_INFO
RM_PROCESS_INFO
RM_PROCESS_INFO structure [Restart Mgr]
restartmanager/_RM_PROCESS_INFO
rstmgr.rm_process_info
rstmgr\rm_process_info.htm
rstmgr
27e593f9-8ff0-4de4-87ca-7fa5f324468a
12/05/2018
*PRM_PROCESS_INFO, RM_PROCESS_INFO, RM_PROCESS_INFO structure [Restart Mgr], restartmanager/_RM_PROCESS_INFO, rstmgr.rm_process_info
restartmanager.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
RM_PROCESS_INFO, *PRM_PROCESS_INFO
19H1
_RM_PROCESS_INFO
restartmanager/_RM_PROCESS_INFO
PRM_PROCESS_INFO
restartmanager/PRM_PROCESS_INFO
RM_PROCESS_INFO
restartmanager/RM_PROCESS_INFO
c++
APIRef
kbSyntax
HeaderDef
RestartManager.h
RM_PROCESS_INFO

RM_PROCESS_INFO structure

-description

Describes an application that is to be registered with the Restart Manager.

-struct-fields

-field Process

Contains an RM_UNIQUE_PROCESS structure that uniquely identifies the application by its PID and the time the process began.

-field strAppName

If the process is a service, this parameter returns the long name for the service. If the process is not a service, this parameter returns the user-friendly name for the application. If the process is a critical process, and the installer is run with elevated privileges, this parameter returns the name of the executable file of the critical process. If the process is a critical process, and the installer is run as a service, this parameter returns the long name of the critical process.

-field strServiceShortName

If the process is a service, this is the short name for the service. This member is not used if the process is not a service.

-field ApplicationType

Contains an RM_APP_TYPE enumeration value that specifies the type of application as RmUnknownApp, RmMainWindow, RmOtherWindow, RmService, RmExplorer or RmCritical.

-field AppStatus

Contains a bit mask that describes the current status of the application. See the RM_APP_STATUS enumeration.

-field TSSessionId

Contains the Terminal Services session ID of the process. If the terminal session of the process cannot be determined, the value of this member is set to RM_INVALID_SESSION (-1). This member is not used if the process is a service or a system critical process.

-field bRestartable

TRUE if the application can be restarted by the Restart Manager; otherwise, FALSE. This member is always TRUE if the process is a service. This member is always FALSE if the process is a critical system process.

-see-also

RM_APP_TYPE

RM_FILTER_INFO

RM_UNIQUE_PROCESS

RmGetList

RmRestart

RmShutdown