Partager via


CertFreeCertificateChain

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

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 Values

None.

Requirements

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

See Also

CertGetCertificateChain | CERT_CHAIN_CONTEXT

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.