Migrated more types

This commit is contained in:
2022-10-03 19:20:01 +02:00
parent e48d103c63
commit 6f9ec4d2a4
2 changed files with 7 additions and 9 deletions
@@ -5,9 +5,6 @@ namespace Nefarius.Peripherals.SerialPort.Win32PInvoke
{
internal class Win32Com
{
//Constants for errors:
internal const UInt32 ERROR_ACCESS_DENIED = 5;
internal const UInt32 ERROR_IO_PENDING = 997;
[DllImport("kernel32.dll")]
internal static extern Boolean GetHandleInformation(IntPtr hObject, out UInt32 lpdwFlags);