Compartir a través de


IWMPPlayer4 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 IWMPPlayer4 interface provides methods for modifying the basic behavior of the Windows Media Player control user interface. These methods supplement the IWMPCore3 interface.

The IWMPPlayer4 interface duplicates the methods of IWMPPlayer, IWMPPlayer2, and IWMPPlayer3, inherits the methods of IWMPCore3, and exposes the following additional methods.

Inheritance

The IWMPPlayer4 interface inherits from the IUnknown interface. IWMPPlayer4 also has these types of members:

Methods

The IWMPPlayer4 interface has these methods.

 
IWMPPlayer4::get_isRemote

The get_isRemote method retrieves a value indicating whether the Windows Media Player control is running in remote mode.
IWMPPlayer4::get_playerApplication

The get_playerApplication method retrieves a pointer to an IWMPPlayerApplication interface when a remoted Windows Media Player control is running.
IWMPPlayer4::openPlayer

The openPlayer method opens Windows Media Player using the specified URL.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

IWMPCore Interface

IWMPCore2 Interface

IWMPCore3 Interface

IWMPPlayer Interface

IWMPPlayer2 Interface

IWMPPlayer3 Interface

IWMPPlayerApplication Interface

Interfaces