CertFreeCertificateChain

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function frees a certificate chain by reducing its reference count. If the reference count becomes zero, memory allocated for the chain is freed.

Syntax

void WINAPI CertFreeCertificateChain(
  PCCERT_CHAIN_CONTEXT pChainContext
);

Parameters

  • pChainContext
    [in] Pointer to a CERT_CHAIN_CONTEXT structure's certificate chain context to be freed. If the reference count on the context reaches zero, the storage allocated for the context is freed.

Return Value

None.

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

CertGetCertificateChain
CERT_CHAIN_CONTEXT