Partager via


CertFreeCertificateContext (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

BOOL WINAPI CertFreeCertificateContext(
  PCCERT_CONTEXT pCertContext
);

Parameters

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

Return Value

The function always returns TRUE.

Requirements

Header wincrypt.h
Library crypt32.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Certificates Functions
CERT_CONTEXT