Alex Henrie (@alexhenrie) commented about dlls/user32/tests/sysparams.c:
{ static const DWORD mode_fields = DM_DISPLAYORIENTATION | DM_BITSPERPEL | DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFLAGS | DM_DISPLAYFREQUENCY;
- static const DWORD setting_fields = mode_fields | DM_POSITION;
- static const DWORD setting_fields = DM_DISPLAYORIENTATION | DM_BITSPERPEL |
DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFLAGS | DM_DISPLAYFREQUENCY | DM_POSITION;
How about turning these two constants into #defines?