mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 05:58:30 +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 "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
|
#include "wingdi.h"
|
||||||
#include "winuser.h"
|
#include "winuser.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<autoregister infsection="OleControlDlls" type="DllRegisterServer" />
|
<autoregister infsection="OleControlDlls" type="DllRegisterServer" />
|
||||||
<importlibrary definition="dinput.spec" />
|
<importlibrary definition="dinput.spec" />
|
||||||
<define name="_WIN32_WINNT">0x600</define>
|
<define name="_WIN32_WINNT">0x600</define>
|
||||||
|
<define name="NOGDI" />
|
||||||
<include base="dinput">.</include>
|
<include base="dinput">.</include>
|
||||||
<include base="ReactOS">include/reactos/wine</include>
|
<include base="ReactOS">include/reactos/wine</include>
|
||||||
<library>wine</library>
|
<library>wine</library>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<module name="dplayx" type="win32dll" baseaddress="${BASEADDRESS_DPLAYX}" installbase="system32" installname="dplayx.dll" unicode="yes">
|
<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" -->
|
<!-- Won't load correctly in ReactOS yet autoregister infsection="OleControlDlls" type="DllRegisterServer" -->
|
||||||
<importlibrary definition="dplayx.spec" />
|
<importlibrary definition="dplayx.spec" />
|
||||||
|
<define name="NOGDI" />
|
||||||
<include base="dplayx">.</include>
|
<include base="dplayx">.</include>
|
||||||
<include base="ReactOS">include/reactos/wine</include>
|
<include base="ReactOS">include/reactos/wine</include>
|
||||||
<library>wine</library>
|
<library>wine</library>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<include base="ReactOS">include/reactos/wine</include>
|
<include base="ReactOS">include/reactos/wine</include>
|
||||||
<define name="__WINESRC__" />
|
<define name="__WINESRC__" />
|
||||||
<define name="USE_WIN32_OPENGL" />
|
<define name="USE_WIN32_OPENGL" />
|
||||||
|
<define name="NOGDI" />
|
||||||
<library>uuid</library>
|
<library>uuid</library>
|
||||||
<library>wine</library>
|
<library>wine</library>
|
||||||
<library>user32</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 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 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 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 ScriptEngineW[] = {'S','c','r','i','p','t','E','n','g','i','n','e',0};
|
||||||
static const WCHAR ScriptEngineMajorVersionW[] =
|
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};
|
{'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},
|
{DateW, JSGlobal_Date, PROPF_CONSTR},
|
||||||
{EnumeratorW, JSGlobal_Enumerator, PROPF_METHOD},
|
{EnumeratorW, JSGlobal_Enumerator, PROPF_METHOD},
|
||||||
{FunctionW, JSGlobal_Function, PROPF_CONSTR},
|
{FunctionW, JSGlobal_Function, PROPF_CONSTR},
|
||||||
{getObjectW, JSGlobal_GetObject, PROPF_METHOD},
|
{GetObjectW, JSGlobal_GetObject, PROPF_METHOD},
|
||||||
{InfinityW, JSGlobal_Infinity, 0},
|
{InfinityW, JSGlobal_Infinity, 0},
|
||||||
/* {MathW, JSGlobal_Math, 0}, */
|
/* {MathW, JSGlobal_Math, 0}, */
|
||||||
{NaNW, JSGlobal_NaN, 0},
|
{NaNW, JSGlobal_NaN, 0},
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<include base="jscript" root="intermediate">.</include>
|
<include base="jscript" root="intermediate">.</include>
|
||||||
<include base="ReactOS">include/reactos/wine</include>
|
<include base="ReactOS">include/reactos/wine</include>
|
||||||
<define name="__WINESRC__" />
|
<define name="__WINESRC__" />
|
||||||
|
<define name="RPC_NO_WINDOWS_H" />
|
||||||
<dependency>jsglobal</dependency>
|
<dependency>jsglobal</dependency>
|
||||||
<library>wine</library>
|
<library>wine</library>
|
||||||
<library>kernel32</library>
|
<library>kernel32</library>
|
||||||
|
|
|
@ -12,4 +12,7 @@
|
||||||
BOOL FASTCALL MessageInit(VOID);
|
BOOL FASTCALL MessageInit(VOID);
|
||||||
VOID FASTCALL MessageCleanup(VOID);
|
VOID FASTCALL MessageCleanup(VOID);
|
||||||
|
|
||||||
|
#define WM_ALTTABACTIVE 0x0029
|
||||||
|
#define WM_SETVISIBLE 0x0009
|
||||||
|
|
||||||
#endif /* LIB_USER32_INCLUDE_MESSAGE_H */
|
#endif /* LIB_USER32_INCLUDE_MESSAGE_H */
|
||||||
|
|
|
@ -40,13 +40,9 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <windef.h>
|
#include <windef.h>
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
#if !(defined NOGDI || defined _WINGDI_H)
|
|
||||||
#include <wingdi.h>
|
#include <wingdi.h>
|
||||||
#endif
|
|
||||||
#include <wincon.h>
|
|
||||||
#ifndef _WINUSER_H
|
|
||||||
#include <winuser.h>
|
#include <winuser.h>
|
||||||
#endif
|
#include <wincon.h>
|
||||||
#ifndef _WINNLS_H
|
#ifndef _WINNLS_H
|
||||||
#include <winnls.h>
|
#include <winnls.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -4483,6 +4483,7 @@ typedef MONITORINFOEXW MONITORINFOEX, *LPMONITORINFOEX;
|
||||||
#define WinHelp WinHelpW
|
#define WinHelp WinHelpW
|
||||||
#define wsprintf wsprintfW
|
#define wsprintf wsprintfW
|
||||||
#define wvsprintf wvsprintfW
|
#define wvsprintf wvsprintfW
|
||||||
|
|
||||||
#ifndef NOGDI
|
#ifndef NOGDI
|
||||||
typedef ICONMETRICSW ICONMETRICS,*LPICONMETRICS;
|
typedef ICONMETRICSW ICONMETRICS,*LPICONMETRICS;
|
||||||
typedef NONCLIENTMETRICSW NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
|
typedef NONCLIENTMETRICSW NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
* Compatibility header
|
* Compatibility header
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wingdi.h>
|
|
||||||
|
|
||||||
#if !defined(_MSC_VER)
|
#if !defined(_MSC_VER)
|
||||||
#include_next "winuser.h"
|
#include_next "winuser.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -17,7 +15,4 @@
|
||||||
WINUSERAPI UINT WINAPI PrivateExtractIconsA(LPCSTR,int,int,int,HICON*,UINT*,UINT,UINT);
|
WINUSERAPI UINT WINAPI PrivateExtractIconsA(LPCSTR,int,int,int,HICON*,UINT*,UINT,UINT);
|
||||||
WINUSERAPI UINT WINAPI PrivateExtractIconsW(LPCWSTR,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 */
|
#endif /* __WINE_WINUSER_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue