IVideoWindow.GetRestorePosition

 
Microsoft DirectShow 9.0

IVideoWindow.GetRestorePosition

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The GetRestorePosition method retrieves the restored window position.

Syntax

  objVideoWindow
  .GetRestorePosition(
    ByRef Left As Long, 
 ByRef Top As Long, 
 ByRef Width As Long, 
 ByRef Height As Long)

Parameters

Left

Variable that receives the x-coordinate, in pixels.

Top

Variable that receives the y-coordinate, in pixels.

Width

Variable that receives the width of the window, in pixels.

Height

Variable that receives the height of the window, in pixels.

Return Values

This method does not return a value.

Remarks

If the video window is minimized or maximized, you can use this method to get the window's restored position.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also