CryptXmlDllDigestData callback function (cryptxml.h)

The CryptXmlDllDigestData function puts data into the digest.

The CryptXmlDllDigestData function is exposed through the exported CryptXmlDllGetInterface function.

Syntax

CryptXmlDllDigestData Cryptxmldlldigestdata;

HRESULT Cryptxmldlldigestdata(
  CRYPT_XML_DIGEST hDigest,
  const BYTE *pbData,
  ULONG cbData
)
{...}

Parameters

hDigest

The handle of the hash object used to put data into the digest. This handle is obtained by calling the CryptXmlDllCreateDigest function.

pbData

A pointer to a block of data to be processed.

cbData

The size, in bytes, of the block of data pointed to by the pbData 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