Added CsWin32
This commit is contained in:
parent
2424f26755
commit
8d0a29c0b7
16
Nefarius.Peripherals.SerialPort/NativeMethods.txt
Normal file
16
Nefarius.Peripherals.SerialPort/NativeMethods.txt
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
CreateFile
|
||||||
|
GetHandleInformation
|
||||||
|
SetCommState
|
||||||
|
SetCommTimeouts
|
||||||
|
SetupComm
|
||||||
|
WriteFile
|
||||||
|
SetCommMask
|
||||||
|
WaitCommEvent
|
||||||
|
CancelIo
|
||||||
|
ReadFile
|
||||||
|
TransmitCommChar
|
||||||
|
EscapeCommFunction
|
||||||
|
GetCommModemStatus
|
||||||
|
GetOverlappedResult
|
||||||
|
ClearCommError
|
||||||
|
GetCommProperties
|
@ -3,6 +3,7 @@
|
|||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||||
<Authors>Ebrahim Byagowi, Benjamin Höglinger-Stelzer</Authors>
|
<Authors>Ebrahim Byagowi, Benjamin Höglinger-Stelzer</Authors>
|
||||||
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<PackageProjectUrl>https://github.com/nefarius/PInvokeSerialPort</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/nefarius/PInvokeSerialPort</PackageProjectUrl>
|
||||||
<RepositoryUrl>https://github.com/nefarius/PInvokeSerialPort</RepositoryUrl>
|
<RepositoryUrl>https://github.com/nefarius/PInvokeSerialPort</RepositoryUrl>
|
||||||
<PackageId>Nefarius.Peripherals.SerialPort</PackageId>
|
<PackageId>Nefarius.Peripherals.SerialPort</PackageId>
|
||||||
@ -27,4 +28,10 @@
|
|||||||
<PackagePath></PackagePath>
|
<PackagePath></PackagePath>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.2.63-beta">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
</PackageReference>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in New Issue
Block a user