migrate Pilz.Win32 & optimize Pilz & Pilz.IO

This commit is contained in:
2024-09-01 08:54:57 +02:00
parent f370642354
commit 7a94fcf360
55 changed files with 700 additions and 1427 deletions

View File

@@ -0,0 +1,23 @@
using System.Runtime.InteropServices;
namespace Pilz.Win32.Native;
[StructLayout(LayoutKind.Sequential)]
public struct POINT
{
public POINT(System.Drawing.Point p)
{
x = p.X;
y = p.Y;
}
public POINT(int x, int y)
{
this.x = x;
this.y = y;
}
public int x;
public int y;
}