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.


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


The IWMPPlayer4 interface has these methods.


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

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

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


Target Platform Windows
Header wmp.h

See also

IWMPCore Interface

IWMPCore2 Interface

IWMPCore3 Interface

IWMPPlayer Interface

IWMPPlayer2 Interface

IWMPPlayer3 Interface

IWMPPlayerApplication Interface