Win32 API 日本語リファレンス
ホームSecurity › MANDATORY_LEVEL

MANDATORY_LEVEL

列挙型
基底型i4

メンバー 7

名前10進16進説明
MandatoryLevelUntrusted00x0要求されるセキュリティレベルは「信頼されていない (untrusted)」です。
MandatoryLevelLow10x1要求されるセキュリティレベルは「低 (low)」です。
MandatoryLevelMedium20x2要求されるセキュリティレベルは「中 (medium)」です。
MandatoryLevelHigh30x3要求されるセキュリティレベルは「高 (high)」です。
MandatoryLevelSystem40x4要求されるセキュリティレベルは「システム (system)」です。
MandatoryLevelSecureProcess50x5要求されるセキュリティレベルは「セキュアプロセス (secure process)」です。
MandatoryLevelCount60x6必須レベルの数です。

公式ドキュメント

MANDATORY_LEVEL 列挙型は、指定可能なセキュリティレベルを列挙します。

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

各言語での定義

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

typedef enum MANDATORY_LEVEL : int {
    MandatoryLevelUntrusted = 0,
    MandatoryLevelLow = 1,
    MandatoryLevelMedium = 2,
    MandatoryLevelHigh = 3,
    MandatoryLevelSystem = 4,
    MandatoryLevelSecureProcess = 5,
    MandatoryLevelCount = 6
} MANDATORY_LEVEL;
public enum MANDATORY_LEVEL : int
{
    MandatoryLevelUntrusted = 0,
    MandatoryLevelLow = 1,
    MandatoryLevelMedium = 2,
    MandatoryLevelHigh = 3,
    MandatoryLevelSystem = 4,
    MandatoryLevelSecureProcess = 5,
    MandatoryLevelCount = 6,
}
Public Enum MANDATORY_LEVEL As Integer
    MandatoryLevelUntrusted = 0
    MandatoryLevelLow = 1
    MandatoryLevelMedium = 2
    MandatoryLevelHigh = 3
    MandatoryLevelSystem = 4
    MandatoryLevelSecureProcess = 5
    MandatoryLevelCount = 6
End Enum
import enum

class MANDATORY_LEVEL(enum.IntEnum):
    MandatoryLevelUntrusted = 0
    MandatoryLevelLow = 1
    MandatoryLevelMedium = 2
    MandatoryLevelHigh = 3
    MandatoryLevelSystem = 4
    MandatoryLevelSecureProcess = 5
    MandatoryLevelCount = 6
// MANDATORY_LEVEL
pub const MandatoryLevelUntrusted: i32 = 0;
pub const MandatoryLevelLow: i32 = 1;
pub const MandatoryLevelMedium: i32 = 2;
pub const MandatoryLevelHigh: i32 = 3;
pub const MandatoryLevelSystem: i32 = 4;
pub const MandatoryLevelSecureProcess: i32 = 5;
pub const MandatoryLevelCount: i32 = 6;
// MANDATORY_LEVEL
const (
	MandatoryLevelUntrusted int32 = 0
	MandatoryLevelLow int32 = 1
	MandatoryLevelMedium int32 = 2
	MandatoryLevelHigh int32 = 3
	MandatoryLevelSystem int32 = 4
	MandatoryLevelSecureProcess int32 = 5
	MandatoryLevelCount int32 = 6
)
const
  MandatoryLevelUntrusted = 0;
  MandatoryLevelLow = 1;
  MandatoryLevelMedium = 2;
  MandatoryLevelHigh = 3;
  MandatoryLevelSystem = 4;
  MandatoryLevelSecureProcess = 5;
  MandatoryLevelCount = 6;
// MANDATORY_LEVEL
pub const MandatoryLevelUntrusted: i32 = 0;
pub const MandatoryLevelLow: i32 = 1;
pub const MandatoryLevelMedium: i32 = 2;
pub const MandatoryLevelHigh: i32 = 3;
pub const MandatoryLevelSystem: i32 = 4;
pub const MandatoryLevelSecureProcess: i32 = 5;
pub const MandatoryLevelCount: i32 = 6;
const
  MandatoryLevelUntrusted* = 0
  MandatoryLevelLow* = 1
  MandatoryLevelMedium* = 2
  MandatoryLevelHigh* = 3
  MandatoryLevelSystem* = 4
  MandatoryLevelSecureProcess* = 5
  MandatoryLevelCount* = 6
enum MANDATORY_LEVEL : int {
    MandatoryLevelUntrusted = 0,
    MandatoryLevelLow = 1,
    MandatoryLevelMedium = 2,
    MandatoryLevelHigh = 3,
    MandatoryLevelSystem = 4,
    MandatoryLevelSecureProcess = 5,
    MandatoryLevelCount = 6,
}
#define global MandatoryLevelUntrusted     0x0
#define global MandatoryLevelLow           0x1
#define global MandatoryLevelMedium        0x2
#define global MandatoryLevelHigh          0x3
#define global MandatoryLevelSystem        0x4
#define global MandatoryLevelSecureProcess 0x5
#define global MandatoryLevelCount         0x6