Changeset 69149 in vbox for trunk/src/VBox/Additions/common/VBoxGuest/lib
- Timestamp:
- Oct 20, 2017 2:53:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibSharedFolders.c
r68661 r69149 176 176 rc = data.callInfo.Hdr.rc; 177 177 } 178 else if (rc == VERR_NOT_IMPLEMENTED)179 {180 /* try the legacy interface too; temporary to assure backwards compatibility */181 VBoxSFMapFolder_Old OldData;182 183 VBOX_INIT_CALL(&OldData.callInfo, MAP_FOLDER_OLD, pClient);184 185 OldData.path.type = VMMDevHGCMParmType_LinAddr;186 OldData.path.u.Pointer.size = ShflStringSizeOfBuffer (szFolderName);187 OldData.path.u.Pointer.u.linearAddr = (uintptr_t)szFolderName;188 189 OldData.root.type = VMMDevHGCMParmType_32bit;190 OldData.root.u.value32 = 0;191 192 OldData.delimiter.type = VMMDevHGCMParmType_32bit;193 OldData.delimiter.u.value32 = RTPATH_DELIMITER;194 195 rc = VbglR0HGCMCallRaw(pClient->handle, &OldData.callInfo, sizeof(OldData));196 if (RT_SUCCESS(rc))197 {198 pMap->root = OldData.root.u.value32;199 rc = OldData.callInfo.Hdr.rc;200 }201 }202 178 return rc; 203 179 }
Note:
See TracChangeset
for help on using the changeset viewer.