/// <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; }
public static extern Boolean ClearCommError(IntPtr hFile, ref Int32 lpErrors, ref COMMSTAT lpCommStat);
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);
public static extern bool ClearCommError(IntPtr hFile, ref int lpErrors, ref COMMSTAT lpCommStat);