Commit Graph

68 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes 8af32e41c2 msado15: Implement ADOConnectionConstruction15 get_Session.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-15 16:16:24 +01:00
Alistair Leslie-Hughes 3289a7a2d4 msado15: Support ADOConnectionConstruction15 on _Connection interface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-15 16:16:21 +01:00
Alistair Leslie-Hughes 44501a2781 msado15: Only support put CursorLocation on Closed Recordset.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-15 16:16:14 +01:00
Alistair Leslie-Hughes a23c54288e msado15/tests: Add test for interface ADOConnectionConstruction15.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-23 22:07:50 +01:00
Alistair Leslie-Hughes df2c595181 msado15: Set row_set point to NULL on close.
Stops a crash when Close then Release is called on a Recordset.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-23 22:07:50 +01:00
Alistair Leslie-Hughes f99a09e906 msado15: Implement ADORecordsetConstruction get/put Rowset.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-20 19:01:04 +01:00
Alistair Leslie-Hughes 8049e4dbc9 msado15: Support ADORecordsetConstruction in _Recordset.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-20 19:01:04 +01:00
Alistair Leslie-Hughes 36d8147c13 msado15/tests: Add ADORecordsetConstruction tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-19 11:22:35 +01:00
Alistair Leslie-Hughes 7287bd5007 msado15: Implement _Recordset get/put CursorType.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-22 22:02:03 +02:00
Alistair Leslie-Hughes 57e30f27cb msado15: Implement _Connection Open.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-21 20:30:53 +02:00
Hans Leidekker 45295c5e07 msado15: Avoid a crash with tracing on.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-21 20:30:51 +02:00
Hans Leidekker 9415d45a80 msado15: Use correct string type for default provider.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-21 20:30:49 +02:00
Alistair Leslie-Hughes aff5938965 msado15: Implement _Command get/putref ActiveConnection.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-09 16:21:33 +02:00
Alistair Leslie-Hughes 4a987b30e7 msado15: Implement _Connection get/put CursorLocation.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-09 16:21:33 +02:00
Alistair Leslie-Hughes f350849039 msado15: Implement _Connection get/put Mode.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-08 19:45:35 +02:00
Alistair Leslie-Hughes 2262e04827 msado15: Implement _Connection Get/Put Provider.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-08 19:45:35 +02:00
Aaro Altonen b852f777d9 msado15: Implement IConnectionPoint::Advise/Unadvise.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49388
Signed-off-by: Aaro Altonen <a.altonen@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-18 09:00:30 +02:00
Aaro Altonen a0aa5b0f46 msado15/tests: Add tests for IConnectionPoint::Advise/Unadvise.
Signed-off-by: Aaro Altonen <a.altonen@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-18 08:55:12 +02:00
Gijs Vermeulen 44cc7bef76 msado15: Improve _Connection_Open/Close stubs.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-08 21:01:32 +02:00
Gijs Vermeulen 79228f64a0 msado15: Ignore IRunnableObject interface in recordset/connection_QueryInterface.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-08 21:01:32 +02:00
Aaro Altonen a1222a3595 msado15: Implement IConnectionPointContainer_FindConnectionPoint.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49303
Signed-off-by: Aaro Altonen <a.altonen@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-01 22:10:28 +02:00
Aaro Altonen a8b647d8f8 msado15: Add IConnectionPoint stub to _Connection.
Signed-off-by: Aaro Altonen <a.altonen@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-01 22:10:28 +02:00
Hans Leidekker fb1d46fc0a msado15: Fix NULL pointer dereference in close_recordset.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49281
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-29 20:05:30 +02:00
Aaro Altonen 93dfc9b60e msado15: Add IConnectionPointContainer stub to _Connection.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49272
Signed-off-by: Aaro Altonen <a.altonen@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 23:46:59 +02:00
Aaro Altonen 4963da2538 msado15: Implement _Command get/put CommandText.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49264
Signed-off-by: Aaro Altonen <a.altonen@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-27 18:42:47 +02:00
Aaro Altonen 6255b031af msado15: Implement _Command get/put CommandType.
Signed-off-by: Aaro Altonen <a.altonen@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-25 20:29:19 +02:00
Alistair Leslie-Hughes 765fc5cb31 msado15: Implement _Connection get/put ConnectionString.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 14:40:12 +01:00
Alistair Leslie-Hughes 7d51008ecf msado15: Implement _Recordset get_CursorLocation and put_CursorLocation.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-24 17:15:54 +01:00
Hans Leidekker 0bfb3826ad msado15: Prevent multiple Open/Close of a _Recordset.
Based on a patch by Alistair Leslie-Hughes.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 21:01:59 +01:00
Hans Leidekker e22f85853a msado15: Add ISupportErrorInfo support to Field, Fields and _Recordset.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 21:01:59 +01:00
Hans Leidekker eedc6b06ca msado15: Implement _Recordset_MoveFirst and _Recordset_MoveLast.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 21:01:59 +01:00
Hans Leidekker 6e5c2bee06 msado15: Implement _Recordset_MoveNext and _Recordset_MovePrevious.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 21:01:59 +01:00
Hans Leidekker 6f1a4fa8e2 msado15: Implement _Recordset_get_RecordCount.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 21:01:58 +01:00
Hans Leidekker 55020bf239 msado15: Implement _Recordset_get_BOF and _Recordset_get_EOF.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 21:01:58 +01:00
Hans Leidekker 435d0924eb msado15: Implement _Recordset_get_State.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 21:01:58 +01:00
Hans Leidekker 7fce75805c msado15: Implement _Recordset_AddNew.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 21:01:58 +01:00
Hans Leidekker 554502d6aa msado15: Implement _Recordset_Open and _Recordset_Close.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Hans Leidekker d5f77d6db7 msado15: Implement Field_get_Value and Field_put_Value.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Hans Leidekker 56e2ac139c msado15: Implement Field_get_Attributes and Field_get_DefinedSize.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Hans Leidekker a9452acbfa msado15: Implement Fields_get_Item.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Hans Leidekker c4be51d771 msado15: Implement Field_get_Name and Field_get_Type.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Alistair Leslie-Hughes 2839e7b5e7 msado15: Add _Command stub interface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Alistair Leslie-Hughes 23b50cac89 msado15: Add ISupportErrorInfo support to _Connection.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Hans Leidekker c5f82e3903 msado15: Implement Field_put_Type, Field_put_DefinedSize and Field_put_Attributes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00
Hans Leidekker a5939587c9 msado15: Implement Fields_get_Count.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00
Hans Leidekker 0e897cb53e msado15: Implement Fields__Append and Fields_Append.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00
Hans Leidekker bd76c7a845 msado15: Implement _Recordset_get_Fields.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00
Hans Leidekker aa0e7aa1fd msado15: Implement _Stream_SetEOS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00
Alistair Leslie-Hughes dade5b7eb7 msado15: Implement _Connection_get_CommandTimeout and _Connection_put_CommandTimeout.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00
Alistair Leslie-Hughes 131cfe0b65 msado15: Implement _Connection_get_State.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00