internal System.Drawing.Point GetMousePosition()
 {
     NativeMethods.Win32Point pt = new NativeMethods.Win32Point();
     NativeMethods.GetCursorPos(ref pt);
     return(new System.Drawing.Point(pt.X, pt.Y));
 }
Example #2
0
 internal static extern bool GetCursorPos(ref NativeMethods.Win32Point pt);