CertFreeCertificateContext (Windows CE 5.0)

Send Feedback

This function frees a certificate context by decrementing its reference count. When the reference count goes to zero, this function frees the memory occupied by a certificate context. Each context obtained by a get, find, enumerate, duplicate, or create operation must be freed by the appropriate free operation.

BOOL WINAPI CertFreeCertificateContext(PCCERT_CONTEXTpCertContext);


  • pCertContext
    [in] Pointer to the CERT_CONTEXT structure to be freed.

Return Values

The function always returns TRUE.


OS Versions: Windows CE 3.0 and later.
Header: Wincrypt.h.
Link Library: Crypt32.lib.

See Also


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.