Changeset 37863 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jul 11, 2011 11:09:33 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72760
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r37862 r37863 8397 8397 <desc>Don't show the started process according to the guest OS guidelines.</desc> 8398 8398 </const> 8399 <const name="NoProfile" value="8"> 8400 <desc>Do not use the user's profile data when exeuting a process.</desc> 8401 </const> 8399 <const name="NoProfile" value="8"> 8400 <desc>Do not use the user's profile data when exeuting a process.</desc> 8401 </const> 8402 8402 </enum> 8403 8403 … … 8561 8561 <interface 8562 8562 name="IGuest" extends="$unknown" 8563 uuid=" af2766d9-ebff-455f-b5ce-c6f855b8f584"8563 uuid="ed109b6e-0578-4b17-8ace-52646789f1a0" 8564 8564 wsmap="managed" 8565 8565 > … … 9090 9090 </method> 9091 9091 9092 <method name="fileQuerySize"> 9093 <desc> 9094 Queries the size of a file, given the path to it. 9095 9096 <result name="VBOX_E_IPRT_ERROR"> 9097 Error while looking up information. 9098 </result> 9099 9100 </desc> 9101 <param name="file" type="wstring" dir="in"> 9102 <desc> 9103 Full path of file to query file size for. 9104 </desc> 9105 </param> 9106 <param name="userName" type="wstring" dir="in"> 9107 <desc> 9108 User name under which the lookup will be performed; the 9109 user has to exist and have the appropriate rights to access / read the 9110 desired directory. 9111 </desc> 9112 </param> 9113 <param name="password" type="wstring" dir="in"> 9114 <desc> 9115 Password of the user account specified. 9116 </desc> 9117 </param> 9118 <param name="size" type="long long" dir="return"> 9119 <desc> 9120 Size (in bytes) of file specified. 9121 </desc> 9122 </param> 9123 </method> 9124 9092 9125 <method name="setProcessInput"> 9093 9126 <desc> … … 9364 9397 this progress. This means sub-operation number, description, percent 9365 9398 and so on. 9366 9399 9367 9400 You have to take care on setting up at least the same count on 9368 9401 sub-operations in this progress object like there are in the other 9369 progress object. 9402 progress object. 9370 9403 9371 9404 If the other progress object supports cancel and this object gets any -
trunk/src/VBox/Main/include/GuestImpl.h
r37589 r37863 107 107 // File handling 108 108 STDMETHOD(FileExists)(IN_BSTR aFile, IN_BSTR aUserName, IN_BSTR aPassword, BOOL *aExists); 109 STDMETHOD(FileQuerySize)(IN_BSTR aFile, IN_BSTR aUserName, IN_BSTR aPassword, LONG64 *aSize); 109 110 // Misc stuff 110 111 STDMETHOD(InternalGetStatistics)(ULONG *aCpuUser, ULONG *aCpuKernel, ULONG *aCpuIdle, -
trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp
r37632 r37863 3110 3110 } 3111 3111 3112 STDMETHODIMP Guest::FileQuerySize(IN_BSTR aFile, IN_BSTR aUserName, IN_BSTR aPassword, LONG64 *aSize) 3113 { 3114 #ifndef VBOX_WITH_GUEST_CONTROL 3115 ReturnComNotImplemented(); 3116 #else /* VBOX_WITH_GUEST_CONTROL */ 3117 using namespace guestControl; 3118 3119 return VBOX_E_NOT_SUPPORTED; 3120 #endif 3121 } 3122 3112 3123 STDMETHODIMP Guest::UpdateGuestAdditions(IN_BSTR aSource, ULONG aFlags, IProgress **aProgress) 3113 3124 {
Note:
See TracChangeset
for help on using the changeset viewer.