ChainConfig.cbSize = sizeof(CERT_CHAIN_ENGINE_CONFIG);
ChainConfig.hRestrictedRoot = NULL;
ChainConfig.hRestrictedTrust = NULL;
ChainConfig.hRestrictedOther = NULL;
ChainConfig.cAdditionalStore = 0;
ChainConfig.rghAdditionalStore = NULL;
ChainConfig.dwFlags = CERT_CHAIN_CACHE_END_CERT;
ChainConfig.dwUrlRetrievalTimeout = 0;
ChainConfig.MaximumCachedCertificates = 0;
ChainConfig.CycleDetectionModulus = 0;
//---------------------------------------------------------
// Create the nondefault certificate chain engine.
if (CertCreateCertificateChainEngine(
&ChainConfig,
&hChainEngine)){
printf("A chain engine has been created.\n");}
Erreur d'obtention 0x80070057 (-2147024809) Le paramètre est incorrect. Quelqu'un peut-il aider ici?CertCreateCertificateChainEngine renvoie une erreur dans Windows 7
Je viens de tombé sur la même question. J'ai cherché et essayé de nombreux exemples et rien ne fonctionne. Vous avez posé cette question il y a 5 mois. Connaissez-vous la réponse, s'il vous plaît dites-moi? – QuangNHb