VirtualBox

Changeset 98528 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Feb 10, 2023 3:23:41 PM (2 years ago)
Author:
vboxsync
Message:

Guest Control: Initial commit (work in progress, disabled by default) [SCM fixes]. bugref:9783

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

Legend:

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

    r98526 r98528  
    141141    RT_NOREF(pvACL, cbACL);
    142142
    143     int rc;
     143    int vrc;
    144144
    145145    mType = GuestBase::fileModeToFsObjType(pFsObjInfo->Attr.fMode);
     
    158158        default:
    159159            mFileAttrs += '?';
    160             AssertFailedStmt(rc = VERR_NOT_SUPPORTED);
     160            AssertFailedStmt(vrc = VERR_NOT_SUPPORTED);
    161161            break;
    162162    }
     
    10451045                    vrc = HGCMSvcGetU32(&pSvcCb->mpaParms[idx++], &dataCb.uType);
    10461046                    AssertRCReturn(vrc, vrc);
    1047                     vrc = HGCMSvcGetU32(&pSvcCb->mpaParms[idx++], &dataCb.rc);
     1047                    vrc = HGCMSvcGetU32(&pSvcCb->mpaParms[idx++], &dataCb.vrc);
    10481048                    AssertRCReturn(vrc, vrc);
    10491049                    vrc = HGCMSvcGetPv(&pSvcCb->mpaParms[idx++], &dataCb.pvPayload, &dataCb.cbPayload);
     
    10531053                    {
    10541054                        GuestWaitEventPayload evPayload(dataCb.uType, dataCb.pvPayload, dataCb.cbPayload);
    1055                         vrc = signalWaitEventInternal(pCtxCb, dataCb.rc, &evPayload);
     1055                        vrc = signalWaitEventInternal(pCtxCb, dataCb.vrc, &evPayload);
    10561056                    }
    10571057                    catch (int vrcEx) /* Thrown by GuestWaitEventPayload constructor. */
  • trunk/src/VBox/Main/src-client/GuestDirectoryImpl.cpp

    r98526 r98528  
    202202        case GUEST_MSG_DISCONNECTED:
    203203            /** @todo vrc = i_onGuestDisconnected(pCbCtx, pSvcCb); */
    204             vrc = VINF_SUCCESS; // TODO
     204            vrc = VINF_SUCCESS; /// @todo To be implemented
    205205            break;
    206206
     
    554554    if (mSession->i_getParent()->i_getGuestControlFeatures0() & VBOX_GUESTCTRL_GF_0_TOOLBOX_AS_CMDS)
    555555    {
    556         // TODO
     556        /// @todo To be implemented
    557557        vrc = VERR_NOT_IMPLEMENTED;
    558558    }
     
    609609    if (mSession->i_getParent()->i_getGuestControlFeatures0() & VBOX_GUESTCTRL_GF_0_TOOLBOX_AS_CMDS)
    610610    {
    611         // TODO
     611        /// @todo To be implemented
    612612        RT_NOREF(objData, pvrcGuest);
    613613        vrc = 0;
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r98526 r98528  
    983983            if (RT_SUCCESS(vrc))
    984984            {
    985                 // TODO
     985                /// @todo To be implemented
    986986            }
    987987        }
     
    12601260            if (RT_SUCCESS(vrc))
    12611261            {
    1262                 // TODO
     1262                /// @todo To be implemented
    12631263            }
    12641264        }
     
    17111711            if (RT_SUCCESS(vrc))
    17121712            {
    1713                 // TODO
     1713                /// @todo To be implemented
    17141714            }
    17151715        }
     
    19911991            if (RT_SUCCESS(vrc))
    19921992            {
    1993                 // TODO
     1993                /// @todo To be implemented
    19941994            #if 0
    19951995                const ComPtr<IEvent> pThisEvent = pEvent->Event();
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