CertFreeCRLContext

The CertFreeCRLContext function frees a CRL context by decrementing its reference count. When the the reference count goes to zero, CertFreeCRLContext frees the memory occupied by a CRL context. Each context obtained by a get, find, enum, duplicate, or create must have a corresponding free.

#include <wincrypt.h>
BOOL WINAPI CertFreeCRLContext(
  PCCRL_CONTEXT pCrlContext        // in
);
 

Parameters

pCrlContext
Pointer to the CRL_CONTEXT that is to be freed.

Return Values

Always returns TRUE.

Example

See Example Code for Fundamental Certificate Store Operations.

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

CertFreeCertificateContext