ICertContext::FreeContext method
[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_CONTEXT acquired through the CertContext property.
Syntax
CertContext.FreeContext( _
ByVal pCertContext _
)
Parameters
-
pCertContext [in]
-
The PCCERT_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_CONTEXT contained within a Certificate object. It should be used only to release a PCCERT_CONTEXT acquired through the CertContext property.
Requirements
Requirement | Value |
---|---|
Redistributable |
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
DLL |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for