KeyCredentialManagerOperationErrorStates 枚举 (keycredmgr.h)

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

语法

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

常量

 
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
WHFB 已在此设备上注册。

要求

   
标头 keycredmgr.h