Microsoft DirectX 8.1 (C++)

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 pins are not connected.

See Also