PFN_CERT_STORE_PROV_WRITE_CRL callback function (wincrypt.h)

An application-defined callback function that is called by CertAddEncodedCRLToStore, CertAddCRLContextToStore and CertAddSerializedElementToStore before adding to the store. In addition to the encoded CRL, the added pCrlContext might also have properties.

Syntax

PFN_CERT_STORE_PROV_WRITE_CRL PfnCertStoreProvWriteCrl;

BOOL PfnCertStoreProvWriteCrl(
  [in] HCERTSTOREPROV hStoreProv,
  [in] PCCRL_CONTEXT pCrlContext,
  [in] DWORD dwFlags
)
{...}

Parameters

[in] hStoreProv

Provider-specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.

[in] pCrlContext

See CertAddCRLContextToStore.

[in] dwFlags

CERT_STORE_PROV_WRITE_ADD_FLAG is used to specify when this function is called by the following functions that add a CRL to the store:

CertAddEncodedCRLToStore

CertAddCRLContextToStore

CertAddSerializedElementToStore

Return value

Returns TRUE if it is okay to update the store.

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

Callback Functions

CertAddCRLContextToStore

CertAddEncodedCRLToStore

CertAddSerializedElementToStore

CertDllOpenStoreProv