Copyright © 2008-2023 MultiMedia Soft
StopSound method
Remarks
Stops a playback session started through a previous call to the PlaySound or PlaySoundRange methods.
A successful call to this method will fire the SoundPlaybackStopped event.
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.