serial_terminate() private method

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