Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Gets the coordinates of the application's main window.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

...

C#
[ComVisibleAttribute(false)]
StatusCode GetCoordinates(
	Object sessionID,
	ref WindowCoordinates windowCoordinates
)


Visual Basic (Declaration)
<ComVisibleAttribute(False)> _
Function GetCoordinates ( _
	sessionID As Object, _
	ByRef windowCoordinates As WindowCoordinates _
) As StatusCode


Visual C++
[ComVisibleAttribute(false)]
StatusCode GetCoordinates(
	Object^ sessionID, 
	WindowCoordinates% windowCoordinates
)


JavaScript
function GetCoordinates(sessionID, windowCoordinates);


Parameters

sessionID
Type: System..::.ObjectSession Object
Session ID; this can be a single character, a one character string, or an integer type in the valid character range.

windowCoordinates
Type: JollyGiant.Emulation..::.WindowCoordinates %WindowCoordinates WindowCoordinates
WindowCoordinates object, receiving the window coordinates.

Return Value

The return value is a StatusCode specifying the success or failure of the method.

...

ExceptionCondition
System.Runtime.InteropServices..::.InvalidOleVariantTypeExceptionThe sessionID object could not be converted to a valid one-character session ID, or the value was out of range.

See Also


IWindow Interface
GetCoordinates Overload
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

...