Home > database > Pb call crypt32. The problem of DLL function definition
Pb call crypt32. The problem of DLL function definition
Time:10-26
2, CertOpenStore type using a specified storage area to provide certificate to open a store, HCERTSTORE WINAPI CertOpenStore ( LPCSTR lpszStoreProvider,//specifies the type of storage, a large number of types, see the MSDN DWORD dwMsgAndCertEncodingType,//only if a parameter for CERT_STORE_PROV_MSG CERT_STORE_PROV_PKCS7, or only use CERT_STORE_PROV_FILENAME, otherwise must be 0 HCRYPTPROV HCRYPTPROV,//password algorithm handles the disclosing party, it is recommended to use the default, the parameter set to NULL DWORD dwFlags,//it is composed of high and low byte, many parameters, Const void * pvPara//void type, can point to any type data, );
As above, is because of the need to call in the pb certificate API operation, in pb into definition, problem, HCERTSTORE this return, I don't know should be to define it as what type, I saw on the net deiphi and c + + example, do not see this exactly is what type, see have made similar friends advice,
CodePudding user response:
Focus on pb used in the field of certificate, to help the building roof