VirtualBox

Changeset 42848 in vbox


Ignore:
Timestamp:
Aug 16, 2012 1:49:50 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80106
Message:

Guest Control 2.0: No IGuestFile so far.

File:
1 edited

Legend:

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

    r42847 r42848  
    244244    if (FAILED(autoCaller.rc())) return autoCaller.rc();
    245245
    246     HRESULT hr = S_OK;
    247 
    248     GuestFsObjData objData;
    249     int vrc = mData.mSession->fileQueryInfoInternal(mData.mFileName, objData);
    250     if (RT_SUCCESS(vrc))
    251     {
    252         ComObjPtr<GuestFsObjInfo> pFsObjInfo;
    253         hr = pFsObjInfo.createObject();
    254         if (FAILED(hr))
    255             return VERR_COM_UNEXPECTED;
    256 
    257         vrc = pFsObjInfo->init(objData);
    258         if (RT_SUCCESS(vrc))
    259             hr = pFsObjInfo.queryInterfaceTo(aInfo);
    260     }
    261     else
    262     {
    263         switch (vrc)
    264         {
    265             /** @todo Add more errors here! */
    266 
    267             default:
    268                hr = setError(VBOX_E_IPRT_ERROR, tr("Querying file information failed: %Rrc"), vrc);
    269                break;
    270         }
    271     }
    272 
    273     return hr;
     246    ReturnComNotImplemented();
    274247#endif /* VBOX_WITH_GUEST_CONTROL */
    275248}
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