Copyright © 2008-2023 MultiMedia Soft
StopSound method
Remarks
Stops a playback session started through the PlaySound or PlaySoundRange methods.
A successful call to this method will fire the SoundPlaybackStopped event.
Syntax
[Visual Basic]
control.StopSound (
) as enumErrorCodes
[C++]
short control.StopSound (
);
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.