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

MANDATORY_LEVEL

列挙型
基底型i4

メンバー 7

名前10進16進
MandatoryLevelUntrusted00x0
MandatoryLevelLow10x1
MandatoryLevelMedium20x2
MandatoryLevelHigh30x3
MandatoryLevelSystem40x4
MandatoryLevelSecureProcess50x5
MandatoryLevelCount60x6

各言語での定義

列挙メンバーの定義。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