Partager via


KeyCredentialManagerOperationErrorStates, énumération (keycredmgr.h)

Énumération des états d’erreur retournés par la fonction KeyCredentialManagerGetOperationErrorStates en tant qu’indicateurs.

Syntax

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

Constantes

 
KeyCredentialManagerOperationErrorStateNone
Valeur : 0x0
Aucune erreur équivalente à ERROR_SUCCESS.
KeyCredentialManagerOperationErrorStateDeviceJoinFailure
Valeur : 0x01
L’inscription WHFB se termine correctement, car l’appareil n’est pas correctement joint à Azure ou à Enterprise.
KeyCredentialManagerOperationErrorStateTokenFailure
Valeur : 0x02
L’inscription WHFB ne se terminera pas correctement, car l’utilisateur n’a pas pu obtenir de jeton auprès d’Azure ou de l’Entreprise.
KeyCredentialManagerOperationErrorStateCertificateFailure
Valeur : 0x04
L’inscription WHFB ne se termine pas correctement, car l’autorité de certification et/ou le modèle de certificat sont introuvables.
KeyCredentialManagerOperationErrorStateRemoteSessionFailure
Valeur : 0x08
L’inscription à WHFB ne se termine pas correctement, car la session actuelle est une session distante.
KeyCredentialManagerOperationErrorStatePolicyFailure
Valeur : 0x10
L’inscription à WHFB ne se terminera pas correctement, car une erreur s’est produite lors de la lecture de mdm ou de stratégie de groupe.
KeyCredentialManagerOperationErrorStateHardwareFailure
Valeur : 0x20
L’inscription WHFB échoue, car l’appareil ne dispose pas du matériel requis.
KeyCredentialManagerOperationErrorStatePinExistsFailure
WHFB est déjà inscrit sur cet appareil.

Configuration requise

   
En-tête keycredmgr.h