[This is preliminary documentation and subject to change.]
The CertSetStoreProperty function sets a store property.
# include <wincrypt.h>
BOOL CertSetStoreProperty(
HCERTSTORE hCertStore, // in
DWORD dwPropId, // in
DWORD dwFlags, // in
const void *pvData // in
);
For all user defined dwPropId values, pvData is a pointer to an encoded PCRYPT_DATA_BLOB,
If a value already exists for the selected property, the old value is replaced.
Calling this function with pvData set to NULL deletes a property.
TRUE if the function succeeded. FALSE if the function failed.
Store property IDs are properties applicable to an entire store. They are not properties on an individual certificate, CRL, or CTL context. Currently, no store properties are persisted.
See CertGetStoreProperty for example code.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in wincrypt.h.
Import Library: Use crypt32.lib.