Microsoft DirectX 9.0 |
The GetWindowPosition method retrieves the position of the video window.
Syntax
objVideoWindow.GetWindowPosition(
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
This method has the same effect as setting the IVideoWindow.Left, IVideoWindow.Top, IVideoWindow.Width, and IVideoWindow.Height properties.
See Also