Changeset 27703 in vbox
- Timestamp:
- Mar 25, 2010 1:17:01 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59304
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxGuestLib.h
r27314 r27703 508 508 # endif /* VBOX_WITH_GUEST_PROPS defined */ 509 509 510 # ifdef VBOX_WITH_GUEST_CONTROL 510 511 /** @name Guest control 511 512 * @{ */ 512 513 VBGLR3DECL(int) VbglR3GuestCtrlConnect(uint32_t *pu32ClientId); 513 514 VBGLR3DECL(int) VbglR3GuestCtrlDisconnect(uint32_t u32ClientId); 514 /** @} */ 515 VBGLR3DECL(int) VbglR3GuestCtrlGetHostMsg(uint32_t u32ClientId, uint32_t *pMsg, void **ppvData, uint32_t *pcbData); 516 /** @} */ 517 # endif /* VBOX_WITH_GUEST_CONTROL defined */ 515 518 516 519 /** @name User credentials handling -
trunk/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk
r27687 r27703 91 91 VBoxGuestR3Lib_DEFS = \ 92 92 VBOX_WITH_HGCM \ 93 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS,) 93 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS,) \ 94 $(if $(VBOX_WITH_GUEST_CONTROL),VBOX_WITH_GUEST_CONTROL,) 94 95 VBoxGuestR3Lib_SOURCES = \ 95 96 VBoxGuestR3Lib.cpp \ -
trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk
r27153 r27703 42 42 endif 43 43 ifdef VBOX_WITH_GUEST_CONTROL 44 if1of ($(KBUILD_TARGET), win) 45 VBoxService_DEFS += VBOXSERVICE_CONTROL 46 endif 44 VBoxService_DEFS += VBOX_WITH_GUEST_CONTROL 47 45 endif 48 46 endif … … 58 56 VBoxServiceStats.cpp 59 57 ifdef VBOX_WITH_GUEST_CONTROL 60 if1of ($(KBUILD_TARGET), win) 61 VBoxService_SOURCES += \ 58 VBoxService_SOURCES += \ 62 59 VBoxServiceControl.cpp 63 endif64 60 endif 65 61 ifdef VBOX_WITH_GUEST_PROPS -
trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk
r24907 r27703 45 45 $(if $(VBOX_WITH_SCSI), VBOX_WITH_SCSI) \ 46 46 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS) \ 47 $(if $(VBOX_WITH_GUEST_CONTROL),VBOX_WITH_GUEST_CONTROL) \ 47 48 $(if $(VBOX_WITH_HOSTNETIF_API), VBOX_WITH_HOSTNETIF_API) 48 49 VBoxManage_DEFS.win = _WIN32_WINNT=0x0500 … … 63 64 VBoxManageDisk.cpp \ 64 65 $(if $(VBOX_WITH_GUEST_PROPS),VBoxManageGuestProp.cpp) \ 66 $(if $(VBOX_WITH_GUEST_CONTROL),VBoxManageGuestCtrl.cpp) \ 65 67 VBoxManageHelp.cpp \ 66 68 VBoxManageHostonly.cpp \ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r26548 r27703 385 385 { "guestproperty", handleGuestProperty }, 386 386 #endif 387 #ifdef VBOX_WITH_GUEST_CONTROL 388 { "guestcontrol", handleGuestControl }, 389 #endif 387 390 { "metrics", handleMetrics }, 388 391 { "import", handleImportAppliance }, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r25376 r27703 94 94 #define USAGE_STORAGEATTACH RT_BIT_64(49) 95 95 #define USAGE_STORAGECONTROLLER RT_BIT_64(50) 96 #ifdef VBOX_WITH_GUEST_CONTROL 97 #define USAGE_GUESTCONTROL RT_BIT_64(51) 98 #endif /* VBOX_WITH_GUEST_CONTROL defined */ 96 99 #define USAGE_ALL (~(uint64_t)0) 97 100 /** @} */ … … 168 171 #ifndef VBOX_ONLY_DOCS 169 172 extern int handleGuestProperty(HandlerArg *a); 173 174 /* VBoxManageGuestCtrl.cpp */ 175 extern int handleGuestControl(HandlerArg *a); 176 extern void usageGuestControl(void); 170 177 171 178 /* VBoxManageVMInfo.cpp */ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r27548 r27703 588 588 #endif /* VBOX_WITH_GUEST_PROPS defined */ 589 589 590 #ifdef VBOX_WITH_GUEST_CONTROL 591 if (u64Cmd & USAGE_GUESTCONTROL) 592 usageGuestControl(); 593 #endif /* VBOX_WITH_GUEST_CONTROL defined */ 594 590 595 if (u64Cmd & USAGE_METRICS) 591 596 { -
trunk/src/VBox/HostServices/Makefile.kmk
r26698 r27703 40 40 include $(PATH_SUB_CURRENT)/GuestProperties/Makefile.kmk 41 41 endif 42 ifdef VBOX_WITH_GUEST_CTRL 43 include $(PATH_SUB_CURRENT)/GuestControl/Makefile.kmk 44 endif 42 45 ifdef VBOX_WITH_GUEST_CONTROL 43 46 include $(PATH_SUB_CURRENT)/GuestControl/Makefile.kmk -
trunk/src/VBox/Main/GuestImpl.cpp
r27607 r27703 308 308 } 309 309 310 STDMETHODIMP Guest::ExecuteProgram(IN_BSTR aExecName, ULONG aFlags, 311 ComSafeArrayIn(BSTR, aArguments), ComSafeArrayIn(BSTR, aEnvironment), 312 IN_BSTR aStdIn, IN_BSTR aStdOut, IN_BSTR aStdErr, 313 IN_BSTR aUserName, IN_BSTR aPassword, 314 ULONG aTimeoutMS, ULONG* aPID) 315 { 316 #ifndef VBOX_WITH_GUEST_CONTROL 317 ReturnComNotImplemented(); 318 #else /* VBOX_WITH_GUEST_CONTROL */ 319 return E_NOTIMPL; 320 #endif 321 } 322 310 323 // public methods only for internal purposes 311 324 ///////////////////////////////////////////////////////////////////////////// -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r27685 r27703 8457 8457 <interface 8458 8458 name="IGuest" extends="$unknown" 8459 uuid=" d8556fca-81bc-12af-fca3-365528fa38ca"8459 uuid="9576d333-deb9-4c65-0f06-6a1eb6a833e7" 8460 8460 wsmap="managed" 8461 8461 > … … 8570 8570 <desc>Statistics value</desc> 8571 8571 </param> 8572 </method> 8573 8574 <method name="executeProgram"> 8575 <desc> 8576 Executes an existing program inside the guest VM. 8577 8578 <result name="E_NOTIMPL"> 8579 Not implemented yet. 8580 </result> 8581 8582 </desc> 8583 <param name="execName" type="wstring" dir="in"> 8584 <desc>Foobar</desc> 8585 </param> 8586 <param name="flags" type="unsigned long" dir="in"> 8587 <desc>Foobar</desc> 8588 </param> 8589 <param name="arguments" type="wstring" safearray="yes" dir="in"> 8590 <desc>Foobar</desc> 8591 </param> 8592 <param name="environment" type="wstring" safearray="yes" dir="in"> 8593 <desc>Foobar</desc> 8594 </param> 8595 <param name="stdIn" type="wstring" dir="in"> 8596 <desc>Foobar</desc> 8597 </param> 8598 <param name="stdOut" type="wstring" dir="in"> 8599 <desc>Foobar</desc> 8600 </param> 8601 <param name="stdErr" type="wstring" dir="in"> 8602 <desc>Foobar</desc> 8603 </param> 8604 <param name="userName" type="wstring" dir="in"> 8605 <desc>Foobar</desc> 8606 </param> 8607 <param name="password" type="wstring" dir="in"> 8608 <desc>Foobar</desc> 8609 </param> 8610 <param name="timeoutMS" type="unsigned long" dir="in"> 8611 <desc>Foobar</desc> 8612 </param> 8613 <param name="pid" type="unsigned long" dir="out"> 8614 <desc>Foobar</desc> 8615 </param> 8572 8616 </method> 8573 8617 -
trunk/src/VBox/Main/include/GuestImpl.h
r27607 r27703 72 72 IN_BSTR aDomain, BOOL aAllowInteractiveLogon); 73 73 STDMETHOD(GetStatistic)(ULONG aCpuId, GuestStatisticType_T aStatistic, ULONG *aStatVal); 74 STDMETHOD(ExecuteProgram)(IN_BSTR aExecName, ULONG aFlags, 75 ComSafeArrayIn(BSTR, aArguments), ComSafeArrayIn(BSTR, aEnvironment), 76 IN_BSTR aStdIn, IN_BSTR aStdOut, IN_BSTR aStdErr, 77 IN_BSTR aUserName, IN_BSTR aPassword, 78 ULONG aTimeoutMS, ULONG* aPID); 74 79 75 80 // public methods that are not in IDL
Note:
See TracChangeset
for help on using the changeset viewer.