CryptXmlDllCloseDigest callback function (cryptxml.h)

The CryptXmlDllCloseDigest function frees the CRYPT_XML_DIGEST allocated by the CryptXmlDllCreateDigest function.

The CryptXmlDllCloseDigest function is exposed through the Cryptographic Extensions DLL and is exposed through the exported CryptXmlDllGetInterface function.

Syntax

CryptXmlDllCloseDigest Cryptxmldllclosedigest;

HRESULT Cryptxmldllclosedigest(
  [in] CRYPT_XML_DIGEST hDigest
)
{...}

Parameters

[in] hDigest

The handle of the hash object. This handle is obtained by calling the CryptXmlCreateDigest function. After the function has been called, the digest handle passed to this function is released and cannot be used again.

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