Hans Leidekker : xolehlp: New dll.

Alexandre Julliard julliard at winehq.org
Mon Sep 5 13:26:21 CDT 2011


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Sep  5 11:44:51 2011 +0200

xolehlp: New dll.

---

 configure                 |    1 +
 configure.ac              |    1 +
 dlls/xolehlp/Makefile.in  |    5 +++++
 dlls/xolehlp/xolehlp.c    |   41 +++++++++++++++++++++++++++++++++++++++++
 dlls/xolehlp/xolehlp.spec |    6 ++++++
 5 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 7dd8070..7c1af08 100755
--- a/configure
+++ b/configure
@@ -15195,6 +15195,7 @@ wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
 wine_fn_config_dll xmllite enable_xmllite
 wine_fn_config_test dlls/xmllite/tests xmllite_test
+wine_fn_config_dll xolehlp enable_xolehlp
 wine_fn_config_makefile documentation enable_documentation
 wine_fn_config_makefile fonts enable_fonts install-lib
 wine_fn_config_makefile include enable_include install-dev
diff --git a/configure.ac b/configure.ac
index 0c97bfd..0421c74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2888,6 +2888,7 @@ WINE_CONFIG_TEST(dlls/xinput1_3/tests)
 WINE_CONFIG_DLL(xinput9_1_0)
 WINE_CONFIG_DLL(xmllite)
 WINE_CONFIG_TEST(dlls/xmllite/tests)
+WINE_CONFIG_DLL(xolehlp)
 WINE_CONFIG_MAKEFILE([documentation])
 WINE_CONFIG_MAKEFILE([fonts],,[install-lib])
 WINE_CONFIG_MAKEFILE([include],,[install-dev])
diff --git a/dlls/xolehlp/Makefile.in b/dlls/xolehlp/Makefile.in
new file mode 100644
index 0000000..b1389ca
--- /dev/null
+++ b/dlls/xolehlp/Makefile.in
@@ -0,0 +1,5 @@
+MODULE    = xolehlp.dll
+
+C_SRCS = xolehlp.c
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/xolehlp/xolehlp.c b/dlls/xolehlp/xolehlp.c
new file mode 100644
index 0000000..3b970ef
--- /dev/null
+++ b/dlls/xolehlp/xolehlp.c
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2011 Hans Leidekker for CodeWeavers
+ *
+ * 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
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(xolehlp);
+
+BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
+{
+    TRACE("%p, %u, %p\n", hinst, reason, reserved);
+
+    switch (reason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE;    /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls( hinst );
+            break;
+        case DLL_PROCESS_DETACH:
+            break;
+    }
+    return TRUE;
+}
diff --git a/dlls/xolehlp/xolehlp.spec b/dlls/xolehlp/xolehlp.spec
new file mode 100644
index 0000000..f774542
--- /dev/null
+++ b/dlls/xolehlp/xolehlp.spec
@@ -0,0 +1,6 @@
+@ stub GetDtcLocaleResourceHandle
+@ stub DtcGetTransactionManager
+@ stub DtcGetTransactionManagerEx
+@ stub DtcGetTransactionManagerC
+@ stub DtcGetTransactionManagerExA
+@ stub DtcGetTransactionManagerExW




More information about the wine-cvs mailing list