Changeset 3954 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Aug 1, 2007 9:09:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxCalls.c
r3944 r3954 217 217 rc = data.callInfo.result; 218 218 } 219 else 220 if (rc == VERR_NOT_IMPLEMENTED) 221 { 222 /* try the legacy interface too; temporary to assure backwards compatibility */ 223 VBoxSFMapFolder_Old data; 224 225 VBOX_INIT_CALL(&data.callInfo, MAP_FOLDER_OLD, pClient); 226 227 data.path.type = VMMDevHGCMParmType_LinAddr; 228 data.path.u.Pointer.size = ShflStringSizeOfBuffer (szFolderName); 229 data.path.u.Pointer.u.linearAddr = (VBOXGCPTR)szFolderName; 230 231 data.root.type = VMMDevHGCMParmType_32bit; 232 data.root.u.value32 = 0; 233 234 data.delimiter.type = VMMDevHGCMParmType_32bit; 235 data.delimiter.u.value32 = RTPATH_DELIMITER; 236 237 rc = VbglHGCMCall (pClient->handle, &data.callInfo, sizeof (data)); 238 239 if (VBOX_SUCCESS (rc)) 240 { 241 pMap->root = data.root.u.value32; 242 rc = data.callInfo.result; 243 } 244 } 219 245 return rc; 220 246 }
Note:
See TracChangeset
for help on using the changeset viewer.