Module: wine
Branch: master
Commit: 951793c71ec5626d8fed155ce05f0145a941ea92
URL: https://source.winehq.org/git/wine.git/?a=commit;h=951793c71ec5626d8fed155c…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Date: Tue Nov 10 20:29:56 2020 +1100
include: Add ICommandStream interface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
include/Makefile.in | 1 +
include/cmdstrm.idl | 35 +++++++++++++++++++++++++++++++++++
include/oledb.idl | 1 +
3 files changed, 37 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index ea021a4b80a..1db3765f68b 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -63,6 +63,7 @@ SOURCES = \
cierror.h \
clusapi.h \
cmdbas.idl \
+ cmdstrm.idl \
cmdtxt.idl \
cmnquery.idl \
codecapi.h \
diff --git a/include/cmdstrm.idl b/include/cmdstrm.idl
new file mode 100644
index 00000000000..caadf046f1b
--- /dev/null
+++ b/include/cmdstrm.idl
@@ -0,0 +1,35 @@
+/*
+ * 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
+
+[
+ local,
+ object,
+ uuid(0c733abf-2a1c-11ce-ade5-00aa0044773d),
+ pointer_default(unique)
+]
+interface ICommandStream : IUnknown
+{
+ [local]
+ HRESULT GetCommandStream([out] IID *iid, [in,out] GUID *dialect, [out, iid_is(*iid)] IUnknown **commandstream);
+
+ [local]
+ HRESULT SetCommandStream([in] REFIID riid, [in] REFGUID dialect, [in, iid_is(riid)] IUnknown *commandstream);
+}
diff --git a/include/oledb.idl b/include/oledb.idl
index 1ffbefa9ffd..87d148f67b4 100644
--- a/include/oledb.idl
+++ b/include/oledb.idl
@@ -70,6 +70,7 @@ typedef DWORD_PTR DBHASHVALUE;
#include "crtrow.idl"
#include "errrec.idl"
#include "getdts.idl"
+#include "cmdstrm.idl"
cpp_quote("#include <accctrl.h>")