Jacek Caban : msimtf: Added msimtf.dll.
Alexandre Julliard
julliard at winehq.org
Mon Oct 15 11:28:11 CDT 2007
Module: wine
Branch: master
Commit: 44a808fba5ccedcb24ac7bdb3ba6d47013e9f02c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=44a808fba5ccedcb24ac7bdb3ba6d47013e9f02c
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sun Oct 14 19:31:45 2007 +0200
msimtf: Added msimtf.dll.
---
Makefile.in | 2 +
configure | 3 ++
configure.ac | 1 +
dlls/Makefile.in | 1 +
dlls/msimtf/Makefile.in | 12 +++++++
dlls/msimtf/main.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++
dlls/msimtf/msimtf.spec | 6 +++
7 files changed, 107 insertions(+), 0 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 3ff8abb..de3da4b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -298,6 +298,7 @@ ALL_MAKEFILES = \
dlls/msi/Makefile \
dlls/msi/tests/Makefile \
dlls/msimg32/Makefile \
+ dlls/msimtf/Makefile \
dlls/msisys.ocx/Makefile \
dlls/msnet32/Makefile \
dlls/msrle32/Makefile \
@@ -669,6 +670,7 @@ dlls/mshtml/tests/Makefile: dlls/mshtml/tests/Makefile.in dlls/Maketest.rules
dlls/msi/Makefile: dlls/msi/Makefile.in dlls/Makedll.rules
dlls/msi/tests/Makefile: dlls/msi/tests/Makefile.in dlls/Maketest.rules
dlls/msimg32/Makefile: dlls/msimg32/Makefile.in dlls/Makedll.rules
+dlls/msimtf/Makefile: dlls/msimtf/Makefile.in dlls/Makedll.rules
dlls/msisys.ocx/Makefile: dlls/msisys.ocx/Makefile.in dlls/Makedll.rules
dlls/msnet32/Makefile: dlls/msnet32/Makefile.in dlls/Makedll.rules
dlls/msrle32/Makefile: dlls/msrle32/Makefile.in dlls/Makedll.rules
diff --git a/configure b/configure
index 9e1e78b..51b8f62 100755
--- a/configure
+++ b/configure
@@ -20552,6 +20552,8 @@ ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
ac_config_files="$ac_config_files dlls/msimg32/Makefile"
+ac_config_files="$ac_config_files dlls/msimtf/Makefile"
+
ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
ac_config_files="$ac_config_files dlls/msnet32/Makefile"
@@ -21690,6 +21692,7 @@ do
"dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
"dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
"dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
+ "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
"dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
"dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
"dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 6bb3faa..153e269 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1696,6 +1696,7 @@ AC_CONFIG_FILES([dlls/mshtml/tests/Makefile])
AC_CONFIG_FILES([dlls/msi/Makefile])
AC_CONFIG_FILES([dlls/msi/tests/Makefile])
AC_CONFIG_FILES([dlls/msimg32/Makefile])
+AC_CONFIG_FILES([dlls/msimtf/Makefile])
AC_CONFIG_FILES([dlls/msisys.ocx/Makefile])
AC_CONFIG_FILES([dlls/msnet32/Makefile])
AC_CONFIG_FILES([dlls/msrle32/Makefile])
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index 4871eba..c08e25a 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -121,6 +121,7 @@ BASEDIRS = \
mshtml.tlb \
msi \
msimg32 \
+ msimtf \
msisys.ocx \
msnet32 \
msrle32 \
diff --git a/dlls/msimtf/Makefile.in b/dlls/msimtf/Makefile.in
new file mode 100644
index 0000000..2ec6168
--- /dev/null
+++ b/dlls/msimtf/Makefile.in
@@ -0,0 +1,12 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = msimtf.dll
+IMPORTS = kernel32
+
+C_SRCS = main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@ # everything below this line is overwritten by make depend
diff --git a/dlls/msimtf/main.c b/dlls/msimtf/main.c
new file mode 100644
index 0000000..5659647
--- /dev/null
+++ b/dlls/msimtf/main.c
@@ -0,0 +1,82 @@
+/*
+ * Copyright 2007 Jacek Caban 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(msimtf);
+
+/******************************************************************
+ * DllMain (msimtf.@)
+ */
+BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
+{
+ switch(fdwReason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(hInstDLL);
+ break;
+ case DLL_PROCESS_DETACH:
+ break;
+ }
+ return TRUE;
+}
+
+/******************************************************************
+ * DllGetClassObject (msimtf.@)
+ */
+HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
+{
+ FIXME("(%s %s %p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
+ return CLASS_E_CLASSNOTAVAILABLE;
+}
+
+/******************************************************************
+ * DllCanUnloadNow (msimtf.@)
+ */
+HRESULT WINAPI DllCanUnloadNow(void)
+{
+ FIXME("()\n");
+ return S_FALSE;
+}
+
+/***********************************************************************
+ * DllRegisterServer (msimtf.@)
+ */
+HRESULT WINAPI DllRegisterServer(void)
+{
+ FIXME("()\n");
+ return S_OK;
+}
+
+/***********************************************************************
+ * DllUnregisterServer (msimtf.@)
+ */
+HRESULT WINAPI DllUnregisterServer(void)
+{
+ FIXME("()\n");
+ return S_OK;
+}
diff --git a/dlls/msimtf/msimtf.spec b/dlls/msimtf/msimtf.spec
new file mode 100644
index 0000000..ea3b7de
--- /dev/null
+++ b/dlls/msimtf/msimtf.spec
@@ -0,0 +1,6 @@
+@ stdcall -private DllCanUnloadNow()
+@ stdcall -private DllGetClassObject(ptr ptr ptr)
+@ stdcall -private DllRegisterServer()
+@ stdcall -private DllUnregisterServer()
+@ stub MsimtfIsGuidMapEnable
+@ stub MsimtfIsWindowFiltered
More information about the wine-cvs
mailing list