次の方法で共有


Exclusive Online Stores

[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.]

With Windows Media Player 11, an application that embeds the Player control remotely can specify an exclusive online store. In that case, the service selector in Windows Media Player is disabled, and only the specified online store is available to the user. Also, Windows Media Player adopts the color specified by the Color element of the exclusive online store's ServiceInfo document.

To specify an exclusive online store, an application must append ExclusiveService:keyname to the end of the string that it returns from IWMPRemoteMediaServices::GetServiceType. For example, suppose Proseware is the key name given to a particular online store. If GetServiceType returns the string "Remote ExclusiveService:Proseware", then Proseware will be the only online store available in the remotely embedded Player control.

An application can limit Windows Media Player to an exclusive online store only if Windows Media Player is not already running when the application is launched. It is the application's responsibility to inform the user that he or she must close Windows Media Player before running the application.

Information Common to Type 1 and Type 2 Online Stores

Remoting the Windows Media Player Control