user32: Trace more ChangeDisplaySettingsExW() flags.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2020-02-10 11:09:32 +08:00 committed by Alexandre Julliard
parent 981fb4edb3
commit 7d94e9d0c3
2 changed files with 15 additions and 10 deletions

View File

@ -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;

View File

@ -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
{