KeyCredentialManagerOperationErrorStates 枚举 (keycredmgr.h)

函数 KeyCredentialManagerGetOperationErrorStates 返回的错误状态的枚举 为标志。

语法

typedef enum KeyCredentialManagerOperationErrorStates {
  KeyCredentialManagerOperationErrorStateNone = 0x0,
  KeyCredentialManagerOperationErrorStateDeviceJoinFailure = 0x01,
  KeyCredentialManagerOperationErrorStateTokenFailure = 0x02,
  KeyCredentialManagerOperationErrorStateCertificateFailure = 0x04,
  KeyCredentialManagerOperationErrorStateRemoteSessionFailure = 0x08,
  KeyCredentialManagerOperationErrorStatePolicyFailure = 0x10,
  KeyCredentialManagerOperationErrorStateHardwareFailure = 0x20,
  KeyCredentialManagerOperationErrorStatePinExistsFailure = 0x40
} ;

常数

 
KeyCredentialManagerOperationErrorStateNone
值:0x0
无错误。 等效于 ERROR_SUCCESS
KeyCredentialManagerOperationErrorStateDeviceJoinFailure
值:0x01
WHFB 注册将成功完成,因为设备未正确加入 Azure 或企业版。
KeyCredentialManagerOperationErrorStateTokenFailure
值:0x02
WHFB 注册不会成功完成,因为用户无法从 Azure 或企业获取令牌。
KeyCredentialManagerOperationErrorStateCertificateFailure
值:0x04
WHFB 注册不会成功完成,因为找不到证书颁发机构和/或证书模板。
KeyCredentialManagerOperationErrorStateRemoteSessionFailure
值:0x08
WHFB 注册不会成功完成,因为当前会话是远程会话。
KeyCredentialManagerOperationErrorStatePolicyFailure
值:0x10
WHFB 注册不会成功完成,因为读取 MDM 或组策略时出错。
KeyCredentialManagerOperationErrorStateHardwareFailure
值:0x20
WHFB 注册不会成功完成,因为设备没有所需的硬件。
KeyCredentialManagerOperationErrorStatePinExistsFailure
值:0x40
WHFB 已在此设备上注册。

要求

要求 价值
标头 keycredmgr.h