1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-04 13:29:35 +00:00
cc65/packages/windows/wm_envchange.c
cuz 9adac3c5b0 Simple windows installer/uninstaller
git-svn-id: svn://svn.cc65.org/cc65/trunk@3416 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-25 21:34:00 +00:00

15 lines
327 B
C

#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;
}