VirtualBox

Changeset 73630 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Aug 13, 2018 10:39:39 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124299
Message:

Runtime/serialport-win.cpp: Fixes for RTSerialPortOpen()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/serialport-win.cpp

    r71028 r73630  
    267267                                         NULL);
    268268                if (pThis->hDev)
     269                {
    269270                    rc = rtSerialPortSetDefaultCfg(pThis);
     271                    if (RT_SUCCESS(rc))
     272                    {
     273                        *phSerialPort = pThis;
     274                        return rc;
     275                    }
     276                }
    270277                else
    271278                    rc = RTErrConvertFromWin32(GetLastError());
    272279
    273                 CloseHandle(pThis->hEvtDev);
     280                CloseHandle(pThis->hEvtIntr);
    274281            }
    275282            else
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette