CryptXmlClose function (cryptxml.h)

The CryptXmlClose function closes a cryptographic XML object handle.

Syntax

HRESULT CryptXmlClose(
  [in] HCRYPTXML hCryptXml
);

Parameters

[in] hCryptXml

The handle of the cryptographic XML object to be closed.

Return value

If the function succeeds, the function returns zero.

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

Remarks

At each call to this function, the reference count on the handle is reduced by one. When the reference count reaches zero, an object encapsulated by the handle is fully released.

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