An OID registerable or installable store-provider function that is called by CertOpenStore. It defines the store provider open function.
BOOL WINAPI CertDllOpenStoreProv(
IN LPCSTR lpszStoreProvider,
IN DWORD dwMsgAndCertEncodingType,
IN HCRYPTPROV hCryptProv,
IN DWORD dwFlags,
IN const void *pvPara,
IN HCERTSTORE hCertStore,
IN OUT PCERT_STORE_PROV_INFO pStoreProvInfo
);
Note that the first five parameters are those that were passed as parameters to CertOpenStore.
pStoreProvInfo->cStoreProvFunc is the count of callback functions that are implemented, and should be set last. Once set, all subsequent store calls, such as CertAddEncodedCertificateToStore will call the appropriate provider callback function.
Returns TRUE if successful, FALSE if it was unable to open the store.