OSDN Git Service

コア部分を共通プロジェクト化した
[fooeditengine/FooEditEngine.git] / DotNetTextStore / UnmanagedAPI / WinDef.cs
1 using System;
2 using System.Reflection;
3 using System.Runtime.InteropServices;
4 using System.Security;
5
6 namespace DotNetTextStore.UnmanagedAPI.WinDef
7 {
8     /// <summary>
9     /// WindowsAPI の POINT 構造体。
10     /// </summary>
11     [StructLayout(LayoutKind.Sequential)]
12     public struct POINT
13     {
14         public int x;
15         public int y;
16         public POINT(int x, int y)
17         {
18             this.x = x;
19             this.y = y;
20         }
21     }
22
23
24     /// <summary>
25     /// WindowsAPI の RECT 構造体。
26     /// </summary>
27     [StructLayout(LayoutKind.Sequential)]
28     public struct RECT
29     {
30         public int left;
31         public int top;
32         public int right;
33         public int bottom;
34         public RECT(int left, int top, int right, int bottom)
35         {
36             this.left = left;
37             this.top = top;
38             this.right = right;
39             this.bottom = bottom;
40         }
41     }
42
43
44
45 }