CertDuplicateCRLContext

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
);
 

Parameters

pCrlContext
Pointer to the CRL context for which the reference count is being incremented.

Return Values

Currently, a copy is not made of the context, and the returned context is the same as the context that was input.

Example

See CertDuplicateCertificateContext. In that example, change all references to "certificate" to "CRL."

QuickInfo

  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.

See Also

CertDuplicateCertificateContext