High-Level Audio Services

High-level audio services allow applications to play audio files directly, while the Multimedia extensions system software manages audio playback. Use the following functions to play memory-resident waveform sounds specified by filename, system-alert level, or WIN.INI entries:

MessageBeep

Plays the sound that corresponds to a given system alert level.

sndPlaySound

Plays the sound that corresponds to the given filename or WIN.INI entry.

In addition to these two functions, the Media Control Interface provides high-level audio services. For an overview of the MCI functions, see the section “Media Control Interface Services,” later in this chapter.