Partager via


CertFreeCertificateChain (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Certificates Functions
CertGetCertificateChain
CERT_CHAIN_CONTEXT