Fonction de rappel CryptXmlDllGetAlgorithmInfo (cryptxml.h)

La fonction CryptXmlDllGetAlgorithmInfo décode l’algorithme XML et retourne des informations sur l’algorithme.

La fonction CryptXmlDllGetAlgorithmInfo est exposée via la fonction CryptXmlDllGetInterface exportée.

Syntaxe

CryptXmlDllGetAlgorithmInfo Cryptxmldllgetalgorithminfo;

HRESULT Cryptxmldllgetalgorithminfo(
  [in]  const CRYPT_XML_ALGORITHM *pXmlAlgorithm,
  [out] CRYPT_XML_ALGORITHM_INFO **ppAlgInfo
)
{...}

Paramètres

[in] pXmlAlgorithm

Pointeur vers une structure CRYPT_XML_ALGORITHM qui spécifie l’algorithme.

[out] ppAlgInfo

Pointeur vers un pointeur vers une structure CRYPT_XML_ALGORITHM_INFO .

Une fois que vous avez terminé d’utiliser la mémoire pointée par le paramètre ppAlgInfo , libérez-la en appelant la fonction LocalFree .

Valeur retournée

Si la fonction réussit, la fonction retourne zéro.

Si la fonction échoue, elle retourne une valeur HRESULT qui indique l’erreur.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 7 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 R2 [applications de bureau uniquement]
Plateforme cible Windows
En-tête cryptxml.h