CertStoreProvDeleteCertCallback

An application-defined callback function that is called by CertDeleteCertificateFromStore before deleting a certificate from the store.

BOOL WINAPI CertStoreProvDeleteCertCallback(
  IN HCERTSTOREPROV hStoreProv,  
  IN PCCERT_CONTEXT pCertContext,  
  IN DWORD dwFlags               
);
 

Parameters

hStoreProv
The provider specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.
pCertContext
A pointer to the certificate context to be deleted.
dwFlags
This parameter is reserved for future use and is set to zero.

Return Values

Returns TRUE if it is okay to delete the certificate from the store. Otherwise, returns FALSE.