- 時間撮記:
- 2010-12-13 下午02:40:09 (14 年 以前)
- svn:sync-xref-src-repo-rev:
- 68843
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibSharedFolders.cpp
r33540 r35016 288 288 return rc; 289 289 } 290 291 /** 292 * Retrieves the mount root directory for auto-mounted shared 293 * folders. mount point. If no string is set (VERR_NOT_FOUND) 294 * it's up on the caller (guest) to decide where to mount. 295 * 296 * @returns VBox status code. 297 * @param ppszDir Where to return the directory 298 * string. This shall be freed by 299 * calling RTStrFree. 300 */ 301 VBGLR3DECL(int) VbglR3SharedFolderGetMountDir(char **ppszDir) 302 { 303 AssertPtrReturn(ppszDir, VERR_INVALID_POINTER); 304 int rc; 305 #ifdef VBOX_WITH_GUEST_PROPS 306 uint32_t u32ClientIdGuestProp; 307 rc = VbglR3GuestPropConnect(&u32ClientIdGuestProp); 308 if (RT_SUCCESS(rc)) 309 { 310 rc = VbglR3GuestPropReadValueAlloc(u32ClientIdGuestProp, "/VirtualBox/GuestAdd/SharedFolders/MountDir", ppszDir); 311 VbglR3GuestPropDisconnect(u32ClientIdGuestProp); 312 } 313 #endif 314 return rc; 315 } 316
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器