Share via


IWMPControls Interface (Windows Embedded CE 6.0)

1/6/2010

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

In addition to the methods inherited from IDispatch, the IWMPControls interface exposes the following methods.

Method Description

IWMPControls::fastForward

Starts fast play of the media item in the forward direction.

IWMPControls::fastReverse

Starts fast play of the media item in the reverse direction.

IWMPControls::get_currentItem

Retrieves the current media item in a playlist.

IWMPControls::get_currentPosition

Retrieves the current position in the media item in seconds from the beginning.

IWMPControls::get_currentPositionString

Retrieves the current position in the media item as a string.

IWMPControls::get_isAvailable

Retrieves a value indicating whether a specified type of information is available or a given action can be performed.

IWMPControls::next

Sets the current item to the next item in the playlist.

IWMPControls::pause

Pauses playback of the media item.

IWMPControls::play

Begins playback of the media item.

IWMPControls::playItem

Begins playback of the current media item, or resumes playback of a paused item.

IWMPControls::previous

Sets the current item to the previous item in the playlist.

IWMPControls::put_currentItem

Specifies the current media item.

IWMPControls::put_currentPosition

Specifies the current position in the media item in seconds from the beginning.

IWMPControls::stop

Stops playback of the media item.

Retrieve a pointer to an IWMPControls interface with the following method.

Interface Method

IWMPCore

get_controls

See Also

Reference

Windows Media Player OCX Control 7.0 Supported Interfaces