Share via


CBaseControlWindow::GetWindowPosition (Compact 2013)

3/26/2014

Retrieves the current coordinates for the window.

Syntax

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 Value

Returns an HRESULT value.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseControlWindow Class