Using the PlaySound Function

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

You can use the PlaySound function to play waveform audio sound files, as long as the sound can be stored in available device memory.

Using the PlaySound Function with Waveform Audio Files

Shows how to play the a Waveform Audio File (.wav file).

Using PlaySound with Registry-Specified Sounds

Shows how to plays sounds that are referred to by a key name in the registry.

Using PlaySound with a Resource Identifier

Shows how to play a sound that is stored as a resource in your application.

The sndPlaySound function is used in some existing applications to play waveform audio files. However, sndPlaySound offers a subset of the PlaySound functionality. Windows Embedded CE maintains sndPlaySound for backward compatibility.

Community Additions

Show: