serial_terminate() private method

private serial_terminate ( IntPtr handle ) : void
handle IntPtr
return void
Esempio n. 1
0
 public void serial_terminate(IntPtr handle)
 {
     UnsafeNativeMethods.serial_terminate(handle);
     errno = Marshal.GetLastWin32Error();
 }
Esempio n. 2
0
 protected override bool ReleaseHandle()
 {
     UnsafeNativeMethods.serial_terminate(handle);
     return(true);
 }