Copyright © 2011-2023 MultiMedia Soft

StopSound method

Previous pageReturn to chapter overviewNext page

Remarks

 

Stops a playback session started through a previous call to the PlaySound or PlaySoundRange methods.

 

Syntax

 

[Visual Basic]

Public Function StopSound (

) as enumErrorCodes


 

[C#]

public enumErrorCodes StopSound (

);


 

[C++]

public: enumErrorCodes StopSound (

);


 

 

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.