using System.Runtime.InteropServices; namespace Microsoft.Win32 { /// /// POINT定义 /// public static partial class NativeMethods { /// /// POINT /// [StructLayout(LayoutKind.Sequential)] public struct POINT { /// /// 水平坐标 /// public int x; /// /// 垂直坐标 /// public int y; /// /// 构造函数 /// /// 水平坐标 /// 垂直坐标 public POINT(int x, int y) { this.x = x; this.y = y; } } } }