VirtualBox

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


Ignore:
Timestamp:
Mar 25, 2010 1:17:01 PM (15 years ago)
Author:
vboxsync
Message:

Guest Control: Update (VBoxManage, Main, Host Service, VbglR3), not enabled by default.

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

Legend:

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

    r27607 r27703  
    308308}
    309309
     310STDMETHODIMP Guest::ExecuteProgram(IN_BSTR aExecName, ULONG aFlags,
     311                                   ComSafeArrayIn(BSTR, aArguments), ComSafeArrayIn(BSTR, aEnvironment),
     312                                   IN_BSTR aStdIn, IN_BSTR aStdOut, IN_BSTR aStdErr,
     313                                   IN_BSTR aUserName, IN_BSTR aPassword,
     314                                   ULONG aTimeoutMS, ULONG* aPID)
     315{
     316#ifndef VBOX_WITH_GUEST_CONTROL
     317    ReturnComNotImplemented();
     318#else  /* VBOX_WITH_GUEST_CONTROL */
     319    return E_NOTIMPL;
     320#endif
     321}
     322
    310323// public methods only for internal purposes
    311324/////////////////////////////////////////////////////////////////////////////
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r27685 r27703  
    84578457  <interface
    84588458     name="IGuest" extends="$unknown"
    8459      uuid="d8556fca-81bc-12af-fca3-365528fa38ca"
     8459     uuid="9576d333-deb9-4c65-0f06-6a1eb6a833e7"
    84608460     wsmap="managed"
    84618461     >
     
    85708570        <desc>Statistics value</desc>
    85718571      </param>
     8572    </method>
     8573
     8574    <method name="executeProgram">
     8575      <desc>
     8576        Executes an existing program inside the guest VM.
     8577
     8578        <result name="E_NOTIMPL">
     8579          Not implemented yet.
     8580        </result>
     8581
     8582      </desc>
     8583      <param name="execName" type="wstring" dir="in">
     8584        <desc>Foobar</desc>
     8585      </param>
     8586      <param name="flags" type="unsigned long" dir="in">
     8587        <desc>Foobar</desc>
     8588      </param>
     8589      <param name="arguments" type="wstring" safearray="yes" dir="in">
     8590        <desc>Foobar</desc>
     8591      </param>
     8592      <param name="environment" type="wstring" safearray="yes" dir="in">
     8593        <desc>Foobar</desc>
     8594      </param>
     8595      <param name="stdIn" type="wstring" dir="in">
     8596        <desc>Foobar</desc>
     8597      </param>
     8598      <param name="stdOut" type="wstring" dir="in">
     8599        <desc>Foobar</desc>
     8600      </param>
     8601      <param name="stdErr" type="wstring" dir="in">
     8602        <desc>Foobar</desc>
     8603      </param>
     8604      <param name="userName" type="wstring" dir="in">
     8605        <desc>Foobar</desc>
     8606      </param>
     8607      <param name="password" type="wstring" dir="in">
     8608        <desc>Foobar</desc>
     8609      </param> 
     8610      <param name="timeoutMS" type="unsigned long" dir="in">
     8611        <desc>Foobar</desc>
     8612      </param> 
     8613      <param name="pid" type="unsigned long" dir="out">
     8614        <desc>Foobar</desc>
     8615      </param> 
    85728616    </method>
    85738617
  • trunk/src/VBox/Main/include/GuestImpl.h

    r27607 r27703  
    7272                              IN_BSTR aDomain, BOOL aAllowInteractiveLogon);
    7373    STDMETHOD(GetStatistic)(ULONG aCpuId, GuestStatisticType_T aStatistic, ULONG *aStatVal);
     74    STDMETHOD(ExecuteProgram)(IN_BSTR aExecName, ULONG aFlags,
     75                              ComSafeArrayIn(BSTR, aArguments), ComSafeArrayIn(BSTR, aEnvironment), 
     76                              IN_BSTR aStdIn, IN_BSTR aStdOut, IN_BSTR aStdErr,
     77                              IN_BSTR aUserName, IN_BSTR aPassword,
     78                              ULONG aTimeoutMS, ULONG* aPID);
    7479
    7580    // public methods that are not in IDL
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