msimtf: Added msimtf.dll.

This commit is contained in:
Jacek Caban 2007-10-14 19:31:45 +02:00 committed by Alexandre Julliard
parent db0b392dc2
commit 44a808fba5
7 changed files with 107 additions and 0 deletions

View File

@ -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

3
configure vendored
View File

@ -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" ;;

View File

@ -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])

View File

@ -121,6 +121,7 @@ BASEDIRS = \
mshtml.tlb \
msi \
msimg32 \
msimtf \
msisys.ocx \
msnet32 \
msrle32 \

12
dlls/msimtf/Makefile.in Normal file
View File

@ -0,0 +1,12 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msimtf.dll
IMPORTS = kernel32
C_SRCS = main.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

82
dlls/msimtf/main.c Normal file
View File

@ -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;
}

6
dlls/msimtf/msimtf.spec Normal file
View File

@ -0,0 +1,6 @@
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
@ stub MsimtfIsGuidMapEnable
@ stub MsimtfIsWindowFiltered