Partager via


IVideoWindow::get_AutoShow

 
Microsoft DirectShow 9.0

IVideoWindow::get_AutoShow

The get_AutoShow method queries whether the video renderer automatically shows the video window when it receives video data.

Syntax

  HRESULT get_AutoShow(
    long *AutoShow
);

Parameters

AutoShow

[out] Pointer to a variable that receives one of the following values.

Value Description
OATRUE If the video renderer pauses or runs, it will automatically show the video window.
OAFALSE The video renderer will not automatically show the video window.

Return Values

Possible return values include the following:

Value Description
E_POINTER NULL pointer.
S_OK Success.
VFW_E_NOT_CONNECTED The video renderer filter is not connected.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also