Simple windows installer/uninstaller
git-svn-id: svn://svn.cc65.org/cc65/trunk@3416 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
14
packages/windows/wm_envchange.c
Normal file
14
packages/windows/wm_envchange.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user