From 8d0a29c0b76c8880ba8b6d34e7b9e2c3bd95b6f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Mon, 26 Sep 2022 21:04:35 +0200 Subject: [PATCH] Added CsWin32 --- .../NativeMethods.txt | 16 ++++++++++++++++ .../Nefarius.Peripherals.SerialPort.csproj | 7 +++++++ 2 files changed, 23 insertions(+) create mode 100644 Nefarius.Peripherals.SerialPort/NativeMethods.txt diff --git a/Nefarius.Peripherals.SerialPort/NativeMethods.txt b/Nefarius.Peripherals.SerialPort/NativeMethods.txt new file mode 100644 index 0000000..c2b548f --- /dev/null +++ b/Nefarius.Peripherals.SerialPort/NativeMethods.txt @@ -0,0 +1,16 @@ +CreateFile +GetHandleInformation +SetCommState +SetCommTimeouts +SetupComm +WriteFile +SetCommMask +WaitCommEvent +CancelIo +ReadFile +TransmitCommChar +EscapeCommFunction +GetCommModemStatus +GetOverlappedResult +ClearCommError +GetCommProperties \ No newline at end of file diff --git a/Nefarius.Peripherals.SerialPort/Nefarius.Peripherals.SerialPort.csproj b/Nefarius.Peripherals.SerialPort/Nefarius.Peripherals.SerialPort.csproj index 99660d7..ce80c6b 100644 --- a/Nefarius.Peripherals.SerialPort/Nefarius.Peripherals.SerialPort.csproj +++ b/Nefarius.Peripherals.SerialPort/Nefarius.Peripherals.SerialPort.csproj @@ -3,6 +3,7 @@ netstandard2.0 true Ebrahim Byagowi, Benjamin Höglinger-Stelzer + true https://github.com/nefarius/PInvokeSerialPort https://github.com/nefarius/PInvokeSerialPort Nefarius.Peripherals.SerialPort @@ -27,4 +28,10 @@ + + + + all + + \ No newline at end of file