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
5ae22b80
Commit
5ae22b80
authored
Nov 02, 2005
by
Lionel Ulmer
Committed by
Alexandre Julliard
Nov 02, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'ENUM_...._SETTINGS' flag and make use of it in the X11DRV code.
parent
ff7795ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
settings.c
dlls/x11drv/settings.c
+2
-2
winuser.h
include/winuser.h
+4
-0
No files found.
dlls/x11drv/settings.c
View file @
5ae22b80
...
...
@@ -170,12 +170,12 @@ BOOL X11DRV_EnumDisplaySettingsEx( LPCWSTR name, DWORD n, LPDEVMODEW devmode, DW
devmode
->
dmDisplayFlags
=
0
;
devmode
->
dmDisplayFrequency
=
0
;
devmode
->
dmSize
=
sizeof
(
DEVMODEW
);
if
(
n
==
(
DWORD
)
-
1
)
if
(
n
==
ENUM_CURRENT_SETTINGS
)
{
TRACE
(
"mode %ld (current) -- getting current mode (%s)
\n
"
,
n
,
handler_name
);
n
=
pGetCurrentMode
();
}
if
(
n
==
(
DWORD
)
-
2
)
if
(
n
==
ENUM_REGISTRY_SETTINGS
)
{
TRACE
(
"mode %ld (registry) -- getting default mode (%s)
\n
"
,
n
,
handler_name
);
n
=
dd_mode_default
;
...
...
include/winuser.h
View file @
5ae22b80
...
...
@@ -1304,6 +1304,10 @@ BOOL WINAPI SetSysColors(INT,const INT*,const COLORREF*);
#define IDTRYAGAIN 10
#define IDCONTINUE 11
/* Used for EnumDisplaySettingsEx */
#define ENUM_CURRENT_SETTINGS ((DWORD) -1)
#define ENUM_REGISTRY_SETTINGS ((DWORD) -2)
/****** Window classes ******/
typedef
struct
tagCREATESTRUCTA
...
...
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