Copyright © 2001-2016 MultiMedia Soft

PlayListNextIndexGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the index of the next item in playlist that will be executed after completing the current one. This method may be useful to understand which item will be executed after the current one when the playlist is executed in "shuffle" mode (see the PlayListSetShuffle method).

 

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

 

 

Syntax

 

[Visual Basic]

control.PlayListNextIndexGet (

nPlayer as Integer,

nIndex as Integer

) as enumErrorCodes


 

[C++]

short control.PlayListNextIndexGet (

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 next playlist item

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The call was successful.