Share via


CBaseControlWindow::GetRestorePosition

Retrieves the position to which the window will be restored when it is not maximized or minimized.

HRESULT GetRestorePosition(
  long* pLeft,
  long* pTop,
  long* pWidth,
  long* pHeight
);

Parameters

  • pLeft
    Value for leftmost coordinate.
  • pTop
    Value for top of the window.
  • pWidth
    Value for width of the window.
  • pHeight
    Value for height of window.

Return Values

Returns an HRESULT value.

Remarks

This is the same as the values returned by the CBaseControlWindow::GetWindowPosition function when the window is neither maximized nor minimized.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 3.0 and later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.