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.
4/8/2010

The following table shows the functions used to support sounds in a Windows Mobile device, with a description of the purpose of each.

Programming Element Description

SndClose

Closes a sound handle.

SndGetSound

Gets the current sound file for the indicated sound event.

SndGetSoundDirectoriesList

Returns an array of possible directories for sound files for the specified sound event type and memory location.

SndGetSoundFileList

Returns an array of available sound files on the device for the specified sound event.

SndGetWaitHandle

Returns a handle to an event that is set when the sound is done playing.

SndOpen

Creates a sound handle based on a sound file.

SndPlayAsync

Starts asynchronous playback of a sound.

SndPlaySync

Plays a file synchronously.

SndSetSound

Sets the current sound file for the indicated event.

SndStop

Stops playback of a sound.

ValidateSound

Validates whether or not a sound is playable.

See Also

Concepts

Sounds Reference