[PATCH 1/3] include: Add ICommandStream interface
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Tue Nov 10 03:29:56 CST 2020
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
include/cmdstrm.idl | 35 +++++++++++++++++++++++++++++++++++
include/oledb.idl | 1 +
2 files changed, 36 insertions(+)
create mode 100644 include/cmdstrm.idl
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>")
--
2.28.0
More information about the wine-devel
mailing list