Compartir a través de


Navigating to Other 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.]

You can create links to other online stores you own or cross-link to online stores provided by others. To do this, you need to know the key name for the online store to which you want to navigate.

The following example code shows HTML that creates a link to switch from the Proseware online store to the "ServiceTask2" feature of the Southridge Video online store:

<A HREF = 
"javascript:window.external.NavigateTaskPaneURL('SouthridgeVideo', 'ServiceTask2', 'From=Proseware&To=2')"
>Switch to Southridge Video</A>

When the user clicks the link, Windows Media Player prompts the user to switch to the Southridge Video store. If the user permits it, the Player then switches stores and navigates to the specified task pane, appending the query string parameters. The query string parameters shown in the preceding example are custom parameters. This means that the online store you switch to must expect these values and handle them. Your online store (and any store you switch to) can use query string parameters any way you choose.

Navigating between Service Task Panes

Navigation for Type 2 Online Stores