Changeset 29438 in vbox for trunk/include/VBox/HostServices/GuestControlSvc.h
- Timestamp:
- May 12, 2010 9:50:16 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61556
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r28887 r29438 136 136 * or starting a program. 137 137 */ 138 HOST_EXEC_CMD = 1 ,138 HOST_EXEC_CMD = 100, 139 139 /** 140 140 * Sends input data for stdin to a running process executed by HOST_EXEC_CMD. 141 141 */ 142 HOST_EXEC_SET_INPUT = 2,142 HOST_EXEC_SET_INPUT = 101, 143 143 /** 144 144 * Gets the current status of a running process, e.g. 145 145 * new data on stdout/stderr, process terminated etc. 146 146 */ 147 HOST_EXEC_GET_OUTPUT = 3147 HOST_EXEC_GET_OUTPUT = 102 148 148 }; 149 149 … … 155 155 { 156 156 /** 157 * Guest waits for a new message the host wants to process on the guest side. 158 * This is a blocking call and can be deferred. 159 */ 160 GUEST_GET_HOST_MSG = 1, 161 /** 162 * Guest asks the host to cancel all pending waits the guest waits on. 163 * This becomes necessary when the guest wants to quit but still waits for 164 * commands from the host. 165 */ 166 GUEST_CANCEL_PENDING_WAITS = 2, 167 /** 157 168 * TODO 158 169 */ 159 GUEST_ GET_HOST_MSG = 1,170 GUEST_EXEC_SEND_OUTPUT = 100, 160 171 /** 161 172 * TODO 162 173 */ 163 GUEST_EXEC_SEND_OUTPUT = 2, 164 /** 165 * TODO 166 */ 167 GUEST_EXEC_SEND_STATUS = 3 174 GUEST_EXEC_SEND_STATUS = 101 168 175 }; 169 176 … … 175 182 { 176 183 /** 184 * Hosts wants the guest to stop waiting for new messages. 185 */ 186 GETHOSTMSG_EXEC_HOST_CANCEL_WAIT = 0, 187 /** 177 188 * The host wants to execute something in the guest. This can be a command line 178 189 * or starting a program. 179 190 */ 180 GETHOSTMSG_EXEC_START_PROCESS = 1 ,191 GETHOSTMSG_EXEC_START_PROCESS = 100, 181 192 /** 182 193 * Sends input data for stdin to a running process executed by HOST_EXEC_CMD. 183 194 */ 184 GETHOSTMSG_EXEC_SEND_INPUT = 2,195 GETHOSTMSG_EXEC_SEND_INPUT = 101, 185 196 /** 186 197 * Host requests the so far collected stdout/stderr output 187 198 * from a running process executed by HOST_EXEC_CMD. 188 199 */ 189 GETHOSTMSG_EXEC_GET_OUTPUT = 3200 GETHOSTMSG_EXEC_GET_OUTPUT = 102 190 201 }; 191 202 … … 200 211 /** 201 212 * The returned command the host wants to 202 * executeon the guest.213 * run on the guest. 203 214 */ 204 215 HGCMFunctionParameter msg; /* OUT uint32_t */ 205 216 /** Number of parameters the message needs. */ 206 217 HGCMFunctionParameter num_parms; /* OUT uint32_t */ 207 218 208 219 } VBoxGuestCtrlHGCMMsgType; 220 221 typedef struct _VBoxGuestCtrlHGCMMsgCancelPendingWaits 222 { 223 VBoxGuestHGCMCallInfo hdr; 224 } VBoxGuestCtrlHGCMMsgCancelPendingWaits; 209 225 210 226 typedef struct _VBoxGuestCtrlHGCMMsgExecCmd
Note:
See TracChangeset
for help on using the changeset viewer.