MediaCenter.NavigateToPage Method Home
MediaCenter.NavigateToPage Method

Directs Windows Media Center to navigate to the specified page in the Windows Media Center UI.

Note   This method has been deprecated.

Syntax

MediaCenter.NavigateToPage(pageId, params)

Parameters

pageId

A String that contains the identifier (GUID) of a Windows Media Center page. For more information, see the Remarks section.

params

A String that contains additional parameters. For more information, see the Remarks section.

Return Value

If the method succeeds, it returns 0; otherwise, it returns one of the following error values:

ValueDescription
ERR_COMMAND_REMOVED_WITH_SPADThe destination page was removed with the Set Program Access and Defaults (SPAD) tool.
ERR_NAVIGATION_FAILEDThe method failed.

Remarks

The value of the pageId parameter determines the value of the params parameter, as shown in the following table:

GUIDWindows Media Center pageparams
{ae804109-f3a3-4fe0-8379-518463da7395}ExtensibilityEntryPointGUIDs that identify the destination page in the appropriate format:
applicationGuid\entrypointGuid or entrypointGuid
{3798c7a7-c31f-46c4-9782-655f64b5920f}ExtensibilityURLURL of the destination page
{ec5a86e5-256a-4316-b294-42d5b86a5bed}FMRadioNull
{7f58b0a0-e85b-4e1e-8726-5f1ba279dd3c}InternetRadioNull
{6c79b00a-8e02-400f-a6f9-06380d1ddecd}LiveTVNull
{5cbc749d-bad7-4dad-b302-1628882d4504}ManageDisksNull
{798b6732-ebbe-4b81-b424-d93bf91b0aad}MoreProgramsNull
{0b2357d5-5110-4dcb-b8e7-a4bb6b48bc9e}MovieLibraryNull
{fd331980-26ab-4bac-889f-188e13001a55}MusicAlbumsNull
{c4a709f2-4c53-4db4-95eb-d190a95fcfcf}MusicArtistsNull
{5eaf585f-4273-4ce1-8284-bd60288b88d9}MusicSongsNull
{d69fa617-1035-4875-ac6e-ca7bdef8c7b4}MyMusicNull
{3b7ff955-01f6-4f68-9775-4d1216b777b7}MyPicturesPath to folder
{80e2aa59-4c45-493c-9b75-68bb9ec80617}MyTVNull
{a5abe790-14f9-4075-87a8-e4a940d632ae}MyVideosPath to folder
{fdd1b548-c454-4db9-b702-6d96c4675af2}Photo detailsPath to the photo
{42c5a65e-35d4-48c8-8828-df636825e091}RecordedTVNull
{dcfa3c0a-d146-4e33-995a-565f8ca1a859}RecorderStorageSettingsNull
{ae33979e-6334-45f6-8490-6e05f4032703}ScheduledTVRecordingsNull
{1436526c-329d-47dd-9afa-458aab0da6e5}SlideShowPath to folder
{79f21c24-a3a2-4268-9caa-5e9ef241c6a5}SlideshowSettingsNull
{b8eac38a-7fb8-4559-84b5-42999c6864bd}StartNull
{21e33f7d-c860-49ff-bd74-a94dab62b434}TVGuideNull
{5b721b57-872d-4ad2-8262-4d6bb2c09c6a}VisualizationsvisualizationName:preset
{0043FBA8-91E0-4d7d-92E4-5C4C1416B21F}WebAddInURL of the destination page

If pageId is ExtensibilityEntryPoint and no applicationGuid is specified, Windows Media Center uses the application GUID of the calling application.

If pageID is Visualizations, params is a string containing the visualization name (from the registry) and preset, separated by a colon. For example, "Ambience:Swirl". If a visualization name is specified but not a preset, Windows Media Center uses the previously-selected preset. Similarly, if a preset is specified but not a visualization name, Windows Media Center uses the previously-selected visualization.

Requirements

Platform: HTML application hosted within Windows XP Media Center Edition 2005 through Windows Vista

See Also

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View