Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

CryptXmlDllCreateDigest function pointer

The CryptXmlDllCreateDigest function creates a digest object for the specified method.

The CryptXmlDllCreateDigest function is exposed through the exported CryptXmlDllGetInterface function.


typedef HRESULT ( WINAPI *CryptXmlDllCreateDigest)(
  _In_  const CRYPT_XML_ALGORITHM *pDigestMethod,
  _Out_       ULONG               *pcbSize,
  _Out_       CRYPT_XML_DIGEST    *phDigest


pDigestMethod [in]

A pointer to a CRYPT_XML_ALGORITHM structure that specifies the algorithm to use to create the digest.

pcbSize [out]

A pointer to a ULONG variable that receives the size, in bytes, of the digest.

phDigest [out]

A pointer to a CRYPT_XML_DIGEST variable that receives a pointer to the digest.

When you have finished using the resources allocated by the call to this function, you must free them by calling the CryptXmlDllCloseDigest function.

Return value

If the function succeeds, the function returns zero.

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


Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]