Nefarius.Peripherals.Serial.../PInvokeSerialPort/Win32PInvoke/COMMTIMEOUTS.cs

15 lines
433 B
C#
Raw Normal View History

2012-03-03 10:50:54 +01:00
using System;
using System.Runtime.InteropServices;
namespace PInvokeSerialPort.Win32PInvoke
{
[StructLayout(LayoutKind.Sequential)]
internal struct COMMTIMEOUTS
{
internal Int32 ReadIntervalTimeout;
internal Int32 ReadTotalTimeoutMultiplier;
internal Int32 ReadTotalTimeoutConstant;
internal Int32 WriteTotalTimeoutMultiplier;
internal Int32 WriteTotalTimeoutConstant;
}
}