Changeset 84548 in vbox for trunk/include/VBox/HostServices
- Timestamp:
- May 26, 2020 5:43:31 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r84243 r84548 211 211 */ 212 212 HOST_MSG_PATH_USER_HOME, 213 /** 214 * Issues a shutdown / reboot of the guest OS. 215 */ 216 HOST_MSG_SHUTDOWN, 213 217 214 218 /** Blow the type up to 32-bits. */ … … 248 252 RT_CASE_RET_STR(HOST_MSG_PATH_USER_DOCUMENTS); 249 253 RT_CASE_RET_STR(HOST_MSG_PATH_USER_HOME); 254 RT_CASE_RET_STR(HOST_MSG_SHUTDOWN); 250 255 RT_CASE_RET_STR(HOST_MSG_32BIT_HACK); 251 256 } … … 699 704 * GUESTPROCESS_DEFAULT_CMD_LEN / GUESTPROCESS_DEFAULT_ARGS_LEN / GUESTPROCESS_DEFAULT_ENV_LEN (bytes, in total). */ 700 705 #define VBOX_GUESTCTRL_GF_0_PROCESS_DYNAMIC_SIZES RT_BIT_64(2) 706 /** Supports shutting down / rebooting the guest. */ 707 #define VBOX_GUESTCTRL_GF_0_SHUTDOWN RT_BIT_64(3) 701 708 /** Bit that must be set in the 2nd parameter, will be cleared if the host reponds 702 709 * correctly (old hosts might not). */ … … 873 880 HGCMFunctionParameter context; 874 881 } HGCMMsgPathUserHome; 882 883 /** 884 * Shuts down / reboots the guest. 885 */ 886 typedef struct HGCMMsgShutdown 887 { 888 VBGLIOCHGCMCALL hdr; 889 /** UInt32: Context ID. */ 890 HGCMFunctionParameter context; 891 /** UInt32: Action flags. */ 892 HGCMFunctionParameter action; 893 } HGCMMsgShutdown; 875 894 876 895 /**
Note:
See TracChangeset
for help on using the changeset viewer.