Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
IWMPControls::get_currentItem
The get_currentItem method retrieves the current media item in a playlist.
Syntax
Parameters
ppIWMPMedia
[out] Pointer to a 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 current playlist.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
- IWMPControls Interface
- IWMPControls::put_currentItem
- IWMPMedia Interface
- IWMPPlaylistCollection::getByName
| Previous | Next |