摘要: 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 阅读全文
posted @ 2019-09-06 20:04 microsoftzhcn 阅读(2450) 评论(0) 推荐(0) 编辑
摘要: 添加COM引用: 运行结果:16 阅读全文
posted @ 2019-09-06 16:26 microsoftzhcn 阅读(1145) 评论(0) 推荐(0) 编辑