Microsoft Windows CE 3.0  

Using the IVideoWindow PID to Implement Full-Screen Support

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Microsoft DirectShow implements full-screen support in a number of ways that depend on what hardware resources are available. An application can support full-screen video playback through the IVideoWindowinterface provided by the filter graph manager. An application can have its own implementation of full-screen playback, but it can probably make better use of resources by using the IVideoWindowimplementation.

The IVideoWindowplug-in distributor (PID) tries three different options for implementing full-screen support when an application requests full-screen mode. The option is typically chosen the first time the filter graph enters full-screen mode. While in full-screen mode, no IVideoWindowmethods can be called (apart from accessing the full-screen property). Any attempts to do so will return the VFW_E_IN_FULLSCREEN_MODEmessage. The PID searches in the following order for a filter that supports IVideoWindowand that has one of these characteristics:

  1. The filter supplies full-screen mode directly.
  2. The filter allows its window to be stretched to full screen without penalty.
  3. The filter can be replaced by a full-screen renderer.

    If none of these three options are found, the default is to simply stretch the video of a filter that supports IVideoWindowto full-screen, ignoring the performance penalties.



     Last updated on Tuesday, May 18, 2004

    © 2004 Microsoft Corporation. All rights reserved.