Commit Graph

187 Commits

Author SHA1 Message Date
Louis Lenders 239653ea12 oledb32: Add version resource.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 11:49:38 +01:00
Nikolay Sivov 275790c767 oledb32: Implement GetErrorParameters().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-16 13:20:15 -06:00
Nikolay Sivov 9a084ab6d3 oledb32: Use better naming for IErrorRecords implementation structure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-16 13:20:13 -06:00
Nikolay Sivov 3fdfea7786 oledb32: Implement GetBasicErrorInfo().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-15 16:06:10 -06:00
Nikolay Sivov 333039f318 oledb32: Implement GetCustomErrorObject().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-15 16:06:07 -06:00
Nikolay Sivov 41984c62a6 oledb32: IErrorRecords uses 0-based index to access record info.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-15 16:06:04 -06:00
Nikolay Sivov 4a3054e445 oledb32: Use growing array to store error records.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-15 16:05:55 -06:00
Sebastian Lackner 81f110cc36 oledb32/tests: Fix incorrect usage of broken() function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 23:15:00 +09:00
Nikolay Sivov 85c6afe4ce oledb32: Support quoted values in initialisation strings.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 18:47:08 +09:00
Nikolay Sivov f5f6cfb0f7 oledb32: IErrorInfo methods are stubs.
There's no way to set error info for this object

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:25:10 +09:00
Nikolay Sivov dc8f504b51 oledb32/tests: Simplify recount check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:36:18 +09:00
Alistair Leslie-Hughes e5daf33978 oledb32: GetConversionSize shouldn't fail for null variants.
If we have a NULL variant which will be converted to a non-fixed sized
type (DBTYPE_WSTR) then we just return S_OK.

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>
2015-12-23 16:32:12 +01:00
Alistair Leslie-Hughes 9c70026092 oledb32: Convert to a BSTR to work out it size.
This makes code for handling variants with DBTYPE_STR and DBTYPE_WSTR
types consistent.

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>
2015-12-22 13:51:01 +01:00
Nikolay Sivov ae9281e27f oledb32: Allow case-insensitive match for Provider keyword.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:38 +09:00
Alistair Leslie-Hughes 0edd515b95 oledb32: Support VT_NULL on all conversions.
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>
2015-11-03 22:14:38 +09:00
Marcus Meissner 99549e1e2e oledb32: Free memory on error exit (Coverity). 2015-06-15 14:47:45 +09:00
Nikolay Sivov ea2387b2a7 oledb32/tests: Improve IDataSourceLocator tests a bit. 2015-06-11 14:40:56 +09:00
Nikolay Sivov 795845ff3d oledb32: Support provider-specific properties in GetDataSource(). 2015-06-10 23:36:28 +09:00
Nikolay Sivov b95d318454 oledb32/tests: Added a test for GetDataSource() with created provider and custom properties. 2015-06-09 14:47:49 +09:00
Nikolay Sivov afa6cb528a oledb32: Fix instance leak on error path (Valgrind). 2015-06-09 14:47:46 +09:00
Alistair Leslie-Hughes 804b96a680 oledb32: Fix memory leak. 2015-06-08 15:25:15 +09:00
Nikolay Sivov 1d08eb284a oledb32: Handle CLSIDFromProgID() failure (Coverity). 2015-06-04 15:55:24 +09:00
Francois Gouget f597fe8f4f oledb32/tests: Remove unneeded NONAMELESSXXX directives. 2015-03-17 14:19:06 +09:00
Francois Gouget 11f1a21e9f oledb32: Remove unneeded NONAMELESSXXX directives. 2015-03-17 14:19:03 +09:00
Michael Stefaniuc e87857a521 oledb32/tests: Remove an unused assignment (PVS-Studio). 2015-03-04 21:50:42 +09:00
Alexandre Julliard 65180fb2e8 oledb32/tests: The destination array address can't be modified by the called function. 2015-03-04 21:50:33 +09:00
Michael Stefaniuc 6d3c83b869 oledb32/tests: Simplify some ok() checks (PVS-Studio). 2015-01-08 13:11:59 +01:00
Nikolay Sivov 51a4fce54d oledb32/tests: Simplify IMalloc handling. 2014-05-05 12:17:56 +02:00
Nikolay Sivov 3804423f8c oledb32: Fix IDBInitialize instance leak on error path (Valgrind). 2014-05-05 12:17:55 +02:00
Frédéric Delanoy 408c351035 oledb32/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-30 12:42:54 +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
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Frédéric Delanoy 0a51a8203b oledb32/tests: Constify some character strings. 2013-12-27 14:31:53 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard 7960e02b17 makefiles: Add makedep pragmas for identifier idl files. 2013-11-05 20:38:18 +01:00
Michael Stefaniuc cb194006e9 oledb32/tests: Compile with -D__WINESRC__. 2013-10-17 10:43:57 +02:00
Alexandre Julliard 55e44092bd makefiles: Remove useless definitions of COM_NO_WINDOWS_H. 2013-10-14 16:05:31 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Alistair Leslie-Hughes 05a807af49 oledb32: Implement IDataSourceLocator get/put hWnd. 2013-10-01 13:10:14 +02:00
Alistair Leslie-Hughes 3d193930ab oledb32: Correct DataLinks interface for win64. 2013-09-25 13:33:26 +02:00
Nikolay Sivov 0988938d0f oledb32: Implement SetRowPosition(). 2013-08-26 15:00:51 +02:00
Alistair Leslie-Hughes 8f09d3470a oledb32: Add IDataSourceLocator support. 2013-08-23 20:15:43 +02:00
Nikolay Sivov 05528ea01b oledb32: Implement GetRowPosition(). 2013-08-23 10:41:18 +02:00
Nikolay Sivov 149c392e09 oledb32: Implement IRowPosition_GetRowset(). 2013-08-23 10:41:15 +02:00
Nikolay Sivov def652e594 oledb32: Implement IRowPosition_ClearRowPosition() with events. 2013-08-23 10:41:12 +02:00
Nikolay Sivov b5a7303504 oledb32/tests: A basic test for IRowPosition_Initialize(). 2013-08-22 19:02:04 +02:00
Nikolay Sivov f339c2fa0d oledb32: Implement Advise/Unadvise for IRowPositionChange. 2013-08-22 19:02:04 +02:00