mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 01:34:53 +08:00
- Add sxs.dll from Wine
svn path=/trunk/; revision=35183
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
45
reactos/dll/win32/sxs/sxs.c
Normal file
45
reactos/dll/win32/sxs/sxs.c
Normal 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;
|
||||
}
|
||||
17
reactos/dll/win32/sxs/sxs.rbuild
Normal file
17
reactos/dll/win32/sxs/sxs.rbuild
Normal 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>
|
||||
2
reactos/dll/win32/sxs/sxs.spec
Normal file
2
reactos/dll/win32/sxs/sxs.spec
Normal file
@@ -0,0 +1,2 @@
|
||||
@ stub CreateAssemblyCache
|
||||
@ stub CreateAssemblyNameObject
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user