The CertDuplicateCRLContext function duplicates a CRL context by incrementing the reference count. The reference count is used to keep track of the lifetime of the context.
#include <wincrypt.h>
PCCRL_CONTEXT WINAPI CertDuplicateCRLContext(
PCCRL_CONTEXT pCrlContext // in
);
Currently, a copy is not made of the context, and the returned context is the same as the context that was input.
See CertDuplicateCertificateContext. In that example, change all references to "certificate" to "CRL."
Windows NT: Requires version 4.0 SP3 or later. Available also in IE 3.02 and later.
Windows: Requires Windows 95 OSR2 or later.
Windows CE: Unsupported.
Header: Declared in wincrypt.h.
Import Library: Use crypt32.lib.
CertDuplicateCertificateContext