[PATCH 2/3] include: Add trnobj.idl

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Fri Jan 21 17:13:57 CST 2022


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/msdaps/usrmarshal.c | 14 ++++++++++++++
 include/Makefile.in      |  1 +
 include/oledb.idl        |  1 +
 include/trnobj.idl       | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 50 insertions(+)
 create mode 100644 include/trnobj.idl

diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c
index e6ddf9b4885..6ce50209940 100644
--- a/dlls/msdaps/usrmarshal.c
+++ b/dlls/msdaps/usrmarshal.c
@@ -1796,3 +1796,17 @@ HRESULT __RPC_STUB ITransactionLocal_StartTransaction_Stub(ITransactionLocal* Th
     FIXME("(%p)->(%d, 0x%08x, %p, %p, %p): stub\n", This, level, flags, options, trans_level, info);
     return E_NOTIMPL;
 }
+
+HRESULT CALLBACK ITransactionObject_GetTransactionObject_Proxy(ITransactionObject* This,
+    ULONG level, ITransaction **transaction)
+{
+    FIXME("(%p)->(%d, 0x%08x, %p): stub\n", This, level, transaction);
+    return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB ITransactionObject_GetTransactionObject_Stub(ITransactionObject* This,
+    ULONG level, ITransaction **transaction, IErrorInfo **info)
+{
+    FIXME("(%p)->(%d, 0x%08x, %p, %p): stub\n", This, level, transaction, info);
+    return E_NOTIMPL;
+}
diff --git a/include/Makefile.in b/include/Makefile.in
index b965bdb9917..7fcf5f0ba7b 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -718,6 +718,7 @@ SOURCES = \
 	transact.idl \
 	trnjoi.idl \
 	trnlcl.idl \
+	trnobj.idl \
 	twain.h \
 	txcoord.idl \
 	txdtc.idl \
diff --git a/include/oledb.idl b/include/oledb.idl
index d7e56f222e6..ce8aa74138a 100644
--- a/include/oledb.idl
+++ b/include/oledb.idl
@@ -82,6 +82,7 @@ typedef LONG_PTR DB_LRESERVE;
 #include "transact.idl"
 #include "trnjoi.idl"
 #include "trnlcl.idl"
+#include "trnobj.idl"
 #include "cmdwpr.idl"
 
 cpp_quote("#include <accctrl.h>")
diff --git a/include/trnobj.idl b/include/trnobj.idl
new file mode 100644
index 00000000000..f33aaaf384e
--- /dev/null
+++ b/include/trnobj.idl
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2022 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(0c733a60-2a1c-11ce-ade5-00aa0044773d),
+    pointer_default(unique)
+]
+interface ITransactionObject : IUnknown {
+
+        [local]
+        HRESULT GetTransactionObject([in] ULONG level, [out] ITransaction **transaction);
+
+        [call_as(GetTransactionObject)]
+        HRESULT RemoteGetTransactionObject([in] ULONG level, [out] ITransaction **transaction, [out] IErrorInfo **info);
+}
-- 
2.34.1




More information about the wine-devel mailing list