Zhiyi Zhang : user32: Trace more ChangeDisplaySettingsExW() flags.

Alexandre Julliard julliard at winehq.org
Mon Feb 10 16:32:44 CST 2020


Module: wine
Branch: master
Commit: 7d94e9d0c3f072df213f5f28443f2ff02357df75
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7d94e9d0c3f072df213f5f28443f2ff02357df75

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Mon Feb 10 11:09:32 2020 +0800

user32: Trace more ChangeDisplaySettingsExW() flags.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/sysparams.c |  5 ++++-
 include/winuser.h       | 20 +++++++++++---------
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c
index 2523df6bf2..0a0a2c70bd 100644
--- a/dlls/user32/sysparams.c
+++ b/dlls/user32/sysparams.c
@@ -3218,8 +3218,11 @@ static const CHAR *_CDS_flags(DWORD fields)
     _X_FIELD(CDS, FULLSCREEN)
     _X_FIELD(CDS, GLOBAL)
     _X_FIELD(CDS, SET_PRIMARY)
+    _X_FIELD(CDS, VIDEOPARAMETERS)
+    _X_FIELD(CDS, ENABLE_UNSAFE_MODES)
+    _X_FIELD(CDS, DISABLE_UNSAFE_MODES)
     _X_FIELD(CDS, RESET)
-    _X_FIELD(CDS, SETRECT)
+    _X_FIELD(CDS, RESET_EX)
     _X_FIELD(CDS, NORESET)
 
     *p = 0;
diff --git a/include/winuser.h b/include/winuser.h
index 51c73d25c2..718f6e1c54 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -1501,15 +1501,17 @@ DECL_WINELIB_TYPE_AW(LPHELPWININFO)
 #define DISP_CHANGE_BADDUALVIEW (-6)
 
 /* ChangeDisplaySettings.dwFlags */
-#define	CDS_UPDATEREGISTRY	0x00000001
-#define	CDS_TEST		0x00000002
-#define	CDS_FULLSCREEN		0x00000004
-#define	CDS_GLOBAL		0x00000008
-#define	CDS_SET_PRIMARY		0x00000010
-#define	CDS_VIDEOPARAMETERS	0x00000020
-#define	CDS_NORESET		0x10000000
-#define	CDS_SETRECT		0x20000000
-#define	CDS_RESET		0x40000000
+#define CDS_UPDATEREGISTRY          0x00000001
+#define CDS_TEST                    0x00000002
+#define CDS_FULLSCREEN              0x00000004
+#define CDS_GLOBAL                  0x00000008
+#define CDS_SET_PRIMARY             0x00000010
+#define CDS_VIDEOPARAMETERS         0x00000020
+#define CDS_ENABLE_UNSAFE_MODES     0x00000100
+#define CDS_DISABLE_UNSAFE_MODES    0x00000200
+#define CDS_NORESET                 0x10000000
+#define CDS_RESET_EX                0x20000000
+#define CDS_RESET                   0x40000000
 
 typedef struct tagWNDCLASSEXA
 {




More information about the wine-cvs mailing list