Microsoft DirectX 9.0

IVideoWindow::get_WindowState

The get_WindowState method queries whether the video window is visible, hidden, minimized, or maximized.

Syntax

HRESULT get_WindowState(
    long *WindowState
);

Parameters

WindowState

[out] Pointer to a variable that receives one of the following flags:

The meanings of these flags are defined by the Windows ShowWindow function.

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.

See Also