Configuring System Sound Events (Windows Embedded CE 6.0)
1/6/2010
The following system sound events are available through the shell:
- Asterisk
- Close
- Critical
- Default
- Empty
- Exclam
- Infbeg
- Infend
- Infintr
- MenuPop
- MenuSel
- OpenProg
- Question
- Netbeg
- Netend
- Netintr
- Startup
- WindMax
- WindMin
- RecStart
- RecEnd
The Wceshellfe.reg file contains a mask you can use to hide system sound events that do not apply to a target device. The following registry key allows you to set the mask to disable sound events.
HKEY_LOCAL_MACHINE\Snd\Event
".Scheme"=".DefaultSounds"
"EventMask"=dword:FFFFFF
"EventCache"=dword:300
;Scheme descriptions
".NoSounds"=multi_sz:"","","","","","","","","","","","", "","","","","","","","",""
".DefaultSounds"=multi_sz:"Asterisk","","critical","default","","exclam","infbeg","infend","infintr","","","","question","Netbeg","Netend","Netintr","startup","","",""
".AllSounds"=multi_sz:"Asterisk","Close","critical","default","Empty","exclam","infbeg","infend","infintr","MenuPop","MenuSel","OpenProg","question","Netbeg","Netend","Netintr","startup","WindMax","WindMin","RecStart","RecEnd"
;
In the registry key, the Scheme setting specifies the current sound scheme. The NoSounds, DefaultSounds, and AllSounds schemes are defined, and DefaultSounds is specified as the current scheme.
The EventMask allows events that do not apply to a target device to be hidden. The mask is a DWORD initially set to FFFFF, which means all sounds are enabled. The following example shows show to set EventMask to disable Asterisk.
"EventMask"=dword:FFFFFE
The EventCache setting specifies the cache menu popup and menu select.