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]

Public Function PauseSound (

) as enumErrorCodes



public enumErrorCodes PauseSound (




public: enumErrorCodes PauseSound (




Return value






Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.