[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP.]
The FreeContext method releases a PCCERT_CHAIN_CONTEXT acquired through the ChainContext property.
Syntax
ChainContext.FreeContext()
Parameters
pChainContext [in]
The PCCERT_CHAIN_CONTEXT to be released.
Return value
The return value is an HRESULT. A value of S_OK indicates success. Any other value indicates that the operation failed.
Remarks
This method does not release the PCCERT_CHAIN_CONTEXT contained within a Chain object. It should be used only to release a PCCERT_CHAIN_CONTEXT acquired through the ChainContext property.
Requirements
| Requirement | Value |
|---|---|
| Redistributable | CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
| DLL | Capicom.dll |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.