WM_DEVMODECHANGE
This message is sent to all top-level windows when the user changes device-mode settings.
Parameter
Description
wParam
Is not used.
lParam
Points to the device name specified in the Windows initialization file, WIN.INI.