public void serial_terminate(IntPtr handle) { UnsafeNativeMethods.serial_terminate(handle); errno = Marshal.GetLastWin32Error(); }
protected override bool ReleaseHandle() { UnsafeNativeMethods.serial_terminate(handle); return(true); }