次の方法で共有


IWMPRemoteMediaServices 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 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.

Inheritance

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

Methods

The IWMPRemoteMediaServices interface has these methods.

 
IWMPRemoteMediaServices::GetApplicationName

The GetApplicationName method is called by Windows Media Player to retrieve the name of the program that is hosting the remoted control.
IWMPRemoteMediaServices::GetCustomUIMode

The GetCustomUIMode method is called by Windows Media Player to retrieve the location of a skin file to apply to the Windows Media Player control.
IWMPRemoteMediaServices::GetScriptableObject

The GetScriptableObject method is 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.
IWMPRemoteMediaServices::GetServiceType

The GetServiceType method is called by Windows Media Player to determine whether a host program wants to run its embedded control remotely.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

Interfaces

Remoting the Windows Media Player Control