public static extern bool GetWindowRect(int hwnd, ref WindowCaptureUtility.RECT rect);
[DllImport("user32.dll", EntryPoint = "GetCursorPos")] //获取鼠标坐标 public static extern int GetCursorPos(ref WindowCaptureUtility.POINTAPI point);
public static extern bool GetWindowRect(int hwnd, ref WindowCaptureUtility.RECT rect);
[DllImport("user32.dll", EntryPoint = "GetCursorPos")] //获取鼠标坐标 public static extern int GetCursorPos(ref WindowCaptureUtility.POINTAPI point);