Share via


CertDuplicateCertificateChain

This function duplicates a pointer to a certificate chain by incrementing the chain's reference count.

PCCERT_CHAIN_CONTEXT WINAPI CertDuplicateCertificateChain(
  PCCERT_CHAIN_CONTEXT pChainContext
);

Parameters

  • pChainContext
    [in] Pointer to a CERT_CHAIN_CONTEXT structure's chain context to be duplicated.

Return Values

If the function succeeds, a pointer is returned to the chain context. This pointer has the same value as the pChainContext parameter passed into the function.

If the function fails, NULL is returned.

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.