Share via


IVideoWindow::put_AutoShow

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method determines whether the window will be automatically shown.

Syntax

HRESULT put_AutoShow(
  long AutoShow
);

Parameters

  • AutoShow
    [in] OATRUE (–1) means the window is visible when the state changes.

    OAFALSE (0) means the window remains hidden until explicitly shown.

Return Value

Returns an HRESULT value.

Remarks

Many simple applications require a displayed window when a filter graph is set to the running state.

AutoShow defaults to OATRUE so that when the graph changes state to paused or running, the window is visible (it also is set as the foreground window). It will remain visible on all subsequent state changes to paused or running.

If you close the window while the stream is running, the window will not automatically reappear.

If you stop and restart the stream, the window will automatically reappear.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 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

IVideoWindow Interface
IVideoWindow::put_Visible