- Timestamp:
- Nov 4, 2010 3:15:08 PM (14 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r33672 r33776 1298 1298 ComPtr<IProgress> progress; 1299 1299 CHECK_ERROR_BREAK(guest, UpdateGuestAdditions(Bstr(Utf8Source).raw(), 1300 0 /* Flags, not used. */, 1300 1301 progress.asOutParam())); 1301 1302 rc = showProgress(progress); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r33756 r33776 364 364 CGuest guest = session().GetConsole().GetGuest(); 365 365 #ifdef DEBUG_andy 366 CProgress progressInstall = guest.UpdateGuestAdditions("c:\\Downloads\\VBoxGuestAdditions -r67158.iso");366 CProgress progressInstall = guest.UpdateGuestAdditions("c:\\Downloads\\VBoxGuestAdditions_3.2.8.iso", 0); 367 367 #else 368 CProgress progressInstall = guest.UpdateGuestAdditions(strSource );368 CProgress progressInstall = guest.UpdateGuestAdditions(strSource, 0 /* Flags, not used. */); 369 369 #endif 370 370 bool fResult = guest.isOk(); -
trunk/src/VBox/Main/GuestImpl.cpp
r33756 r33776 2400 2400 } 2401 2401 2402 STDMETHODIMP Guest::UpdateGuestAdditions(IN_BSTR aSource, IProgress **aProgress)2402 STDMETHODIMP Guest::UpdateGuestAdditions(IN_BSTR aSource, ULONG aFlags, IProgress **aProgress) 2403 2403 { 2404 2404 #ifndef VBOX_WITH_GUEST_CONTROL … … 2408 2408 CheckComArgOutPointerValid(aProgress); 2409 2409 2410 if (aFlags != 0) /* Flags are not supported at the moment. */ 2411 return setError(E_INVALIDARG, tr("Unknown flags (%#x)"), aFlags); 2412 2410 2413 AutoCaller autoCaller(this); 2411 2414 if (FAILED(autoCaller.rc())) return autoCaller.rc(); … … 2445 2448 2446 2449 if (SUCCEEDED(rc)) 2450 { 2447 2451 /* Return progress to the caller. */ 2448 2452 progress.queryInterfaceTo(aProgress); 2449 2453 } 2450 2454 return rc; 2451 2455 #endif /* VBOX_WITH_GUEST_CONTROL */ -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r33767 r33776 7695 7695 <interface 7696 7696 name="IGuest" extends="$unknown" 7697 uuid=" 5a4f265c-0c0e-495a-8ff6-7d68682e276b"7697 uuid="ded6983f-5c81-4bf9-90af-73f65fd9b728" 7698 7698 wsmap="managed" 7699 7699 > … … 7974 7974 <param name="flags" type="unsigned long" dir="out"> 7975 7975 <desc> 7976 Additional flags of process status (not used at the moment). 7976 Additional flags of process status. Not used at the moment and 7977 must be set to 0. 7977 7978 </desc> 7978 7979 </param> … … 8069 8070 <desc> 8070 8071 Path to the Guest Additions .ISO file to use for the upate. 8072 </desc> 8073 </param> 8074 <param name="flags" type="unsigned long" dir="in"> 8075 <desc> 8076 Additional flags for update process. Not used at the moment and 8077 must be set to 0. 8071 8078 </desc> 8072 8079 </param> -
trunk/src/VBox/Main/include/GuestImpl.h
r33723 r33776 105 105 ULONG *aMemTotal, ULONG *aMemFree, ULONG *aMemBalloon, ULONG *aMemShared, ULONG *aMemCache, 106 106 ULONG *aPageTotal, ULONG *aMemAllocTotal, ULONG *aMemFreeTotal, ULONG *aMemBalloonTotal, ULONG *aMemSharedTotal); 107 STDMETHOD(UpdateGuestAdditions)(IN_BSTR aSource, IProgress **aProgress);107 STDMETHOD(UpdateGuestAdditions)(IN_BSTR aSource, ULONG aFlags, IProgress **aProgress); 108 108 109 109 // Public methods that are not in IDL (only called internally).
Note:
See TracChangeset
for help on using the changeset viewer.