Win32 API 日本語リファレンス
ホームSystem.RestartManager › RM_APP_TYPE

RM_APP_TYPE

列挙型
基底型i4

メンバー 7

名前10進16進説明
RmUnknownApp00x0アプリケーションを他のいずれの種類にも分類できません。この種類のアプリケーションは、強制シャットダウンによってのみ終了できます。
RmMainWindow10x1スタンドアロンのプロセスとして実行され、トップレベルウィンドウを表示する Windows アプリケーションです。
RmOtherWindow20x2スタンドアロンのプロセスとしては実行されず、トップレベルウィンドウも表示しない Windows アプリケーションです。
RmService30x3アプリケーションは Windows サービスです。
RmExplorer40x4アプリケーションは Windows エクスプローラーです。
RmConsole50x5アプリケーションはスタンドアロンのコンソールアプリケーションです。
RmCritical10000x3E8プロセスをシャットダウンできないため、インストールを完了するにはシステムの再起動が必要です。プロセスをシャットダウンできない理由は次のとおりです。プロセスがクリティカルなプロセスである可能性があります。現在のユーザーにそのプロセスをシャットダウンする権限がない可能性があります。プロセスが Restart Manager を開始したプライマリインストーラーに属している可能性があります。

公式ドキュメント

RM_PROCESS_INFO 構造体によって記述されるアプリケーションの種類を指定します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum RM_APP_TYPE : int {
    RmUnknownApp = 0,
    RmMainWindow = 1,
    RmOtherWindow = 2,
    RmService = 3,
    RmExplorer = 4,
    RmConsole = 5,
    RmCritical = 1000
} RM_APP_TYPE;
public enum RM_APP_TYPE : int
{
    RmUnknownApp = 0,
    RmMainWindow = 1,
    RmOtherWindow = 2,
    RmService = 3,
    RmExplorer = 4,
    RmConsole = 5,
    RmCritical = 1000,
}
Public Enum RM_APP_TYPE As Integer
    RmUnknownApp = 0
    RmMainWindow = 1
    RmOtherWindow = 2
    RmService = 3
    RmExplorer = 4
    RmConsole = 5
    RmCritical = 1000
End Enum
import enum

class RM_APP_TYPE(enum.IntEnum):
    RmUnknownApp = 0
    RmMainWindow = 1
    RmOtherWindow = 2
    RmService = 3
    RmExplorer = 4
    RmConsole = 5
    RmCritical = 1000
// RM_APP_TYPE
pub const RmUnknownApp: i32 = 0;
pub const RmMainWindow: i32 = 1;
pub const RmOtherWindow: i32 = 2;
pub const RmService: i32 = 3;
pub const RmExplorer: i32 = 4;
pub const RmConsole: i32 = 5;
pub const RmCritical: i32 = 1000;
// RM_APP_TYPE
const (
	RmUnknownApp int32 = 0
	RmMainWindow int32 = 1
	RmOtherWindow int32 = 2
	RmService int32 = 3
	RmExplorer int32 = 4
	RmConsole int32 = 5
	RmCritical int32 = 1000
)
const
  RmUnknownApp = 0;
  RmMainWindow = 1;
  RmOtherWindow = 2;
  RmService = 3;
  RmExplorer = 4;
  RmConsole = 5;
  RmCritical = 1000;
// RM_APP_TYPE
pub const RmUnknownApp: i32 = 0;
pub const RmMainWindow: i32 = 1;
pub const RmOtherWindow: i32 = 2;
pub const RmService: i32 = 3;
pub const RmExplorer: i32 = 4;
pub const RmConsole: i32 = 5;
pub const RmCritical: i32 = 1000;
const
  RmUnknownApp* = 0
  RmMainWindow* = 1
  RmOtherWindow* = 2
  RmService* = 3
  RmExplorer* = 4
  RmConsole* = 5
  RmCritical* = 1000
enum RM_APP_TYPE : int {
    RmUnknownApp = 0,
    RmMainWindow = 1,
    RmOtherWindow = 2,
    RmService = 3,
    RmExplorer = 4,
    RmConsole = 5,
    RmCritical = 1000,
}
#define global RmUnknownApp  0x0
#define global RmMainWindow  0x1
#define global RmOtherWindow 0x2
#define global RmService     0x3
#define global RmExplorer    0x4
#define global RmConsole     0x5
#define global RmCritical    0x3E8