CertFreeCertificateChainList function

The CertFreeCertificateChainList function frees the array of pointers to chain contexts.

Syntax

void CertFreeCertificateChainList(
  PCCERT_CHAIN_CONTEXT *prgpSelection
);

Parameters

prgpSelection

A pointer to a PCCERT_CHAIN_CONTEXT structure returned by the CertSelectCertificateChains function.

Return Value

This function does not return a value.

Remarks

Before calling the CertFreeCertificateChainList function, you must call the CertFreeCertificateChain function on each chain context within the array pointed to by the prgpSelection parameter.

Requirements

   
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header wincrypt.h
Library Crypt32.lib
DLL Crypt32.dll