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]

Public Function PauseSound (

) as enumErrorCodes


 

[C#]

public enumErrorCodes PauseSound (

);


 

[C++]

public: enumErrorCodes PauseSound (

);


 

 

Return value

 

Value

Meaning

 

 

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.