Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7b00b60c
Commit
7b00b60c
authored
Nov 05, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix compilation on systems that don't support either nameless unions or nameless structs.
parent
04dc115b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
sysparams.c
dlls/user32/sysparams.c
+9
-5
No files found.
dlls/user32/sysparams.c
View file @
7b00b60c
...
...
@@ -25,6 +25,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
...
...
@@ -3069,14 +3073,14 @@ BOOL WINAPI EnumDisplaySettingsExA(LPCSTR lpszDeviceName, DWORD iModeNum,
lpDevMode
->
dmBitsPerPel
=
devmodeW
.
dmBitsPerPel
;
lpDevMode
->
dmPelsHeight
=
devmodeW
.
dmPelsHeight
;
lpDevMode
->
dmPelsWidth
=
devmodeW
.
dmPelsWidth
;
lpDevMode
->
dmDisplayFlags
=
devmodeW
.
dmDisplayFlags
;
lpDevMode
->
u2
.
dmDisplayFlags
=
devmodeW
.
u2
.
dmDisplayFlags
;
lpDevMode
->
dmDisplayFrequency
=
devmodeW
.
dmDisplayFrequency
;
lpDevMode
->
dmFields
=
devmodeW
.
dmFields
;
lpDevMode
->
dmPosition
.
x
=
devmodeW
.
dmPosition
.
x
;
lpDevMode
->
dmPosition
.
y
=
devmodeW
.
dmPosition
.
y
;
lpDevMode
->
dmDisplayOrientation
=
devmodeW
.
dmDisplayOrientation
;
lpDevMode
->
dmDisplayFixedOutput
=
devmodeW
.
dmDisplayFixedOutput
;
lpDevMode
->
u1
.
s2
.
dmPosition
.
x
=
devmodeW
.
u1
.
s2
.
dmPosition
.
x
;
lpDevMode
->
u1
.
s2
.
dmPosition
.
y
=
devmodeW
.
u1
.
s2
.
dmPosition
.
y
;
lpDevMode
->
u1
.
s2
.
dmDisplayOrientation
=
devmodeW
.
u1
.
s2
.
dmDisplayOrientation
;
lpDevMode
->
u1
.
s2
.
dmDisplayFixedOutput
=
devmodeW
.
u1
.
s2
.
dmDisplayFixedOutput
;
}
if
(
lpszDeviceName
)
RtlFreeUnicodeString
(
&
nameW
);
return
ret
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment