Microsoft Windows CE 3.0  

IVideoWindow::put_AutoShow

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.

Determines whether the window will be automatically shown.

HRESULT put_AutoShow(
long
AutoShow
);

Parameters

AutoShow
[in] OATRUE (–1) means the window will be visible when the state changes; OAFALSE (0) means the window remains hidden until explicitly shown.

Return Values

Returns an HRESULTvalue.

Remarks

Many simple applications require a displayed window when a filter graph is set to the running state. AutoShowdefaults 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, however, the window will automatically reappear.

See Also

IVideoWindow::put_Visible