Alistair Leslie-Hughes : odbccp32: Fake success from SQLWriteDSNToIni/W.

Alexandre Julliard julliard at winehq.org
Thu Aug 23 16:37:04 CDT 2018


Module: wine
Branch: master
Commit: ab6dfd058115025bc37c72c7daa082defef29529
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ab6dfd058115025bc37c72c7daa082defef29529

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu Aug 23 06:11:59 2018 +0000

odbccp32: Fake success from SQLWriteDSNToIni/W.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/odbccp32/odbccp32.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/odbccp32/odbccp32.c b/dlls/odbccp32/odbccp32.c
index 60254d0..694a90c 100644
--- a/dlls/odbccp32/odbccp32.c
+++ b/dlls/odbccp32/odbccp32.c
@@ -1545,16 +1545,14 @@ BOOL WINAPI SQLWriteDSNToIniW(LPCWSTR lpszDSN, LPCWSTR lpszDriver)
 {
     clear_errors();
     FIXME("%s %s\n", debugstr_w(lpszDSN), debugstr_w(lpszDriver));
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    return TRUE;
 }
 
 BOOL WINAPI SQLWriteDSNToIni(LPCSTR lpszDSN, LPCSTR lpszDriver)
 {
     clear_errors();
     FIXME("%s %s\n", debugstr_a(lpszDSN), debugstr_a(lpszDriver));
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    return TRUE;
 }
 
 BOOL WINAPI SQLWriteFileDSNW(LPCWSTR lpszFileName, LPCWSTR lpszAppName,




More information about the wine-cvs mailing list