Code:
hSysStore = CertOpenStore(CERT_STORE_PROV_SYSTEM_A, 0, 0, CERT_SYSTEM_STORE_CURRENT_USER, "MY")
This is the line of code I'm currently using to try and open my certificate store and results in hSysStore = 0, all the API and Const declerations are correct so what am i doing wrong?