CryptXmlGetReference function (cryptxml.h)

The CryptXmlGetReference function returns the Reference element specified by the supplied handle.

Syntax

HRESULT CryptXmlGetReference(
  [in]  HCRYPTXML                 hCryptXml,
  [out] const CRYPT_XML_REFERENCE **ppStruct
);

Parameters

[in] hCryptXml

The handle of the Reference element to retrieve.

[out] ppStruct

A pointer to a pointer to a CRYPT_XML_REFERENCE structure that contains the returned Reference element.

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
Library Cryptxml.lib
DLL Cryptxml.dll