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 (
nPlayerIndex as Int16,
tableValues() as Int16,
nTableLength as Int32
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes PlayListExecOrderTableGet (
Int16 nPlayerIndex,
Int16 [] tableValues,
Int32 nTableLength
);
|
|
[C++]
public: enumErrorCodes PlayListExecOrderTableGet (
Int16 nPlayerIndex,
unsigned Int16 __gc[] tableValues,
Int32 nTableLength
);
|
|
Parameter
|
Description
|
|
|
nPlayerIndex
|
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.
|
|