GetMouseInfo

This method returns the mouse position and general mouse information.

 

HRESULT GetMouseInfo(

[out] VARIANT* longFlags,

 [out] VARIANT* longScreenX,

 [out] VARIANT* longScreenY)

Parameters:

Return Values:

The return value obtained from the returned HRESULT can be one of the following:

 

Return value

Meaning

S_OK

Success.

E_FAIL

Catastrophic failure.

TE_E_MPTNOTLOADED

An MPT file must be loaded in TerraExplorer for this method to work.