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

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 or later Wincrypt.h   Crypt32.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CertGetCertificateChain, CERT_CHAIN_CONTEXT

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.