Compartir a través de


IWMPPlaylist interface (wmp.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMPPlaylist interface provides methods for manipulating lists of media items.

Inheritance

The IWMPPlaylist interface inherits from the IDispatch interface. IWMPPlaylist also has these types of members:

Methods

The IWMPPlaylist interface has these methods.

 
IWMPPlaylist::appendItem

The appendItem method adds a media item to the end of the playlist.
IWMPPlaylist::clear

The clear method is reserved for future use.
IWMPPlaylist::get_attributeCount

The get_attributeCount method retrieves the number of attributes associated with the playlist.
IWMPPlaylist::get_attributeName

The get_attributeName method retrieves the name of an attribute specified by an index.
IWMPPlaylist::get_count

The get_count method retrieves the number of items in the playlist.
IWMPPlaylist::get_isIdentical

The get_isIdentical method retrieves a value indicating whether the specified playlist is identical to the current playlist.
IWMPPlaylist::get_item

The get_item method retrieves the media item at the specified index.
IWMPPlaylist::get_name

The get_name method retrieves the name of the playlist.
IWMPPlaylist::getItemInfo

The getItemInfo method retrieves the value of a playlist attribute specified by name.
IWMPPlaylist::insertItem

The insertItem method adds a media item at the specified location in the playlist.
IWMPPlaylist::moveItem

The moveItem method changes the location of a media item in the playlist.
IWMPPlaylist::put_name

The put_name method specifies the name of the playlist.
IWMPPlaylist::removeItem

The removeItem method removes the specified media item from the playlist.
IWMPPlaylist::setItemInfo

The setItemInfo method specifies the value of an attribute of the current playlist. .

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

Interfaces