long hwnd = 0;
long x = 0;
long y = 0;
try
{
Capture.GetCarretInfo(out hwnd, out x, out y);
}
catch(Exception e)
MessageBox.Show(e.Message);