共用方式為


CertFreeCertificateContext

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

CERT_CONTEXT