VirtualBox

Changeset 34173 in vbox for trunk/include/VBox/HostServices


Ignore:
Timestamp:
Nov 18, 2010 2:29:29 PM (14 years ago)
Author:
vboxsync
Message:

Comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestControlSvc.h

    r33558 r34173  
    262262} VBoxGuestCtrlHGCMMsgType;
    263263
     264/**
     265 * Asks the guest control host service to cancel all pending
     266 * (outstanding) waits which were not processed yet. This is
     267 * handy for a graceful shutdown.
     268 */
    264269typedef struct _VBoxGuestCtrlHGCMMsgCancelPendingWaits
    265270{
     
    267272} VBoxGuestCtrlHGCMMsgCancelPendingWaits;
    268273
     274/**
     275 * Executes a command inside the guest.
     276 */
    269277typedef struct _VBoxGuestCtrlHGCMMsgExecCmd
    270278{
    271279    VBoxGuestHGCMCallInfo hdr;
    272 
    273     HGCMFunctionParameter context;
    274 
     280    /** Context ID. */
     281    HGCMFunctionParameter context;
     282    /** The command to execute on the guest. */
    275283    HGCMFunctionParameter cmd;
    276 
    277     HGCMFunctionParameter flags;
    278 
     284    /** Execution flags (see IGuest::ExecuteProcessFlag_*). */
     285    HGCMFunctionParameter flags;
     286    /** Number of arguments. */
    279287    HGCMFunctionParameter num_args;
    280 
     288    /** The actual arguments. */
    281289    HGCMFunctionParameter args;
    282 
     290    /** Number of environment value pairs. */
    283291    HGCMFunctionParameter num_env;
    284292    /** Size (in bytes) of environment block, including terminating zeros. */
    285293    HGCMFunctionParameter cb_env;
    286 
     294    /** The actual environment block. */
    287295    HGCMFunctionParameter env;
    288 
     296    /** The user name to run the executed command under. */
    289297    HGCMFunctionParameter username;
    290 
     298    /** The user's password. */
    291299    HGCMFunctionParameter password;
    292 
     300    /** Timeout (in msec) which either specifies the
     301     *  overall lifetime of the process or how long it
     302     *  can take to bring the process up and running -
     303     *  (depends on the IGuest::ExecuteProcessFlag_*). */
    293304    HGCMFunctionParameter timeout;
    294305
    295306} VBoxGuestCtrlHGCMMsgExecCmd;
    296307
     308/**
     309 * Injects input to a previously executed process via
     310 * stdin.
     311 */
    297312typedef struct _VBoxGuestCtrlHGCMMsgExecIn
    298313{
     
    300315    /** Context ID. */
    301316    HGCMFunctionParameter context;
    302     /** The process ID (PID). */
     317    /** The process ID (PID) to send the input to. */
    303318    HGCMFunctionParameter pid;
    304     /** Flags (see IGuest::ProcessInputFlag_*). */
     319    /** Input flags (see IGuest::ProcessInputFlag_*). */
    305320    HGCMFunctionParameter flags;
    306321    /** Data buffer. */
    307322    HGCMFunctionParameter data;
    308     /** Actual size of data. */
     323    /** Actual size of data (in bytes). */
    309324    HGCMFunctionParameter size;
    310325
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