commit | 7e9ba76da1e41675c5a17061208e7d412d0da031 | [log] [tgz] |
---|---|---|
author | Juan Lang <juan_lang@yahoo.com> | Thu May 11 09:48:01 2006 -0700 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon May 15 11:06:04 2006 +0200 |
tree | d6a6d406eacb733559eaacf1ef8168d885538f4d | |
parent | 746bf215e067e97c887b290dca6fd6cf807dc391 [diff] [blame] |
crypt32: Use the HRESULT synonyms for converted Win32 error codes.
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c index 1555bb2..228bacf 100644 --- a/dlls/crypt32/oid.c +++ b/dlls/crypt32/oid.c
@@ -453,7 +453,7 @@ */ if (!pszFuncName || !pszOID) { - SetLastError(HRESULT_FROM_WIN32(ERROR_INVALID_PARAMETER)); + SetLastError(E_INVALIDARG); return FALSE; }