次の方法で共有


IDirectDrawVideo::UseWhenFullScreen (Windows Embedded CE 6.0)

1/6/2010

This method determines whether DirectShow might change display mode when going to full-screen mode.

Syntax

HRESULT UseWhenFullScreen(
  long UseWhenFullScreen
);

Parameters

  • UseWhenFullScreen
    Set to OATRUE to cause the renderer to use DirectX in full-screen mode; otherwise, set to OAFALSE.

Return Value

Returns an HRESULT value.

Remarks

When asked to go to full-screen mode, DirectShow has a number of choices:

  • Determine if filters in the graph can support full-screen playback directly. If one can, it will be asked to do so.
  • Automatically add a special full-screen renderer to the filter graph that uses DirectDraw mode-changing services to play back the video.
    By changing display modes, the video effectively fills more (but not necessarily all) of the display. For example, if the current mode is 1024 x 768 pixels, a video might look relatively small, but when displayed in a 320 x 240 display mode it might look very presentable.
  • For any renderer supporting the IVideoWindow interface, have its window stretched full-screen.
    This typically offers lower performance than the second option (swapping in a full-screen DirectDraw-enabled renderer).
    If the UseWhenFullScreen parameter is set to On (OATRUE), the window is always stretched full-screen for full-screen playback.
    If the UseWhenFullScreen parameter is set to Off (the default), the filter graph manager can swap in the DirectDraw-enabled full-screen renderer.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

IDirectDrawVideo Interface