Remarks
Discards a loaded sound and frees its memory.
A successful call to this method will fire the SoundClosed event.
Syntax
[Visual Basic]
control.CloseSound (
nPlayer as Integer
) as enumErrorCodes
|
|
[C++]
short control.CloseSound (
short nPlayer
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
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.ERR_NOERROR (0)
|
The call was successful.
|
|