CertStoreProvReadCertCallback callback function
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 might be exported to support other providers.
Syntax
BOOL WINAPI CertStoreProvReadCertCallback( _In_ HCERTSTOREPROV hStoreProv, _In_ PCCERT_CONTEXT pStoreCertContext, _In_ DWORD dwFlags, _Out_ PCCERT_CONTEXT *ppProvCertContext ); typedef void (*PFN_CERT_STORE_PROV_READ_CERT)();
Parameters
- hStoreProv [in]
-
Provider-specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.
- pStoreCertContext [in]
-
A pointer to the CERT_CONTEXT of the certificate to be read.
- dwFlags [in]
-
Reserved for future use and is set to zero.
- ppProvCertContext [out]
-
A pointer to a pointer to provider's copy of the certificate context. The context will be freed by calling CertFreeCertificateContext.
Return value
Returns TRUE if the certificate was successfully read.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
See also
- Callback Functions
- CERT_CONTEXT
- CERT_STORE_PROV_INFO
- CertDllOpenStoreProv
- CertFreeCertificateContext