CryptXmlDllGetAlgorithmInfo callback function (cryptxml.h)

The CryptXmlDllGetAlgorithmInfo function decodes the XML algorithm and returns information about the algorithm.

The CryptXmlDllGetAlgorithmInfo function is exposed through the exported CryptXmlDllGetInterface function.

Syntax

CryptXmlDllGetAlgorithmInfo Cryptxmldllgetalgorithminfo;

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

Parameters

[in] pXmlAlgorithm

A pointer to a CRYPT_XML_ALGORITHM structure that specifies the algorithm.

[out] ppAlgInfo

A pointer to a pointer to a CRYPT_XML_ALGORITHM_INFO structure.

When you have finished using the memory pointed to by the ppAlgInfo parameter, free it by calling the LocalFree function.

Return value

If the function succeeds, the function returns zero.

If the function fails, it returns an HRESULT value that indicates the error.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header cryptxml.h