CertStoreProvWriteCRLCallback

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.

BOOL WINAPI CertStoreProvWriteCRLCallback(
  IN HCERTSTOREPROV hStoreProv,  
  IN PCCRL_CONTEXT pCrlContext,  
  IN DWORD dwFlags               
);
 

Parameters

hStoreProv
The provider-specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.
pCrlContext
See CertAddCRLContextToStore.
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 Values

Returns TRUE if it is okay to update the store.