Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

In This Section

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 sndPlaySoundfunction is used in some existing applications to play waveform audio files. However, sndPlaySoundoffers a subset of the PlaySoundfunctionality. Windows Embedded CE maintains sndPlaySoundfor backward compatibility.

See Also