CryptXmlDllFinalizeDigest callback function (cryptxml.h)
The CryptXmlDllFinalizeDigest function retrieves the digest value.
The CryptXmlDllFinalizeDigest function is exposed through the exported CryptXmlDllGetInterface function.
Syntax
CryptXmlDllFinalizeDigest Cryptxmldllfinalizedigest;
HRESULT Cryptxmldllfinalizedigest(
[in] CRYPT_XML_DIGEST hDigest,
[out] BYTE *pbDigest,
ULONG cbDigest
)
{...}
Parameters
[in] hDigest
The handle of the hash object used to put data into the digest. This handle is obtained by calling the CryptXmlDllCreateDigest function.
[out] pbDigest
A pointer to a buffer that receives the digest value.
cbDigest
The size, in bytes, of the buffer pointed to by the pbDigest parameter.
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 |