Changeset 15366 in vbox for trunk/src/VBox/Devices/Storage/DrvVD.cpp
- Timestamp:
- Dec 12, 2008 1:50:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvVD.cpp
r15156 r15366 552 552 PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface); 553 553 int rc = VDSetPCHSGeometry(pThis->pDisk, VD_LAST_IMAGE, pPCHSGeometry); 554 if (rc == VERR_VD I_GEOMETRY_NOT_SET)554 if (rc == VERR_VD_GEOMETRY_NOT_SET) 555 555 rc = VERR_PDM_GEOMETRY_NOT_SET; 556 556 LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc)); … … 583 583 PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface); 584 584 int rc = VDSetLCHSGeometry(pThis->pDisk, VD_LAST_IMAGE, pLCHSGeometry); 585 if (rc == VERR_VD I_GEOMETRY_NOT_SET)585 if (rc == VERR_VD_GEOMETRY_NOT_SET) 586 586 rc = VERR_PDM_GEOMETRY_NOT_SET; 587 587 LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc)); … … 635 635 PVBOXDISK pThis = PDMITRANSPORTASYNCPORT_2_VBOXDISK(pInterface); 636 636 PDRVVDASYNCTASK pDrvVDAsyncTask = (PDRVVDASYNCTASK)pvUser; 637 int rc = VINF_VD I_ASYNC_IO_FINISHED;637 int rc = VINF_VD_ASYNC_IO_FINISHED; 638 638 639 639 /* Having a completion callback for a task is not mandatory. */ … … 642 642 643 643 /* Check if the request is finished. */ 644 if (rc == VINF_VD I_ASYNC_IO_FINISHED)644 if (rc == VINF_VD_ASYNC_IO_FINISHED) 645 645 { 646 646 rc = pThis->pDrvMediaAsyncPort->pfnTransferCompleteNotify(pThis->pDrvMediaAsyncPort, pDrvVDAsyncTask->pvUserCaller); 647 647 } 648 else if (rc == VERR_VD I_ASYNC_IO_IN_PROGRESS)648 else if (rc == VERR_VD_ASYNC_IO_IN_PROGRESS) 649 649 rc = VINF_SUCCESS; 650 650
Note:
See TracChangeset
for help on using the changeset viewer.