Compartilhar via


IDirectDrawVideo::UseWhenFullScreen (Windows CE 5.0)

Send Feedback

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

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 Values

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

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.