Changeset 102833 in vbox for trunk/src/VBox/Additions/common/VBoxGuest/lib
- Timestamp:
- Jan 11, 2024 9:18:25 AM (16 months ago)
- svn:sync-xref-src-repo-rev:
- 161027
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp
r102654 r102833 1274 1274 * 1275 1275 * @param pCtx Guest control command context to use. 1276 */ 1277 VBGLR3DECL(int) VbglR3GuestCtrlGetMountPoints(PVBGLR3GUESTCTRLCMDCTX pCtx) 1278 { 1279 AssertPtrReturn(pCtx, VERR_INVALID_POINTER); 1280 AssertReturn(pCtx->uNumParms == 1, VERR_INVALID_PARAMETER); 1281 1282 int rc; 1283 do 1284 { 1285 HGCMMsgPathUserHome Msg; 1276 * @param pfFlags Where to return the get mount point flags on success. 1277 */ 1278 VBGLR3DECL(int) VbglR3GuestCtrlGetMountPoints(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t *pfFlags) 1279 { 1280 AssertPtrReturn(pCtx, VERR_INVALID_POINTER); 1281 AssertReturn(pCtx->uNumParms == 2, VERR_INVALID_PARAMETER); 1282 AssertPtrReturn(pfFlags, VERR_INVALID_POINTER); 1283 1284 int rc; 1285 do 1286 { 1287 HGCMMsgMountPoints Msg; 1286 1288 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, vbglR3GuestCtrlGetMsgFunctionNo(pCtx->uClientID), pCtx->uNumParms); 1287 1289 VbglHGCMParmUInt32Set(&Msg.context, HOST_MSG_MOUNT_POINTS); … … 1289 1291 rc = VbglR3HGCMCall(&Msg.hdr, sizeof(Msg)); 1290 1292 if (RT_SUCCESS(rc)) 1291 Msg.context.GetUInt32(&pCtx->uContextID); 1293 { 1294 Msg.context.GetUInt32(&pCtx->uContextID); 1295 Msg.flags.GetUInt32(pfFlags); 1296 } 1292 1297 } while (rc == VERR_INTERRUPTED && g_fVbglR3GuestCtrlHavePeekGetCancel); 1293 1298 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.