Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The CertDuplicateCertificateChain function duplicates a pointer to a certificate chain by incrementing the chain's reference count.
PCCERT_CHAIN_CONTEXT CertDuplicateCertificateChain(
[in] PCCERT_CHAIN_CONTEXT pChainContext
);
[in] pChainContext
A pointer to a CERT_CHAIN_CONTEXT chain context to be duplicated.
If the function succeeds, a pointer is returned to the chain context. This pointer has the same value as the pChainContext passed into the function. When you have finished using the chain context, release the chain context by calling the CertFreeCertificateChain function.
If the function fails, NULL is returned.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2003 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | wincrypt.h |
Library | Crypt32.lib |
DLL | Crypt32.dll |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today