Changeset 98278 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jan 24, 2023 11:55:00 AM (2 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestFileImpl.h
r98103 r98278 79 79 void* pvData, size_t cbData, size_t* pcbRead); 80 80 int i_seekAt(int64_t iOffset, GUEST_FILE_SEEKTYPE eSeekType, uint32_t uTimeoutMS, uint64_t *puOffset); 81 int i_setFileStatus(FileStatus_T fileStatus, int fileRc);81 int i_setFileStatus(FileStatus_T fileStatus, int vrcFile); 82 82 int i_waitForOffsetChange(GuestWaitEvent *pEvent, uint32_t uTimeoutMS, uint64_t *puOffset); 83 83 int i_waitForRead(GuestWaitEvent *pEvent, uint32_t uTimeoutMS, void *pvData, size_t cbData, uint32_t *pcbRead); -
trunk/src/VBox/Main/include/HGCMThread.h
r98103 r98278 98 98 99 99 /** Result code for a Send */ 100 int32_t m_ rcSend;100 int32_t m_vrcSend; 101 101 102 102 protected: -
trunk/src/VBox/Main/include/Recording.h
r98103 r98278 80 80 bool IsLimitReached(void); 81 81 bool IsLimitReached(uint32_t uScreen, uint64_t msTimestamp); 82 bool NeedsUpdate( 82 bool NeedsUpdate(uint32_t uScreen, uint64_t msTimestamp); 83 83 84 DECLCALLBACK(int) OnLimitReached(uint32_t uScreen, int rc);84 DECLCALLBACK(int) OnLimitReached(uint32_t uScreen, int vrc); 85 85 86 86 protected: -
trunk/src/VBox/Main/src-client/AudioDriver.cpp
r98103 r98278 165 165 } 166 166 else 167 LogRel(("%s: Failed to attach audio driver, rc=%Rrc\n", pCfg->strName.c_str(), vrc));167 LogRel(("%s: Failed to attach audio driver, vrc=%Rrc\n", pCfg->strName.c_str(), vrc)); 168 168 169 169 LogFunc(("Returning %Rrc\n", vrc)); -
trunk/src/VBox/Main/src-client/ConsoleImplTeleporter.cpp
r98262 r98278 1176 1176 { 1177 1177 hrc = setErrorBoth(E_FAIL, vrc, tr("Unexpected RTTcpServerListen status code %Rrc"), vrc); 1178 LogRel(("Teleporter: Unexpected RTTcpServerListen rc: %Rrc\n", vrc));1178 LogRel(("Teleporter: Unexpected RTTcpServerListen vrc: %Rrc\n", vrc)); 1179 1179 } 1180 1180 } -
trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp
r98103 r98278 1773 1773 { 1774 1774 if (vrc != VERR_NET_ADDRESS_IN_USE) 1775 LogRel(("VRDE: Could not start the server rc = %Rrc\n", vrc));1775 LogRel(("VRDE: Could not start the server vrc = %Rrc\n", vrc)); 1776 1776 /* Don't unload the lib, because it prevents us trying again or 1777 1777 because there may be other users? */ … … 1902 1902 else 1903 1903 { 1904 int vrc = p->fFallback ?1905 VERR_NOT_SUPPORTED:/* Try to go out of fallback mode. */1906 1907 if (RT_SUCCESS( rc))1904 int vrc = p->fFallback 1905 ? VERR_NOT_SUPPORTED /* Try to go out of fallback mode. */ 1906 : p->pThis->m_interfaceImage.VRDEImageGeometrySet(p->hImageBitmap, &rect); 1907 if (RT_SUCCESS(vrc)) 1908 1908 { 1909 1909 p->x = x; … … 1945 1945 0, 1946 1946 &fu32CompletionFlags); 1947 if (RT_FAILURE( rc))1947 if (RT_FAILURE(vrc)) 1948 1948 { 1949 1949 /* No support for a 3D + WINDOW. Try bitmap updates. */ … … 1963 1963 } 1964 1964 1965 H3DORLOG(("H3DORGeometry: Image handle create %Rrc, flags 0x%RX32\n", rc, fu32CompletionFlags));1965 H3DORLOG(("H3DORGeometry: Image handle create %Rrc, flags 0x%RX32\n", vrc, fu32CompletionFlags)); 1966 1966 1967 1967 if (RT_SUCCESS(vrc)) -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r98262 r98278 292 292 } 293 293 294 /* Regardless of rc, save what is available:294 /* Regardless of vrc, save what is available: 295 295 * Data format: 296 296 * uint32_t cBlocks; -
trunk/src/VBox/Main/src-client/EmulatedUSBImpl.cpp
r98103 r98278 571 571 RTMemFree(pvData); 572 572 573 LogRelFlowFunc((" rc %Rrc\n", vrc));573 LogRelFlowFunc(("vrc %Rrc\n", vrc)); 574 574 return vrc; 575 575 } -
trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp
r98262 r98278 443 443 vrc = pSession->i_startSessionAsync(); 444 444 445 HRESULT hr = S_OK; 446 445 HRESULT hrc = S_OK; 447 446 if (RT_FAILURE(vrc)) 448 447 { … … 450 449 { 451 450 case VERR_MAX_PROCS_REACHED: 452 hr = setErrorBoth(VBOX_E_MAXIMUM_REACHED, vrc, tr("Maximum number of concurrent guest sessions (%d) reached"),453 VBOX_GUESTCTRL_MAX_SESSIONS);451 hrc = setErrorBoth(VBOX_E_MAXIMUM_REACHED, vrc, tr("Maximum number of concurrent guest sessions (%d) reached"), 452 VBOX_GUESTCTRL_MAX_SESSIONS); 454 453 break; 455 454 … … 457 456 458 457 default: 459 hr = setErrorBoth(VBOX_E_IPRT_ERROR, vrc, tr("Could not create guest session: %Rrc"), vrc);458 hrc = setErrorBoth(VBOX_E_IPRT_ERROR, vrc, tr("Could not create guest session: %Rrc"), vrc); 460 459 break; 461 460 } 462 461 } 463 462 464 LogFlowThisFunc(("Returning rc=%Rhrc\n", hr));465 return hr ;463 LogFlowThisFunc(("Returning hrc=%Rhrc\n", hrc)); 464 return hrc; 466 465 #endif /* VBOX_WITH_GUEST_CONTROL */ 467 466 } -
trunk/src/VBox/Main/src-client/GuestCtrlPrivate.cpp
r98272 r98278 899 899 vrc = VERR_NO_MEMORY; 900 900 } 901 catch (int vrc )902 { 903 vrc = vrc ;901 catch (int vrcCatch) 902 { 903 vrc = vrcCatch; 904 904 } 905 905 -
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r98262 r98278 107 107 return; 108 108 109 /* ignore rc */ pThis->i_sendData(mpCtx, RT_INDEFINITE_WAIT /* msTimeout */);109 pThis->i_sendData(mpCtx, RT_INDEFINITE_WAIT /* msTimeout */); /* ignore return code */ 110 110 } 111 111 … … 1119 1119 DNDTRANSFEROBJECT_FLAGS_NONE); 1120 1120 if (RT_FAILURE(vrc)) 1121 LogRel(("DnD: Opening host file '%s' failed, rc=%Rrc\n", pcszSrcPath, vrc));1121 LogRel(("DnD: Opening host file '%s' failed, vrc=%Rrc\n", pcszSrcPath, vrc)); 1122 1122 } 1123 1123 … … 1177 1177 1178 1178 if (RT_FAILURE(vrc)) 1179 LogRel(("DnD: Sending host file '%s' to guest failed, rc=%Rrc\n", pcszSrcPath, vrc));1179 LogRel(("DnD: Sending host file '%s' to guest failed, vrc=%Rrc\n", pcszSrcPath, vrc)); 1180 1180 1181 1181 LogFlowFuncLeaveRC(vrc); -
trunk/src/VBox/Main/src-client/GuestFileImpl.cpp
r98262 r98278 499 499 AssertRC(vrc2); 500 500 501 /* Ignore r c, as the event to signal might not be there (anymore). */501 /* Ignore return code, as the event to signal might not be there (anymore). */ 502 502 signalWaitEventInternal(pCbCtx, vrcGuest, NULL /* pPayload */); 503 503 return VINF_SUCCESS; /* Report to the guest. */ … … 699 699 GuestWaitEventPayload payload(dataCb.uType, &dataCb, sizeof(dataCb)); 700 700 701 /* Ignore r c, as the event to signal might not be there (anymore). */701 /* Ignore return code, as the event to signal might not be there (anymore). */ 702 702 signalWaitEventInternal(pCbCtx, vrcGuest, &payload); 703 703 } 704 704 else /* OOM situation, wrong HGCM parameters or smth. not expected. */ 705 705 { 706 /* Ignore r c, as the event to signal might not be there (anymore). */706 /* Ignore return code, as the event to signal might not be there (anymore). */ 707 707 signalWaitEventInternalEx(pCbCtx, vrc, 0 /* guestRc */, NULL /* pPayload */); 708 708 } … … 711 711 { 712 712 /* Also try to signal the waiter, to let it know of the OOM situation. 713 * Ignore r c, as the event to signal might not be there (anymore). */713 * Ignore return code, as the event to signal might not be there (anymore). */ 714 714 signalWaitEventInternalEx(pCbCtx, vrcEx, 0 /* guestRc */, NULL /* pPayload */); 715 715 vrc = vrcEx; 716 716 } 717 717 718 LogFlowThisFunc(("uType=%RU32, rcGuest=%Rrc, rc=%Rrc\n", dataCb.uType, vrcGuest, vrc));718 LogFlowThisFunc(("uType=%RU32, rcGuest=%Rrc, vrc=%Rrc\n", dataCb.uType, vrcGuest, vrc)); 719 719 return vrc; 720 720 } … … 966 966 *pcbRead = cbRead; 967 967 } 968 else if (pEvent->HasGuestError()) /* Return guest rc if available. */ 969 { 968 else if (pEvent->HasGuestError()) /* Return guest vrc if available. */ 970 969 vrc = pEvent->GetGuestError(); 971 }972 970 } 973 971 … … 1040 1038 *pcbRead = cbRead; 1041 1039 } 1042 else if (pEvent->HasGuestError()) /* Return guest rc if available. */ 1043 { 1040 else if (pEvent->HasGuestError()) /* Return guest vrc if available. */ 1044 1041 vrc = pEvent->GetGuestError(); 1045 }1046 1042 } 1047 1043 … … 1112 1108 *puOffset = uOffset; 1113 1109 } 1114 else if (pEvent->HasGuestError()) /* Return guest rc if available. */ 1115 { 1110 else if (pEvent->HasGuestError()) /* Return guest vrc if available. */ 1116 1111 vrc = pEvent->GetGuestError(); 1117 }1118 1112 } 1119 1113 … … 1129 1123 * @returns VBox status code. 1130 1124 * @param fileStatus New file status to set. 1131 * @param fileRcNew result code to set.1125 * @param vrcFile New result code to set. 1132 1126 * 1133 1127 * @note Takes the write lock. 1134 1128 */ 1135 int GuestFile::i_setFileStatus(FileStatus_T fileStatus, int fileRc)1129 int GuestFile::i_setFileStatus(FileStatus_T fileStatus, int vrcFile) 1136 1130 { 1137 1131 LogFlowThisFuncEnter(); … … 1139 1133 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1140 1134 1141 LogFlowThisFunc(("oldStatus=%RU32, newStatus=%RU32, fileRc=%Rrc\n", 1142 mData.mStatus, fileStatus, fileRc)); 1135 LogFlowThisFunc(("oldStatus=%RU32, newStatus=%RU32, vrcFile=%Rrc\n", mData.mStatus, fileStatus, vrcFile)); 1143 1136 1144 1137 #ifdef VBOX_STRICT 1145 1138 if (fileStatus == FileStatus_Error) 1146 { 1147 AssertMsg(RT_FAILURE(fileRc), ("Guest rc must be an error (%Rrc)\n", fileRc)); 1148 } 1139 AssertMsg(RT_FAILURE(vrcFile), ("Guest vrc must be an error (%Rrc)\n", vrcFile)); 1149 1140 else 1150 AssertMsg(RT_SUCCESS( fileRc), ("Guest rc must not be an error (%Rrc)\n", fileRc));1141 AssertMsg(RT_SUCCESS(vrcFile), ("Guest vrc must not be an error (%Rrc)\n", vrcFile)); 1151 1142 #endif 1152 1143 … … 1154 1145 { 1155 1146 mData.mStatus = fileStatus; 1156 mData.mLastError = fileRc;1147 mData.mLastError = vrcFile; 1157 1148 1158 1149 ComObjPtr<VirtualBoxErrorInfo> errorInfo; 1159 HRESULT hr = errorInfo.createObject(); 1160 ComAssertComRC(hr); 1161 if (RT_FAILURE(fileRc)) 1162 { 1163 hr = errorInfo->initEx(VBOX_E_IPRT_ERROR, fileRc, 1164 COM_IIDOF(IGuestFile), getComponentName(), 1165 i_guestErrorToString(fileRc, mData.mOpenInfo.mFilename.c_str())); 1166 ComAssertComRC(hr); 1150 HRESULT hrc = errorInfo.createObject(); 1151 ComAssertComRC(hrc); 1152 /** @todo r=bird: this aint making any sense, creating the object and using it 1153 * w/o checking the status code, but discarding it unused based on 1154 * an function input. */ 1155 if (RT_FAILURE(vrcFile)) 1156 { 1157 hrc = errorInfo->initEx(VBOX_E_IPRT_ERROR, vrcFile, 1158 COM_IIDOF(IGuestFile), getComponentName(), 1159 i_guestErrorToString(vrcFile, mData.mOpenInfo.mFilename.c_str())); 1160 ComAssertComRC(hrc); 1167 1161 } 1168 1162 … … 1440 1434 *pcbWritten = cbWritten; 1441 1435 } 1442 else if (pEvent->HasGuestError()) /* Return guest rc if available. */ 1443 { 1436 else if (pEvent->HasGuestError()) /* Return guest vrc if available. */ 1444 1437 vrc = pEvent->GetGuestError(); 1445 }1446 1438 } 1447 1439 … … 1517 1509 *pcbWritten = cbWritten; 1518 1510 } 1519 else if (pEvent->HasGuestError()) /* Return guest rc if available. */ 1520 { 1511 else if (pEvent->HasGuestError()) /* Return guest vrc if available. */ 1521 1512 vrc = pEvent->GetGuestError(); 1522 }1523 1513 } 1524 1514 … … 1834 1824 vrc = VWRN_GSTCTL_OBJECTSTATE_CHANGED; 1835 1825 } 1836 if (RT_FAILURE(vrc) && pWaitEvent->HasGuestError()) /* Return guest rc if available. */1826 if (RT_FAILURE(vrc) && pWaitEvent->HasGuestError()) /* Return guest vrc if available. */ 1837 1827 vrc = pWaitEvent->GetGuestError(); 1838 1828 } -
trunk/src/VBox/Main/src-client/HGCM.cpp
r98103 r98278 162 162 ~HGCMService() {}; 163 163 164 static DECLCALLBACK(int) svcHlpCallComplete(VBOXHGCMCALLHANDLE callHandle, int32_t rc);164 static DECLCALLBACK(int) svcHlpCallComplete(VBOXHGCMCALLHANDLE callHandle, int32_t vrc); 165 165 static DECLCALLBACK(int) svcHlpDisconnectClient(void *pvInstance, uint32_t idClient); 166 166 static DECLCALLBACK(bool) svcHlpIsCallRestored(VBOXHGCMCALLHANDLE callHandle); … … 959 959 * @interface_method_impl{VBOXHGCMSVCHELPERS,pfnCallComplete} 960 960 */ 961 /* static */ DECLCALLBACK(int) HGCMService::svcHlpCallComplete(VBOXHGCMCALLHANDLE callHandle, int32_t rc)961 /* static */ DECLCALLBACK(int) HGCMService::svcHlpCallComplete(VBOXHGCMCALLHANDLE callHandle, int32_t vrc) 962 962 { 963 963 HGCMMsgCore *pMsgCore = (HGCMMsgCore *)callHandle; … … 968 968 */ 969 969 AssertMsgReturn(pMsgCore->MsgId() == SVC_MSG_GUESTCALL, ("%d\n", pMsgCore->MsgId()), VERR_WRONG_TYPE); 970 return hgcmMsgComplete(pMsgCore, rc);970 return hgcmMsgComplete(pMsgCore, vrc); 971 971 } 972 972 … … 1334 1334 * @param pHgcmPort The VMMDev HGCM port interface. 1335 1335 * 1336 * @return VBox rc.1336 * @return VBox status code. 1337 1337 * @thread main HGCM 1338 1338 */ … … 1455 1455 * @param ppSvc Where to store the pointer to the service. 1456 1456 * @param pszServiceName The name of the service. 1457 * @return VBox rc.1457 * @return VBox status code. 1458 1458 * @thread main HGCM 1459 1459 */ … … 1917 1917 } 1918 1918 1919 LogFunc(("idClient=%u m_cClients=%u m_acClients[%u]=%u %s (cPendingCalls=%u) rc=%Rrc\n", u32ClientId, m_cClients,1919 LogFunc(("idClient=%u m_cClients=%u m_acClients[%u]=%u %s (cPendingCalls=%u) vrc=%Rrc\n", u32ClientId, m_cClients, 1920 1920 pClient->idxCategory, m_acClients[pClient->idxCategory], m_pszSvcName, pClient->cPendingCalls, vrc)); 1921 1921 … … 2032 2032 * @param paParms Pointer to array of parameters. 2033 2033 * @param tsArrival The STAM_GET_TS() value when the request arrived. 2034 * @return VBox rc.2034 * @return VBox status code. 2035 2035 * @retval VINF_HGCM_ASYNC_EXECUTE on success. 2036 2036 */ … … 2099 2099 * @param pCmd The VBox HGCM context. 2100 2100 * @param idClient The client handle to be disconnected and deleted. 2101 * @return VBox rc.2101 * @return VBox status code. 2102 2102 */ 2103 2103 void HGCMService::GuestCancelled(PPDMIHGCMPORT pHGCMPort, PVBOXHGCMCMD pCmd, uint32_t idClient) … … 2128 2128 * @param cParms Number of parameters. 2129 2129 * @param paParms Pointer to array of parameters. 2130 * @return VBox rc.2130 * @return VBox status code. 2131 2131 */ 2132 2132 int HGCMService::HostCall(uint32_t u32Function, uint32_t cParms, VBOXHGCMSVCPARM *paParms) … … 2574 2574 * @param pVMM The VMM vtable (for statistics and such). 2575 2575 * @param pHgcmPort The HGCM port on the VMMDev device (for session ID and such). 2576 * @return VBox rc.2576 * @return VBox status code. 2577 2577 */ 2578 2578 int HGCMHostLoad(const char *pszServiceLibrary, … … 2614 2614 * @param pfnExtension The extension entry point (callback). 2615 2615 * @param pvExtension The extension pointer. 2616 * @return VBox rc.2616 * @return VBox status code. 2617 2617 */ 2618 2618 int HGCMHostRegisterServiceExtension(HGCMSVCEXTHANDLE *pHandle, … … 2677 2677 * @param pszServiceName The name of the service to be connected to. 2678 2678 * @param pu32ClientId Where the store the created client handle. 2679 * @return VBox rc.2679 * @return VBox status code. 2680 2680 */ 2681 2681 int HGCMGuestConnect(PPDMIHGCMPORT pHGCMPort, … … 2712 2712 } 2713 2713 2714 LogFlowFunc((" rc = %Rrc\n", vrc));2714 LogFlowFunc(("vrc = %Rrc\n", vrc)); 2715 2715 return vrc; 2716 2716 } … … 2721 2721 * @param pCmd The VBox HGCM context. 2722 2722 * @param u32ClientId The client handle to be disconnected and deleted. 2723 * @return VBox rc.2723 * @return VBox status code. 2724 2724 */ 2725 2725 int HGCMGuestDisconnect(PPDMIHGCMPORT pHGCMPort, … … 2761 2761 * @param idMsg The message to be sent: HGCM_MSG_SAVESTATE or HGCM_MSG_LOADSTATE. 2762 2762 * @param uVersion The state version being loaded. 2763 * @return VBox rc.2763 * @return VBox status code. 2764 2764 */ 2765 2765 static int hgcmHostLoadSaveState(PSSMHANDLE pSSM, PCVMMR3VTABLE pVMM, uint32_t idMsg, uint32_t uVersion) … … 2817 2817 * @param paParms Pointer to array of parameters. 2818 2818 * @param tsArrival The STAM_GET_TS() value when the request arrived. 2819 * @return VBox rc.2819 * @return VBox status code. 2820 2820 */ 2821 2821 int HGCMGuestCall(PPDMIHGCMPORT pHGCMPort, … … 2889 2889 * @param cParms Number of parameters. 2890 2890 * @param paParms Pointer to array of parameters. 2891 * @return VBox rc.2891 * @return VBox status code. 2892 2892 */ 2893 2893 int HGCMHostCall(const char *pszServiceName, … … 2932 2932 * 2933 2933 * @param enmEvent The notification event. 2934 * @return VBox rc.2934 * @return VBox status code. 2935 2935 */ 2936 2936 int HGCMBroadcastEvent(HGCMNOTIFYEVENT enmEvent) -
trunk/src/VBox/Main/src-client/HGCMThread.cpp
r98103 r98278 179 179 m_pPrev = NULL; 180 180 m_fu32Flags = 0; 181 m_ rcSend= VINF_SUCCESS;181 m_vrcSend = VINF_SUCCESS; 182 182 m_pThread = pThread; 183 183 pThread->Reference(); … … 488 488 RTSemEventMultiReset(m_eventSend); 489 489 490 vrc = pMsg->m_ rcSend;490 vrc = pMsg->m_vrcSend; 491 491 } 492 492 } … … 572 572 } 573 573 574 int HGCMThread::MsgComplete(HGCMMsgCore *pMsg, int32_t result)575 { 576 LogFlow(("HGCMThread::MsgComplete: thread = %p, pMsg = %p, result = %Rrc (%d)\n", this, pMsg, result, result));574 int HGCMThread::MsgComplete(HGCMMsgCore *pMsg, int32_t vrcResult) 575 { 576 LogFlow(("HGCMThread::MsgComplete: thread = %p, pMsg = %p, vrcResult = %Rrc (%d)\n", this, pMsg, vrcResult, vrcResult)); 577 577 578 578 AssertRelease(pMsg->m_pThread == this); … … 584 584 /** @todo call callback with error code in MsgPost in case of errors */ 585 585 586 vrcRet = pMsg->m_pfnCallback( result, pMsg);586 vrcRet = pMsg->m_pfnCallback(vrcResult, pMsg); 587 587 588 588 LogFlow(("HGCMThread::MsgComplete: callback executed. pMsg = %p, thread = %p, rcRet = %Rrc\n", pMsg, this, vrcRet)); … … 617 617 618 618 /* This should be done before setting the HGCM_MSG_F_PROCESSED flag. */ 619 pMsg->m_ rcSend = result;619 pMsg->m_vrcSend = vrcResult; 620 620 } 621 621 … … 758 758 } 759 759 760 int hgcmMsgComplete(HGCMMsgCore *pMsg, int32_t rcMsg)761 { 762 LogFlow(("MAIN::hgcmMsgComplete: pMsg = %p, rcMsg = %Rrc (%d)\n", pMsg, rcMsg,rcMsg));760 int hgcmMsgComplete(HGCMMsgCore *pMsg, int32_t vrcMsg) 761 { 762 LogFlow(("MAIN::hgcmMsgComplete: pMsg = %p, vrcMsg = %Rrc (%d)\n", pMsg, vrcMsg, vrcMsg)); 763 763 764 764 int vrc; 765 765 if (pMsg) 766 vrc = pMsg->Thread()->MsgComplete(pMsg, rcMsg);766 vrc = pMsg->Thread()->MsgComplete(pMsg, vrcMsg); 767 767 else 768 768 vrc = VINF_SUCCESS; 769 769 770 LogFlow(("MAIN::hgcmMsgComplete: pMsg = %p, rcMsg =%Rrc (%d), returns vrc = %Rrc\n", pMsg, rcMsg,rcMsg, vrc));770 LogFlow(("MAIN::hgcmMsgComplete: pMsg = %p, vrcMsg =%Rrc (%d), returns vrc = %Rrc\n", pMsg, vrcMsg, vrcMsg, vrc)); 771 771 return vrc; 772 772 } -
trunk/src/VBox/Main/src-client/MachineDebuggerImpl.cpp
r98262 r98278 611 611 int vrc = ptrVM.vtable()->pfnTMR3SetWarpDrive(ptrVM.rawUVM(), aVirtualTimeRate); 612 612 if (RT_FAILURE(vrc)) 613 hrc = setErrorBoth(VBOX_E_VM_ERROR, vrc, tr("TMR3SetWarpDrive(, %u) failed with rc=%Rrc"), aVirtualTimeRate, vrc);613 hrc = setErrorBoth(VBOX_E_VM_ERROR, vrc, tr("TMR3SetWarpDrive(, %u) failed with vrc=%Rrc"), aVirtualTimeRate, vrc); 614 614 } 615 615 } … … 1078 1078 else 1079 1079 hrc = setErrorBoth(VBOX_E_VM_ERROR, vrc, 1080 tr("DBGFR3RegNmQuery failed with rc=%Rrc querying register '%s' with default cpu set to %u"),1080 tr("DBGFR3RegNmQuery failed with vrc=%Rrc querying register '%s' with default cpu set to %u"), 1081 1081 vrc, aName.c_str(), aCpuId); 1082 1082 } -
trunk/src/VBox/Main/src-client/Recording.cpp
r98103 r98278 71 71 * Recording context constructor. 72 72 * 73 * @note Will throw rc when unable to create.73 * @note Will throw vrc when unable to create. 74 74 */ 75 75 RecordingContext::RecordingContext(void) … … 89 89 * @param Settings Reference to recording settings to use for creation. 90 90 * 91 * @note Will throw rc when unable to create.91 * @note Will throw vrc when unable to create. 92 92 */ 93 93 RecordingContext::RecordingContext(Console *ptrConsole, const settings::RecordingSettings &Settings) … … 437 437 break; 438 438 } 439 catch (int vrc_thrown) /* Catch rc thrown by constructor. */439 catch (int vrc_thrown) /* Catch vrc thrown by constructor. */ 440 440 { 441 441 vrc = vrc_thrown; … … 858 858 } 859 859 860 DECLCALLBACK(int) RecordingContext::OnLimitReached(uint32_t uScreen, int rc)861 { 862 RT_NOREF(uScreen, rc);863 LogFlowThisFunc(("Stream %RU32 has reached its limit (%Rrc)\n", uScreen, rc));860 DECLCALLBACK(int) RecordingContext::OnLimitReached(uint32_t uScreen, int vrc) 861 { 862 RT_NOREF(uScreen, vrc); 863 LogFlowThisFunc(("Stream %RU32 has reached its limit (%Rrc)\n", uScreen, vrc)); 864 864 865 865 lock(); -
trunk/src/VBox/Main/src-client/RecordingCodec.cpp
r98103 r98278 444 444 445 445 if (RT_FAILURE(vrc)) 446 LogRel(("Recording: Encoding Vorbis audio data failed, rc=%Rrc\n", vrc));446 LogRel(("Recording: Encoding Vorbis audio data failed, vrc=%Rrc\n", vrc)); 447 447 448 448 Log3Func(("cbSrc=%zu, cbDst=%zu, cEncoded=%zu, cbEncoded=%zu, vrc=%Rrc\n", -
trunk/src/VBox/Main/src-client/RecordingStream.cpp
r98103 r98278 209 209 m_fEnabled = false; 210 210 211 int vrc2 = m_pCtx->OnLimitReached(m_uScreenID, VINF_SUCCESS /* rc */);211 int vrc2 = m_pCtx->OnLimitReached(m_uScreenID, VINF_SUCCESS /* vrc */); 212 212 AssertRC(vrc2); 213 213 break; … … 853 853 else 854 854 { 855 LogRel(("Recording: Error closing file '%s', rc=%Rrc\n", m_ScreenSettings.File.strName.c_str(), vrc));855 LogRel(("Recording: Error closing file '%s', vrc=%Rrc\n", m_ScreenSettings.File.strName.c_str(), vrc)); 856 856 break; 857 857 } … … 867 867 { 868 868 int vrc2 = RTFileDelete(m_ScreenSettings.File.strName.c_str()); 869 AssertRC(vrc2); /* Ignore rc on non-debug builds. */869 AssertRC(vrc2); /* Ignore vrc on non-debug builds. */ 870 870 } 871 871 -
trunk/src/VBox/Main/src-client/RemoteUSBBackend.cpp
r98103 r98278 203 203 vrc = pThis->reapURB(pvRet, cbRet); 204 204 205 LogFlow(("USBClientResponseCallback: reap URB, rc = %Rrc.\n", vrc));205 LogFlow(("USBClientResponseCallback: reap URB, vrc = %Rrc.\n", vrc)); 206 206 } break; 207 207
Note:
See TracChangeset
for help on using the changeset viewer.