Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents  
 
CloseSound method 
 
Remarks 
 
Discards a loaded sound and frees its memory. 
 
A successful call to this method will fire, in sequence, the SoundStopped event and the SoundClosed event.  
 
 
Syntax 
 
[Visual Basic] 
Public Function CloseSound
nPlayerIndex as Int16 
 
[C#] 
public enumErrorCodes CloseSound
Int16 nPlayerIndex 
);
 
[C++] 
public: enumErrorCodes CloseSound
Int16 nPlayerIndex 
);
 
 
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.
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents