Remarks
Stops a playing song; if no song is currently playing, the method call is ignored.
A successful call to this method will seek the song to its initial position and will fire the SoundStopped event.
Syntax
[Visual Basic]
Public Function StopSound (
nPlayerIndex as Int16
) as enumErrorCodes
|
|
Parameter
|
Description
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the involved player
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.NOERROR (0)
|
The method call was successful.
|
|