Changeset 28286 in vbox for trunk/include
- Timestamp:
- Apr 14, 2010 10:02:30 AM (15 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r28243 r28286 72 72 }; 73 73 74 typedef struct _VBoxGuestCtrlCallbackHeader 75 { 76 /** Magic number to identify the structure. */ 77 uint32_t u32Magic; 78 /** Context ID to identify callback data. */ 79 uint32_t u32ContextID; 80 /** Atomic flag whether callback was called. */ 81 bool bCalled; 82 } HOSTCCALLBACKHEADER, *PHOSTCCALLBACKHEADER; 83 74 84 /** 75 85 * Data structure to pass to the service extension callback. We use this to … … 78 88 typedef struct _VBoxGuestCtrlExecCallbackData 79 89 { 80 /** Magic number to identify the structure. */81 uint32_t u32Magic;90 /** Callback data header. */ 91 HOSTCCALLBACKHEADER hdr; 82 92 /** The process ID (PID). */ 83 uint32_t pid;93 uint32_t u32PID; 84 94 /* The process status. */ 85 uint32_t status;95 uint32_t u32Status; 86 96 /** Optional flags (not used atm). */ 87 uint32_t flags;97 uint32_t u32Flags; 88 98 /** Optional data buffer (not used atm). */ 89 99 void *pvData; 90 100 /** Size of optional data buffer (not used atm). */ 91 101 uint32_t cbData; 92 /** Atomic flags whether callback was called. */93 bool called;94 102 95 103 } HOSTEXECCALLBACKDATA, *PHOSTEXECCALLBACKDATA; … … 97 105 enum 98 106 { 99 /** Magic number for sanity checking the HOST CALLBACKDATA structure */100 HOST CALLBACKMAGIC = 0x26011982107 /** Magic number for sanity checking the HOSTEXECCALLBACKDATA structure */ 108 HOSTEXECCALLBACKDATAMAGIC = 0x26011982 101 109 }; 102 110 … … 184 192 { 185 193 VBoxGuestHGCMCallInfo hdr; 194 195 HGCMFunctionParameter context; 186 196 187 197 HGCMFunctionParameter cmd; … … 216 226 { 217 227 VBoxGuestHGCMCallInfo hdr; 228 /** Context ID. */ 229 HGCMFunctionParameter context; 218 230 /** The process ID (PID). */ 219 231 HGCMFunctionParameter pid; -
trunk/include/VBox/VBoxGuestLib.h
r28218 r28286 514 514 VBGLR3DECL(int) VbglR3GuestCtrlDisconnect(uint32_t u32ClientId); 515 515 VBGLR3DECL(int) VbglR3GuestCtrlGetHostMsg(uint32_t u32ClientId, uint32_t *puMsg, uint32_t *puNumParms); 516 VBGLR3DECL(int) VbglR3GuestCtrlExecGetHostCmd(uint32_t u32ClientId, uint32_t uNumParms, 517 char *pszCmd, uint32_t cbCmd, 516 VBGLR3DECL(int) VbglR3GuestCtrlExecGetHostCmd(uint32_t u32ClientId, uint32_t uNumParms, 517 uint32_t *puContext, 518 char *pszCmd, uint32_t cbCmd, 518 519 uint32_t *puFlags, 519 char *pszArgs, uint32_t cbArgs,uint32_t *puNumArgs,520 char *pszEnv, uint32_t *pcbEnv,uint32_t *puNumEnvVars,521 char *pszStdIn, uint32_tcbStdIn,522 char *pszStdOut, uint32_tcbStdOut,523 char *pszStdErr, uint32_tcbStdErr,524 char *pszUser, uint32_tcbUser,525 char *pszPassword, uint32_tcbPassword,520 char *pszArgs, uint32_t cbArgs, uint32_t *puNumArgs, 521 char *pszEnv, uint32_t *pcbEnv, uint32_t *puNumEnvVars, 522 char *pszStdIn, uint32_t cbStdIn, 523 char *pszStdOut, uint32_t cbStdOut, 524 char *pszStdErr, uint32_t cbStdErr, 525 char *pszUser, uint32_t cbUser, 526 char *pszPassword, uint32_t cbPassword, 526 527 uint32_t *puTimeLimit); 527 VBGLR3DECL(int) VbglR3GuestCtrlExecReportStatus(uint32_t u32ClientId, 528 VBGLR3DECL(int) VbglR3GuestCtrlExecReportStatus(uint32_t u32ClientId, 529 uint32_t u32Context, 528 530 uint32_t u32PID, 529 531 uint32_t u32Status,
Note:
See TracChangeset
for help on using the changeset viewer.