Share via


Windows Media Player 11 SDK IWMPPlayer Interface 

Windows Media Player SDK banner art

Previous Next

IWMPPlayer Interface

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
get_enableContextMenu Retrieves a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.
get_enabled Retrieves a value indicating whether the Windows Media Player control is enabled.
get_fullScreen Retrieves a value indicating whether video content is played back in full-screen mode.
get_uiMode Retrieves a value indicating which controls are shown in the user interface when Windows Media Player is embedded in a Web page.
put_enableContextMenu Specifies a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.
put_enabled Specifies a value indicating whether the Windows Media Player control is enabled.
put_fullScreen Specifies a value indicating whether video content is played back in full-screen mode.
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

Previous Next