Copyright © 2011-2019 MultiMedia Soft

LoadSoundFromEditingSession method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a sound stored inside an instance of the Audio Sound Editor for .NET Winform component or a sound stored inside an other instance of Audio Sound Editor API for .NET.

 

During the execution of the loading session the CallbackPercentage delegate is invoked, with the nOperation parameter set to OPERATION_SOUND_LOADING, in order to notify about the percentage of advancement of the loading session.

 

For further details about callback delegates see the How to synchronize the container application with the API tutorial.

For further details about the use of more than one instance of Audio Sound Editor API for .NET or of another instance of Audio Sound Editor for .NET Winform component, check the How to load a sound stored inside another instance of the API 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

The value of the Handle property of an instance of Audio Sound Editor for .NET or of another instance of Audio Sound Editor API for .NET

If the editor is another instance of Audio Sound Editor API for .NET, you can also pass the identifier of the instance returned by its GetEditorInstanceId method

 

 

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.