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

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.