Daniel Jelinski : xolehlp: Add some stubs.

Alexandre Julliard julliard at winehq.org
Tue Nov 20 13:52:23 CST 2012


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

Author: Daniel Jelinski <djelinski1 at gmail.com>
Date:   Sat Nov  3 23:43:36 2012 +0100

xolehlp: Add some stubs.

---

 dlls/xolehlp/xolehlp.c    |   24 ++++++++++++++++++++++++
 dlls/xolehlp/xolehlp.spec |    6 +++---
 2 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/dlls/xolehlp/xolehlp.c b/dlls/xolehlp/xolehlp.c
index 3b970ef..9573744 100644
--- a/dlls/xolehlp/xolehlp.c
+++ b/dlls/xolehlp/xolehlp.c
@@ -39,3 +39,27 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
     }
     return TRUE;
 }
+
+HRESULT WINAPI DtcGetTransactionManager(char *host, char *tm_name, REFIID riid,
+        DWORD dwReserved1, WORD wcbReserved2, void *pvReserved2, void **ppv)
+{
+    FIXME("(%s, %s, %s, %d, %d, %p, %p): stub\n", debugstr_a(host), debugstr_a(tm_name),
+          debugstr_guid(riid), dwReserved1, wcbReserved2, pvReserved2, ppv);
+    return E_NOTIMPL;
+}
+
+HRESULT WINAPI DtcGetTransactionManagerExA(CHAR *host, CHAR *tm_name, REFIID riid,
+        DWORD options, void *config, void **ppv)
+{
+    FIXME("(%s, %s, %s, %d, %p, %p): stub\n", debugstr_a(host), debugstr_a(tm_name),
+          debugstr_guid(riid), options, config, ppv);
+    return E_NOTIMPL;
+}
+
+HRESULT WINAPI DtcGetTransactionManagerExW(WCHAR *host, WCHAR *tm_name, REFIID riid,
+        DWORD options, void *config, void **ppv)
+{
+    FIXME("(%s, %s, %s, %d, %p, %p): stub\n", debugstr_w(host), debugstr_w(tm_name),
+            debugstr_guid(riid), options, config, ppv);
+    return E_NOTIMPL;
+}
diff --git a/dlls/xolehlp/xolehlp.spec b/dlls/xolehlp/xolehlp.spec
index f774542..0b149de 100644
--- a/dlls/xolehlp/xolehlp.spec
+++ b/dlls/xolehlp/xolehlp.spec
@@ -1,6 +1,6 @@
 @ stub GetDtcLocaleResourceHandle
-@ stub DtcGetTransactionManager
+@ stdcall DtcGetTransactionManager(str str ptr long long ptr ptr)
 @ stub DtcGetTransactionManagerEx
 @ stub DtcGetTransactionManagerC
-@ stub DtcGetTransactionManagerExA
-@ stub DtcGetTransactionManagerExW
+@ stdcall DtcGetTransactionManagerExA(str str ptr long ptr ptr)
+@ stdcall DtcGetTransactionManagerExW(wstr wstr ptr long ptr ptr)




More information about the wine-cvs mailing list