CBaseControlWindow::GetWindowPosition

Retrieves the current coordinates for the window.

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

Parameters

  • pLeft
    Left coordinate, in screen coordinates.
  • pTop
    Top coordinate, in screen coordinates.
  • pWidth
    Window width, in screen coordinates.
  • pHeight
    Window height, in screen coordinates.

Return Values

Returns an HRESULT value.

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.