CertStoreProvSetCertPropertyCallback

An application-defined callback function that is called by CertSetCertificateContextProperty before setting the certificate's property. It is also called by CertGetCertificateContextProperty when getting a hash property that needs to be created and then persisted via the set.

Upon input, the property hasn't been set for the pCertContext parameter.

BOOL WINAPI CertStoreProvSetCertPropertyCallback(
  IN HCERTSTOREPROV hStoreProv,  
  IN PCCERT_CONTEXT pCertContext,  
  IN DWORD dwPropId,             
  IN DWORD dwFlags,              
  IN const void *pvData          
);
 

Parameters

hStoreProv
The provider specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.
pCertContext
See CertSetCertificateContextProperty.
dwPropId
See CertSetCertificateContextProperty.
dwFlags
This parameter is the dwFlags that was passed as a parameter to CertSetCertificateContextProperty.
pvData
See CertSetCertificateContextProperty.

Return Values

Returns TRUE if it is okay to set the property.