The WM_DEVMODECHANGE message is sent to all top-level windows whenever the user changes device-mode settings.
WM_DEVMODECHANGE lpszDev = (LPCTSTR) lParam; // address of device name
An application should return zero if it processes this message.
Windows NT: Calls to functions that change the WIN.INI file may be mapped to the registry instead. This mapping occurs when WIN.INI and the section being changed are specified in the registry under the following keys:
HKEY_LOCAL_MACHINE\Software\Description\Microsoft\
Windows NT\CurrentVersion\IniFileMapping
The change in the storage location has no effect on the behavior of this message.
file: /Techref/os/win/api/win32/mess/src/msg23_18.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/27 10:18,
18.191.162.73:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/mess/src/msg23_18.htm"> WM_DEVMODECHANGE</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.