Compartir a través de


IWMPPlayer interface (wmp.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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

Inheritance

The IWMPPlayer interface inherits from IWMPCore. IWMPPlayer also has these types of members:

Methods

The IWMPPlayer interface has these methods.

 
IWMPPlayer::get_enableContextMenu

The get_enableContextMenu method retrieves a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.
IWMPPlayer::get_enabled

The get_enabled method retrieves a value indicating whether the Windows Media Player control is enabled.
IWMPPlayer::get_fullScreen

The get_fullScreen method retrieves a value indicating whether video content is played back in full-screen mode.
IWMPPlayer::get_uiMode

The get_uiMode method retrieves a value indicating which controls are shown in the user interface.
IWMPPlayer::put_enableContextMenu

The put_enableContextMenu method specifies a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.
IWMPPlayer::put_enabled

The put_enabled method specifies a value indicating whether the Windows Media Player control is enabled.
IWMPPlayer::put_fullScreen

The put_fullScreen method specifies a value indicating whether video content is played back in full-screen mode.
IWMPPlayer::put_uiMode

The put_uiMode method specifies a value indicating which controls are shown in the user interface.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

IWMPCore Interface

IWMPCore2 Interface

IWMPCore3 Interface

IWMPPlayer2 Interface

IWMPPlayer3 Interface

IWMPPlayer4 Interface

Interfaces