다음을 통해 공유


IWMPPlayerApplication 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 IWMPPlayerApplication interface provides methods for switching between a remoted Windows Media Player control and the full mode of the Player. These methods can only be used with C++ programs that embed the control in remote mode.

Inheritance

The IWMPPlayerApplication interface inherits from the IDispatch interface. IWMPPlayerApplication also has these types of members:

Methods

The IWMPPlayerApplication interface has these methods.

 
IWMPPlayerApplication::get_hasDisplay

The get_hasDisplay method retrieves a value indicating whether video can display through the remoted Windows Media Player control.
IWMPPlayerApplication::get_playerDocked

The get_playerDocked method retrieves a value indicating whether Windows Media Player is in a docked state.
IWMPPlayerApplication::switchToControl

The switchToControl method switches a remoted Windows Media Player control to the docked state.
IWMPPlayerApplication::switchToPlayerApplication

The switchToPlayerApplication method switches a remoted Windows Media Player control to the full mode of the Player.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

Interfaces