Alistair Leslie-Hughes
7973699a8b
odbccp32: Correcly lookup driver in load_config_driver.
...
RegGetValueW doesn't return ERROR_MORE_DATA when the buffer parameter
is NULL, unlike other Reg functions. This also passes the correct
parameter(reg_driver) on the second call to RegGetValueW.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 10:52:34 +02:00
Alistair Leslie-Hughes
410610b553
odbccp32: Handle NULL parameter in SQLWritePrivateProfileStringW.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 10:52:32 +02:00
Michael Stefaniuc
52201acbea
odbccp32: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Zebediah Figura
3e90c9be3e
odbccp32/tests: Set requestedExecutionLevel to asInvoker to prevent virtualization.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:14:30 +02:00
Zebediah Figura
560010571a
odbccp32/tests: Skip SQLGetInstalledDrivers() test if limited.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:13:48 +02:00
Józef Kucia
e034ba1b59
odbccp32: Fix memory leak in SQLGetInstalledDrivers() (Coverity).
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-28 22:08:23 +02:00
Zebediah Figura
5eb8894e93
odbccp32: Avoid using RegQueryInfoKey() in SQLGetInstalledDrivers().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-23 09:33:00 +02:00
Zebediah Figura
3478a81a4c
odbccp32/tests: Add tests for SQLGetInstalledDrivers().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 21:58:02 +02:00
Zebediah Figura
169960b676
odbccp32: Clean up SQLGetInstalledDrivers().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 21:58:02 +02:00
Michael Stefaniuc
0c7863d9e9
odbccp32: Use the global HeapAlloc() wrappers.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 10:34:33 +01:00
Francois Gouget
522385f619
odbccp32/tests: Make test_SQLInstallTranslatorEx() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 13:09:34 +02:00
Alistair Leslie-Hughes
c92189c600
odbccp32: Handle ODBC_CONFIG_DRIVER request in SQLConfigDriver/W.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-27 11:04:39 +02:00
Alistair Leslie-Hughes
3b5a8707e6
odbccp32: Look in LOCAL_MACHINE for the driver.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-11 14:58:35 +02:00
Alistair Leslie-Hughes
764ee72641
odbccp32: Implement SQLConfigDriver/W.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-07 18:05:47 +02:00
Alistair Leslie-Hughes
e7afcb9850
odbccp32: Implement SQLRemoveTranslator/W.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-06 19:00:09 +02:00
Alistair Leslie-Hughes
d687fc8f34
odbccp32: Implement SQLInstallTranslator.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:17:27 +02:00
Francois Gouget
ec3d34a5a6
odbccp32/tests: Make test_SQLInstallDriverEx() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 12:07:56 +02:00
Hans Leidekker
49b644d7a2
odbccp32/tests: RegGetValueA is not available on Windows XP.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 15:32:15 +01:00
Alistair Leslie-Hughes
3136beda26
odbccp32: Implement SQLRemoveDriver/SQLRemoveDriverW.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:37 +01:00
Alistair Leslie-Hughes
27482bce73
odbccp32: Implement SQLInstallDriverEx.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-15 20:06:49 +01:00
André Hentschel
093d8702b9
odbccp32: Fix some spec file entries.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-24 09:34:43 +01:00
Francois Gouget
65b6cf186d
odbccp32: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
...
And standardize its parameter name.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:31:54 +01:00
Alistair Leslie-Hughes
cd50e1518f
odbccp32/test: Correct tests without privileges.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 23:15:39 +09:00
Alistair Leslie-Hughes
d77423093c
odbccp32: Remove duplicate string.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:55 +09:00
Alistair Leslie-Hughes
94667def7b
odbccp32: Implement SQLGetPrivateProfileStringW/SQLGetPrivateProfileString.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 22:08:36 +09:00
Alistair Leslie-Hughes
f4c9eac73d
odbccp32: Add a trace message to functions.
2015-06-08 15:26:11 +09:00
Alistair Leslie-Hughes
67acce4aa6
odbccp32: Implement SQLWritePrivateProfileStringA/W.
2015-03-27 22:26:57 +09:00
Francois Gouget
8110b3cb09
odbccp32: Remove an uneeded NONAMELESSUNION directive.
2015-03-17 14:18:45 +09:00
Nikolay Sivov
44677f2f78
odbccp32/tests: Remove test of always true conditions (PVS-Studio).
2014-08-18 12:45:31 +02:00
Stefan Leichter
cbd7651552
odbccp32: Add ordinals to spec file.
2014-03-14 11:29:53 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Alexandre Julliard
5e7416e5c8
makefiles: Get rid of the MAKE_DLL_RULES variable.
2014-01-02 12:08:18 +01:00
Hans Leidekker
92405a2d98
odbccp32: Initialize the usage count in SQLRemoveDriverManager and SQLRemoveDriver (valgrind).
2011-03-10 14:10:16 +01:00
André Hentschel
a16b51c62c
odbccp32: Improve some stubs.
2011-02-23 19:22:02 +01:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Alexandre Goujon
b234bb49ff
odbccp32: Fix SQLInstallDriverManager{,W}.
2010-09-13 14:47:35 -05:00
Paul Vriens
75c5484174
dlls: Fix some specfiles with respect to 'str' and 'wstr' usage.
2010-09-09 14:57:44 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Juan Lang
401b1b36cc
odbccp32: Fix a couple failing tests, and log more information about remaining failures.
2009-02-16 11:48:19 +01:00
Alexandre Julliard
dad21bbcbf
makefiles: List the static libraries as normal imports instead of extra libs.
2008-04-30 14:23:55 +02:00
Austin English
aab8fae59a
Spelling fixes.
2008-04-21 14:25:05 +02:00
Rob Shearman
48000893f9
makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
...
Only specify the root to keep platform-specifics out of the individual
DLL makefiles.
2008-03-04 20:55:01 +01:00
Alexandre Julliard
ad9396302d
Removed some unneeded imports.
2007-12-06 21:24:24 +01:00
Francois Gouget
96c337f0a1
Assorted spelling fixes.
2007-06-07 19:24:32 +02:00
Francois Gouget
5a8fc34033
Assorted spelling fixes.
2007-04-30 12:35:11 +02:00
Paul Vriens
60ff8d17dd
odbccp32: Don't print *pcbPathOut as it can be NULL (Coverity).
2007-04-04 16:16:59 +02:00
Francois Gouget
b0bde6b87c
Assorted spelling fixes.
2007-01-18 12:56:52 +01:00
Francois Gouget
ec6463470d
odbccp32/tests: Add missing '\n' to an ok() call.
2007-01-18 11:59:58 +01:00