Windows Dev Center

Expand Minimize

Player.PlaylistChange event

The PlaylistChange event occurs when a playlist changes.

Syntax


Player.PlaylistChange(
  Playlist,
  change
)

Parameters

Playlist

Playlist object which changed.

change

Number (long) indicating the type of change that occurred to the playlist. Contains one of the following values.

NumberName
0Unknown
1Clear
2InfoChange
3Move
4Delete
5Insert
6Append
7Not supported
8NameChange
9Not supported
10Sort

 

The C-style enumeration constant can be derived by prefixing the name value with "wmplc". For example, the constant for the Move state is wmplcMove.

Return value

This event does not return a value.

Remarks

The value of event parameters is specified by Windows Media Player, and can be accessed or passed to a method in an imported JScript file using the parameter name given. This parameter name must be typed exactly as shown, including capitalization.

Windows Media Player 10 Mobile: This event is not supported.

Requirements

Version

Windows Media Player version 7.0 or later.

DLL

Wmp.dll

See also

Player Object

 

 

Community Additions

ADD
Show:
© 2015 Microsoft