Partager via


IWMPCore Interface (Windows Embedded CE 6.0)

1/6/2010

The IWMPCore interface is the root interface for the Windows Media Player control. It can be used to retrieve pointers to other interfaces supported by the control and to access some basic features.

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

Method Description

IWMPCore::close

Closes Windows Media Player.

IWMPCore::get_controls

Retrieves a pointer to an IWMPControls interface.

IWMPCore::get_currentMedia

Retrieves a pointer to an IWMPMedia interface corresponding to the current media item.

IWMPCore::get_currentPlaylist

Retrieves a pointer to an IWMPPlaylist interface corresponding to the current playlist.

IWMPCore::get_error

Retrieves a pointer to an IWMPError interface.

IWMPCore::get_openState

Retrieves a WMPOpenState enumeration value indicating the state of the content source.

IWMPCore::get_playState

Retrieves a WMPPlayState enumeration value indicating the operating state of Windows Media Player.

IWMPCore::get_settings

Retrieves a pointer an IWMPSettings interface.

IWMPCore::get_status

Retrieves a value indicating the current status of Windows Media Player.

IWMPCore::get_URL

Retrieves the name of the clip to play.

IWMPCore::get_versionInfo

Retrieves a value specifying the version of Windows Media Player.

IWMPCore::put_currentMedia

Specifies the IWMPMedia interface that corresponds to the current media item.

IWMPCore::put_URL

Specifies the name of the clip to play.

See Also

Reference

Windows Media Player OCX Control 7.0 Supported Interfaces