Copyright © 2008-2019 MultiMedia Soft

LoadSoundFromEditingSession method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a sound stored inside another instance of Active Sound Editor.

.

A successful call to this method will fire the SoundLoadingStarted event followed by a number of SoundLoadingPerc events and finally by the SoundLoadingDone event.

 

For further details about the use of more than one instance of Active Sound Editor, check the How to load a sound stored inside another instance of the control section.

 

 

Syntax

 

[Visual Basic]

control.LoadSoundFromEditingSession (

hWndEditorCtrl as OLE_HANDLE

) as enumErrorCodes


 

[C++]

short control.LoadSoundFromEditingSession (

OLE_HANDLE hWndEditorCtrl

);


 

 

Parameter

Description

 

 

hWndEditorCtrl

Window handle to the other instance of Active Sound Editor. This handle can be accessed through the respective hWnd property.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.