An application-defined callback function that reads the provider's copy of the certificate context. If one exists, a new certificate context is created. Currently not called directly by the certificate store functions. However, it may be exported to support other providers.
BOOL WINAPI CertStoreProvReadCertCallback(
IN HCERTSTOREPROV hStoreProv,
IN PCCERT_CONTEXT pStoreCertContext,
IN DWORD dwFlags,
OUT PCCERT_CONTEXT *ppProvCertContext
);
Returns TRUE if the certificate was successfully read.