VirtualBox

Changeset 45589 in vbox for trunk/src


Ignore:
Timestamp:
Apr 17, 2013 3:03:31 PM (12 years ago)
Author:
vboxsync
Message:

GuestCtrl: Clarify API documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r45567 r45589  
    1028810288    <method name="processCreate">
    1028910289      <desc>
    10290         Executes an existing program inside the guest VM.
     10290        Creates a new process running on the guest. The new process will be
     10291        started asynchronously, meaning on return of this function it is not
     10292        guaranteed that the guest process is in a started state. To wait for
     10293        successful startup, use the <link to="IProcess::waitFor"/> call.
    1029110294
    1029210295        <note>
    1029310296          Starting at VirtualBox 4.2 guest process execution by default is limited
    1029410297          to serve up to 255 guest processes at a time. If all 255 guest processes
    10295           are still active and running, starting a new guest process will result in an
     10298          are still active and running, creating a new guest process will result in an
    1029610299          appropriate error message.
    1029710300
     
    1030810311
    1030910312        <result name="VBOX_E_IPRT_ERROR">
    10310           Could not create process.
     10313          Error creating guest process.
    1031110314        </result>
    1031210315      </desc>
     
    1032210325      <param name="environment" type="wstring" dir="in" safearray="yes">
    1032310326        <desc>
    10324           Environment variables that can be set while the command is being
     10327          <para>Environment variables that can be set while the command is being
    1032510328          executed, in form of "NAME=VALUE"; one pair per entry. To unset a
    10326           variable just set its name ("NAME") without a value.
    10327 
    10328           This parameter can be used to override environment variables set by
     10329          variable just set its name ("NAME") without a value.</para>
     10330          <para>This parameter can be used to override environment variables set by
    1032910331          the guest session, which will be applied to the newly started process
    10330           in any case.
     10332          in any case.</para>
    1033110333        </desc>
    1033210334      </param>
     
    1033910341      <param name="timeoutMS" type="unsigned long" dir="in">
    1034010342        <desc>
    10341           Timeout (in ms) to wait for the operation to complete.
    10342           Pass 0 for an infinite timeout.
     10343          Timeout (in ms) for limiting the guest process' running time.
     10344          Pass 0 for an infinite timeout. On timeout the guest process will be
     10345          killed and its status will be put to an appropriate value. See
     10346          <link to="ProcessStatus"/> for more information.
    1034310347        </desc>
    1034410348      </param>
     
    1035010354    <method name="processCreateEx">
    1035110355      <desc>
    10352         Executes an existing program inside the guest VM. Extended version for
    10353         also setting the process priority and affinity.
    10354 
    10355         <note>
    10356           Starting at VirtualBox 4.2 guest process execution by default is limited
    10357           to serve up to 255 guest processes at a time. If all 255 guest processes
    10358           are still active and running, starting a new guest process will result in an
    10359           appropriate error message.
    10360 
    10361           If ProcessCreateFlag_WaitForStdOut and / or respectively ProcessCreateFlag_WaitForStdErr
    10362           is / are set, the guest process will not exit until all data from the specified
    10363           stream(s) is / are read out.
    10364 
    10365           To raise or lower the guest process execution limit, either the guest property
    10366           "/VirtualBox/GuestAdd/VBoxService/--control-procs-max-kept" or VBoxService'
    10367           command line by specifying "--control-procs-max-kept" needs to be modified.
    10368           A restart of the guest OS is required afterwards. To serve unlimited guest
    10369           processes, a value of "0" needs to be set (not recommended).
    10370         </note>
    10371 
    10372         <result name="VBOX_E_IPRT_ERROR">
    10373           Could not create process.
    10374         </result>
     10356        <para>Creates a new process running on the guest. Extended version for
     10357          also setting the process priority and affinity.</para>
     10358
     10359        <para>See <link to="IGuestSession::processCreate"/> for more
     10360          information.</para>
    1037510361      </desc>
    1037610362      <param name="command" type="wstring" dir="in">
     
    1038510371      <param name="environment" type="wstring" dir="in" safearray="yes">
    1038610372        <desc>
    10387           Environment variables that can be set while the command is being
     10373          <para>Environment variables that can be set while the command is being
    1038810374          executed, in form of "NAME=VALUE"; one pair per entry. To unset a
    10389           variable just set its name ("NAME") without a value.
    10390 
    10391           This parameter can be used to override environment variables set by
     10375          variable just set its name ("NAME") without a value.</para>
     10376          <para>This parameter can be used to override environment variables set by
    1039210377          the guest session, which will be applied to the newly started process
    10393           in any case.
     10378          in any case.</para>
    1039410379        </desc>
    1039510380      </param>
     
    1040210387      <param name="timeoutMS" type="unsigned long" dir="in">
    1040310388        <desc>
    10404           Timeout (in ms) to wait for the operation to complete.
    10405           Pass 0 for an infinite timeout.
     10389          Timeout (in ms) for limiting the guest process' running time.
     10390          Pass 0 for an infinite timeout. On timeout the guest process will be
     10391          killed and its status will be put to an appropriate value. See
     10392          <link to="ProcessStatus"/> for more information.
    1040610393        </desc>
    1040710394      </param>
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