[DllImport("user32.dll")]
private static extern bool SetCursorPos(int x, int y);
user32.dll是系统文件,Windows 95/98/Me系统,在C:\Windows\System目录下,Windows NT/2000系统在C:\WINNT\System32目录下,Windows XP/7/8系统,则在C:\Windows\System32目录下。