예제 #1
0
        public static int GetCursorPos(ref Point lpPoint)
        {
            WindowsAPI.POINT lpPoint1 = new WindowsAPI.POINT();
            int cursorPos             = WindowsAPI.GetCursorPos(ref lpPoint1);

            lpPoint.X = lpPoint1.X;
            lpPoint.Y = lpPoint1.Y;
            return(cursorPos);
        }
예제 #2
0
 private static extern int GetCursorPos(ref WindowsAPI.POINT lpPoint);