Expand Minimize
This topic has not yet been rated - Rate this topic

CryptXmlDllGetInterface function pointer

The CryptXmlDllGetInterface function retrieves a pointer to the cryptographic extension functions for the specified algorithm.

Syntax


typedef HRESULT ( WINAPI *CryptXmlDllGetInterface)(
  DWORD dwFlags,
  _In_   const CRYPT_XML_ALGORITHM_INFO *pMethod,
  _Out_  CRYPT_XML_CRYPTOGRAPHIC_INTERFACE *pInterface
);

Parameters

dwFlags

This parameter is reserved and must be set to zero.

pMethod [in]

A pointer to a CRYPT_XML_ALGORITHM_INFO structure to retrieve the interface of.

pInterface [out]

A pointer to a CRYPT_XML_ALGORITHM_INFO structure to receive the interface information.

Return value

If the function succeeds, the function returns zero.

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

Remarks

The cryptographic extensions DLL must export the CryptXmlDllGetInterface entry.

To get the CRYPT_XML_CRYPTOGRAPHIC_INTERFACE table, CryptXml loads the registered cryptographic extensions DLL by using the LoadLibrary function, and then it calls the CryptXmlDllGetInterface function.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Cryptxml.h

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.