Copyright © 2008-2023 MultiMedia Soft

PauseSound method

Previous pageReturn to chapter overviewNext page

Remarks

 

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.

 

 

Syntax

 

[Visual Basic]

control.PauseSound (

) as enumErrorCodes


 

[C++]

short control.PauseSound (

);


 

 

Return value

 

Value

Meaning

 

 

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.