[SXS] Sync with Wine Staging 3.3. CORE-14434

This commit is contained in:
Amine Khaldi
2018-03-23 12:30:21 +01:00
parent cd3274d64f
commit 640271bc37
7 changed files with 60 additions and 30 deletions

View File

@@ -7,7 +7,7 @@ list(APPEND SOURCE
cache.c
name.c
sxs.c
sxs_private.h
precomp.h
${CMAKE_CURRENT_BINARY_DIR}/sxs_stubs.c)
add_library(sxs SHARED
@@ -18,5 +18,5 @@ add_library(sxs SHARED
set_module_type(sxs win32dll)
target_link_libraries(sxs wine)
add_importlibs(sxs oleaut32 ole32 msvcrt kernel32 ntdll)
add_pch(sxs sxs_private.h SOURCE)
add_pch(sxs precomp.h SOURCE)
add_cd_file(TARGET sxs DESTINATION reactos/system32 FOR all)

View File

@@ -18,12 +18,23 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#define COBJMACROS
#define INITGUID
#include "windef.h"
#include "winbase.h"
#include "ole2.h"
#include "winsxs.h"
#include "msxml2.h"
#include "wine/debug.h"
#include "wine/list.h"
#include "wine/unicode.h"
#include "sxs_private.h"
#include <oleauto.h>
#include <msxml2.h>
#include <wine/list.h>
WINE_DEFAULT_DEBUG_CHANNEL(sxs);
static const WCHAR cache_mutex_nameW[] =
{'_','_','W','I','N','E','_','S','X','S','_','C','A','C','H','E','_','M','U','T','E','X','_','_',0};

View File

@@ -18,8 +18,21 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "ole2.h"
#include "winsxs.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "sxs_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(sxs);
struct name
{
IAssemblyName IAssemblyName_iface;

23
dll/win32/sxs/precomp.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef _SXS_PRECOMP_H_
#define _SXS_PRECOMP_H_
#include <stdarg.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
#include <objbase.h>
#include <winsxs.h>
#include <wine/debug.h>
#include <wine/unicode.h>
#include "sxs_private.h"
#endif /* !_SXS_PRECOMP_H_ */

View File

@@ -18,7 +18,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "sxs_private.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
/***********************************************************************
* DllMain (SXS.@)

View File

@@ -16,26 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _SXS_PRIVATE_H_
#define _SXS_PRIVATE_H_
#include <stdarg.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
#include <objbase.h>
#include <winsxs.h>
#include <wine/debug.h>
#include <wine/unicode.h>
WINE_DEFAULT_DEBUG_CHANNEL(sxs);
#pragma once
enum name_attr_id
{
@@ -57,5 +38,3 @@ static inline WCHAR *strdupW( const WCHAR *src )
if (dst) strcpyW( dst, src );
return dst;
}
#endif /* _SXS_PRIVATE_H_ */

View File

@@ -181,7 +181,7 @@ reactos/dll/win32/softpub # Synced to WineStaging-2.9
reactos/dll/win32/stdole2.tlb # Synced to WineStaging-3.3
reactos/dll/win32/stdole32.tlb # Synced to WineStaging-3.3
reactos/dll/win32/sti # Synced to WineStaging-3.3
reactos/dll/win32/sxs # Synced to WineStaging-2.16
reactos/dll/win32/sxs # Synced to WineStaging-3.3
reactos/dll/win32/t2embed # Synced to WineStaging-2.9
reactos/dll/win32/tapi32 # Synced to WineStaging-2.9
reactos/dll/win32/traffic # Synced to WineStaging-2.9