ホーム › System.RestartManager › RM_APP_TYPE
RM_APP_TYPE
列挙型メンバー 7
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| RmUnknownApp | 0 | 0x0 | アプリケーションを他のいずれの種類にも分類できません。この種類のアプリケーションは、強制シャットダウンによってのみ終了できます。 |
| RmMainWindow | 1 | 0x1 | スタンドアロンのプロセスとして実行され、トップレベルウィンドウを表示する Windows アプリケーションです。 |
| RmOtherWindow | 2 | 0x2 | スタンドアロンのプロセスとしては実行されず、トップレベルウィンドウも表示しない Windows アプリケーションです。 |
| RmService | 3 | 0x3 | アプリケーションは Windows サービスです。 |
| RmExplorer | 4 | 0x4 | アプリケーションは Windows エクスプローラーです。 |
| RmConsole | 5 | 0x5 | アプリケーションはスタンドアロンのコンソールアプリケーションです。 |
| RmCritical | 1000 | 0x3E8 | プロセスをシャットダウンできないため、インストールを完了するにはシステムの再起動が必要です。プロセスをシャットダウンできない理由は次のとおりです。プロセスがクリティカルなプロセスである可能性があります。現在のユーザーにそのプロセスをシャットダウンする権限がない可能性があります。プロセスが Restart Manager を開始したプライマリインストーラーに属している可能性があります。 |
公式ドキュメント
RM_PROCESS_INFO 構造体によって記述されるアプリケーションの種類を指定します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
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 Enumimport 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* = 1000enum 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