Share via


Windows Media Player 11 SDK IWMPRemoteMediaServices Interface 

Windows Media Player SDK banner art

Previous Next

IWMPRemoteMediaServices Interface

The IWMPRemoteMediaServices interface includes methods that provide services to Windows Media Player from a program that hosts the Player control. These methods are designed to be used with C++, and some methods can only be used with remoting.

In addition to the methods inherited from IUnknown, the IWMPRemoteMediaServices interface exposes the following methods.

Method Description
GetApplicationName Called by Windows Media Player to retrieve the name of the program that is hosting the remoted control.
GetCustomUIMode Called by Windows Media Player to retrieve the location of a skin file to apply to the Player control.
GetScriptableObject Called by Windows Media Player to retrieve a name and interface pointer for an object that can be called from the script code within a skin.
GetServiceType Called by Windows Media Player to determine whether a host program wants to run its embedded control remotely.

A pointer to an IWMPRemoteMediaServices interface is retrieved by calling the COM CoCreateInstance method.

See Also

Previous Next