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,15 @@
using System.Runtime.InteropServices;
using System.Text;
namespace Pilz.Win32.Native;
public class Kernel32
{
private const string LIB_KERNEL32 = "kernel32.dll";
[DllImport(LIB_KERNEL32)]
public static extern uint GetModuleFileName(nint hModule, StringBuilder lpFilename, int nSize);
}