WM_DEVMODECHANGE top-level constant
int
const WM_DEVMODECHANGE
The WM_DEVMODECHANGE message is sent to all top-level windows whenever the user changes device-mode settings.
To learn more, see learn.microsoft.com/windows/win32/gdi/wm-devmodechange.
Implementation
const WM_DEVMODECHANGE = 27;