This message is sent to all top-level windows when the user changes device-mode settings.
The WM_DEVMODECHANGE message may be used as either a wide-character message (where text arguments must use Unicode) or an ANSI message (where text arguments must use characters from the Windows 3.x character set installed).
wParam
This parameter is not used.
lParam
Points to the device name specified in the Windows initialization file, WIN.INI.