IWMPControls interface

The IWMPControls interface provides a way to manipulate the playback of a media item.

Methods

The IWMPControls interface has these methods.

Method Description
IWMPControls::fastForward The fastForward method starts fast play of the media item in the forward direction.
IWMPControls::fastReverse The fastReverse method starts fast play of the media item in the reverse direction.
IWMPControls::get_currentItem The get_currentItem method retrieves the current media item in a playlist.
IWMPControls::get_currentMarker The get_currentMarker method retrieves the current marker number.
IWMPControls::get_currentPosition The get_currentPosition method retrieves the current position in the media item in seconds from the beginning.
IWMPControls::get_currentPositionString The get_currentPositionString method retrieves the current position in the media item as a BSTR formatted as HH:MM:SS (hours, minutes, and seconds).
IWMPControls::get_isAvailable The get_isAvailable method indicates whether a specified type of information is available or a specified action can be performed.
IWMPControls::next The next method sets the next item in the playlist as the current item.
IWMPControls::pause The pause method pauses playback of the media item.
IWMPControls::play The play method causes the current media item to start playing, or resumes play of a paused item.
IWMPControls::playItem The playItem method plays the specified media item.
IWMPControls::previous The previous method sets the previous item in the playlist as the current item.
IWMPControls::put_currentItem The put_currentItem method specifies the current media item.
IWMPControls::put_currentMarker The put_currentMarker method specifies the current marker number.
IWMPControls::put_currentPosition The put_currentPosition method specifies the current position in the media item in seconds from the beginning.
IWMPControls::stop The stop method stops playback of the media item.

Requirements

   
Target Platform Windows
Header wmp.h

See also

IWMPControls2 Interface

IWMPControls3 Interface

Interfaces