CertStoreProvSetCertPropertyCallback callback function
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 through the set.
Upon input, the property has not been set for the pCertContext parameter.
Syntax
BOOL WINAPI CertStoreProvSetCertPropertyCallback( _In_ HCERTSTOREPROV hStoreProv, _In_ PCCERT_CONTEXT pCertContext, _In_ DWORD dwPropId, _In_ DWORD dwFlags, _In_ const void *pvData ); typedef void (*PFN_CERT_STORE_PROV_SET_CERT_PROPERTY)();
Parameters
- hStoreProv [in]
-
Provider-specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.
- pCertContext [in]
- dwPropId [in]
- dwFlags [in]
-
Copy of the dwFlags passed as a parameter to CertSetCertificateContextProperty.
- pvData [in]
Return value
Returns TRUE if it is okay to set the property.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
See also
- Callback Functions
- CERT_STORE_PROV_INFO
- CertDllOpenStoreProv
- CertGetCertificateContextProperty
- CertSetCertificateContextProperty