CERT_STORE_PROV_INFO structures contain information returned by the installed CertDllOpenStoreProv when a store is opened with CertOpenStore.
When opening a store, CertOpenStore zeroes all fields in the CERT_STORE_PROV_INFO except cbSize, which is set to the size of CERT_STORE_PROV_INFO. The structure is updated by the CertDllOpenStoreProv installable function. If there are no additional callback functions to be called, then cStoreProvFunc remains zero upon return.
typedef struct _CERT_STORE_PROV_INFO {
DWORD cbSize;
DWORD cStoreProvFunc;
void** rgpvStoreProvFunc;
HCERTSTOREPROV hStoreProv;
DWORD dwStoreProvFlags;
HCRYPTOIDFUNCADDR HStoreProvFuncAddr2;
} CERT_STORE_PROV_INFO, *PCERT_STORE_PROV_INFO;
Index | Associated callback function |
---|---|
CERT_STORE_PROV_CLOSE_FUNC(0) | CertStoreProvCloseCallback |
CERT_STORE_PROV_READ_CERT_FUNC(1) | CertStoreProvReadCertCallback |
CERT_STORE_PROV_WRITE_CERT_FUNC(2) | CertStoreProvWriteCertCallback |
CERT_STORE_PROV_DELETE_CERT_FUNC(3) | CertStoreProvDeleteCertCallback |
CERT_STORE_PROV_SET_CERT_PROPERTY_FUNC(4) | CertStoreProvSetCertPropertyCallback |
CERT_STORE_PROV_READ_CRL_FUNC(5) | CertStoreProvReadCRLCallback |
CERT_STORE_PROV_WRITE_CRL_FUNC(6) | CertStoreProvWriteCRLCallback |
CERT_STORE_PROV_DELETE_CRL_FUNC(7) | CertStoreProvDeleteCRLCallback |
CERT_STORE_PROV_SET_CRL_PROPERTY_FUNC(8) | CertStoreProvSetCRLPropertyCallback |
CERT_STORE_PROV_READ_CTL_FUNC(9) | CertStoreProvReadCTLCallback |
CERT_STORE_PROV_WRITE_CTL_FUNC(10) | CertStoreProvWriteCTLCallback |
CERT_STORE_PROV_DELETE_CTL_FUNC(11) | CertStoreProvDeleteCTLCallback |
CERT_STORE_PROV_SET_CTL_PROPERTY_FUNC(12) | CertStoreProvSetCTLPropertyCallback |
CERT_STORE_PROV_CONTROL_FUNC(13) | CertStoreProvControlCallback |
CERT_STORE_PROV_FIND_CERT_FUNC(14) | CertStoreProvFindCertCallback |
CERT_STORE_PROV_FREE_FIND_CERT_FUNC(15) | CertStoreProvFreeFindCertCallback |
CERT_STORE_PROV_GET_CERT_PROPERTY_FUNC(16) | CertStoreProvGetCertPropertyCallback |
CERT_STORE_PROV_FIND_CRL_FUNC(17) | CertStoreProvFindCRLCallback |
CERT_STORE_PROV_FREE_FIND_CRL_FUNC(18) | CertStoreProvFreeFindCRLCallback |
CERT_STORE_PROV_GET_CRL_PROPERTY_FUNC(19) | CertStoreProvGetCRLPropertyCallback |
CERT_STORE_PROV_FIND_CTL_FUNC(20) | CertStoreProvFindCTLCallback |
CERT_STORE_PROV_FREE_FIND_CTL_FUNC(21) | CertStoreProvFreeFindCTLCallback |
CERT_STORE_PROV_GET_CTL_PROPERTY_FUNC(22) | CertStoreProvGetCTLPropertyCallback |