Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
PlaySound method 
 
Remarks 
 
Plays a sound that has been previously loaded through one between LoadSound or LoadSoundFromMemory methods.  
 
A successful call to this method will fire the SoundPlaying event. Once the sound has been performed completely, the control will fire the SoundDone event. 
 
 
Syntax 
 
[Visual Basic] 
control.PlaySound
nPlayer as Integer 
 
[C++] 
short control.PlaySound
short nPlayer 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the player that will play the sound
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.ERR_NOERROR (0)
The method call was successful
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents