Changeset 11435 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Aug 14, 2008 6:23:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r11353 r11435 749 749 HOSTPARTITIONS partitions; 750 750 uint32_t uPartitions = 0; 751 PVDINTERFACE pVDIfs = NULL; 751 752 752 753 /* let's have a closer look at the arguments */ … … 1150 1151 vdInterfaceErrorCallbacks.pfnError = handleVDError; 1151 1152 1152 vrc = VDInterface Create(&vdInterfaceError, "VBoxManage_IError", VDINTERFACETYPE_ERROR,1153 &vdInterfaceErrorCallbacks, NULL, NULL);1153 vrc = VDInterfaceAdd(&vdInterfaceError, "VBoxManage_IError", VDINTERFACETYPE_ERROR, 1154 &vdInterfaceErrorCallbacks, NULL, &pVDIfs); 1154 1155 AssertRC(vrc); 1155 1156 … … 1257 1258 PVBOXHDD pDisk = NULL; 1258 1259 1260 PVDINTERFACE pVDIfs = NULL; 1259 1261 VDINTERFACE vdInterfaceError; 1260 1262 VDINTERFACEERROR vdInterfaceErrorCallbacks; … … 1263 1265 vdInterfaceErrorCallbacks.pfnError = handleVDError; 1264 1266 1265 int vrc = VDInterface Create(&vdInterfaceError, "VBoxManage_IError", VDINTERFACETYPE_ERROR,1266 &vdInterfaceErrorCallbacks, NULL, NULL);1267 int vrc = VDInterfaceAdd(&vdInterfaceError, "VBoxManage_IError", VDINTERFACETYPE_ERROR, 1268 &vdInterfaceErrorCallbacks, NULL, &pVDIfs); 1267 1269 AssertRC(vrc); 1268 1270 … … 1337 1339 PVBOXHDD pDisk = NULL; 1338 1340 1341 PVDINTERFACE pVDIfs = NULL; 1339 1342 VDINTERFACE vdInterfaceError; 1340 1343 VDINTERFACEERROR vdInterfaceErrorCallbacks; … … 1343 1346 vdInterfaceErrorCallbacks.pfnError = handleVDError; 1344 1347 1345 int vrc = VDInterface Create(&vdInterfaceError, "VBoxManage_IError", VDINTERFACETYPE_ERROR,1346 &vdInterfaceErrorCallbacks, NULL, NULL);1348 int vrc = VDInterfaceAdd(&vdInterfaceError, "VBoxManage_IError", VDINTERFACETYPE_ERROR, 1349 &vdInterfaceErrorCallbacks, NULL, &pVDIfs); 1347 1350 AssertRC(vrc); 1348 1351
Note:
See TracChangeset
for help on using the changeset viewer.