VirtualBox

Changeset 98278 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 24, 2023 11:55:00 AM (2 years ago)
Author:
vboxsync
Message:

Main/src-client: Some more rc -> hrc/vrc stuff found by grep. A build fix. bugref:10223

Location:
trunk/src/VBox/Main
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestFileImpl.h

    r98103 r98278  
    7979                                 void* pvData, size_t cbData, size_t* pcbRead);
    8080    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);
    8282    int             i_waitForOffsetChange(GuestWaitEvent *pEvent, uint32_t uTimeoutMS, uint64_t *puOffset);
    8383    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  
    9898
    9999        /** Result code for a Send */
    100         int32_t m_rcSend;
     100        int32_t m_vrcSend;
    101101
    102102    protected:
  • trunk/src/VBox/Main/include/Recording.h

    r98103 r98278  
    8080    bool IsLimitReached(void);
    8181    bool IsLimitReached(uint32_t uScreen, uint64_t msTimestamp);
    82     bool NeedsUpdate( uint32_t uScreen, uint64_t msTimestamp);
     82    bool NeedsUpdate(uint32_t uScreen, uint64_t msTimestamp);
    8383
    84     DECLCALLBACK(int) OnLimitReached(uint32_t uScreen, int rc);
     84    DECLCALLBACK(int) OnLimitReached(uint32_t uScreen, int vrc);
    8585
    8686protected:
  • trunk/src/VBox/Main/src-client/AudioDriver.cpp

    r98103 r98278  
    165165    }
    166166    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));
    168168
    169169    LogFunc(("Returning %Rrc\n", vrc));
  • trunk/src/VBox/Main/src-client/ConsoleImplTeleporter.cpp

    r98262 r98278  
    11761176                    {
    11771177                        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));
    11791179                    }
    11801180                }
  • trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp

    r98103 r98278  
    17731773            {
    17741774                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));
    17761776                /* Don't unload the lib, because it prevents us trying again or
    17771777                   because there may be other users? */
     
    19021902        else
    19031903        {
    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(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))
    19081908            {
    19091909                p->x = x;
     
    19451945                                                                   0,
    19461946                                                                   &fu32CompletionFlags);
    1947         if (RT_FAILURE(rc))
     1947        if (RT_FAILURE(vrc))
    19481948        {
    19491949            /* No support for a 3D + WINDOW. Try bitmap updates. */
     
    19631963        }
    19641964
    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));
    19661966
    19671967        if (RT_SUCCESS(vrc))
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r98262 r98278  
    292292    }
    293293
    294     /* Regardless of rc, save what is available:
     294    /* Regardless of vrc, save what is available:
    295295     * Data format:
    296296     *    uint32_t cBlocks;
  • trunk/src/VBox/Main/src-client/EmulatedUSBImpl.cpp

    r98103 r98278  
    571571    RTMemFree(pvData);
    572572
    573     LogRelFlowFunc(("rc %Rrc\n", vrc));
     573    LogRelFlowFunc(("vrc %Rrc\n", vrc));
    574574    return vrc;
    575575}
  • trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp

    r98262 r98278  
    443443        vrc = pSession->i_startSessionAsync();
    444444
    445     HRESULT hr = S_OK;
    446 
     445    HRESULT hrc = S_OK;
    447446    if (RT_FAILURE(vrc))
    448447    {
     
    450449        {
    451450            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);
    454453                break;
    455454
     
    457456
    458457            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);
    460459                break;
    461460        }
    462461    }
    463462
    464     LogFlowThisFunc(("Returning rc=%Rhrc\n", hr));
    465     return hr;
     463    LogFlowThisFunc(("Returning hrc=%Rhrc\n", hrc));
     464    return hrc;
    466465#endif /* VBOX_WITH_GUEST_CONTROL */
    467466}
  • trunk/src/VBox/Main/src-client/GuestCtrlPrivate.cpp

    r98272 r98278  
    899899        vrc = VERR_NO_MEMORY;
    900900    }
    901     catch (int vrc)
    902     {
    903         vrc = vrc;
     901    catch (int vrcCatch)
     902    {
     903        vrc = vrcCatch;
    904904    }
    905905
  • trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp

    r98262 r98278  
    107107            return;
    108108
    109         /* ignore rc */ pThis->i_sendData(mpCtx, RT_INDEFINITE_WAIT /* msTimeout */);
     109        pThis->i_sendData(mpCtx, RT_INDEFINITE_WAIT /* msTimeout */); /* ignore return code */
    110110    }
    111111
     
    11191119                                    DNDTRANSFEROBJECT_FLAGS_NONE);
    11201120        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));
    11221122    }
    11231123
     
    11771177
    11781178    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));
    11801180
    11811181    LogFlowFuncLeaveRC(vrc);
  • trunk/src/VBox/Main/src-client/GuestFileImpl.cpp

    r98262 r98278  
    499499        AssertRC(vrc2);
    500500
    501         /* Ignore rc, as the event to signal might not be there (anymore). */
     501        /* Ignore return code, as the event to signal might not be there (anymore). */
    502502        signalWaitEventInternal(pCbCtx, vrcGuest, NULL /* pPayload */);
    503503        return VINF_SUCCESS; /* Report to the guest. */
     
    699699            GuestWaitEventPayload payload(dataCb.uType, &dataCb, sizeof(dataCb));
    700700
    701             /* Ignore rc, as the event to signal might not be there (anymore). */
     701            /* Ignore return code, as the event to signal might not be there (anymore). */
    702702            signalWaitEventInternal(pCbCtx, vrcGuest, &payload);
    703703        }
    704704        else /* OOM situation, wrong HGCM parameters or smth. not expected. */
    705705        {
    706             /* Ignore rc, as the event to signal might not be there (anymore). */
     706            /* Ignore return code, as the event to signal might not be there (anymore). */
    707707            signalWaitEventInternalEx(pCbCtx, vrc, 0 /* guestRc */, NULL /* pPayload */);
    708708        }
     
    711711    {
    712712        /* Also try to signal the waiter, to let it know of the OOM situation.
    713          * Ignore rc, as the event to signal might not be there (anymore). */
     713         * Ignore return code, as the event to signal might not be there (anymore). */
    714714        signalWaitEventInternalEx(pCbCtx, vrcEx, 0 /* guestRc */, NULL /* pPayload */);
    715715        vrc = vrcEx;
    716716    }
    717717
    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));
    719719    return vrc;
    720720}
     
    966966                *pcbRead = cbRead;
    967967        }
    968         else if (pEvent->HasGuestError()) /* Return guest rc if available. */
    969         {
     968        else if (pEvent->HasGuestError()) /* Return guest vrc if available. */
    970969            vrc = pEvent->GetGuestError();
    971         }
    972970    }
    973971
     
    10401038                *pcbRead = cbRead;
    10411039        }
    1042         else if (pEvent->HasGuestError()) /* Return guest rc if available. */
    1043         {
     1040        else if (pEvent->HasGuestError()) /* Return guest vrc if available. */
    10441041            vrc = pEvent->GetGuestError();
    1045         }
    10461042    }
    10471043
     
    11121108                *puOffset = uOffset;
    11131109        }
    1114         else if (pEvent->HasGuestError()) /* Return guest rc if available. */
    1115         {
     1110        else if (pEvent->HasGuestError()) /* Return guest vrc if available. */
    11161111            vrc = pEvent->GetGuestError();
    1117         }
    11181112    }
    11191113
     
    11291123 * @returns VBox status code.
    11301124 * @param   fileStatus          New file status to set.
    1131  * @param   fileRc              New result code to set.
     1125 * @param   vrcFile             New result code to set.
    11321126 *
    11331127 * @note    Takes the write lock.
    11341128 */
    1135 int GuestFile::i_setFileStatus(FileStatus_T fileStatus, int fileRc)
     1129int GuestFile::i_setFileStatus(FileStatus_T fileStatus, int vrcFile)
    11361130{
    11371131    LogFlowThisFuncEnter();
     
    11391133    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    11401134
    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));
    11431136
    11441137#ifdef VBOX_STRICT
    11451138    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));
    11491140    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));
    11511142#endif
    11521143
     
    11541145    {
    11551146        mData.mStatus    = fileStatus;
    1156         mData.mLastError = fileRc;
     1147        mData.mLastError = vrcFile;
    11571148
    11581149        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);
    11671161        }
    11681162
     
    14401434                *pcbWritten = cbWritten;
    14411435        }
    1442         else if (pEvent->HasGuestError()) /* Return guest rc if available. */
    1443         {
     1436        else if (pEvent->HasGuestError()) /* Return guest vrc if available. */
    14441437            vrc = pEvent->GetGuestError();
    1445         }
    14461438    }
    14471439
     
    15171509                *pcbWritten = cbWritten;
    15181510        }
    1519         else if (pEvent->HasGuestError()) /* Return guest rc if available. */
    1520         {
     1511        else if (pEvent->HasGuestError()) /* Return guest vrc if available. */
    15211512            vrc = pEvent->GetGuestError();
    1522         }
    15231513    }
    15241514
     
    18341824                    vrc = VWRN_GSTCTL_OBJECTSTATE_CHANGED;
    18351825            }
    1836             if (RT_FAILURE(vrc) && pWaitEvent->HasGuestError()) /* Return guest rc if available. */
     1826            if (RT_FAILURE(vrc) && pWaitEvent->HasGuestError()) /* Return guest vrc if available. */
    18371827                vrc = pWaitEvent->GetGuestError();
    18381828        }
  • trunk/src/VBox/Main/src-client/HGCM.cpp

    r98103 r98278  
    162162        ~HGCMService() {};
    163163
    164         static DECLCALLBACK(int)  svcHlpCallComplete(VBOXHGCMCALLHANDLE callHandle, int32_t rc);
     164        static DECLCALLBACK(int)  svcHlpCallComplete(VBOXHGCMCALLHANDLE callHandle, int32_t vrc);
    165165        static DECLCALLBACK(int)  svcHlpDisconnectClient(void *pvInstance, uint32_t idClient);
    166166        static DECLCALLBACK(bool) svcHlpIsCallRestored(VBOXHGCMCALLHANDLE callHandle);
     
    959959 * @interface_method_impl{VBOXHGCMSVCHELPERS,pfnCallComplete}
    960960 */
    961 /* static */ DECLCALLBACK(int) HGCMService::svcHlpCallComplete(VBOXHGCMCALLHANDLE callHandle, int32_t rc)
     961/* static */ DECLCALLBACK(int) HGCMService::svcHlpCallComplete(VBOXHGCMCALLHANDLE callHandle, int32_t vrc)
    962962{
    963963   HGCMMsgCore *pMsgCore = (HGCMMsgCore *)callHandle;
     
    968968    */
    969969   AssertMsgReturn(pMsgCore->MsgId() == SVC_MSG_GUESTCALL, ("%d\n", pMsgCore->MsgId()), VERR_WRONG_TYPE);
    970    return hgcmMsgComplete(pMsgCore, rc);
     970   return hgcmMsgComplete(pMsgCore, vrc);
    971971}
    972972
     
    13341334 * @param   pHgcmPort          The VMMDev HGCM port interface.
    13351335 *
    1336  * @return  VBox rc.
     1336 * @return  VBox status code.
    13371337 * @thread  main HGCM
    13381338 */
     
    14551455 * @param ppSvc          Where to store the pointer to the service.
    14561456 * @param pszServiceName The name of the service.
    1457  * @return VBox rc.
     1457 * @return VBox status code.
    14581458 * @thread main HGCM
    14591459 */
     
    19171917    }
    19181918
    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,
    19201920             pClient->idxCategory, m_acClients[pClient->idxCategory], m_pszSvcName, pClient->cPendingCalls, vrc));
    19211921
     
    20322032 * @param paParms        Pointer to array of parameters.
    20332033 * @param tsArrival      The STAM_GET_TS() value when the request arrived.
    2034  * @return VBox rc.
     2034 * @return VBox status code.
    20352035 * @retval VINF_HGCM_ASYNC_EXECUTE on success.
    20362036 */
     
    20992099 * @param   pCmd           The VBox HGCM context.
    21002100 * @param   idClient       The client handle to be disconnected and deleted.
    2101  * @return  VBox rc.
     2101 * @return  VBox status code.
    21022102 */
    21032103void HGCMService::GuestCancelled(PPDMIHGCMPORT pHGCMPort, PVBOXHGCMCMD pCmd, uint32_t idClient)
     
    21282128 * @param cParms         Number of parameters.
    21292129 * @param paParms        Pointer to array of parameters.
    2130  * @return VBox rc.
     2130 * @return VBox status code.
    21312131 */
    21322132int HGCMService::HostCall(uint32_t u32Function, uint32_t cParms, VBOXHGCMSVCPARM *paParms)
     
    25742574 * @param pVMM               The VMM vtable (for statistics and such).
    25752575 * @param pHgcmPort          The HGCM port on the VMMDev device (for session ID and such).
    2576  * @return VBox rc.
     2576 * @return VBox status code.
    25772577 */
    25782578int HGCMHostLoad(const char *pszServiceLibrary,
     
    26142614 * @param pfnExtension       The extension entry point (callback).
    26152615 * @param pvExtension        The extension pointer.
    2616  * @return VBox rc.
     2616 * @return VBox status code.
    26172617 */
    26182618int HGCMHostRegisterServiceExtension(HGCMSVCEXTHANDLE *pHandle,
     
    26772677 * @param pszServiceName The name of the service to be connected to.
    26782678 * @param pu32ClientId   Where the store the created client handle.
    2679  * @return VBox rc.
     2679 * @return VBox status code.
    26802680 */
    26812681int HGCMGuestConnect(PPDMIHGCMPORT pHGCMPort,
     
    27122712    }
    27132713
    2714     LogFlowFunc(("rc = %Rrc\n", vrc));
     2714    LogFlowFunc(("vrc = %Rrc\n", vrc));
    27152715    return vrc;
    27162716}
     
    27212721 * @param pCmd           The VBox HGCM context.
    27222722 * @param u32ClientId    The client handle to be disconnected and deleted.
    2723  * @return VBox rc.
     2723 * @return VBox status code.
    27242724 */
    27252725int HGCMGuestDisconnect(PPDMIHGCMPORT pHGCMPort,
     
    27612761 * @param idMsg    The message to be sent: HGCM_MSG_SAVESTATE or HGCM_MSG_LOADSTATE.
    27622762 * @param uVersion The state version being loaded.
    2763  * @return VBox rc.
     2763 * @return VBox status code.
    27642764 */
    27652765static int hgcmHostLoadSaveState(PSSMHANDLE pSSM, PCVMMR3VTABLE pVMM, uint32_t idMsg, uint32_t uVersion)
     
    28172817 * @param paParms        Pointer to array of parameters.
    28182818 * @param tsArrival      The STAM_GET_TS() value when the request arrived.
    2819  * @return VBox rc.
     2819 * @return VBox status code.
    28202820 */
    28212821int HGCMGuestCall(PPDMIHGCMPORT pHGCMPort,
     
    28892889 * @param cParms         Number of parameters.
    28902890 * @param paParms        Pointer to array of parameters.
    2891  * @return VBox rc.
     2891 * @return VBox status code.
    28922892 */
    28932893int HGCMHostCall(const char *pszServiceName,
     
    29322932 *
    29332933 * @param   enmEvent    The notification event.
    2934  * @return  VBox rc.
     2934 * @return  VBox status code.
    29352935 */
    29362936int HGCMBroadcastEvent(HGCMNOTIFYEVENT enmEvent)
  • trunk/src/VBox/Main/src-client/HGCMThread.cpp

    r98103 r98278  
    179179    m_pPrev       = NULL;
    180180    m_fu32Flags   = 0;
    181     m_rcSend      = VINF_SUCCESS;
     181    m_vrcSend     = VINF_SUCCESS;
    182182    m_pThread     = pThread;
    183183    pThread->Reference();
     
    488488                RTSemEventMultiReset(m_eventSend);
    489489
    490             vrc = pMsg->m_rcSend;
     490            vrc = pMsg->m_vrcSend;
    491491        }
    492492    }
     
    572572}
    573573
    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));
     574int HGCMThread::MsgComplete(HGCMMsgCore *pMsg, int32_t vrcResult)
     575{
     576    LogFlow(("HGCMThread::MsgComplete: thread = %p, pMsg = %p, vrcResult = %Rrc (%d)\n", this, pMsg, vrcResult, vrcResult));
    577577
    578578    AssertRelease(pMsg->m_pThread == this);
     
    584584        /** @todo call callback with error code in MsgPost in case of errors */
    585585
    586         vrcRet = pMsg->m_pfnCallback(result, pMsg);
     586        vrcRet = pMsg->m_pfnCallback(vrcResult, pMsg);
    587587
    588588        LogFlow(("HGCMThread::MsgComplete: callback executed. pMsg = %p, thread = %p, rcRet = %Rrc\n", pMsg, this, vrcRet));
     
    617617
    618618            /* This should be done before setting the HGCM_MSG_F_PROCESSED flag. */
    619             pMsg->m_rcSend = result;
     619            pMsg->m_vrcSend = vrcResult;
    620620        }
    621621
     
    758758}
    759759
    760 int hgcmMsgComplete(HGCMMsgCore *pMsg, int32_t rcMsg)
    761 {
    762     LogFlow(("MAIN::hgcmMsgComplete: pMsg = %p, rcMsg = %Rrc (%d)\n", pMsg, rcMsg, rcMsg));
     760int hgcmMsgComplete(HGCMMsgCore *pMsg, int32_t vrcMsg)
     761{
     762    LogFlow(("MAIN::hgcmMsgComplete: pMsg = %p, vrcMsg = %Rrc (%d)\n", pMsg, vrcMsg, vrcMsg));
    763763
    764764    int vrc;
    765765    if (pMsg)
    766         vrc = pMsg->Thread()->MsgComplete(pMsg, rcMsg);
     766        vrc = pMsg->Thread()->MsgComplete(pMsg, vrcMsg);
    767767    else
    768768        vrc = VINF_SUCCESS;
    769769
    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));
    771771    return vrc;
    772772}
  • trunk/src/VBox/Main/src-client/MachineDebuggerImpl.cpp

    r98262 r98278  
    611611            int vrc = ptrVM.vtable()->pfnTMR3SetWarpDrive(ptrVM.rawUVM(), aVirtualTimeRate);
    612612            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);
    614614        }
    615615    }
     
    10781078        else
    10791079            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"),
    10811081                               vrc, aName.c_str(), aCpuId);
    10821082    }
  • trunk/src/VBox/Main/src-client/Recording.cpp

    r98103 r98278  
    7171 * Recording context constructor.
    7272 *
    73  * @note    Will throw rc when unable to create.
     73 * @note    Will throw vrc when unable to create.
    7474 */
    7575RecordingContext::RecordingContext(void)
     
    8989 * @param   Settings            Reference to recording settings to use for creation.
    9090 *
    91  * @note    Will throw rc when unable to create.
     91 * @note    Will throw vrc when unable to create.
    9292 */
    9393RecordingContext::RecordingContext(Console *ptrConsole, const settings::RecordingSettings &Settings)
     
    437437            break;
    438438        }
    439         catch (int vrc_thrown) /* Catch rc thrown by constructor. */
     439        catch (int vrc_thrown) /* Catch vrc thrown by constructor. */
    440440        {
    441441            vrc = vrc_thrown;
     
    858858}
    859859
    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));
     860DECLCALLBACK(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));
    864864
    865865    lock();
  • trunk/src/VBox/Main/src-client/RecordingCodec.cpp

    r98103 r98278  
    444444
    445445    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));
    447447
    448448    Log3Func(("cbSrc=%zu, cbDst=%zu, cEncoded=%zu, cbEncoded=%zu, vrc=%Rrc\n",
  • trunk/src/VBox/Main/src-client/RecordingStream.cpp

    r98103 r98278  
    209209            m_fEnabled = false;
    210210
    211             int vrc2 = m_pCtx->OnLimitReached(m_uScreenID, VINF_SUCCESS /* rc */);
     211            int vrc2 = m_pCtx->OnLimitReached(m_uScreenID, VINF_SUCCESS /* vrc */);
    212212            AssertRC(vrc2);
    213213            break;
     
    853853                else
    854854                {
    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));
    856856                    break;
    857857                }
     
    867867                {
    868868                    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. */
    870870                }
    871871
  • trunk/src/VBox/Main/src-client/RemoteUSBBackend.cpp

    r98103 r98278  
    203203            vrc = pThis->reapURB(pvRet, cbRet);
    204204
    205             LogFlow(("USBClientResponseCallback: reap URB, rc = %Rrc.\n", vrc));
     205            LogFlow(("USBClientResponseCallback: reap URB, vrc = %Rrc.\n", vrc));
    206206        } break;
    207207
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette