Windows Media Player 11 SDK Exclusive Online StoresĀ 

Windows Media Player SDK banner art

Previous Next

Exclusive Online Stores

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.

See Also

Previous Next