Méthode INetworkConnection2 ::IsDomainAuthenticatedBy (netlistmgr.h)
Demande si la méthode d’authentification de domaine spécifiée a réussi pour cette connexion réseau.
Syntaxe
HRESULT IsDomainAuthenticatedBy(
NLM_DOMAIN_AUTHENTICATION_KIND domainAuthenticationKind,
BOOL *pValue
);
Paramètres
domainAuthenticationKind
Type : [in] NLM_DOMAIN_AUTHENTICATION_KIND
Méthode d’authentification de domaine spécifique à interroger.
pValue
Type : [out, retval] BOOL*
La fonction déréférence pValue et affecte TRUE
si cette connexion réseau a le même type d’authentification de domaine que celui spécifié dans le paramètre domainAuthenticationKind ; ou FALSE
si cette connexion réseau a un type d’authentification de domaine différent de celui spécifié dans domainAuthenticationKind.
Valeur retournée
Retourne S_OK en cas de réussite.
Remarques
Consultez Les remarques relatives à la méthode INetwork2 ::IsDomainAuthenticatedBy.
Exemple
Consultez l’exemple pour la méthode INetwork2 ::IsDomainAuthenticatedBy.
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows 11 Build 22621 |
Plateforme cible | Windows |
En-tête | netlistmgr.h |