|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.PlayListAddItemEx (
nPlayer as Integer,
strPathname as String,
nIndex as Integer,
nItemType as enumPlayListItemType
) as enumErrorCodes
|
|
[C++]
short control.PlayListAddItemEx (
short nPlayer,
LPCTSTR strPathname,
short nIndex,
short nItemType
);
|
|
Parameter
|
Description
| ||||||||||||
|
|
| ||||||||||||
|
nPlayer
|
Number representing the zero-based index of the player that owns the playlist
| ||||||||||||
|
strPathname
|
String containing the absolute pathname of the element to add
| ||||||||||||
|
nIndex
|
Number representing the zero-based insertion position: if the nIndex parameter value exceed the playlist length, the song will be placed at the bottom of the playlist
| ||||||||||||
|
nItemType
|
Type of item to add
Supported values are the following:
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
|
enumErrorCodes.NOERROR (0)
|
The call was successful.
|