Changeset 28286 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib
- Timestamp:
- Apr 14, 2010 10:02:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibGuestCtrl.cpp
r28233 r28286 147 147 ** @todo Docs! 148 148 */ 149 VBGLR3DECL(int) VbglR3GuestCtrlExecGetHostCmd(uint32_t u32ClientId, uint32_t uNumParms, 150 char *pszCmd, uint32_t cbCmd, 149 VBGLR3DECL(int) VbglR3GuestCtrlExecGetHostCmd(uint32_t u32ClientId, uint32_t uNumParms, 150 uint32_t *puContext, 151 char *pszCmd, uint32_t cbCmd, 151 152 uint32_t *puFlags, 152 char *pszArgs, uint32_t cbArgs,uint32_t *puNumArgs,153 char *pszEnv, uint32_t *pcbEnv,uint32_t *puNumEnvVars,154 char *pszStdIn, uint32_tcbStdIn,155 char *pszStdOut, uint32_tcbStdOut,156 char *pszStdErr, uint32_tcbStdErr,157 char *pszUser, uint32_tcbUser,158 char *pszPassword, uint32_tcbPassword,153 char *pszArgs, uint32_t cbArgs, uint32_t *puNumArgs, 154 char *pszEnv, uint32_t *pcbEnv, uint32_t *puNumEnvVars, 155 char *pszStdIn, uint32_t cbStdIn, 156 char *pszStdOut, uint32_t cbStdOut, 157 char *pszStdErr, uint32_t cbStdErr, 158 char *pszUser, uint32_t cbUser, 159 char *pszPassword, uint32_t cbPassword, 159 160 uint32_t *puTimeLimit) 160 161 { 162 AssertPtr(puContext); 161 163 AssertPtr(pszCmd); 162 164 AssertPtr(puFlags); … … 181 183 Msg.hdr.cParms = uNumParms; 182 184 185 VbglHGCMParmUInt32Set(&Msg.context, 0); /** @todo Put this some header struct! */ 183 186 VbglHGCMParmPtrSet(&Msg.cmd, pszCmd, cbCmd); 184 187 VbglHGCMParmUInt32Set(&Msg.flags, 0); … … 205 208 else 206 209 { 210 Msg.context.GetUInt32(puContext); 207 211 Msg.flags.GetUInt32(puFlags); 208 212 Msg.num_args.GetUInt32(puNumArgs); … … 225 229 */ 226 230 VBGLR3DECL(int) VbglR3GuestCtrlExecReportStatus(uint32_t u32ClientId, 231 uint32_t u32Context, 227 232 uint32_t u32PID, 228 233 uint32_t u32Status, … … 236 241 Msg.hdr.u32ClientID = u32ClientId; 237 242 Msg.hdr.u32Function = GUEST_EXEC_SEND_STATUS; 238 Msg.hdr.cParms = 4; 239 243 Msg.hdr.cParms = 5; 244 245 VbglHGCMParmUInt32Set(&Msg.context, u32Context); 240 246 VbglHGCMParmUInt32Set(&Msg.pid, u32PID); 241 247 VbglHGCMParmUInt32Set(&Msg.status, u32Status);
Note:
See TracChangeset
for help on using the changeset viewer.