Changeset 29785 in vbox for trunk/include/VBox/HostServices
- Timestamp:
- May 25, 2010 1:30:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r29516 r29785 74 74 /** Context ID to identify callback data. */ 75 75 uint32_t u32ContextID; 76 } HOSTCCALLBACKHEADER, *PHOSTCCALLBACKHEADER;76 } CALLBACKHEADER, *PCALLBACKHEADER; 77 77 78 78 /** … … 80 80 * notify the host of changes to properties. 81 81 */ 82 typedef struct _VBoxGuestCtrl ExecCallbackData82 typedef struct _VBoxGuestCtrlCallbackDataExecStatus 83 83 { 84 84 /** Callback data header. */ 85 HOSTCCALLBACKHEADER hdr;85 CALLBACKHEADER hdr; 86 86 /** The process ID (PID). */ 87 87 uint32_t u32PID; … … 94 94 /** Size of optional data buffer (not used atm). */ 95 95 uint32_t cbData; 96 } HOSTEXECCALLBACKDATA, *PHOSTEXECCALLBACKDATA;97 98 typedef struct _VBoxGuestCtrl ExecOutCallbackData96 } CALLBACKDATAEXECSTATUS, *PCALLBACKDATAEXECSTATUS; 97 98 typedef struct _VBoxGuestCtrlCallbackDataExecOut 99 99 { 100 100 /** Callback data header. */ 101 HOSTCCALLBACKHEADER hdr;101 CALLBACKHEADER hdr; 102 102 /** The process ID (PID). */ 103 103 uint32_t u32PID; … … 110 110 /** Size of optional data buffer. */ 111 111 uint32_t cbData; 112 } HOSTEXECOUTCALLBACKDATA, *PHOSTEXECOUTCALLBACKDATA; 112 } CALLBACKDATAEXECOUT, *PCALLBACKDATAEXECOUT; 113 114 typedef struct _VBoxGuestCtrlCallbackDataClientDisconnected 115 { 116 /** Callback data header. */ 117 CALLBACKHEADER hdr; 118 } CALLBACKDATACLIENTDISCONNECTED, *PCALLBACKDATACLIENTDISCONNECTED; 113 119 114 120 enum 115 121 { 116 /** Magic number for sanity checking the HOSTEXECCALLBACKDATA structure. */ 117 HOSTEXECCALLBACKDATAMAGIC = 0x26011982, 118 /** Magic number for sanity checking the HOSTEXECOUTCALLBACKDATA structure. */ 119 HOSTEXECOUTCALLBACKDATAMAGIC = 0x11061949 122 /** Magic number for sanity checking the CALLBACKDATACLIENTDISCONNECTED structure. */ 123 CALLBACKDATAMAGICCLIENTDISCONNECTED = 0x08041984, 124 /** Magic number for sanity checking the CALLBACKDATAEXECSTATUS structure. */ 125 CALLBACKDATAMAGICEXECSTATUS = 0x26011982, 126 /** Magic number for sanity checking the CALLBACKDATAEXECOUT structure. */ 127 CALLBACKDATAMAGICEXECOUT = 0x11061949 120 128 }; 121 129 … … 160 168 GUEST_GET_HOST_MSG = 1, 161 169 /** 162 * Guest asks the host to cancel all pending waits the guest waits on.170 * Guest asks the host to cancel all pending waits the guest itself waits on. 163 171 * This becomes necessary when the guest wants to quit but still waits for 164 172 * commands from the host. 165 173 */ 166 174 GUEST_CANCEL_PENDING_WAITS = 2, 175 /** 176 * Guest disconnected (terminated normally or due to a crash HGCM 177 * detected when calling service::clientDisconnect(). 178 */ 179 GUEST_DISCONNECTED = 3, 167 180 /** 168 181 * TODO
Note:
See TracChangeset
for help on using the changeset viewer.