Alistair Leslie-Hughes : include: Add ICommandPrepare interface.
Alexandre Julliard
julliard at winehq.org
Wed Nov 11 15:31:43 CST 2020
Module: wine
Branch: master
Commit: 82ea4cb6e069e899eb168cac9735009d47f71b55
URL: https://source.winehq.org/git/wine.git/?a=commit;h=82ea4cb6e069e899eb168cac9735009d47f71b55
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Wed Nov 11 21:32:53 2020 +1100
include: Add ICommandPrepare interface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msdaps/usrmarshal.c | 24 ++++++++++++++++++++++++
include/Makefile.in | 1 +
include/cmdpre.idl | 41 +++++++++++++++++++++++++++++++++++++++++
include/oledb.idl | 1 +
4 files changed, 67 insertions(+)
diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c
index fa086290061..917395b37bd 100644
--- a/dlls/msdaps/usrmarshal.c
+++ b/dlls/msdaps/usrmarshal.c
@@ -1629,3 +1629,27 @@ HRESULT __RPC_STUB IConvertType_CanConvert_Stub(IConvertType* This, DBTYPE from,
FIXME("(%p)->(%d %d 0x%08x %p): stub\n", This, from, to, flags, error);
return E_NOTIMPL;
}
+
+HRESULT CALLBACK ICommandPrepare_Prepare_Proxy(ICommandPrepare* This, ULONG runs)
+{
+ FIXME("(%p)->(%d): stub\n", This, runs);
+ return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB ICommandPrepare_Prepare_Stub(ICommandPrepare* This, ULONG runs, IErrorInfo **error)
+{
+ FIXME("(%p)->(%d %p): stub\n", This, runs, error);
+ return E_NOTIMPL;
+}
+
+HRESULT CALLBACK ICommandPrepare_Unprepare_Proxy(ICommandPrepare* This)
+{
+ FIXME("(%p)->(): stub\n", This);
+ return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB ICommandPrepare_Unprepare_Stub(ICommandPrepare* This, IErrorInfo **error)
+{
+ FIXME("(%p)->(%p): stub\n", This, error);
+ return E_NOTIMPL;
+}
diff --git a/include/Makefile.in b/include/Makefile.in
index 3ccacdaeecf..33aa29615c7 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -63,6 +63,7 @@ SOURCES = \
cierror.h \
clusapi.h \
cmdbas.idl \
+ cmdpre.idl \
cmdprp.idl \
cmdstrm.idl \
cmdtxt.idl \
diff --git a/include/cmdpre.idl b/include/cmdpre.idl
new file mode 100644
index 00000000000..695149aae50
--- /dev/null
+++ b/include/cmdpre.idl
@@ -0,0 +1,41 @@
+/*
+ * 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(0c733a26-2a1c-11ce-ade5-00aa0044773d),
+ pointer_default(unique)
+]
+interface ICommandPrepare : IUnknown
+{
+ [local]
+ HRESULT Prepare([in] ULONG runs);
+
+ [call_as(Prepare)]
+ HRESULT RemotePrepare([in] ULONG runs,[out] IErrorInfo **error);
+
+ [local]
+ HRESULT Unprepare();
+
+ [call_as(Unprepare)]
+ HRESULT RemoteUnprepare([out] IErrorInfo **error);
+}
diff --git a/include/oledb.idl b/include/oledb.idl
index c56460262f5..5060378b351 100644
--- a/include/oledb.idl
+++ b/include/oledb.idl
@@ -73,6 +73,7 @@ typedef DWORD_PTR DBHASHVALUE;
#include "cmdstrm.idl"
#include "cmdprp.idl"
#include "cvttyp.idl"
+#include "cmdpre.idl"
cpp_quote("#include <accctrl.h>")
More information about the wine-cvs
mailing list