sxs: Add new dll stub.

This commit is contained in:
EA Durbin 2007-04-19 18:28:52 -05:00 committed by Alexandre Julliard
parent 133b8bc3ed
commit 74977dae45
7 changed files with 67 additions and 0 deletions

View File

@ -369,6 +369,7 @@ ALL_MAKEFILES = \
dlls/sti/Makefile \
dlls/strmiids/Makefile \
dlls/svrapi/Makefile \
dlls/sxs/Makefile \
dlls/tapi32/Makefile \
dlls/twain_32/Makefile \
dlls/unicows/Makefile \
@ -711,6 +712,7 @@ dlls/stdole32.tlb/Makefile: dlls/stdole32.tlb/Makefile.in dlls/Makedll.rules
dlls/sti/Makefile: dlls/sti/Makefile.in dlls/Makedll.rules
dlls/strmiids/Makefile: dlls/strmiids/Makefile.in dlls/Makeimplib.rules
dlls/svrapi/Makefile: dlls/svrapi/Makefile.in dlls/Makedll.rules
dlls/sxs/Makefile: dlls/sxs/Makefile.in dlls/Makedll.rules
dlls/tapi32/Makefile: dlls/tapi32/Makefile.in dlls/Makedll.rules
dlls/twain_32/Makefile: dlls/twain_32/Makefile.in dlls/Makedll.rules
dlls/unicows/Makefile: dlls/unicows/Makefile.in dlls/Makedll.rules

3
configure vendored
View File

@ -20627,6 +20627,8 @@ ac_config_files="$ac_config_files dlls/strmiids/Makefile"
ac_config_files="$ac_config_files dlls/svrapi/Makefile"
ac_config_files="$ac_config_files dlls/sxs/Makefile"
ac_config_files="$ac_config_files dlls/tapi32/Makefile"
ac_config_files="$ac_config_files dlls/twain_32/Makefile"
@ -21636,6 +21638,7 @@ do
"dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
"dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
"dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
"dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
"dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
"dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
"dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;

View File

@ -1704,6 +1704,7 @@ AC_CONFIG_FILES([dlls/stdole32.tlb/Makefile])
AC_CONFIG_FILES([dlls/sti/Makefile])
AC_CONFIG_FILES([dlls/strmiids/Makefile])
AC_CONFIG_FILES([dlls/svrapi/Makefile])
AC_CONFIG_FILES([dlls/sxs/Makefile])
AC_CONFIG_FILES([dlls/tapi32/Makefile])
AC_CONFIG_FILES([dlls/twain_32/Makefile])
AC_CONFIG_FILES([dlls/unicows/Makefile])

View File

@ -171,6 +171,7 @@ BASEDIRS = \
stdole32.tlb \
sti \
svrapi \
sxs \
tapi32 \
twain_32 \
unicows \

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

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

45
dlls/sxs/sxs.c Normal file
View File

@ -0,0 +1,45 @@
/*
* sxs main
*
* Copyright 2007 EA Durbin
*
* 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(sxs);
/***********************************************************************
* DllMain (SXS.@)
*
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinstDLL );
break;
}
return TRUE;
}

2
dlls/sxs/sxs.spec Normal file
View File

@ -0,0 +1,2 @@
@ stub CreateAssemblyCache
@ stub CreateAssemblyNameObject