Windows Media Player 11 SDK IWMPControls::put_currentItemĀ
Previous | Next |
IWMPControls::put_currentItem
The put_currentItem method specifies the current media item.
Syntax
Parameters
pIWMPMedia
[in] Pointer to an IWMPMedia 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
This method works only with items in the playlist. Calling put_currentItem with a reference to a saved media item is not supported.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
- IWMPControls Interface
- IWMPControls::get_currentItem
- IWMPMedia Interface
- IWMPPlaylistCollection::getByName
Previous | Next |