Partager via


Waveform Audio Registry Settings (Windows CE 5.0)

Send Feedback

The registry stores information necessary to configure the system for applications and hardware devices. The registry also contains information that the operating system continually references during operation.

Note   The default registry values vary depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.

Customizing Device Sound Files

The operating system uses the registry to locate wave resources in a DLL for system sounds. These sounds can be customized by adding a new resource DLL containing customized sounds, and then adding a registry entry to use these new sounds.

You can customize sound effects with the registry subkey HKEY_LOCAL_MACHINE\Drivers\Builtin\WAPIMAN\Clicks.

The following code example shows how this registry subkey can be used to load custom sounds from a resource DLL, in this case WavClick.dll:

[HKEY_LOCAL_MACHINE\Drivers\Builtin\WAPIMAN\Clicks]
    "ClickDLL"="WavClick.dll"    <name of dll to load resources from>
    "KeyLoud"=dword:64           <resource ID of this sound>
    "KeySoft"=dword:65
    "TouchLoud"=dword:66
    "TouchSoft"=dword:67

Control Panel Settings   

You can affect the volume of waveform audio output with the registry subkey HKEY_CURRENT_USER\ControlPanel\Volume.

The following table shows the named values for this subkey.

Value : type Description
Volume : DWORD The default setting is 0xFFFFFFFF.

This value sets the default volume level that each waveform audio device is initialized to.

The allowable range for this value is from 0 to 0xFFFFFFFF.

PlaySound : DWORD The default setting is 0xFFFFFFFF.

This value set the initial volume level for the function PlaySound.

The allowable range for this value is from 0 to 0xFFFFFFFF.

Mute : DWORD The default value is 7, which means all sounds are enabled

This value identifies which types of sounds are enabled. It is a bitwise OR of the following values.

  • 1 - Notification sounds are enabled
  • 2 - Application sounds are enabled.
  • 4 - Event sounds are enabled.
Screen : DWORD The default setting is 2.

This value sets the volume level for screen taps. It can be set to one of the following values.

  • 0 - Muted
  • 1 - Soft
  • 2 - Loud
Key : DWORD The default setting is 2.

This value sets the volume of taps on the soft keyboard. It can be set to one of the following values.

  • 0 - Muted
  • 1 - Soft
  • 2 - Loud

See Also

Waveform Audio

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.