VirtualBox

Changeset 97751 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Dec 6, 2022 9:49:16 AM (2 years ago)
Author:
vboxsync
Message:

DnD: Renamed VERR_GSTDND_GUEST_ERROR -> VERR_DND_GUEST_ERROR to be more in line with the other features wrt error code/group naming.

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp

    r97750 r97751  
    11971197            AssertRC(rc2);
    11981198        }
    1199         else if (rc != VERR_GSTDND_GUEST_ERROR) /* Guest-side error are already handled in the callback. */
     1199        else if (rc != VERR_DND_GUEST_ERROR) /* Guest-side error are already handled in the callback. */
    12001200        {
    12011201            int rc2 = pCtx->pState->setProgress(100, DND_PROGRESS_ERROR,
     
    13381338            rc  = VINF_SUCCESS;
    13391339        }
    1340         else if (rc != VERR_GSTDND_GUEST_ERROR) /* Guest-side error are already handled in the callback. */
     1340        else if (rc != VERR_DND_GUEST_ERROR) /* Guest-side error are already handled in the callback. */
    13411341        {
    13421342            rc2 = pCtx->pState->setProgress(100, DND_PROGRESS_ERROR,
     
    14331433
    14341434            if (RT_SUCCESS(rc))
    1435                 rcCallback = VERR_GSTDND_GUEST_ERROR;
     1435                rcCallback = VERR_DND_GUEST_ERROR;
    14361436            break;
    14371437        }
     
    16171617
    16181618            if (RT_SUCCESS(rc))
    1619                 rcCallback = VERR_GSTDND_GUEST_ERROR;
     1619                rcCallback = VERR_DND_GUEST_ERROR;
    16201620            break;
    16211621        }
  • trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp

    r97749 r97751  
    12021202
    12031203    int  vrc      = VINF_SUCCESS;
    1204     int  vrcGuest = VINF_SUCCESS; /* Contains error code from guest in case of VERR_GSTDND_GUEST_ERROR. */
     1204    int  vrcGuest = VINF_SUCCESS; /* Contains error code from guest in case of VERR_DND_GUEST_ERROR. */
    12051205    bool fNotify  = false;
    12061206
     
    12741274            if (RT_SUCCESS(vrc))
    12751275            {
    1276                 vrc      = VERR_GSTDND_GUEST_ERROR;
     1276                vrc      = VERR_DND_GUEST_ERROR;
    12771277                vrcGuest = pCBData->rc;
    12781278            }
     
    13581358        }
    13591359
    1360         case VERR_GSTDND_GUEST_ERROR:
     1360        case VERR_DND_GUEST_ERROR:
    13611361        {
    13621362            LogRel(("DnD: Guest reported error %Rrc, aborting transfer to guest\n", vrcGuest));
     
    15671567            vrc  = VINF_SUCCESS;
    15681568        }
    1569         else if (vrc != VERR_GSTDND_GUEST_ERROR) /* Guest-side error are already handled in the callback. */
     1569        else if (vrc != VERR_DND_GUEST_ERROR) /* Guest-side error are already handled in the callback. */
    15701570        {
    15711571            LogRel(("DnD: Sending transfer data to guest failed with vrc=%Rrc\n", vrc));
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