VirtualBox

Changeset 33491 in vbox for trunk


Ignore:
Timestamp:
Oct 27, 2010 10:45:14 AM (14 years ago)
Author:
vboxsync
Message:

IPRT/process-win: Only map Windows error to rc if no IPRT failure yet.

File:
1 edited

Legend:

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

    r33490 r33491  
    901901    }
    902902
    903     if (dwErr != NO_ERROR)
     903    if (   RT_SUCCESS(rc)
     904        && dwErr != NO_ERROR)
    904905    {
    905906        /*
     
    925926        }
    926927    }
    927     else
    928         rc = VINF_SUCCESS;
    929928    return rc;
    930929}
Note: See TracChangeset for help on using the changeset viewer.

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