PFN_CERT_STORE_PROV_WRITE_CTL callback function (wincrypt.h)
The CertStoreProvWriteCTL callback function can be called by CertAddEncodedCTLToStore, CertAddCTLContextToStore or CertAddSerializedElementToStore before a CTL is added to the store.
Syntax
PFN_CERT_STORE_PROV_WRITE_CTL PfnCertStoreProvWriteCtl;
BOOL PfnCertStoreProvWriteCtl(
[in] HCERTSTOREPROV hStoreProv,
[in] PCCTL_CONTEXT pCtlContext,
[in] DWORD dwFlags
)
{...}
Parameters
[in] hStoreProv
HCERTSTOREPROV handle to a certificate store.
[in] pCtlContext
A pointer to a CTL_CONTEXT structure.
[in] dwFlags
Any needed flag values.
Return value
Returns TRUE if elements can be added to the store.
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 |