- Add sxs.dll from Wine

svn path=/trunk/; revision=35183
This commit is contained in:
Dmitry Chapyshev
2008-08-08 14:32:35 +00:00
parent f300e6b609
commit acbdcaaf87
7 changed files with 70 additions and 0 deletions

View File

@@ -184,6 +184,7 @@
<property name="BASEADDRESS_KERNEL32" value="0x7c800000" />
<property name="BASEADDRESS_NTDLL" value="0x7c900000" />
<property name="BASEADDRESS_HHCTRL" value="0x7e410000" />
<property name="BASEADDRESS_SXS" value="0x7e690000" />
<property name="BASEADDRESS_BEEPMIDI" value="0x7ef0000" />
<property name="BASEADDRESS_FREETYPE" value="0x7f000000" />
</group>

View File

@@ -325,6 +325,7 @@ dll\win32\shlwapi\shlwapi.dll 1
dll\win32\smdll\smdll.dll 1
dll\win32\snmpapi\snmpapi.dll 1
dll\win32\stdole2.tlb\stdole2.tlb 1
dll\win32\sxs\sxs.dll 1
dll\win32\syssetup\syssetup.dll 1
dll\win32\tapi32\tapi32.dll 1
dll\win32\tapiui\tapiui.dll 1

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

View File

@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<group>
<module name="sxs" type="win32dll" baseaddress="${BASEADDRESS_SXS}" installbase="system32" installname="sxs.dll" allowwarnings="true" entrypoint="0">
<importlibrary definition="sxs.spec.def" />
<include base="sxs">.</include>
<include base="ReactOS">include/reactos/wine</include>
<define name="__WINESRC__" />
<define name="WINVER">0x600</define>
<define name="_WIN32_WINNT">0x600</define>
<file>sxs.c</file>
<file>sxs.spec</file>
<library>wine</library>
<library>kernel32</library>
<library>ntdll</library>
</module>
</group>

View File

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

View File

@@ -313,6 +313,9 @@
<directory name="stdole2.tlb">
<xi:include href="stdole2.tlb/stdole2.rbuild" />
</directory>
<directory name="sxs">
<xi:include href="sxs/sxs.rbuild" />
</directory>
<directory name="syssetup">
<xi:include href="syssetup/syssetup.rbuild" />
</directory>

View File

@@ -94,6 +94,7 @@ reactos/dll/win32/shdocvw # Synced to Wine-0_9_5
reactos/dll/win32/shfolder # Autosync
reactos/dll/win32/shlwapi # Autosync
reactos/dll/win32/stdole2.tlb # Autosync
reactos/dll/win32/sxs # Autosync
reactos/dll/win32/tapi32 # Autosync
reactos/dll/win32/twain_32 # Out of sync
reactos/dll/win32/urlmon # Autosync