Vincent Povirk : ktmw32: Add stub dll.

Alexandre Julliard julliard at winehq.org
Mon Sep 27 11:29:43 CDT 2010


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Sun Sep 26 16:38:44 2010 -0500

ktmw32: Add stub dll.

---

 configure                 |    1 +
 configure.ac              |    1 +
 dlls/ktmw32/Makefile.in   |    6 ++++++
 dlls/ktmw32/ktmw32.spec   |   44 ++++++++++++++++++++++++++++++++++++++++++++
 dlls/ktmw32/ktmw32_main.c |   43 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 95 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index f1f9435..436bbae 100755
--- a/configure
+++ b/configure
@@ -14685,6 +14685,7 @@ wine_fn_config_dll kernel32 enable_kernel32 kernel32
 wine_fn_config_test dlls/kernel32/tests kernel32_test
 wine_fn_config_dll keyboard.drv16 enable_win16
 wine_fn_config_dll krnl386.exe16 enable_win16 kernel
+wine_fn_config_dll ktmw32 enable_ktmw32
 wine_fn_config_dll loadperf enable_loadperf loadperf
 wine_fn_config_dll localspl enable_localspl
 wine_fn_config_test dlls/localspl/tests localspl_test
diff --git a/configure.ac b/configure.ac
index 341ba18..fb85cac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2463,6 +2463,7 @@ WINE_CONFIG_DLL(kernel32,,[kernel32])
 WINE_CONFIG_TEST(dlls/kernel32/tests)
 WINE_CONFIG_DLL(keyboard.drv16,enable_win16)
 WINE_CONFIG_DLL(krnl386.exe16,enable_win16,[kernel])
+WINE_CONFIG_DLL(ktmw32)
 WINE_CONFIG_DLL(loadperf,,[loadperf])
 WINE_CONFIG_DLL(localspl)
 WINE_CONFIG_TEST(dlls/localspl/tests)
diff --git a/dlls/ktmw32/Makefile.in b/dlls/ktmw32/Makefile.in
new file mode 100644
index 0000000..62c41d8
--- /dev/null
+++ b/dlls/ktmw32/Makefile.in
@@ -0,0 +1,6 @@
+MODULE    = ktmw32.dll
+
+C_SRCS = \
+	ktmw32_main.c
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/ktmw32/ktmw32.spec b/dlls/ktmw32/ktmw32.spec
new file mode 100644
index 0000000..062f1f2
--- /dev/null
+++ b/dlls/ktmw32/ktmw32.spec
@@ -0,0 +1,44 @@
+@ stub CommitComplete
+@ stub CommitEnlistment
+@ stub CommitTransaction
+@ stub CommitTransactionAsync
+@ stub CreateEnlistment
+@ stub CreateResourceManager
+@ stub CreateTransaction
+@ stub CreateTransactionManager
+@ stub GetCurrentClockTransactionManager
+@ stub GetEnlistmentId
+@ stub GetEnlistmentRecoveryInformation
+@ stub GetNotificationResourceManager
+@ stub GetNotificationResourceManagerAsync
+@ stub GetTransactionId
+@ stub GetTransactionInformation
+@ stub GetTransactionManagerId
+@ stub OpenEnlistment
+@ stub OpenResourceManager
+@ stub OpenTransaction
+@ stub OpenTransactionManager
+@ stub OpenTransactionManagerById
+@ stub PrePrepareComplete
+@ stub PrePrepareEnlistment
+@ stub PrepareComplete
+@ stub PrepareEnlistment
+@ stub PrivCreateTransaction
+@ stub PrivIsLogWritableTransactionManager
+@ stub PrivPropagationComplete
+@ stub PrivPropagationFailed
+@ stub PrivRegisterProtocolAddressInformation
+@ stub ReadOnlyEnlistment
+@ stub RecoverEnlistment
+@ stub RecoverResourceManager
+@ stub RecoverTransactionManager
+@ stub RenameTransactionManager
+@ stub RollbackComplete
+@ stub RollbackEnlistment
+@ stub RollbackTransaction
+@ stub RollbackTransactionAsync
+@ stub RollforwardTransactionManager
+@ stub SetEnlistmentRecoveryInformation
+@ stub SetResourceManagerCompletionPort
+@ stub SetTransactionInformation
+@ stub SinglePhaseReject
diff --git a/dlls/ktmw32/ktmw32_main.c b/dlls/ktmw32/ktmw32_main.c
new file mode 100644
index 0000000..960def2
--- /dev/null
+++ b/dlls/ktmw32/ktmw32_main.c
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2010 Vincent Povirk 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 "config.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(ktm);
+
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+
+    switch (fdwReason)
+    {
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(hinstDLL);
+            break;
+        case DLL_PROCESS_DETACH:
+            break;
+    }
+
+    return TRUE;
+}




More information about the wine-cvs mailing list