public SafeSerialHandle serial_init() { SafeSerialHandle result = UnsafeNativeMethods.serial_init(); errno = Marshal.GetLastWin32Error(); return(result); }
public IntPtr serial_init() { IntPtr result = UnsafeNativeMethods.serial_init(); errno = Marshal.GetLastWin32Error(); return(result); }