Share via


MediaCenter.ReturnToApplication Method

Returns Windows Media Center to the HTML application that calls this function.

Note   This method has been deprecated.

Syntax

  MediaCenter.ReturnToApplication()

Parameters

This method takes no parameters.

Return Value

This method does not return a value.

Remarks

An application that plays video in full-screen mode can use this method to regain the focus after full-screen playback concludes.

Before calling this method, call the MediaCenter.IsMediaFullScreen method to determine whether the current media is in full-screen mode.

Requirements

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

See Also