SndPlayAsync
Windows Mobile 6.5
4/8/2010
This function starts asynchronous playback of a sound.
Note: |
|---|
| This call will be successful only if the sound is not already playing. |
HRESULT SndPlayAsync ( HSOUND hSound, DWORD dwFlags );
- pszSoundFile
-
[in] The sound to play.
Note: The sound handle was created using function SndOpen.
- dwFlags
-
Indicates playback options.
Note: Currently, the only flag supported is SND_PLAY_IGNOREUSERSETTINGS, so dwFlags can be either 0 or SND_PLAY_IGNOREUSERSETTINGS.
You should call function SndStop to terminate the asynchronous sounds on your process before your application exits.
Community Additions
Show: