Copyright © 2008-2018 MultiMedia Soft

PauseSound method

Previous pageReturn to chapter overviewNext page



Pauses a playback session started through the PlaySound or PlaySoundRange methods.


A paused session can be resumed through a call to the ResumeSound method.


A successful call to this method will fire the SoundPlaybackPaused event.





[Visual Basic]

control.PauseSound (

) as enumErrorCodes



short control.PauseSound (




Return value






Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.