Changeset 28358 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 15, 2010 1:26:07 PM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r28354 r28358 813 813 } 814 814 815 STDMETHODIMP Guest::GetProcessOutput( BSTR *aBuffer, ULONG aFlags)815 STDMETHODIMP Guest::GetProcessOutput(ULONG aPID, ULONG aFlags, BSTR *aBuffer) 816 816 { 817 817 #ifndef VBOX_WITH_GUEST_CONTROL -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r28354 r28358 8372 8372 <interface 8373 8373 name="IGuest" extends="$unknown" 8374 uuid=" 105f4e9a-b8d5-49e5-9397-032e78155bee"8374 uuid="c7c26d4a-0177-455e-999e-ee26e74ee803" 8375 8375 wsmap="managed" 8376 8376 > … … 8598 8598 8599 8599 </desc> 8600 <param name="pid" type="unsigned long" dir="in"> 8601 <desc> 8602 Buffer for retrieving the actual output. 8603 </desc> 8604 </param> 8605 <param name="flags" type="unsigned long" dir="in"> 8606 <desc> 8607 Flags describing which output to retrieve. 8608 </desc> 8609 </param> 8600 8610 <param name="buffer" type="wstring" dir="out"> 8601 8611 <desc> 8602 8612 Buffer for retrieving the actual output. 8603 </desc>8604 </param>8605 <param name="flags" type="unsigned long" dir="in">8606 <desc>8607 Flags describing which output to retrieve.8608 8613 </desc> 8609 8614 </param> -
trunk/src/VBox/Main/include/GuestImpl.h
r28354 r28358 97 97 IN_BSTR aUserName, IN_BSTR aPassword, 98 98 ULONG aTimeoutMS, ULONG* aPID, IProgress **aProgress); 99 STDMETHOD(GetProcessOutput)( BSTR *aBuffer, ULONG aFlags);99 STDMETHOD(GetProcessOutput)(ULONG aPID, ULONG aFlags, BSTR *aBuffer); 100 100 STDMETHOD(InternalGetStatistics)(ULONG *aCpuUser, ULONG *aCpuKernel, ULONG *aCpuIdle, 101 101 ULONG *aMemTotal, ULONG *aMemFree, ULONG *aMemBalloon, ULONG *aMemCache, … … 124 124 struct CallbackContext 125 125 { 126 uint32_t mContextID;127 void *pvData;128 uint32_t cbData;126 uint32_t mContextID; 127 void *pvData; 128 uint32_t cbData; 129 129 /** Atomic flag whether callback was called. */ 130 volatile bool bCalled; 131 ComObjPtr<Progress> pProgress; 130 volatile bool bCalled; 131 /** Pointer to user-supplied IProgress. */ 132 ComObjPtr<Progress> pProgress; 132 133 }; 133 134 typedef std::list< CallbackContext > CallbackList;
Note:
See TracChangeset
for help on using the changeset viewer.