Commit Graph

38 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes ab6dfd0581 odbccp32: Fake success from SQLWriteDSNToIni/W.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-23 20:01:57 +02:00
Alistair Leslie-Hughes 990f08dc73 odbccp32: Implement SQLValidDSN/W.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-21 23:02:30 +02:00
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
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 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
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
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
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 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
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 Goujon b234bb49ff odbccp32: Fix SQLInstallDriverManager{,W}. 2010-09-13 14:47:35 -05: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
Bill Medland c4a7c821f1 odbccp32: Implement SQLGet/SetConfigMode. 2007-01-15 12:22:44 +01:00
Bill Medland 68d30e9a16 odbccp32: Remove A->W cross-call. 2007-01-12 20:41:41 +01:00
Bill Medland d99f9ab71a odbccp32: Implement SQLGetInstalledDrivers. 2007-01-12 12:01:35 +01:00
Bill Medland 8d82a8c9b3 odbccp32: Implement SQLInstallerError(W). 2007-01-11 12:21:47 +01:00
Michael Stefaniuc 41dd56cb7f "One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int. 2006-09-29 16:09:24 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Hans Leidekker e4ba39b3cc Improve the implementation of SQLConfigDataSource, SQLConfigDriver,
SQLInstallDriver{,Ex}, SQLInstallerError and
SQLInstallTranslator{,Ex}.
2005-10-31 10:04:12 +00:00
Hans Leidekker 5a932ccd71 Implement SQLInstallDriverManager. 2005-10-26 10:09:34 +00:00
Francois Gouget fd73829593 Fix the prototypes of SQLCreateDataSource*(), SQLGetPrivateProfileString*().
Fix the return type of SQLInstallerError*() and
SQLPostInstallerError*().
Fix the SQLInstallDriver() and SQLInstallDriverEx() prototypes in the
spec file.
Add an odbccp32 section to win32.api for winapi_check.
2005-06-17 21:26:31 +00:00
Rein Klazes 254e747b72 Add a stub for ODBCCPlApplet. 2005-05-26 16:08:27 +00:00
Mike McCormack b5c63ed491 Initial mostly stub implementation of ODBC control panel. 2005-05-16 19:42:47 +00:00