VirtualBox

Changeset 13835 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Nov 5, 2008 2:34:43 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38826
Message:

s/VBOX_SUCCESS/RT_SUCCESS/g s/VBOX_FAILURE/RT_FAILURE/g - VBOX_SUCCESS and VBOX_FAILURE have *NOT* been retired (because old habbits die hard) just sligtly deprecated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/VBox.cpp

    r8155 r13835  
    5757     */
    5858    rc = RTR3Init();
    59     if (!VBOX_SUCCESS(rc))
     59    if (!RT_SUCCESS(rc))
    6060    {
    6161        printf("fatal error: failed to initialize runtime. (rc=%d)\n", rc);
     
    100100    PVM pVM = NULL;
    101101    rc = VMR3Create(pszVMConfig, &pVM);
    102     if (VBOX_SUCCESS(rc))
     102    if (RT_SUCCESS(rc))
    103103    {
    104104        /*
     
    106106         */
    107107        rc = VMR3PowerOn(pVM);
    108         if (VBOX_SUCCESS(rc))
     108        if (RT_SUCCESS(rc))
    109109        {
    110110            /*
     
    133133         */
    134134        int rc2 = VMR3Destroy(pVM);
    135         if (!VBOX_SUCCESS(rc2))
     135        if (!RT_SUCCESS(rc2))
    136136        {
    137137            printf("warning: VMR3Destroy() failed with rc=%d\n", rc);
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