mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +00:00
-don't rely on wingdi.h in winuser.h
-remove NOGDI hacks from wine directx dlls svn path=/trunk/; revision=39508
This commit is contained in:
parent
c4d49789a6
commit
bc58fedee4
4 changed files with 11 additions and 7 deletions
|
@ -4,7 +4,6 @@
|
|||
<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,7 +3,6 @@
|
|||
<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>
|
||||
|
|
|
@ -3115,6 +3115,11 @@ typedef struct tagICONMETRICSW {
|
|||
int iTitleWrap;
|
||||
LOGFONTW lfFont;
|
||||
} ICONMETRICSW,*LPICONMETRICSW;
|
||||
#ifdef UNICODE
|
||||
typedef ICONMETRICSW ICONMETRICS,*LPICONMETRICS;
|
||||
#else /* UNICODE */
|
||||
typedef ICONMETRICSA ICONMETRICS,*LPICONMETRICS;
|
||||
#endif /* UNICODE */
|
||||
#endif /* NOGDI */
|
||||
typedef struct tagMINIMIZEDMETRICS {
|
||||
UINT cbSize;
|
||||
|
@ -3167,6 +3172,11 @@ typedef struct tagNONCLIENTMETRICSW {
|
|||
LOGFONTW lfStatusFont;
|
||||
LOGFONTW lfMessageFont;
|
||||
} NONCLIENTMETRICSW,*LPNONCLIENTMETRICSW;
|
||||
#ifdef UNICODE
|
||||
typedef NONCLIENTMETRICSW NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
|
||||
#else /* UNICODE */
|
||||
typedef NONCLIENTMETRICSA NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
|
||||
#endif /* UNICODE */
|
||||
#endif
|
||||
typedef struct tagSERIALKEYSA {
|
||||
UINT cbSize;
|
||||
|
@ -4485,8 +4495,6 @@ typedef MONITORINFOEXW MONITORINFOEX, *LPMONITORINFOEX;
|
|||
#define wvsprintf wvsprintfW
|
||||
|
||||
#ifndef NOGDI
|
||||
typedef ICONMETRICSW ICONMETRICS,*LPICONMETRICS;
|
||||
typedef NONCLIENTMETRICSW NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
|
||||
#define ChangeDisplaySettings ChangeDisplaySettingsW
|
||||
#define ChangeDisplaySettingsEx ChangeDisplaySettingsExW
|
||||
#define CreateDesktop CreateDesktopW
|
||||
|
@ -4653,8 +4661,6 @@ typedef MONITORINFOEXA MONITORINFOEX, *LPMONITORINFOEX;
|
|||
#define wsprintf wsprintfA
|
||||
#define wvsprintf wvsprintfA
|
||||
#if defined(_WINGDI_) && !defined(NOGDI)
|
||||
typedef ICONMETRICSA ICONMETRICS,*LPICONMETRICS;
|
||||
typedef NONCLIENTMETRICSA NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
|
||||
#define ChangeDisplaySettings ChangeDisplaySettingsA
|
||||
#define ChangeDisplaySettingsEx ChangeDisplaySettingsExA
|
||||
#define CreateDesktop CreateDesktopA
|
||||
|
|
Loading…
Reference in a new issue