vbox的更動 98665 路徑 trunk/src/VBox/Additions/common
- 時間撮記:
- 2023-2-21 上午07:49:56 (21 月 以前)
- 位置:
- trunk/src/VBox/Additions/common
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp
r98526 r98665 2625 2625 2626 2626 HGCMReplyFsNotify Msg; 2627 VBGL_HGCM_HDR_INIT(&Msg.reply_hdr.hdr, pCtx->uClientID, GUEST_MSG_FS_NOTIFY, 4);2627 VBGL_HGCM_HDR_INIT(&Msg.reply_hdr.hdr, pCtx->uClientID, GUEST_MSG_FS_NOTIFY, 7); 2628 2628 VbglHGCMParmUInt32Set(&Msg.reply_hdr.context, pCtx->uContextID); 2629 2629 VbglHGCMParmUInt32Set(&Msg.reply_hdr.type, GUEST_FS_NOTIFYTYPE_QUERY_INFO); … … 2634 2634 VbglHGCMParmPtrSet (&Msg.u.queryinfo.acl, pvACL, cbACL); 2635 2635 2636 return VbglR3HGCMCall(&Msg.reply_hdr.hdr, RT_UOFFSET_AFTER(HGCMReply DirNotify, u.read));2636 return VbglR3HGCMCall(&Msg.reply_hdr.hdr, RT_UOFFSET_AFTER(HGCMReplyFsNotify, u.queryinfo)); 2637 2637 } 2638 2638 -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r98526 r98665 1780 1780 if (RT_SUCCESS(rc)) 1781 1781 { 1782 uint32_t fFlagsRuntime = 0; 1783 1782 1784 if (!(fFlags & ~GSTCTL_QUERYINFO_F_VALID_MASK)) 1783 1785 { 1784 uint32_t fFlagsRuntime = 0;1785 1786 if (fFlags & GSTCTL_QUERYINFO_F_ON_LINK) 1786 1787 fFlagsRuntime |= RTPATH_F_ON_LINK; … … 1790 1791 fFlagsRuntime |= RTPATH_F_NO_SYMLINKS; 1791 1792 1793 if (!RTPATH_F_IS_VALID(fFlagsRuntime, 0)) 1794 rc = VERR_INVALID_PARAMETER; 1795 } 1796 else 1797 rc = VERR_INVALID_PARAMETER; 1798 1799 if (RT_FAILURE(rc)) 1800 VGSvcError("Invalid fsqueryinfo flags: %#x (%#x)\n", fFlags, fFlagsRuntime); 1801 1802 if (RT_SUCCESS(rc)) 1803 { 1792 1804 #define CASE_ATTR_ADD_VAL(a_Val) \ 1793 1805 case GSTCTL##a_Val: enmAttrRuntime = RT##a_Val; break; … … 1820 1832 1821 1833 rc = RTPathQueryInfoEx(szPath, &objInfoRuntime, enmAttrRuntime, fFlagsRuntime); 1822 }1823 else1824 {1825 VGSvcError("Invalid stat flags: %#x\n", fFlags);1826 rc = VERR_NOT_SUPPORTED;1827 1834 } 1828 1835
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器