VirtualBox

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


Ignore:
Timestamp:
Apr 15, 2010 1:26:07 PM (15 years ago)
Author:
vboxsync
Message:

Guest Control: Update.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/GuestImpl.cpp

    r28354 r28358  
    813813}
    814814
    815 STDMETHODIMP Guest::GetProcessOutput(BSTR *aBuffer, ULONG aFlags)
     815STDMETHODIMP Guest::GetProcessOutput(ULONG aPID, ULONG aFlags, BSTR *aBuffer)
    816816{
    817817#ifndef VBOX_WITH_GUEST_CONTROL
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r28354 r28358  
    83728372  <interface
    83738373     name="IGuest" extends="$unknown"
    8374      uuid="105f4e9a-b8d5-49e5-9397-032e78155bee"
     8374     uuid="c7c26d4a-0177-455e-999e-ee26e74ee803"
    83758375     wsmap="managed"
    83768376     >
     
    85988598
    85998599      </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>     
    86008610      <param name="buffer" type="wstring" dir="out">
    86018611        <desc>
    86028612          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.
    86088613        </desc>
    86098614      </param>     
  • trunk/src/VBox/Main/include/GuestImpl.h

    r28354 r28358  
    9797                              IN_BSTR aUserName, IN_BSTR aPassword,
    9898                              ULONG aTimeoutMS, ULONG* aPID, IProgress **aProgress);
    99     STDMETHOD(GetProcessOutput)(BSTR *aBuffer, ULONG aFlags);
     99    STDMETHOD(GetProcessOutput)(ULONG aPID, ULONG aFlags, BSTR *aBuffer);
    100100    STDMETHOD(InternalGetStatistics)(ULONG *aCpuUser, ULONG *aCpuKernel, ULONG *aCpuIdle,
    101101                                     ULONG *aMemTotal, ULONG *aMemFree, ULONG *aMemBalloon, ULONG *aMemCache,
     
    124124    struct CallbackContext
    125125    {
    126         uint32_t        mContextID;
    127         void           *pvData;
    128         uint32_t        cbData;
     126        uint32_t            mContextID;
     127        void               *pvData;
     128        uint32_t            cbData;
    129129        /** 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;
    132133    };
    133134    typedef std::list< CallbackContext > CallbackList;
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