Compartilhar via


CBaseControlWindow::get_WindowState (Compact 2013)

3/26/2014

Retrieves the current window state.

Syntax

HRESULT get_WindowState(
  long* pWindowState
);

Parameters

  • pWindowState
    Window state.

Return Value

Returns an HRESULT value.

Remarks

This member function returns a subset of the parameters of the 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

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlWindow Class