Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CryptXmlGetDocContext function (cryptxml.h)

The CryptXmlGetDocContext function returns the document context specified by the supplied handle.

Syntax

HRESULT CryptXmlGetDocContext(
 [in] HCRYPTXML hCryptXml,
 [out] const CRYPT_XML_DOC_CTXT **ppStruct
);

Parameters

[in] hCryptXml

The handle of the document context to retrieve.

[out] ppStruct

A pointer to a pointer to a CRYPT_XML_DOC_CTXT structure that contains the returned document context.

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

Feedback

Was this page helpful?

Additional resources