ホーム › Security.Credentials › KeyCredentialManagerOperationErrorStates
KeyCredentialManagerOperationErrorStates
列挙型フラグメンバー 8
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| KeyCredentialManagerOperationErrorStateNone | 0 | 0x0 | エラーはありません。ERROR_SUCCESS と同等です。 |
| KeyCredentialManagerOperationErrorStateDeviceJoinFailure | 1 | 0x1 | デバイスが Azure またはエンタープライズに適切に参加していないため、WHFB の登録は正常に完了しません。 |
| KeyCredentialManagerOperationErrorStateTokenFailure | 2 | 0x2 | ユーザーが Azure またはエンタープライズからトークンを取得できなかったため、WHFB の登録は正常に完了しません。 |
| KeyCredentialManagerOperationErrorStateCertificateFailure | 4 | 0x4 | 証明機関または証明書テンプレート (あるいはその両方) が見つからなかったため、WHFB の登録は正常に完了しません。 |
| KeyCredentialManagerOperationErrorStateRemoteSessionFailure | 8 | 0x8 | 現在のセッションがリモート セッションであるため、WHFB の登録は正常に完了しません。 |
| KeyCredentialManagerOperationErrorStatePolicyFailure | 16 | 0x10 | MDM またはグループ ポリシーの読み取り時にエラーが発生したため、WHFB の登録は正常に完了しません。 |
| KeyCredentialManagerOperationErrorStateHardwareFailure | 32 | 0x20 | デバイスに必要なハードウェアが搭載されていないため、WHFB の登録は正常に完了しません。 |
| KeyCredentialManagerOperationErrorStatePinExistsFailure | 64 | 0x40 | このデバイスでは WHFB が既に登録されています。 |
公式ドキュメント
関数 KeyCredentialManagerGetOperationErrorStates からフラグとして返されるエラー状態の列挙型です。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 KeyCredentialManagerOperationErrorStates : int {
KeyCredentialManagerOperationErrorStateNone = 0,
KeyCredentialManagerOperationErrorStateDeviceJoinFailure = 1,
KeyCredentialManagerOperationErrorStateTokenFailure = 2,
KeyCredentialManagerOperationErrorStateCertificateFailure = 4,
KeyCredentialManagerOperationErrorStateRemoteSessionFailure = 8,
KeyCredentialManagerOperationErrorStatePolicyFailure = 16,
KeyCredentialManagerOperationErrorStateHardwareFailure = 32,
KeyCredentialManagerOperationErrorStatePinExistsFailure = 64
} KeyCredentialManagerOperationErrorStates;[Flags]
public enum KeyCredentialManagerOperationErrorStates : int
{
KeyCredentialManagerOperationErrorStateNone = 0,
KeyCredentialManagerOperationErrorStateDeviceJoinFailure = 1,
KeyCredentialManagerOperationErrorStateTokenFailure = 2,
KeyCredentialManagerOperationErrorStateCertificateFailure = 4,
KeyCredentialManagerOperationErrorStateRemoteSessionFailure = 8,
KeyCredentialManagerOperationErrorStatePolicyFailure = 16,
KeyCredentialManagerOperationErrorStateHardwareFailure = 32,
KeyCredentialManagerOperationErrorStatePinExistsFailure = 64,
}<Flags>
Public Enum KeyCredentialManagerOperationErrorStates As Integer
KeyCredentialManagerOperationErrorStateNone = 0
KeyCredentialManagerOperationErrorStateDeviceJoinFailure = 1
KeyCredentialManagerOperationErrorStateTokenFailure = 2
KeyCredentialManagerOperationErrorStateCertificateFailure = 4
KeyCredentialManagerOperationErrorStateRemoteSessionFailure = 8
KeyCredentialManagerOperationErrorStatePolicyFailure = 16
KeyCredentialManagerOperationErrorStateHardwareFailure = 32
KeyCredentialManagerOperationErrorStatePinExistsFailure = 64
End Enumimport enum
class KeyCredentialManagerOperationErrorStates(enum.IntFlag):
KeyCredentialManagerOperationErrorStateNone = 0
KeyCredentialManagerOperationErrorStateDeviceJoinFailure = 1
KeyCredentialManagerOperationErrorStateTokenFailure = 2
KeyCredentialManagerOperationErrorStateCertificateFailure = 4
KeyCredentialManagerOperationErrorStateRemoteSessionFailure = 8
KeyCredentialManagerOperationErrorStatePolicyFailure = 16
KeyCredentialManagerOperationErrorStateHardwareFailure = 32
KeyCredentialManagerOperationErrorStatePinExistsFailure = 64// KeyCredentialManagerOperationErrorStates (flags)
pub const KeyCredentialManagerOperationErrorStateNone: i32 = 0;
pub const KeyCredentialManagerOperationErrorStateDeviceJoinFailure: i32 = 1;
pub const KeyCredentialManagerOperationErrorStateTokenFailure: i32 = 2;
pub const KeyCredentialManagerOperationErrorStateCertificateFailure: i32 = 4;
pub const KeyCredentialManagerOperationErrorStateRemoteSessionFailure: i32 = 8;
pub const KeyCredentialManagerOperationErrorStatePolicyFailure: i32 = 16;
pub const KeyCredentialManagerOperationErrorStateHardwareFailure: i32 = 32;
pub const KeyCredentialManagerOperationErrorStatePinExistsFailure: i32 = 64;// KeyCredentialManagerOperationErrorStates
const (
KeyCredentialManagerOperationErrorStateNone int32 = 0
KeyCredentialManagerOperationErrorStateDeviceJoinFailure int32 = 1
KeyCredentialManagerOperationErrorStateTokenFailure int32 = 2
KeyCredentialManagerOperationErrorStateCertificateFailure int32 = 4
KeyCredentialManagerOperationErrorStateRemoteSessionFailure int32 = 8
KeyCredentialManagerOperationErrorStatePolicyFailure int32 = 16
KeyCredentialManagerOperationErrorStateHardwareFailure int32 = 32
KeyCredentialManagerOperationErrorStatePinExistsFailure int32 = 64
)const
KeyCredentialManagerOperationErrorStateNone = 0;
KeyCredentialManagerOperationErrorStateDeviceJoinFailure = 1;
KeyCredentialManagerOperationErrorStateTokenFailure = 2;
KeyCredentialManagerOperationErrorStateCertificateFailure = 4;
KeyCredentialManagerOperationErrorStateRemoteSessionFailure = 8;
KeyCredentialManagerOperationErrorStatePolicyFailure = 16;
KeyCredentialManagerOperationErrorStateHardwareFailure = 32;
KeyCredentialManagerOperationErrorStatePinExistsFailure = 64;// KeyCredentialManagerOperationErrorStates
pub const KeyCredentialManagerOperationErrorStateNone: i32 = 0;
pub const KeyCredentialManagerOperationErrorStateDeviceJoinFailure: i32 = 1;
pub const KeyCredentialManagerOperationErrorStateTokenFailure: i32 = 2;
pub const KeyCredentialManagerOperationErrorStateCertificateFailure: i32 = 4;
pub const KeyCredentialManagerOperationErrorStateRemoteSessionFailure: i32 = 8;
pub const KeyCredentialManagerOperationErrorStatePolicyFailure: i32 = 16;
pub const KeyCredentialManagerOperationErrorStateHardwareFailure: i32 = 32;
pub const KeyCredentialManagerOperationErrorStatePinExistsFailure: i32 = 64;const
KeyCredentialManagerOperationErrorStateNone* = 0
KeyCredentialManagerOperationErrorStateDeviceJoinFailure* = 1
KeyCredentialManagerOperationErrorStateTokenFailure* = 2
KeyCredentialManagerOperationErrorStateCertificateFailure* = 4
KeyCredentialManagerOperationErrorStateRemoteSessionFailure* = 8
KeyCredentialManagerOperationErrorStatePolicyFailure* = 16
KeyCredentialManagerOperationErrorStateHardwareFailure* = 32
KeyCredentialManagerOperationErrorStatePinExistsFailure* = 64enum KeyCredentialManagerOperationErrorStates : int {
KeyCredentialManagerOperationErrorStateNone = 0,
KeyCredentialManagerOperationErrorStateDeviceJoinFailure = 1,
KeyCredentialManagerOperationErrorStateTokenFailure = 2,
KeyCredentialManagerOperationErrorStateCertificateFailure = 4,
KeyCredentialManagerOperationErrorStateRemoteSessionFailure = 8,
KeyCredentialManagerOperationErrorStatePolicyFailure = 16,
KeyCredentialManagerOperationErrorStateHardwareFailure = 32,
KeyCredentialManagerOperationErrorStatePinExistsFailure = 64,
}#define global KeyCredentialManagerOperationErrorStateNone 0x0
#define global KeyCredentialManagerOperationErrorStateDeviceJoinFailure 0x1
#define global KeyCredentialManagerOperationErrorStateTokenFailure 0x2
#define global KeyCredentialManagerOperationErrorStateCertificateFailure 0x4
#define global KeyCredentialManagerOperationErrorStateRemoteSessionFailure 0x8
#define global KeyCredentialManagerOperationErrorStatePolicyFailure 0x10
#define global KeyCredentialManagerOperationErrorStateHardwareFailure 0x20
#define global KeyCredentialManagerOperationErrorStatePinExistsFailure 0x40
; ※フラグ列挙型。ビットORで組み合わせ可(例: FOO|BAR)。