Alistair Leslie-Hughes : include: Add interface IGetDataSource.

Alexandre Julliard julliard at winehq.org
Mon Nov 9 15:11:51 CST 2020


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Mon Oct 12 18:33:40 2020 +1100

include: Add interface IGetDataSource.

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

---

 dlls/msdaps/usrmarshal.c | 13 +++++++++++++
 include/Makefile.in      |  1 +
 include/getdts.idl       | 34 ++++++++++++++++++++++++++++++++++
 include/oledb.idl        |  1 +
 4 files changed, 49 insertions(+)

diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c
index 43e3aaeaa1a..2fe4e60b68b 100644
--- a/dlls/msdaps/usrmarshal.c
+++ b/dlls/msdaps/usrmarshal.c
@@ -1576,3 +1576,16 @@ HRESULT __RPC_STUB IColumnsInfo_MapColumnIDs_Stub(IColumnsInfo* This, DBORDINAL
     FIXME("(%p)->(%lu %p %p %p): stub\n", This, column_ids, dbids, columns, error);
     return E_NOTIMPL;
 }
+
+HRESULT CALLBACK IGetDataSource_GetDataSource_Proxy(IGetDataSource* This, REFIID riid, IUnknown **datasource)
+{
+    FIXME("(%p)->(%s %p): stub\n", This, debugstr_guid(riid), datasource);
+    return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB IGetDataSource_GetDataSource_Stub(IGetDataSource* This, REFIID riid, IUnknown **datasource,
+    IErrorInfo **error)
+{
+    FIXME("(%p)->(%s %p %p): stub\n", This, debugstr_guid(riid), datasource, error);
+    return E_NOTIMPL;
+}
diff --git a/include/Makefile.in b/include/Makefile.in
index b2c8ba7f987..ea021a4b80a 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -307,6 +307,7 @@ SOURCES = \
 	gdiplusmetaheader.h \
 	gdipluspixelformats.h \
 	gdiplustypes.h \
+	getdts.idl \
 	guiddef.h \
 	hidusage.h \
 	highlevelmonitorconfigurationapi.h \
diff --git a/include/getdts.idl b/include/getdts.idl
new file mode 100644
index 00000000000..40991070cc1
--- /dev/null
+++ b/include/getdts.idl
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2020 Alistair Leslie-Hughes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#if 0
+#pragma makedep install
+#endif
+
+[
+    object,
+    uuid(0c733a75-2a1c-11ce-ade5-00aa0044773d),
+    pointer_default(unique)
+]
+interface IGetDataSource : IUnknown
+{
+    [local]
+    HRESULT GetDataSource([in] REFIID riid, [out, iid_is(riid)] IUnknown **datasource);
+
+    [call_as(GetDataSource)]
+    HRESULT RemoteGetDataSource([in] REFIID riid, [out, iid_is(riid)] IUnknown **datasource, [out] IErrorInfo **error);
+}
diff --git a/include/oledb.idl b/include/oledb.idl
index 537bb211cc5..1ffbefa9ffd 100644
--- a/include/oledb.idl
+++ b/include/oledb.idl
@@ -69,6 +69,7 @@ typedef DWORD_PTR DBHASHVALUE;
 #include "binres.idl"
 #include "crtrow.idl"
 #include "errrec.idl"
+#include "getdts.idl"
 
 cpp_quote("#include <accctrl.h>")
 




More information about the wine-cvs mailing list