|Microsoft DirectX 9.0|
The GetRestorePosition method retrieves the restored window position.
objVideoWindow.GetRestorePosition( 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.
If the video window is minimized or maximized, you can use this method to get the window's restored position.