Copyright © 2001-2019 MultiMedia Soft

PlayListCurrIndexGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the index of the item in playlist that is currently being executed. The index of the next item can be obtained through the PlayListNextIndexGet method.

 

For further details about playlists management see the How to create and manage a playlist tutorial.

 

 

Syntax

 

[Visual Basic]

control.PlayListCurrIndexGet (

nPlayer as Integer,

ByRef nIndex as Integer

) as enumErrorCodes


 

[C++]

short control.PlayListCurrIndexGet (

short nPlayer,

short *nIndex

);


 

 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that owns the playlist

nIndex

Reference that, on return from the method call, will contain the zero-based index of the current playlist item

 

 

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.