Changeset 28233 in vbox for trunk/include/VBox
- Timestamp:
- Apr 13, 2010 8:23:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r28231 r28233 48 48 49 49 /** 50 * Process status when executed in the guest. 51 */ 52 enum eProcessStatus 53 { 54 /** Process is in an undefined state. */ 55 PROC_STS_UNDEFINED = 0, 56 /** Process has been started. */ 57 PROC_STS_STARTED = 1, 58 /** Process terminated normally. */ 59 PROC_STS_TEN = 2, 60 /** Process terminated via signal. */ 61 PROC_STS_TES = 3, 62 /** Process terminated abnormally. */ 63 PROC_STS_TEA = 4, 64 /** Process timed out and was killed. */ 65 PROC_STS_TOK = 5, 66 /** Process timed out and was not killed successfully. */ 67 PROC_STS_TOA = 6, 68 /** @todo */ 69 PROC_STS_DWN = 7 70 }; 71 72 /** 50 73 * Data structure to pass to the service extension callback. We use this to 51 74 * notify the host of changes to properties. 52 75 */ 53 typedef struct _ HOSTCALLBACKDATA54 { 55 /** Magic number to identify the structure */76 typedef struct _VBoxGuestCtrlExecCallbackData 77 { 78 /** Magic number to identify the structure. */ 56 79 uint32_t u32Magic; 80 /** The process ID (PID). */ 81 uint32_t pid; 82 /* The process status. */ 83 uint32_t status; 84 /** Optional flags (not used atm). */ 85 uint32_t flags; 86 /** Optional data buffer (not used atm). */ 87 void *pvData; 88 /** Size of optional data buffer (not used atm). */ 89 uint32_t cbData; 57 90 58 } HOST CALLBACKDATA, *PHOSTCALLBACKDATA;91 } HOSTEXECCALLBACKDATA, *PHOSTEXECCALLBACKDATA; 59 92 60 93 enum … … 62 95 /** Magic number for sanity checking the HOSTCALLBACKDATA structure */ 63 96 HOSTCALLBACKMAGIC = 0x26011982 64 };65 66 /**67 * Process status when executed in the guest.68 */69 enum eProcessStatus70 {71 PROC_STATUS_STARTED = 1,72 73 PROC_STATUS_TERMINATED = 274 97 }; 75 98 … … 189 212 { 190 213 VBoxGuestHGCMCallInfo hdr; 191 214 /** The process ID (PID). */ 192 215 HGCMFunctionParameter pid; 193 216 /** The process status. */ 194 217 HGCMFunctionParameter status; 195 218 /** Optional flags (based on status). */ 196 219 HGCMFunctionParameter flags; 197 220 /** Optional data buffer (not used atm). */ 198 221 HGCMFunctionParameter data; 199 222
Note:
See TracChangeset
for help on using the changeset viewer.