code:Interop.Call("user32.dll", "GetCursorPos", mypointobj); MsgPlus.DisplayToast("Result", mypointobj.x + " - " + mypointobj.y);