Page 1 of 1

How do i change the startup/shutdown sounds for windows in c

Posted: Fri Aug 08, 2003 6:22 pm
by Scarberry
in c++ can someone tell me the script to use to change the startup and/or shutdown (logon/logoff as well please) sounds in windows?

thanks

Re:How do i change the startup/shutdown sounds for windows i

Posted: Fri Aug 08, 2003 6:58 pm
by Tim
I think you have to go directly through the Registry, using RegSetValueEx.

See: HKEY_CURRENT_USER\AppEvents\Schemes