1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-06 15:06:07 +00:00
cc65/packages/windows/wm_envchange.c

15 lines
327 B
C
Raw Normal View History

#include <windows.h>
int main (void)
{
/* Broadcast the WM_SETTINGCHANGE message with the lParam argument set
* to a pointer to the string "Environment" (one of the many undocumented
* Microsoft kludges).
*/
SendMessage (HWND_BROADCAST, WM_SETTINGCHANGE, NULL, (LONG) "Environment");
return 0;
}