All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVC - Update Audio Registry Settings
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

jnosek

3 Posts

Posted - 14 Dec 2006 :  11:13:53  Show Profile  Email Poster
Update Audio Control Panel Settings
UpdateControlPanelSettings.exe

There is currently a known issue in ADS WinCE builds that audio settings configured in the registry will not take effect unless made through the Audio Control Panel Applet. A solution is to call an undocumented function in core.dll called AudioUpdateFromRegistry() to make the audio values in the registry take effect. This same function is called every time the Audio Control Panel Applet is closed.

This function does not adjust the sound volume. To change the volume level, you must use the waveOutSetVolume() function and supply either the desired volume level, or read the volume value from the registry.

The follow sample program demonstrates how to use all of these functions.

Source Download
Rev 2 - (Dec 14, 2006) (7k zip)
Key APIs Used

AudioUpdateFromRegistry
waveOutSetVolume
RegOpenKeyEx
RegQueryValueEx
RegCloseKey
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000