|Microsoft DirectX 9.0|
The GetWindowPosition method retrieves the position of the video window.
objVideoWindow.GetWindowPosition( ByRef Left As Long, ByRef Top As Long, ByRef Width As Long, ByRef Height As Long)
Variable that receives the x-coordinate, in pixels.
Variable that receives the y-coordinate, in pixels.
Variable that receives the width of the window, in pixels.
Variable that receives the height of the window, in pixels.
This method does not return a value.
This method has the same effect as setting the IVideoWindow.Left, IVideoWindow.Top, IVideoWindow.Width, and IVideoWindow.Height properties.