Changeset 34173 in vbox for trunk/include/VBox/HostServices
- Timestamp:
- Nov 18, 2010 2:29:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r33558 r34173 262 262 } VBoxGuestCtrlHGCMMsgType; 263 263 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 */ 264 269 typedef struct _VBoxGuestCtrlHGCMMsgCancelPendingWaits 265 270 { … … 267 272 } VBoxGuestCtrlHGCMMsgCancelPendingWaits; 268 273 274 /** 275 * Executes a command inside the guest. 276 */ 269 277 typedef struct _VBoxGuestCtrlHGCMMsgExecCmd 270 278 { 271 279 VBoxGuestHGCMCallInfo hdr; 272 273 HGCMFunctionParameter context; 274 280 /** Context ID. */ 281 HGCMFunctionParameter context; 282 /** The command to execute on the guest. */ 275 283 HGCMFunctionParameter cmd; 276 277 HGCMFunctionParameter flags; 278 284 /** Execution flags (see IGuest::ExecuteProcessFlag_*). */ 285 HGCMFunctionParameter flags; 286 /** Number of arguments. */ 279 287 HGCMFunctionParameter num_args; 280 288 /** The actual arguments. */ 281 289 HGCMFunctionParameter args; 282 290 /** Number of environment value pairs. */ 283 291 HGCMFunctionParameter num_env; 284 292 /** Size (in bytes) of environment block, including terminating zeros. */ 285 293 HGCMFunctionParameter cb_env; 286 294 /** The actual environment block. */ 287 295 HGCMFunctionParameter env; 288 296 /** The user name to run the executed command under. */ 289 297 HGCMFunctionParameter username; 290 298 /** The user's password. */ 291 299 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_*). */ 293 304 HGCMFunctionParameter timeout; 294 305 295 306 } VBoxGuestCtrlHGCMMsgExecCmd; 296 307 308 /** 309 * Injects input to a previously executed process via 310 * stdin. 311 */ 297 312 typedef struct _VBoxGuestCtrlHGCMMsgExecIn 298 313 { … … 300 315 /** Context ID. */ 301 316 HGCMFunctionParameter context; 302 /** The process ID (PID) . */317 /** The process ID (PID) to send the input to. */ 303 318 HGCMFunctionParameter pid; 304 /** Flags (see IGuest::ProcessInputFlag_*). */319 /** Input flags (see IGuest::ProcessInputFlag_*). */ 305 320 HGCMFunctionParameter flags; 306 321 /** Data buffer. */ 307 322 HGCMFunctionParameter data; 308 /** Actual size of data . */323 /** Actual size of data (in bytes). */ 309 324 HGCMFunctionParameter size; 310 325
Note:
See TracChangeset
for help on using the changeset viewer.