Copyright © 2005-2019 MultiMedia Soft

PlayListCreate method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates a new playlist associated to the given player player.

 

By default the playlist will use the PLAYLIST_FULL_MODE loading mode; if you want to create a playlist using the PLAYLIST_SPEED_MODE or PLAYLIST_AUTOMATION_MODE loading mode you will have to call the PlayListCreateEx method.

 

 

Syntax

 

[Visual Basic]

Public Function PlayListCreate (

nPlayerIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes PlayListCreate (

Int16 nPlayerIndex

);


 

[C++]

public: enumErrorCodes PlayListCreate (

Int16 nPlayerIndex

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that will own the new playlist

 

 

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.