Пример #1
0
 /// <summary>
 /// Default constructor. Creates the class structures.
 /// </summary>
 protected internal Win32Status()
 {
     this.ready = 0;
     this.cs    = new COMMSTAT();
     this.state = new COMMHOLD();
     this.error = new COMMERRS();
     return;
 }
Пример #2
0
 public static extern Boolean ClearCommError(IntPtr hFile, ref Int32 lpErrors, 
     ref COMMSTAT lpCommStat);
Пример #3
0
		/// <summary>
		/// Default constructor. Creates the class structures.
		/// </summary>
		protected internal Win32Status()
		{
			this.ready  = 0;
			this.cs		= new COMMSTAT();
			this.state  = new COMMHOLD();
			this.error  = new COMMERRS();
			return;
		}
Пример #4
0
		private static extern Boolean ClearCommError
			(
			IntPtr hFile, 
			out UInt32 lpErrors, 
			out COMMSTAT cs
			);
Пример #5
0
 public static extern bool ClearCommError(IntPtr handle, ref uint lpErrors, COMMSTAT lpStat);
Пример #6
0
 public static extern bool ClearCommError(IntPtr hFile, ref int lpErrors, ref COMMSTAT lpCommStat);
Пример #7
0
 public static extern bool ClearCommError(IntPtr handle, ref uint lpErrors, COMMSTAT lpStat);
Пример #8
0
 private static extern Boolean ClearCommError
 (
     IntPtr hFile,
     out UInt32 lpErrors,
     out COMMSTAT cs
 );
 public static extern Boolean ClearCommError(IntPtr hFile, ref Int32 lpErrors,
                                             ref COMMSTAT lpCommStat);