mirror of
https://github.com/reactos/reactos.git
synced 2025-06-04 08:50:27 +00:00
-remove wingdi.h from wine/winuser.h
-define NOGDI for some wine dlls (this should be fixed in wine) -move wine specific window messages to internal user32 header -fix devenum includes -remove some wrong include guards in windows.h -remove the GetObjectW hack from jscript.dll svn path=/trunk/; revision=39502
This commit is contained in:
parent
c74ee95b77
commit
6a4bc15266
10 changed files with 12 additions and 13 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wingdi.h"
|
||||
#include "winuser.h"
|
||||
#include "winreg.h"
|
||||
#include "winerror.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<autoregister infsection="OleControlDlls" type="DllRegisterServer" />
|
||||
<importlibrary definition="dinput.spec" />
|
||||
<define name="_WIN32_WINNT">0x600</define>
|
||||
<define name="NOGDI" />
|
||||
<include base="dinput">.</include>
|
||||
<include base="ReactOS">include/reactos/wine</include>
|
||||
<library>wine</library>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<module name="dplayx" type="win32dll" baseaddress="${BASEADDRESS_DPLAYX}" installbase="system32" installname="dplayx.dll" unicode="yes">
|
||||
<!-- Won't load correctly in ReactOS yet autoregister infsection="OleControlDlls" type="DllRegisterServer" -->
|
||||
<importlibrary definition="dplayx.spec" />
|
||||
<define name="NOGDI" />
|
||||
<include base="dplayx">.</include>
|
||||
<include base="ReactOS">include/reactos/wine</include>
|
||||
<library>wine</library>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<include base="ReactOS">include/reactos/wine</include>
|
||||
<define name="__WINESRC__" />
|
||||
<define name="USE_WIN32_OPENGL" />
|
||||
|
||||
<define name="NOGDI" />
|
||||
<library>uuid</library>
|
||||
<library>wine</library>
|
||||
<library>user32</library>
|
||||
|
|
|
@ -43,7 +43,7 @@ static const WCHAR isFiniteW[] = {'i','s','F','i','n','i','t','e',0};
|
|||
static const WCHAR parseIntW[] = {'p','a','r','s','e','I','n','t',0};
|
||||
static const WCHAR parseFloatW[] = {'p','a','r','s','e','F','l','o','a','t',0};
|
||||
static const WCHAR unescapeW[] = {'u','n','e','s','c','a','p','e',0};
|
||||
static const WCHAR getObjectW[] = {'G','e','t','O','b','j','e','c','t',0};
|
||||
static const WCHAR GetObjectW[] = {'G','e','t','O','b','j','e','c','t',0};
|
||||
static const WCHAR ScriptEngineW[] = {'S','c','r','i','p','t','E','n','g','i','n','e',0};
|
||||
static const WCHAR ScriptEngineMajorVersionW[] =
|
||||
{'S','c','r','i','p','t','E','n','g','i','n','e','M','a','j','o','r','V','e','r','s','i','o','n',0};
|
||||
|
@ -298,7 +298,7 @@ static const builtin_prop_t JSGlobal_props[] = {
|
|||
{DateW, JSGlobal_Date, PROPF_CONSTR},
|
||||
{EnumeratorW, JSGlobal_Enumerator, PROPF_METHOD},
|
||||
{FunctionW, JSGlobal_Function, PROPF_CONSTR},
|
||||
{getObjectW, JSGlobal_GetObject, PROPF_METHOD},
|
||||
{GetObjectW, JSGlobal_GetObject, PROPF_METHOD},
|
||||
{InfinityW, JSGlobal_Infinity, 0},
|
||||
/* {MathW, JSGlobal_Math, 0}, */
|
||||
{NaNW, JSGlobal_NaN, 0},
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<include base="jscript" root="intermediate">.</include>
|
||||
<include base="ReactOS">include/reactos/wine</include>
|
||||
<define name="__WINESRC__" />
|
||||
<define name="RPC_NO_WINDOWS_H" />
|
||||
<dependency>jsglobal</dependency>
|
||||
<library>wine</library>
|
||||
<library>kernel32</library>
|
||||
|
|
|
@ -12,4 +12,7 @@
|
|||
BOOL FASTCALL MessageInit(VOID);
|
||||
VOID FASTCALL MessageCleanup(VOID);
|
||||
|
||||
#define WM_ALTTABACTIVE 0x0029
|
||||
#define WM_SETVISIBLE 0x0009
|
||||
|
||||
#endif /* LIB_USER32_INCLUDE_MESSAGE_H */
|
||||
|
|
|
@ -40,13 +40,9 @@
|
|||
#include <stdarg.h>
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#if !(defined NOGDI || defined _WINGDI_H)
|
||||
#include <wingdi.h>
|
||||
#endif
|
||||
#include <wincon.h>
|
||||
#ifndef _WINUSER_H
|
||||
#include <winuser.h>
|
||||
#endif
|
||||
#include <wincon.h>
|
||||
#ifndef _WINNLS_H
|
||||
#include <winnls.h>
|
||||
#endif
|
||||
|
|
|
@ -4483,6 +4483,7 @@ typedef MONITORINFOEXW MONITORINFOEX, *LPMONITORINFOEX;
|
|||
#define WinHelp WinHelpW
|
||||
#define wsprintf wsprintfW
|
||||
#define wvsprintf wvsprintfW
|
||||
|
||||
#ifndef NOGDI
|
||||
typedef ICONMETRICSW ICONMETRICS,*LPICONMETRICS;
|
||||
typedef NONCLIENTMETRICSW NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
* Compatibility header
|
||||
*/
|
||||
|
||||
#include <wingdi.h>
|
||||
|
||||
#if !defined(_MSC_VER)
|
||||
#include_next "winuser.h"
|
||||
#endif
|
||||
|
@ -17,7 +15,4 @@
|
|||
WINUSERAPI UINT WINAPI PrivateExtractIconsA(LPCSTR,int,int,int,HICON*,UINT*,UINT,UINT);
|
||||
WINUSERAPI UINT WINAPI PrivateExtractIconsW(LPCWSTR,int,int,int,HICON*,UINT*,UINT,UINT);
|
||||
|
||||
#define WM_ALTTABACTIVE 0x0029
|
||||
#define WM_SETVISIBLE 0x0009
|
||||
|
||||
#endif /* __WINE_WINUSER_H */
|
||||
|
|
Loading…
Reference in a new issue