Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public class Win32
  2. {
  3. [DllImport("User32.Dll")]
  4. public static extern long SetCursorPos(int x, int y);
  5.  
  6. [DllImport("User32.Dll")]
  7. public static extern bool ClientToScreen(IntPtr hWnd, ref POINT point);
  8.  
  9. [StructLayout(LayoutKind.Sequential)]
  10. public struct POINT
  11. {
  12. public int x;
  13. public int y;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement