IVideoWindow::put_Visible

 
Microsoft DirectShow 9.0

IVideoWindow::put_Visible

The put_Visible method shows or hides the video window. 

Syntax

  HRESULT put_Visible(
  long Visible
);

Parameters

Visible

[in] Value that specifies whether to show or hide the window. Must be one of the following values:

Value Description
OATRUE Show the window.
OAFALSE Hide the window.

Return Values

Possible return values include the following:

Value Description
E_INVALIDARG Invalid argument.
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