Copyright © 2013-2014 MultiMedia Soft

SoundAnalysisCopyFromOtherInstance method

Previous pageReturn to chapter overviewNext page

Remarks

 

Copies the latest waveform analysis from another instance of the component that already performed a sound analysis. Through this method there is the possibility to avoid performing a new sound analysis for two or more instances of the component that need displaying the waveform of the same sound.

 

 

Syntax

 

[Visual Basic]

control.SoundAnalysisCopyFromOtherInstance (

hWndSourceInstance as OLE_HANDLE

) as enumWanErrorCodes


 

[C++]

short control.SoundAnalysisCopyFromOtherInstance (

OLE_HANDLE hWndSourceInstance

);


 

 

 

Parameter

Description

 

 

hWndSourceInstance

Handle (HWND) to the window of the instance of the control that acts as a source for copying results of a previous sound analysis.

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful