摘要:
public struct POINT { public int X; public int Y; public POINT(int x, int y) { this.X = x; this.Y = y; } } [DllImport("user32.dll")] public static extern bool GetCursorPos(out POINT lpPoint); //e.GetP 阅读全文
摘要:
添加COM引用: 运行结果:16 阅读全文