//
        // Static methods
        //
        #region Static methods

        // Get cursor position
        public static bool GetCursorPosition(ref WinPoint rPoint)
        {
            return(GetCursorPos(ref rPoint) == WinBool.TRUE);
        }
 // Set cursor position
 public static bool SetCursorPosition(WinPoint cPoint)
 {
     return(SetCursorPos(cPoint.mX, cPoint.mY) == WinBool.TRUE);
 }
 private static extern int GetCursorPos(ref WinPoint pPoint);