Partager via


IWMPPlayer Interface (Windows Embedded CE 6.0)

1/6/2010

The IWMPPlayer interface provides methods for modifying the basic behavior of the Windows Media Player control user interface. These methods supplement the IWMPCore interface.

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

Method Description

IWMPPlayer::get_enableContextMenu

Retrieves a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.

IWMPPlayer::get_enabled

Retrieves a value indicating whether the Windows Media Player control is enabled.

IWMPPlayer::get_fullScreen

Retrieves a value indicating whether video content is played back in full-screen mode.

IWMPPlayer::get_uiMode

Retrieves a value indicating which controls are shown in the user interface when Windows Media Player is embedded in a Web page.

IWMPPlayer::put_enableContextMenu

Specifies a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.

IWMPPlayer::put_enabled

Specifies a value indicating whether the Windows Media Player control is enabled.

IWMPPlayer::put_fullScreen

Specifies a value indicating whether video content is played back in full-screen mode.

IWMPPlayer::put_uiMode

Specifies a value indicating which controls are shown in the user interface when Windows Media Player is embedded in a Web page.

Retrieve a pointer to an IWMPPlayer interface by calling the COM CoCreateInstance method.

See Also

Reference

Windows Media Player OCX Control 7.0 Supported Interfaces