Using the PlaySound Function
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.