fusion: Add a stub implementation of fusion.dll.

This commit is contained in:
James Hawkins 2008-03-20 18:27:46 -07:00 committed by Alexandre Julliard
parent 4b6d284de6
commit c0b3af34b9
7 changed files with 86 additions and 0 deletions

View File

@ -264,6 +264,7 @@ ALL_MAKEFILES = \
dlls/dxerr9/Makefile \
dlls/dxguid/Makefile \
dlls/faultrep/Makefile \
dlls/fusion/Makefile \
dlls/gdi32/Makefile \
dlls/gdi32/tests/Makefile \
dlls/gdiplus/Makefile \
@ -683,6 +684,7 @@ dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules
dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules
dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.rules
dlls/faultrep/Makefile: dlls/faultrep/Makefile.in dlls/Makedll.rules
dlls/fusion/Makefile: dlls/fusion/Makefile.in dlls/Makedll.rules
dlls/gdi32/Makefile: dlls/gdi32/Makefile.in dlls/Makedll.rules
dlls/gdi32/tests/Makefile: dlls/gdi32/tests/Makefile.in dlls/Maketest.rules
dlls/gdiplus/Makefile: dlls/gdiplus/Makefile.in dlls/Makedll.rules

3
configure vendored
View File

@ -21479,6 +21479,8 @@ ac_config_files="$ac_config_files dlls/dxguid/Makefile"
ac_config_files="$ac_config_files dlls/faultrep/Makefile"
ac_config_files="$ac_config_files dlls/fusion/Makefile"
ac_config_files="$ac_config_files dlls/gdi32/Makefile"
ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
@ -22755,6 +22757,7 @@ do
"dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
"dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
"dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
"dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
"dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
"dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
"dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;

View File

@ -1770,6 +1770,7 @@ AC_CONFIG_FILES([dlls/dxerr8/Makefile])
AC_CONFIG_FILES([dlls/dxerr9/Makefile])
AC_CONFIG_FILES([dlls/dxguid/Makefile])
AC_CONFIG_FILES([dlls/faultrep/Makefile])
AC_CONFIG_FILES([dlls/fusion/Makefile])
AC_CONFIG_FILES([dlls/gdi32/Makefile])
AC_CONFIG_FILES([dlls/gdi32/tests/Makefile])
AC_CONFIG_FILES([dlls/gdiplus/Makefile])

View File

@ -94,6 +94,7 @@ BASEDIRS = \
dwmapi \
dxdiagn \
faultrep \
fusion \
gdi32 \
gdiplus \
gphoto2.ds \

13
dlls/fusion/Makefile.in Normal file
View File

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

17
dlls/fusion/fusion.spec Normal file
View File

@ -0,0 +1,17 @@
@ stub CopyPDBs
@ stub ClearDownloadCache
@ stub CreateApplicationContext
@ stub CreateAssemblyCache
@ stub CreateAssemblyEnum
@ stub CreateAssemblyNameObject
@ stub CreateHistoryReader
@ stub CreateInstallReferenceEnum
@ stub GetCachePath
@ stub GetHistoryFileDirectory
@ stub InitializeFusion
@ stub InstallCustomAssembly
@ stub InstallCustomModule
@ stub LookupHistoryAssembly
@ stub NukeDownloadedCache
@ stub PreBindAssembly
@ stub PreBindAssemblyEx

49
dlls/fusion/fusion_main.c Normal file
View File

@ -0,0 +1,49 @@
/*
* fusion main
*
* Copyright 2008 James Hawkins
*
* 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(fusion);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH:
break;
default:
break;
}
return TRUE;
}