Hello,
I have trouble with install certificate via NSIS. Maybe you can help me. I think about using System::Call to calling some method from system dlls. But what method and from what dll? I'm not shure baybe one of those: certmgr.dll, crypt32.dll, cryptui.dll, certcli.dll.
Thanks for all answers
installing certificates
3 posts
Hello, this is function in crypt32.dll:
PCCERT_CONTEXT WINAPI CertFindCertificateInStore(
HCERTSTORE hCertStore,
DWORD dwCertEncodingType,
DWORD dwFindFlags,
DWORD dwFindType,
const void* pvFindPara,
PCCERT_CONTEXT pPrevCertContext
);
How to call this fonction in System.Call?
Full CertFindCertificateInStore definition:
Thanks
PCCERT_CONTEXT WINAPI CertFindCertificateInStore(
HCERTSTORE hCertStore,
DWORD dwCertEncodingType,
DWORD dwFindFlags,
DWORD dwFindType,
const void* pvFindPara,
PCCERT_CONTEXT pPrevCertContext
);
How to call this fonction in System.Call?
Full CertFindCertificateInStore definition:
Thanks
The System plug-in readme explains throughly how to call API functions. Figuring out the parameters to pass is up to you.