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

This commit is contained in:
Amine Khaldi 2018-03-20 12:35:24 +01:00
parent f76b348cb6
commit 8361200df0
7 changed files with 44 additions and 21 deletions

View file

@ -9,7 +9,7 @@ spec2def(objsel.dll objsel.spec)
list(APPEND SOURCE
factory.c
objsel.c
objsel_private.h)
precomp.h)
add_library(objsel SHARED
${SOURCE}
@ -19,5 +19,5 @@ add_library(objsel SHARED
set_module_type(objsel win32dll)
target_link_libraries(objsel uuid wine)
add_importlibs(objsel ole32 advapi32 msvcrt kernel32 ntdll)
add_pch(objsel objsel_private.h SOURCE)
add_pch(objsel precomp.h SOURCE)
add_cd_file(TARGET objsel DESTINATION reactos/system32 FOR all)

View file

@ -21,6 +21,11 @@
#include "objsel_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(objsel);
static inline ClassFactoryImpl *impl_from_IClassFactory(IClassFactory *iface)
{
return CONTAINING_RECORD(iface, ClassFactoryImpl, IClassFactory_iface);

View file

@ -19,8 +19,11 @@
*/
#include "objsel_private.h"
#include "rpcproxy.h"
#include <rpcproxy.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(objsel);
LONG dll_refs = 0;
static HINSTANCE hInstance;

View file

@ -18,7 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include "windef.h"
#include "winbase.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
@ -26,4 +27,4 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define WINE_FILENAME_STR "objsel.dll"
#include <wine/wine_common_ver.rc>
#include "wine/wine_common_ver.rc"

View file

@ -18,24 +18,27 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _OBJSEL_PRIVATE_H
#define _OBJSEL_PRIVATE_H
#pragma once
#include <string.h>
#include <stdarg.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <stdio.h>
#include "winerror.h"
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "wingdi.h"
#include "winuser.h"
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
#include <objbase.h>
#include <objsel.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(objsel);
#include "ole2.h"
#include "strmif.h"
#include "olectl.h"
#include "unknwn.h"
#include "objsel.h"
#include "wine/unicode.h"
#include "uuids.h"
/**********************************************************************
* Dll lifetime tracking declaration for objsel.dll
@ -61,5 +64,3 @@ typedef struct
HRESULT WINAPI OBJSEL_IDsObjectPicker_Create(LPVOID *ppvObj) DECLSPEC_HIDDEN;
extern ClassFactoryImpl OBJSEL_ClassFactory DECLSPEC_HIDDEN;
#endif /* _OBJSEL_PRIVATE_H */

View file

@ -0,0 +1,13 @@
#ifndef _OBJSEL_PRECOMP_H
#define _OBJSEL_PRECOMP_H
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include "objsel_private.h"
#include <wine/debug.h>
#endif /* !_OBJSEL_PRECOMP_H */

View file

@ -136,7 +136,7 @@ reactos/dll/win32/nddeapi # Synced to WineStaging-3.3
reactos/dll/win32/netapi32 # Forked at Wine-1.3.34
reactos/dll/win32/npptools # Synced to WineStaging-3.3
reactos/dll/win32/ntdsapi # Synced to WineStaging-3.3
reactos/dll/win32/objsel # Synced to WineStaging-2.9
reactos/dll/win32/objsel # Synced to WineStaging-3.3
reactos/dll/win32/odbc32 # Synced to WineStaging-2.9. Depends on port of Linux ODBC.
reactos/dll/win32/odbccp32 # Synced to WineStaging-2.9
reactos/dll/win32/ole32 # Synced to Wine-3.0