Copyright © 2008-2018 MultiMedia Soft

LoadSoundFromEditingSession method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a sound stored inside another instance of Audio Sound Editor for .NET.

 

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 Audio Sound Editor for .NET, check the How to load a sound stored inside another instance of the control section.

 

 

Syntax

 

[Visual Basic]

Public Function LoadSoundFromEditingSession (

hWndEditorCtrl as IntPtr

) as enumErrorCodes


 

[C#]

public enumErrorCodes LoadSoundFromEditingSession (

IntPtr hWndEditorCtrl

);


 

[C++]

public: enumErrorCodes LoadSoundFromEditingSession (

IntPtr hWndEditorCtrl

);


 

 

Parameter

Description

 

 

hWndEditorCtrl

Window handle to the other instance of Audio Sound Editor for .NET. This handle can be accessed through the respective Handle property.

 

 

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.