PFN_CERT_STORE_PROV_READ_CRL callback function (wincrypt.h)

An application-defined callback function that reads the provider's copy of the CRL context. If one exists, a new CRL context is created.

Currently not called directly by the certificate store functions. However, might be exported to support other providers.

Syntax

PFN_CERT_STORE_PROV_READ_CRL PfnCertStoreProvReadCrl;

BOOL PfnCertStoreProvReadCrl(
  [in]  HCERTSTOREPROV hStoreProv,
  [in]  PCCRL_CONTEXT pStoreCrlContext,
  [in]  DWORD dwFlags,
  [out] PCCRL_CONTEXT *ppProvCrlContext
)
{...}

Parameters

[in] hStoreProv

Provider-specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.

[in] pStoreCrlContext

A pointer to the CRL_CONTEXT of the CRL to be read.

[in] dwFlags

Reserved for future use and is set to zero.

[out] ppProvCrlContext

A pointer to a pointer to provider's copy of the CRL context. The context will be freed by calling CertFreeCRLContext.

Return value

Returns TRUE if the CRL was successfully read.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wincrypt.h

See also

CERT_STORE_PROV_INFO

CRL_CONTEXT

Callback Functions

CertDllOpenStoreProv

CertFreeCRLContext