Copyright © 2001-2019 MultiMedia Soft

PlayListExecOrderTableGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the table containing the ordered sequence of execution of playlist's items.

This method may be useful to obtain the exact playlist's execution order when 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]

Public Function PlayListExecOrderTableGet (

nPlayer as Integer,

tableValues() as Integer,

nTableLength as Integer

) as enumErrorCodes


 

[C++]

public: enumErrorCodes PlayListExecOrderTableGet (

short nPlayer,

short *tableValues,

short nTableLength

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that will use the Spectrum

tableValues

Memory buffer that, on exit, will contain the sequence of items indexes. The size of the table should correspond to the number of playlist's items as returned by the PlayListGetCount method.

nTableLength

Length of the table that needs to be obtained expressed in number of playlist's items as returned by the PlayListGetCount 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.