Beispiel #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;
 }
Beispiel #2
0
 public static extern Boolean ClearCommError(IntPtr hFile, ref Int32 lpErrors, 
     ref COMMSTAT lpCommStat);
Beispiel #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;
		}
Beispiel #4
0
		private static extern Boolean ClearCommError
			(
			IntPtr hFile, 
			out UInt32 lpErrors, 
			out COMMSTAT cs
			);
 public static extern bool ClearCommError(IntPtr handle, ref uint lpErrors, COMMSTAT lpStat);
Beispiel #6
0
 public static extern bool ClearCommError(IntPtr hFile, ref int lpErrors, ref COMMSTAT lpCommStat);
Beispiel #7
0
 public static extern bool ClearCommError(IntPtr handle, ref uint lpErrors, COMMSTAT lpStat);
Beispiel #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);