Lines Matching refs:errorToString
43 static const char *errorToString(DWORD dwErr)
157 RTMsgError("CertAddSerializedElementToStore returned %s", errorToString(GetLastError()));
165 RTMsgError("CertAddCertificateContextToStore returned %s", errorToString(GetLastError()));
171 RTMsgError("CertOpenStore returned %s", errorToString(GetLastError()));
175 RTMsgError("CertCreateCertificateContext returned %s", errorToString(GetLastError()));
221 errorToString(GetLastError()), pszCertFile);
269 dwDst, pszStoreNm, errorToString(GetLastError()));
300 RTMsgError("CertGetNameStringW(Subject) failed: %s\n", errorToString(GetLastError()));
328 RTMsgError("CertDeleteFromStore('%ls') failed: %s\n", wszName, errorToString(GetLastError()));
331 RTMsgError("CertDuplicateCertificateContext('%ls') failed: %s\n", wszName, errorToString(GetLastError()));
389 RTMsgError("CertAddCertificateContextToStore returned %s", errorToString(GetLastError()));
466 RTMsgError("CertGetNameStringW(Issuer) failed: %s\n", errorToString(GetLastError()));
471 RTMsgError("CertGetNameStringW(Subject) failed: %s\n", errorToString(GetLastError()));
478 RTMsgError("CertOpenStore failed opening %#x:'%ls': %s\n", dwDst, pwszStoreNm, errorToString(GetLastError()));
492 dwFlags, pwszStoreLocation, errorToString(GetLastError()));
506 return RTMsgErrorExit(RTEXITCODE_SYNTAX, "CertEnumSystemStoreLocation failed: %s\n", errorToString(GetLastError()));