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. The following list describes three ways to play sound with PlaySound:

You can also use the sndPlaySound function to play waveform audio files. However, sndPlaySound offers a subset of the PlaySound feature set. Windows CE maintains sndPlaySound for backward compatibility.