IVideoWindow::put_WindowState

 
Microsoft DirectShow 9.0

IVideoWindow::put_WindowState

The put_WindowState method shows, hides, minimizes, or maximizes the video window.

Syntax

  HRESULT put_WindowState(
  long WindowState
);

Parameters

WindowState

[in] Flag that specifies how the window is to be shown. The value can be any constant defined for the nCmdShow parameter of the Microsoft® Windows® ShowWindow function. For more information, see the Platform SDK.

Return Values

Possible return values include the following:

Value Description
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