Changeset 102831 in vbox
- Timestamp:
- Jan 11, 2024 8:56:53 AM (11 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r102654 r102831 832 832 /** Supports specifying the working directory for run / start. */ 833 833 #define VBOX_GUESTCTRL_GF_0_PROCESS_CWD RT_BIT_64(5) 834 /** Supports enumerating the guest mount points / drive letters. 835 * @since 7.1 */ 836 #define VBOX_GUESTCTRL_GF_0_MOUNT_POINTS_ENUM RT_BIT_64(6) 834 837 /** Bit that must be set in the 2nd parameter, will be cleared if the host reponds 835 838 * correctly (old hosts might not). */ … … 1688 1691 1689 1692 #endif /* !VBOX_INCLUDED_HostServices_GuestControlSvc_h */ 1690 -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControl.cpp
r99120 r102831 262 262 | VBOX_GUESTCTRL_GF_0_TOOLBOX_AS_CMDS 263 263 #endif /* VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS */ 264 | VBOX_GUESTCTRL_GF_0_SHUTDOWN; 264 | VBOX_GUESTCTRL_GF_0_SHUTDOWN 265 | VBOX_GUESTCTRL_GF_0_MOUNT_POINTS_ENUM; 265 266 rc = VbglR3GuestCtrlReportFeatures(g_idControlSvcClient, fGuestFeatures, &g_fControlHostFeatures0); 266 267 if (RT_SUCCESS(rc)) 267 268 VGSvcVerbose(3, "Host features: %#RX64\n", g_fControlHostFeatures0); 268 269 else 269 VGSvcVerbose(1, "Warning! Feature repor ing failed: %Rrc\n", rc);270 VGSvcVerbose(1, "Warning! Feature reporting failed: %Rrc\n", rc); 270 271 271 272 return VINF_SUCCESS; -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r102749 r102831 2450 2450 2451 2451 com::SafeArray<BSTR> mountPoints; 2452 CHECK_ERROR (pCtx->pGuestSession, COMGETTER(MountPoints)(ComSafeArrayAsOutParam(mountPoints)));2452 CHECK_ERROR_RET(pCtx->pGuestSession, COMGETTER(MountPoints)(ComSafeArrayAsOutParam(mountPoints)), RTEXITCODE_FAILURE); 2453 2453 2454 2454 for (size_t i = 0; i < mountPoints.size(); ++i) … … 2458 2458 RTPrintf("Found %zu mount points\n", mountPoints.size()); 2459 2459 2460 return FAILED(hrc) ? RTEXITCODE_FAILURE :RTEXITCODE_SUCCESS;2460 return RTEXITCODE_SUCCESS; 2461 2461 } 2462 2462 -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r102680 r102831 3156 3156 * 3157 3157 * @returns VBox status code. 3158 * @retval VERR_NOT_SUPPORTED if the installed Guest Additions do not support this feature. 3158 3159 * @param vecMountPoints Where to return the mount points (guest-style paths). 3159 3160 * @param pvrcGuest Guest VBox status code, when returning … … 3166 3167 { 3167 3168 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 3169 3170 if (!(mParent->i_getGuestControlFeatures0() & VBOX_GUESTCTRL_GF_0_MOUNT_POINTS_ENUM)) 3171 return VERR_NOT_SUPPORTED; 3168 3172 3169 3173 GuestWaitEvent *pEvent = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.