Copyright © 2005-2019 MultiMedia Soft

WaveformScroller.PlayerGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the player that originally created the waveform scroller through the WaveformScroller.Create method.

 

For further details about methods of the Waveform scroller refer to the WaveformScroller object.

For a tutorial about the use of Waveform scrollers refer to the How to scroll the sound's waveform during playback tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function PlayerGet (

hWndWaveformScroller as IntPtr,

ByRef nPlayerIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes PlayerGet (

IntPtr hWndWaveformScroller,

ref Int16 nPlayerIndex

);


 

[C++]

public: enumErrorCodes PlayerGet (

IntPtr hWndWaveformScroller,

Int16 __gc *nPlayerIndex

);


 

Parameter

Description

 

 

hWndWaveformScroller

Handle of the control returned by a previous call to the WaveformScroller.Create method

nPlayerIndex

Reference that, on return from the method call, will contain the zero-based index of the player.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.