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

CRED_PROTECTION_TYPE

列挙型
基底型i4

メンバー 4

名前10進16進
CredUnprotected00x0
CredUserProtection10x1
CredTrustedProtection20x2
CredForSystemProtection30x3

各言語での定義

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

typedef enum CRED_PROTECTION_TYPE : int {
    CredUnprotected = 0,
    CredUserProtection = 1,
    CredTrustedProtection = 2,
    CredForSystemProtection = 3
} CRED_PROTECTION_TYPE;
public enum CRED_PROTECTION_TYPE : int
{
    CredUnprotected = 0,
    CredUserProtection = 1,
    CredTrustedProtection = 2,
    CredForSystemProtection = 3,
}
Public Enum CRED_PROTECTION_TYPE As Integer
    CredUnprotected = 0
    CredUserProtection = 1
    CredTrustedProtection = 2
    CredForSystemProtection = 3
End Enum
import enum

class CRED_PROTECTION_TYPE(enum.IntEnum):
    CredUnprotected = 0
    CredUserProtection = 1
    CredTrustedProtection = 2
    CredForSystemProtection = 3
// CRED_PROTECTION_TYPE
pub const CredUnprotected: i32 = 0;
pub const CredUserProtection: i32 = 1;
pub const CredTrustedProtection: i32 = 2;
pub const CredForSystemProtection: i32 = 3;
// CRED_PROTECTION_TYPE
const (
	CredUnprotected int32 = 0
	CredUserProtection int32 = 1
	CredTrustedProtection int32 = 2
	CredForSystemProtection int32 = 3
)
const
  CredUnprotected = 0;
  CredUserProtection = 1;
  CredTrustedProtection = 2;
  CredForSystemProtection = 3;
// CRED_PROTECTION_TYPE
pub const CredUnprotected: i32 = 0;
pub const CredUserProtection: i32 = 1;
pub const CredTrustedProtection: i32 = 2;
pub const CredForSystemProtection: i32 = 3;
const
  CredUnprotected* = 0
  CredUserProtection* = 1
  CredTrustedProtection* = 2
  CredForSystemProtection* = 3
enum CRED_PROTECTION_TYPE : int {
    CredUnprotected = 0,
    CredUserProtection = 1,
    CredTrustedProtection = 2,
    CredForSystemProtection = 3,
}
#define global CredUnprotected         0x0
#define global CredUserProtection      0x1
#define global CredTrustedProtection   0x2
#define global CredForSystemProtection 0x3