Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CertStoreProvSetCTLProperty callback function determines whether a property can be set on a CTL. It is called by CertSetCTLContextProperty before setting a CTL's property. It can also be called by CertGetCTLContextProperty, when getting a hash property that needs to be created and then persisted. This callback function does not set the CTL_CONTEXT's property.
Syntax
PFN_CERT_STORE_PROV_SET_CTL_PROPERTY PfnCertStoreProvSetCtlProperty;
BOOL PfnCertStoreProvSetCtlProperty(
[in] HCERTSTOREPROV hStoreProv,
[in] PCCTL_CONTEXT pCtlContext,
[in] DWORD dwPropId,
[in] DWORD dwFlags,
[in] const void *pvData
)
{...}
Parameters
[in] hStoreProv
A handle to a certificate store.
[in] pCtlContext
A pointer to a CTL_CONTEXT structure.
[in] dwPropId
Identifier of the property to be set.
[in] dwFlags
Any needed flag values.
[in] pvData
A pointer to a buffer containing the property value to be set.
Return value
Returns TRUE if the property can be set. Returns FALSE if the property cannot be set.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wincrypt.h |