Share via


CBaseControlWindow::get_WindowState

 
Microsoft DirectShow 9.0

CBaseControlWindow::get_WindowState

The get_WindowState method retrieves the current window state.

Syntax

  HRESULT get_WindowState(
    long *pWindowState
);

Parameters

pWindowState

Pointer to the window state.

Return Value

Returns an HRESULT value.

Remarks

This member function returns a subset of the parameters of the Microsoft Win32 ShowWindow function. In particular, it returns SW_SHOW and SW_HIDE, depending on the current visibility of the window. It also returns SW_MINIMIZE and SW_MAXIMIZE, depending on whether the window is an icon or is expanded.

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also