Expand Minimize

CryptXmlDllCreateDigest function pointer

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

The CryptXmlDllCreateDigest function is exposed through the exported CryptXmlDllGetInterface function.

Syntax


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

Parameters

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.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Cryptxml.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft