CertFreeCertificateContext

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_CONTEXT pCertContext
);

Parameters

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

Return Values

The function always returns TRUE.

Requirements

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

See Also

CERT_CONTEXT

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.