VirtualBox

Changeset 63240 in vbox


Ignore:
Timestamp:
Aug 10, 2016 10:01:08 AM (8 years ago)
Author:
vboxsync
Message:

Main: warnings

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

Legend:

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

    r63147 r63240  
    188188    int  i_saveVisibleRegion(uint32_t cRect, PRTRECT pRect);
    189189    int  i_handleSetVisibleRegion(uint32_t cRect, PRTRECT pRect);
    190     int  i_handleQueryVisibleRegion(uint32_t *pcRect, PRTRECT pRect);
     190    int  i_handleQueryVisibleRegion(uint32_t *pcRects, PRTRECT paRects);
    191191
    192192    void i_VideoAccelVRDP(bool fEnable);
  • trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp

    r63147 r63240  
    10381038                                                     uint8_t u8Code, const void *pvRet, uint32_t cbRet)
    10391039{
     1040    RT_NOREF(pvCallback);
    10401041#ifdef VBOX_WITH_USB
    10411042    return USBClientResponseCallback(pvIntercept, u32ClientId, u8Code, pvRet, cbRet);
     
    10491050                                                           const void *pvData, uint32_t cbData)
    10501051{
     1052    RT_NOREF(pvCallback);
    10511053    return ClipboardCallback(pvIntercept, u32ClientId, u32Function, u32Format, pvData, cbData);
    10521054}
     
    12841286                                                          uint32_t cbData)
    12851287{
     1288    RT_NOREF(u32ClientId);
    12861289    ConsoleVRDPServer *pServer = static_cast<ConsoleVRDPServer*>(pvCallback);
    12871290    AssertPtrReturnVoid(pServer);
     
    20362039                                                                       void *pvBuffer, uint32_t cbBuffer, uint32_t *pcbOut)
    20372040{
     2041    RT_NOREF(pvContext, pvBuffer);
    20382042    int rc = VINF_SUCCESS;
    20392043
     
    21432147                                                                     uint32_t cbData)
    21442148{
     2149    RT_NOREF(hVideo);
    21452150    H3DORLOG(("H3DOR: VRDEImageCbNotify: pvContext %p, pvUser %p, hVideo %p, u32Id %u, pvData %p, cbData %d\n",
    21462151              pvContext, pvUser, hVideo, u32Id, pvData, cbData));
     
    24572462                                                                         uint32_t *pcbDataReturned)
    24582463{
     2464    RT_NOREF(pvParm, cbParm, pvData, cbData);
    24592465    LogFlowFunc(("u32Code %u\n", u32Code));
    24602466
     
    25412547                                                                    uint32_t cbParm)
    25422548{
     2549    RT_NOREF(cbParm);
    25432550    int rc = VINF_SUCCESS;
    25442551
     
    33123319                                                               uint32_t cbParms)
    33133320{
     3321    RT_NOREF(cbParms);
    33143322    LogFlowFunc(("pvExtension = %p, u32Function = %d, pvParms = %p, cbParms = %d\n",
    33153323                 pvExtension, u32Function, pvParms, cbParms));
     
    33813389void ConsoleVRDPServer::ClipboardCreate(uint32_t u32ClientId)
    33823390{
     3391    RT_NOREF(u32ClientId);
    33833392    int rc = lockConsoleVRDPServer();
    33843393
     
    34013410void ConsoleVRDPServer::ClipboardDelete(uint32_t u32ClientId)
    34023411{
     3412    RT_NOREF(u32ClientId);
    34033413    int rc = lockConsoleVRDPServer();
    34043414
     
    37633773void ConsoleVRDPServer::SendAudioInputEnd(void *pvUserCtx)
    37643774{
     3775    RT_NOREF(pvUserCtx);
    37653776    if (mpEntryPoints && mhServer && mpEntryPoints->VRDEAudioInClose)
    37663777    {
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r63147 r63240  
    276276                                                      uint8_t *pu8BufferAddress, uint64_t u64TimeStamp)
    277277{
     278    RT_NOREF(uScreen, x, y, uBitsPerPixel,uBytesPerLine, u64TimeStamp);
    278279    VBOX_DISPLAY_SAVESCREENSHOT_DATA *pData = (VBOX_DISPLAY_SAVESCREENSHOT_DATA*)pvCtx;
    279280    displayMakeThumbnail(pu8BufferAddress, uGuestWidth, uGuestHeight, &pData->pu8Thumbnail,
     
    469470Display::i_displaySSMLoadScreenshot(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uPass)
    470471{
     472    RT_NOREF(pvUser);
    471473    if (uVersion != sSSMDisplayScreenshotVer)
    472474        return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION;
     
    782784DECLCALLBACK(void) Display::i_displayCrCmdFree(struct VBOXCRCMDCTL* pCmd, uint32_t cbCmd, int rc, void *pvCompletion)
    783785{
     786    RT_NOREF(pCmd, cbCmd, rc);
    784787    Assert(pvCompletion);
    785788    RTMemFree(pvCompletion);
     
    838841int Display::i_notifyCroglResize(const PVBVAINFOVIEW pView, const PVBVAINFOSCREEN pScreen, void *pvVRAM)
    839842{
     843    RT_NOREF(pView);
    840844#if defined(VBOX_WITH_HGCM) && defined(VBOX_WITH_CROGL)
    841845    if (maFramebuffers[pScreen->u32ViewIndex].fRenderThreadMode)
     
    13941398}
    13951399
    1396 int Display::i_handleQueryVisibleRegion(uint32_t *pcRect, PRTRECT pRect)
    1397 {
    1398     // @todo Currently not used by the guest and is not implemented in framebuffers. Remove?
     1400int Display::i_handleQueryVisibleRegion(uint32_t *pcRects, PRTRECT paRects)
     1401{
     1402    /// @todo Currently not used by the guest and is not implemented in
     1403    /// framebuffers. Remove?
     1404    RT_NOREF(pcRects, paRects);
    13991405    return VERR_NOT_SUPPORTED;
    14001406}
     
    33013307    if (hr == S_FALSE)
    33023308        return VINF_SUCCESS;
    3303     else if (SUCCEEDED(hr))
     3309    if (SUCCEEDED(hr))
    33043310        return VINF_CALLBACK_RETURN;
    3305     else if (hr == E_ACCESSDENIED)
     3311    if (hr == E_ACCESSDENIED)
    33063312        return VERR_INVALID_STATE; /* notify we can not handle request atm */
    3307     else if (hr == E_NOTIMPL)
     3313    if (hr == E_NOTIMPL)
    33083314        return VERR_NOT_IMPLEMENTED;
    33093315    return VERR_GENERAL_FAILURE;
     
    33213327void Display::i_handleCrHgsmiCommandCompletion(int32_t result, uint32_t u32Function, PVBOXHGCMSVCPARM pParam)
    33223328{
     3329    RT_NOREF(u32Function);
    33233330    mpDrv->pVBVACallbacks->pfnCrHgsmiCommandCompleteAsync(mpDrv->pVBVACallbacks,
    33243331                                                          (PVBOXVDMACMD_CHROMIUM_CMD)pParam->u.pointer.addr, result);
  • trunk/src/VBox/Main/src-client/VMMDevInterface.cpp

    r62485 r63240  
    460460}
    461461
    462 DECLCALLBACK(int) vmmdevQueryVisibleRegion(PPDMIVMMDEVCONNECTOR pInterface, uint32_t *pcRect, PRTRECT pRect)
     462DECLCALLBACK(int) vmmdevQueryVisibleRegion(PPDMIVMMDEVCONNECTOR pInterface, uint32_t *pcRects, PRTRECT paRects)
    463463{
    464464    PDRVMAINVMMDEV pDrv = RT_FROM_MEMBER(pInterface, DRVMAINVMMDEV, Connector);
     
    466466
    467467    /* Forward to Display, which calls corresponding framebuffers. */
    468     pConsole->i_getDisplay()->i_handleQueryVisibleRegion(pcRect, pRect);
     468    pConsole->i_getDisplay()->i_handleQueryVisibleRegion(pcRects, paRects);
    469469
    470470    return VINF_SUCCESS;
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