VirtualBox

Changeset 45010 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Mar 12, 2013 5:47:56 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84242
Message:

GuestCtrl: More code for guest session infrastructure handling (untested, work in progress).

File:
1 edited

Legend:

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

    r44970 r45010  
    89698969    >
    89708970    <desc>
    8971       Guest session statuses.
     8971      Guest session status. This enumeration represents possible values of
     8972      the <link to="IGuestSession::status"/> attribute.
    89728973    </desc>
    89738974    <const name="Undefined"               value="0">
     
    90009001  </enum>
    90019002
     9003  <enum
     9004    name="GuestSessionWaitForFlag"
     9005    uuid="bb7a372a-f635-4e11-a81a-e707f3a52ef5"
     9006    >
     9007    <desc>
     9008      Guest session waiting flags. Multiple flags can be combined.
     9009    </desc>
     9010
     9011    <const name="None"                    value="0">
     9012      <desc>No waiting flags specified. Do not use this.</desc>
     9013    </const>
     9014    <const name="Start"                   value="1">
     9015      <desc>Wait for the guest session being started.</desc>
     9016    </const>
     9017    <const name="Terminate"               value="2">
     9018      <desc>Wait for the guest session being terminated.</desc>
     9019    </const>
     9020    <const name="Status"                  value="4">
     9021      <desc>Wait for the next guest session status change.</desc>
     9022    </const>
     9023  </enum>
     9024 
     9025  <enum
     9026    name="GuestSessionWaitResult"
     9027    uuid="c0f6a8a5-fdb6-42bf-a582-56c6f82bcd2d"
     9028    >
     9029    <desc>
     9030      Guest session waiting results. Depending on the session waiting flags (for
     9031      more information see <link to="GuestSessionWaitForFlag"/>) the waiting result
     9032      can vary based on the session's current status.
     9033
     9034      To wait for a guest session to terminate after it has been
     9035      created by <link to="IGuest::createSession"/> one would specify
     9036      GuestSessionWaitResult_Terminate.
     9037    </desc>
     9038
     9039    <const name="None"                    value="0">
     9040      <desc>No result was returned. Not being used.</desc>
     9041    </const>
     9042    <const name="Start"                   value="1">
     9043      <desc>The guest session has been started.</desc>
     9044    </const>
     9045    <const name="Terminate"               value="2">
     9046      <desc>The guest session has been terminated.</desc>
     9047    </const>
     9048    <const name="Status"                  value="3">
     9049      <desc>
     9050        The guest session has changed its status. The status then can
     9051        be retrieved via <link to="IGuestSession::status"/>.
     9052      </desc>
     9053    </const>
     9054    <const name="Error"                   value="4">
     9055      <desc>Error while executing the process.</desc>
     9056    </const>
     9057    <const name="Timeout"                 value="5">
     9058      <desc>
     9059        The waiting operation timed out. This also will happen
     9060        when no event has been occured matching the
     9061        current waiting flags in a <link to="IGuestSession::waitFor"/> call.
     9062      </desc>
     9063    </const>
     9064    <const name="WaitFlagNotSupported"    value="6">
     9065      <desc>
     9066        A waiting flag specified in the <link to="IGuestSession::waitFor"/> call
     9067        is not supported by the guest.
     9068      </desc>
     9069    </const>
     9070  </enum>
     9071 
    90029072  <enum
    90039073    name="FileSeekType"
     
    90849154      can vary based on the processes' current status.
    90859155
    9086       To wait for a gust process to terminate after it has been
     9156      To wait for a guest process to terminate after it has been
    90879157      created by <link to="IGuestSession::processCreate"/> or <link to="IGuestSession::processCreateEx"/>
    90889158      one would specify ProcessWaitResult_Terminate.
     
    94259495  <interface
    94269496    name="IGuestSession" extends="$unknown"
    9427     uuid="8490516f-9c2c-49e9-b283-35f3ce463f69"
     9497    uuid="56f551a2-f924-43ab-8a69-a954109db878"
    94289498    wsmap="managed"
    94299499    >
     
    1022510295      <param name="file" type="wstring" dir="in">
    1022610296        <desc>Symbolic link to remove.</desc>
     10297      </param>
     10298    </method>
     10299   
     10300    <method name="waitFor">
     10301      <desc>
     10302        Waits for one more events to happen.
     10303      </desc>
     10304      <param name="waitFor" type="unsigned long" dir="in">
     10305        <desc>
     10306          Specifies what to wait for;
     10307          see <link to="GuestSessionWaitForFlag"/> for more information.
     10308        </desc>
     10309      </param>
     10310      <param name="timeoutMS" type="unsigned long" dir="in">
     10311        <desc>
     10312          Timeout (in ms) to wait for the operation to complete.
     10313          Pass 0 for an infinite timeout.
     10314        </desc>
     10315      </param>
     10316      <param name="reason" type="GuestSessionWaitResult" dir="return">
     10317        <desc>
     10318          The overall wait result;
     10319          see <link to="GuestSessionWaitResult"/> for more information.
     10320        </desc>
     10321      </param>
     10322    </method>
     10323
     10324    <method name="waitForArray">
     10325      <desc>
     10326        Waits for one more events to happen.
     10327        Scriptable version of <link to="#waitFor" />.
     10328      </desc>
     10329      <param name="waitFor" type="GuestSessionWaitForFlag" dir="in" safearray="yes">
     10330        <desc>
     10331          Specifies what to wait for;
     10332          see <link to="GuestSessionWaitForFlag"/> for more information.
     10333        </desc>
     10334      </param>
     10335      <param name="timeoutMS" type="unsigned long" dir="in">
     10336        <desc>
     10337          Timeout (in ms) to wait for the operation to complete.
     10338          Pass 0 for an infinite timeout.
     10339        </desc>
     10340      </param>
     10341      <param name="reason" type="GuestSessionWaitResult" dir="return">
     10342        <desc>
     10343          The overall wait result;
     10344          see <link to="GuestSessionWaitResult"/> for more information.
     10345        </desc>
    1022710346      </param>
    1022810347    </method>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette