Share via


Windows Media Player 11 SDK IWMPCore::put_currentPlaylist 

Windows Media Player SDK banner art

Previous Next

IWMPCore::put_currentPlaylist

The put_currentPlaylist method specifies the IWMPPlaylist interface that corresponds to the current playlist.

Syntax

  

Parameters

pPL

[in]  Pointer to an IWMPPlaylist interface.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

If the IWMPSettings::put_autoStart method was invoked with an argument of true, file playback will begin automatically whenever you invoke put_currentPlaylist.

You can retrieve an IWMPMedia interface for a given media object by invoking the IWMPPlaylist::get_Item method.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next