Copyright © 2008-2019 MultiMedia Soft

CloseSound method

Previous pageReturn to chapter overviewNext page

Remarks

 

Discards a loaded sound and frees its memory: if the editing session was stored inside a temporary file, this will be deleted.

 

Calling this method will generate a SoundClosed event.

 

 

Syntax

 

[Visual Basic]

Public Function CloseSound (

) as enumErrorCodes


 

[C#]

public enumErrorCodes CloseSound (

);


 

[C++]

public: enumErrorCodes CloseSound (

);


 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.