mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[OLEDLG] Sync with Wine Staging 3.3. CORE-14434
This commit is contained in:
parent
9d816efc05
commit
8b391603d0
8 changed files with 78 additions and 26 deletions
|
@ -7,7 +7,7 @@ list(APPEND SOURCE
|
|||
insobjdlg.c
|
||||
oledlg_main.c
|
||||
pastespl.c
|
||||
oledlg_private.h)
|
||||
precomp.h)
|
||||
|
||||
add_library(oledlg SHARED
|
||||
${SOURCE}
|
||||
|
@ -17,5 +17,5 @@ add_library(oledlg SHARED
|
|||
set_module_type(oledlg win32dll)
|
||||
target_link_libraries(oledlg wine)
|
||||
add_importlibs(oledlg ole32 comdlg32 user32 advapi32 msvcrt kernel32 ntdll)
|
||||
add_pch(oledlg oledlg_private.h SOURCE)
|
||||
add_pch(oledlg precomp.h SOURCE)
|
||||
add_cd_file(TARGET oledlg DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -18,9 +18,21 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "oledlg_private.h"
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <winreg.h>
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winreg.h"
|
||||
#include "wine/winternl.h"
|
||||
#include "winerror.h"
|
||||
#include "wingdi.h"
|
||||
#include "winuser.h"
|
||||
#include "wine/debug.h"
|
||||
#include "wine/unicode.h"
|
||||
|
||||
#include "oledlg.h"
|
||||
#include "resource.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(oledlg);
|
||||
|
||||
|
|
|
@ -18,7 +18,22 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#define COBJMACROS
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
#include "wingdi.h"
|
||||
#include "winuser.h"
|
||||
#include "oledlg.h"
|
||||
#include "ole2.h"
|
||||
#include "oledlg_private.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include "wine/debug.h"
|
||||
#include "wine/unicode.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(ole);
|
||||
|
||||
|
|
|
@ -21,27 +21,6 @@
|
|||
#ifndef __OLEDLG_PRIVATE_H__
|
||||
#define __OLEDLG_PRIVATE_H__
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#define COBJMACROS
|
||||
#define NONAMELESSSTRUCT
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
#include <oledlg.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
#include <wine/unicode.h>
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
extern HINSTANCE OLEDLG_hInstance DECLSPEC_HIDDEN;
|
||||
|
||||
extern UINT cf_embed_source DECLSPEC_HIDDEN;
|
||||
|
|
|
@ -18,7 +18,24 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#define COBJMACROS
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
#include "wingdi.h"
|
||||
#include "winuser.h"
|
||||
#include "winnls.h"
|
||||
#include "oledlg.h"
|
||||
|
||||
#include "oledlg_private.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include "wine/debug.h"
|
||||
#include "wine/unicode.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(ole);
|
||||
|
||||
|
|
27
dll/win32/oledlg/precomp.h
Normal file
27
dll/win32/oledlg/precomp.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
#ifndef _OLEDLG_PRECOMP_H_
|
||||
#define _OLEDLG_PRECOMP_H_
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#define COBJMACROS
|
||||
#define NONAMELESSSTRUCT
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
#include <oledlg.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
#include <wine/unicode.h>
|
||||
|
||||
#include "oledlg_private.h"
|
||||
#include "resource.h"
|
||||
|
||||
#endif /* !_OLEDLG_PRECOMP_H_ */
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <oledlg.h>
|
||||
|
||||
#define IDS_RESULTOBJDESC 101
|
||||
#define IDS_RESULTFILEOBJDESC 102
|
||||
#define IDS_BROWSE 103
|
||||
|
|
|
@ -143,7 +143,7 @@ reactos/dll/win32/ole32 # Synced to WineStaging-3.3
|
|||
reactos/dll/win32/oleacc # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/oleaut32 # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/olecli32 # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/oledlg # Synced to WineStaging-2.9
|
||||
reactos/dll/win32/oledlg # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/olepro32 # Synced to WineStaging-2.9
|
||||
reactos/dll/win32/olesvr32 # Synced to WineStaging-2.9
|
||||
reactos/dll/win32/olethk32 # Synced to WineStaging-2.9
|
||||
|
|
Loading…
Reference in a new issue