VirtualBox

Ignore:
Timestamp:
Apr 19, 2020 2:02:30 AM (5 years ago)
Author:
vboxsync
Message:

Add/NT/Graphics: VC++ 14.1 warnings. bugref:8489

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.cpp

    r82968 r83827  
    5151static void vboxDispLogDbgFormatStringV(char * szBuffer, uint32_t cbBuffer, const char * szString, va_list pArgList)
    5252{
    53     uint32_t cbWritten = sprintf(szBuffer, "['%s' 0x%x.0x%x] Disp: ", vboxVDbgDoGetModuleName(), GetCurrentProcessId(), GetCurrentThreadId());
     53    uint32_t cbWritten = sprintf(szBuffer, "['%s' 0x%lx.0x%lx] Disp: ", vboxVDbgDoGetModuleName(), GetCurrentProcessId(), GetCurrentThreadId());
    5454    if (cbWritten > cbBuffer)
    5555    {
     
    142142    char rectBuf[24];
    143143    if (pInfo->pRect)
    144         _snprintf(rectBuf, sizeof(rectBuf) / sizeof(rectBuf[0]), "(%d:%d);(%d:%d)",
     144        _snprintf(rectBuf, sizeof(rectBuf) / sizeof(rectBuf[0]), "(%ld:%ld);(%ld:%ld)",
    145145                pInfo->pRect->left, pInfo->pRect->top,
    146146                pInfo->pRect->right, pInfo->pRect->bottom);
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.h

    r82968 r83827  
    369369                || VBOXVDBG_IS_DUMP_ALLOWED(DrawPrim)) \
    370370        { \
    371             vboxVDbgDoDumpRt("==>"__FUNCTION__": Rt: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \
    372             vboxVDbgDoDumpSamplers("==>"__FUNCTION__": Sl: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \
     371            vboxVDbgDoDumpRt("==>" __FUNCTION__ ": Rt: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \
     372            vboxVDbgDoDumpSamplers("==>" __FUNCTION__ ": Sl: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \
    373373        }\
    374374    } while (0)
     
    380380                || VBOXVDBG_IS_DUMP_ALLOWED(DrawPrim)) \
    381381        { \
    382             vboxVDbgDoDumpRt("<=="__FUNCTION__": Rt: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \
    383             vboxVDbgDoDumpSamplers("<=="__FUNCTION__": Sl: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \
     382            vboxVDbgDoDumpRt("<==" __FUNCTION__ ": Rt: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \
     383            vboxVDbgDoDumpSamplers("<==" __FUNCTION__ ": Sl: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \
    384384        }\
    385385    } while (0)
     
    399399                ) \
    400400        { \
    401             vboxVDbgDoDumpRcRect("== "__FUNCTION__": ", &(_pRc)->aAllocations[0], NULL, NULL, "", \
     401            vboxVDbgDoDumpRcRect("== " __FUNCTION__ ": ", &(_pRc)->aAllocations[0], NULL, NULL, "", \
    402402                    VBOXVDBG_DUMP_FLAGS_FOR_TYPE(SetTexture) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \
    403403        } \
     
    413413            RECT _DstRect; \
    414414            vboxWddmRectMoved(&_DstRect, &SrcRect, (_pDstPoint)->x, (_pDstPoint)->y); \
    415             vboxVDbgDoDumpRcRect("==> "__FUNCTION__": Src: ", &(_pSrcRc)->aAllocations[0], NULL, &SrcRect, "", \
     415            vboxVDbgDoDumpRcRect("==> " __FUNCTION__ ": Src: ", &(_pSrcRc)->aAllocations[0], NULL, &SrcRect, "", \
    416416                    VBOXVDBG_DUMP_FLAGS_FOR_TYPE(TexBlt) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \
    417             vboxVDbgDoDumpRcRect("==> "__FUNCTION__": Dst: ", &(_pDstRc)->aAllocations[0], NULL, &_DstRect, "", \
     417            vboxVDbgDoDumpRcRect("==> " __FUNCTION__ ": Dst: ", &(_pDstRc)->aAllocations[0], NULL, &_DstRect, "", \
    418418                    VBOXVDBG_DUMP_FLAGS_FOR_TYPE(TexBlt) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \
    419419        } \
     
    430430            RECT _DstRect; \
    431431            vboxWddmRectMoved(&_DstRect, &SrcRect, (_pDstPoint)->x, (_pDstPoint)->y); \
    432             vboxVDbgDoDumpRcRect("<== "__FUNCTION__": Src: ", &(_pSrcRc)->aAllocations[0], NULL, &SrcRect, "", \
     432            vboxVDbgDoDumpRcRect("<== " __FUNCTION__ ": Src: ", &(_pSrcRc)->aAllocations[0], NULL, &SrcRect, "", \
    433433                    VBOXVDBG_DUMP_FLAGS_FOR_TYPE(TexBlt) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \
    434             vboxVDbgDoDumpRcRect("<== "__FUNCTION__": Dst: ", &(_pDstRc)->aAllocations[0], NULL, &_DstRect, "", \
     434            vboxVDbgDoDumpRcRect("<== " __FUNCTION__ ": Dst: ", &(_pDstRc)->aAllocations[0], NULL, &_DstRect, "", \
    435435                    VBOXVDBG_DUMP_FLAGS_FOR_TYPE(TexBlt) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \
    436436        } \
     
    548548        if (VBOXVDBG_IS_DUMP_ALLOWED(RtSynch)) \
    549549        { \
    550             vboxVDbgDoDumpRcRect("== "__FUNCTION__" Bb:\n", NULL, (_pBbSurf), NULL, "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(RtSynch)); \
     550            vboxVDbgDoDumpRcRect("== " __FUNCTION__ " Bb:\n", NULL, (_pBbSurf), NULL, "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(RtSynch)); \
    551551        } \
    552552    } while (0)
     
    556556        if (VBOXVDBG_IS_DUMP_ALLOWED(Flush)) \
    557557        { \
    558             vboxVDbgDoDumpRt("== "__FUNCTION__": Rt: ", (_pDevice), "", \
     558            vboxVDbgDoDumpRt("== " __FUNCTION__ ": Rt: ", (_pDevice), "", \
    559559                    VBOXVDBG_DUMP_FLAGS_CLEAR(VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Flush), VBOXVDBG_DUMP_TYPEF_SHARED_ONLY)); \
    560560        }\
     
    566566                ) \
    567567        { \
    568             vboxVDbgDoDumpLockSurfTex("== "__FUNCTION__": ", (_pData), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Lock)); \
     568            vboxVDbgDoDumpLockSurfTex("== " __FUNCTION__ ": ", (_pData), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Lock)); \
    569569        } \
    570570    } while (0)
     
    574574                ) \
    575575        { \
    576             vboxVDbgDoDumpUnlockSurfTex("== "__FUNCTION__": ", (_pData), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Unlock)); \
     576            vboxVDbgDoDumpUnlockSurfTex("== " __FUNCTION__ ": ", (_pData), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Unlock)); \
    577577        } \
    578578    } while (0)
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/GaDdi.cpp

    r83222 r83827  
    8282    VBOXVDBG_BREAK_DDI();
    8383
    84     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     84    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    8585    vboxVDbgPrintF(("src %p[%d] %d,%d %d,%d dst %p[%d] %d,%d %d,%d ColorKey 0x%08X Flags 0x%08X\n",
    8686                  pData->hSrcResource, pData->SrcSubResourceIndex,
     
    263263    }
    264264
    265     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     265    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    266266    return hr;
    267267}
     
    271271    VBOXVDBG_BREAK_DDI();
    272272
    273     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     273    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    274274    vboxVDbgPrintF(("hDst %p, hSrc %p, face %d, dst %d,%d src %d,%d %d,%d\n",
    275275                  pData->hDstResource,
     
    346346    }
    347347
    348     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     348    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    349349    return hr;
    350350}
     
    399399    VBOXVDBG_BREAK_DDI();
    400400
    401     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     401    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    402402    vboxVDbgPrintF(("hDst %p, hSrc %p, dst %d,%d,%d src LT %d,%d RB %d,%d FB %d,%d\n",
    403403                  pData->hDstResource,
     
    497497    }
    498498
    499     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     499    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    500500    return hr;
    501501}
     
    505505    VBOXVDBG_BREAK_DDI();
    506506
    507     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     507    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    508508
    509509    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    539539    }
    540540
    541     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     541    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    542542    return hr;
    543543}
     
    547547    VBOXVDBG_BREAK_DDI();
    548548
    549     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     549    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    550550
    551551    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    606606    }
    607607
    608     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     608    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    609609    return hr;
    610610}
     
    614614    VBOXVDBG_BREAK_DDI();
    615615
    616     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p) hResource 0x%p[%d] flags 0x%08X\n",
     616    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) hResource 0x%p[%d] flags 0x%08X\n",
    617617                    hDevice, pData->hResource, pData->SubResourceIndex, pData->Flags.Value));
    618618
     
    11601160    }
    11611161
    1162     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     1162    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    11631163    return hr;
    11641164}
     
    11681168    VBOXVDBG_BREAK_DDI();
    11691169
    1170     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p) hResource 0x%p[%d]\n",
     1170    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) hResource 0x%p[%d]\n",
    11711171                    hDevice, pData->hResource, pData->SubResourceIndex));
    11721172
     
    13971397    }
    13981398
    1399     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     1399    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    14001400    return hr;
    14011401}
     
    14051405    VBOXVDBG_BREAK_DDI();
    14061406
    1407     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p) Size %d\n", hDevice, pData->Size));
     1407    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) Size %d\n", hDevice, pData->Size));
    14081408
    14091409    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    14641464    }
    14651465
    1466     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     1466    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    14671467    return hr;
    14681468}
     
    14721472    VBOXVDBG_BREAK_DDI();
    14731473
    1474     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     1474    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    14751475
    14761476    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    14821482    Assert(hr == S_OK);
    14831483
    1484     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     1484    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    14851485    return hr;
    14861486}
     
    14901490    VBOXVDBG_BREAK_DDI();
    14911491
    1492     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     1492    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    14931493
    14941494    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    14981498    pShader->Release();
    14991499
    1500     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, S_OK));
     1500    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, S_OK));
    15011501    return S_OK;
    15021502}
     
    15071507    VBOXVDBG_BREAK_DDI();
    15081508
    1509     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     1509    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    15101510
    15111511    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    15171517    Assert(hr == S_OK);
    15181518
    1519     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     1519    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    15201520    return hr;
    15211521}
     
    15261526    VBOXVDBG_BREAK_DDI();
    15271527
    1528     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     1528    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    15291529
    15301530    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    15341534    Assert(hr == S_OK);
    15351535
    1536     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     1536    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    15371537    return hr;
    15381538}
     
    15431543    VBOXVDBG_BREAK_DDI();
    15441544
    1545     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     1545    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    15461546
    15471547    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    15511551    Assert(hr == S_OK);
    15521552
    1553     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     1553    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    15541554    return hr;
    15551555}
     
    15591559    VBOXVDBG_BREAK_DDI();
    15601560
    1561     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p) Size %d\n", hDevice, pData->CodeSize));
     1561    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) Size %d\n", hDevice, pData->CodeSize));
    15621562    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
    15631563    IDirect3DDevice9 *pDevice9If = VBOXDISP_D3DEV(pDevice);
     
    16171617    }
    16181618
    1619     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     1619    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    16201620    return hr;
    16211621}
     
    16251625    VBOXVDBG_BREAK_DDI();
    16261626
    1627     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     1627    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    16281628
    16291629    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    16341634    pShader->Release();
    16351635
    1636     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, S_OK));
     1636    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, S_OK));
    16371637    return S_OK;
    16381638}
     
    16431643    VBOXVDBG_BREAK_DDI();
    16441644
    1645     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     1645    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    16461646
    16471647    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    16511651    Assert(hr == S_OK);
    16521652
    1653     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     1653    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    16541654    return hr;
    16551655}
     
    16601660    VBOXVDBG_BREAK_DDI();
    16611661
    1662     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     1662    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    16631663
    16641664    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    16681668    Assert(hr == S_OK);
    16691669
    1670     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     1670    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    16711671    return hr;
    16721672}
     
    17181718    VBOXVDBG_BREAK_DDI();
    17191719
    1720     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     1720    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    17211721
    17221722    HRESULT hr = S_OK;
     
    19241924                {
    19251925                    pWddmAllocInfo->hSharedHandle = pWddmAllocInfo->hostID;
    1926                     pAllocation->hSharedHandle = (HANDLE)pWddmAllocInfo->hostID;
     1926                    pAllocation->hSharedHandle = (HANDLE)(uintptr_t)pWddmAllocInfo->hostID;
    19271927                }
    19281928            }
     
    20262026    }
    20272027
    2028     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), pRc 0x%p, hr %x\n", hDevice, pRc, hr));
     2028    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), pRc 0x%p, hr %x\n", hDevice, pRc, hr));
    20292029    return hr;
    20302030}
     
    20342034    VBOXVDBG_BREAK_DDI();
    20352035
    2036     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p) hResource %p\n", hDevice, hResource));
     2036    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) hResource %p\n", hDevice, hResource));
    20372037
    20382038    HRESULT hr = S_OK;
     
    20482048            if (pAlloc->hSharedHandle)
    20492049            {
    2050                 if (pAlloc->hSharedHandle == (HANDLE)pAlloc->hostID)
     2050                if (pAlloc->hSharedHandle == (HANDLE)(uintptr_t)pAlloc->hostID)
    20512051                {
    20522052                    /* The original shared resource is being destroyed. */
     
    21112111    RTMemFree(pRc);
    21122112
    2113     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2113    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    21142114    return hr;
    21152115}
     
    21192119    VBOXVDBG_BREAK_DDI();
    21202120
    2121     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2121    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    21222122
    21232123    HRESULT hr = S_OK;
     
    22732273        {
    22742274            pResource->hResource = pRc;
    2275             vboxVDbgPrintF(("<== "__FUNCTION__", pRc(0x%p)\n", pRc));
     2275            vboxVDbgPrintF(("<== " __FUNCTION__ ", pRc(0x%p)\n", pRc));
    22762276        }
    22772277        else
     
    22842284    }
    22852285
    2286     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2286    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    22872287    return hr;
    22882288}
     
    22942294    RT_NOREF(pFlagBuffer);
    22952295
    2296     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2296    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    22972297
    22982298    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    23692369    }
    23702370
    2371     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2371    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    23722372    return hr;
    23732373}
     
    23782378    VBOXVDBG_BREAK_DDI();
    23792379
    2380     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2380    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    23812381
    23822382    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    24802480    }
    24812481
    2482     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2482    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    24832483    return hr;
    24842484}
     
    24892489    VBOXVDBG_BREAK_DDI();
    24902490
    2491     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2491    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    24922492
    24932493    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    25342534
    25352535    Assert(hr == S_OK);
    2536     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2536    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    25372537    return hr;
    25382538}
     
    25832583    RT_NOREF(pFlagBuffer);
    25842584
    2585     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2585    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    25862586
    25872587    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    26902690    }
    26912691
    2692     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2692    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    26932693    return hr;
    26942694}
     
    26982698    VBOXVDBG_BREAK_DDI();
    26992699
    2700     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2700    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    27012701
    27022702    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    27072707    Assert(hr == S_OK);
    27082708
    2709     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2709    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    27102710    return hr;
    27112711}
     
    27172717    RT_NOREF(hDevice, pData);
    27182718
    2719     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
    2720 
    2721     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2719    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
     2720
     2721    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    27222722    return S_OK;
    27232723}
     
    27292729    RT_NOREF(hDevice, pData);
    27302730
    2731     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
    2732 
    2733     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2731    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
     2732
     2733    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    27342734    return S_OK;
    27352735}
     
    27392739    VBOXVDBG_BREAK_DDI();
    27402740
    2741     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2741    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    27422742
    27432743    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    27572757    Assert(hr == S_OK);
    27582758
    2759     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2759    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    27602760    return hr;
    27612761}
     
    27652765    VBOXVDBG_BREAK_DDI();
    27662766
    2767     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2767    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    27682768
    27692769    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    28192819    Assert(hr == S_OK);
    28202820
    2821     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2821    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    28222822    return hr;
    28232823}
     
    28272827    VBOXVDBG_BREAK_DDI();
    28282828
    2829     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2829    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    28302830
    28312831    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    28362836    Assert(hr == S_OK);
    28372837
    2838     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2838    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    28392839    return hr;
    28402840}
     
    28452845    VBOXVDBG_BREAK_DDI();
    28462846
    2847     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2847    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    28482848    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
    28492849    IDirect3DDevice9 *pDevice9If = VBOXDISP_D3DEV(pDevice);
     
    28522852    Assert(hr == S_OK);
    28532853
    2854     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2854    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    28552855    return hr;
    28562856}
     
    28612861    VBOXVDBG_BREAK_DDI();
    28622862
    2863     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2863    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    28642864
    28652865    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    28932893    }
    28942894
    2895     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2895    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    28962896    return hr;
    28972897}
     
    29012901    VBOXVDBG_BREAK_DDI();
    29022902
    2903     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2903    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    29042904
    29052905    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    29292929    }
    29302930
    2931     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2931    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    29322932    return hr;
    29332933}
     
    29372937    VBOXVDBG_BREAK_DDI();
    29382938
    2939     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2939    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    29402940
    29412941    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    29602960    }
    29612961
    2962     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     2962    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    29632963    return hr;
    29642964}
     
    29702970    RT_NOREF(pData);
    29712971
    2972     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2972    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    29732973    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
    29742974    RT_NOREF(pDevice);
     
    29772977    AssertFailed();
    29782978
    2979     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2979    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    29802980    return E_NOTIMPL;
    29812981}
     
    29872987    RT_NOREF(pData);
    29882988
    2989     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2989    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    29902990
    29912991    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    29952995    AssertFailed();
    29962996
    2997     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     2997    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    29982998    return E_NOTIMPL;
    29992999}
     
    30053005    RT_NOREF(pData);
    30063006
    3007     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3007    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    30083008
    30093009    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
    30103010    RT_NOREF(pDevice);
    30113011
    3012     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3012    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    30133013
    30143014    return S_OK;
     
    30293029    VBOXVDBG_BREAK_DDI();
    30303030
    3031     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3031    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    30323032
    30333033    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    30413041    Assert(hr == S_OK);
    30423042
    3043     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3043    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    30443044    return hr;
    30453045}
     
    30523052    RT_NOREF(pData, pPaletteData);
    30533053
    3054     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3054    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    30553055
    30563056    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    30603060    AssertFailed();
    30613061
    3062     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3062    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    30633063    return E_NOTIMPL;
    30643064}
     
    30703070    RT_NOREF(pData);
    30713071
    3072     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3072    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    30733073
    30743074    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    30783078    AssertFailed();
    30793079
    3080     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3080    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    30813081    return E_NOTIMPL;
    30823082}
     
    30883088    RT_NOREF(pData);
    30893089
    3090     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3090    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    30913091
    30923092    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    30963096    AssertFailed();
    30973097
    3098     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3098    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    30993099    return E_NOTIMPL;
    31003100}
     
    31063106    RT_NOREF(pData);
    31073107
    3108     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3108    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    31093109
    31103110    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    31143114    AssertFailed();
    31153115
    3116     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3116    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    31173117    return E_NOTIMPL;
    31183118}
     
    31223122    VBOXVDBG_BREAK_DDI();
    31233123
    3124     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3124    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    31253125
    31263126    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    31363136    Assert(hr == S_OK);
    31373137
    3138     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3138    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    31393139    return hr;
    31403140}
     
    31443144    VBOXVDBG_BREAK_DDI();
    31453145
    3146     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3146    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    31473147
    31483148    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    31563156    Assert(hr == S_OK);
    31573157
    3158     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3158    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    31593159    return hr;
    31603160}
     
    31663166    RT_NOREF(pData);
    31673167
    3168     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3168    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    31693169
    31703170    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    31743174    AssertFailed();
    31753175
    3176     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3176    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    31773177    return E_NOTIMPL;
    31783178}
     
    31843184    RT_NOREF(pData, pLightProperties);
    31853185
    3186     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3186    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    31873187
    31883188    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    31923192    AssertFailed();
    31933193
    3194     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3194    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    31953195    return E_NOTIMPL;
    31963196}
     
    32023202    RT_NOREF(pData);
    32033203
    3204     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3204    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    32053205
    32063206    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    32103210    AssertFailed();
    32113211
    3212     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3212    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    32133213    return E_NOTIMPL;
    32143214}
     
    32203220    RT_NOREF(pData);
    32213221
    3222     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3222    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    32233223
    32243224    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    32283228    AssertFailed();
    32293229
    3230     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3230    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    32313231    return E_NOTIMPL;
    32323232}
     
    32363236    VBOXVDBG_BREAK_DDI();
    32373237
    3238     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3238    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    32393239
    32403240    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    32443244    Assert(hr == S_OK);
    32453245
    3246     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3246    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    32473247    return hr;
    32483248}
     
    32523252    VBOXVDBG_BREAK_DDI();
    32533253
    3254     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3254    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    32553255
    32563256    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    32813281    }
    32823282
    3283     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3283    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    32843284    return hr;
    32853285}
     
    32893289    VBOXVDBG_BREAK_DDI();
    32903290
    3291     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3291    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    32923292
    32933293    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    33103310    Assert(hr == S_OK);
    33113311
    3312     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3312    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    33133313    return hr;
    33143314}
     
    33353335    VBOXVDBG_BREAK_DDI();
    33363336
    3337     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3337    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    33383338
    33393339    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    33723372        RTMemFree(pVe);
    33733373
    3374     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3374    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    33753375    return hr;
    33763376}
     
    33803380    VBOXVDBG_BREAK_DDI();
    33813381
    3382     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3382    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    33833383
    33843384    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    33903390    Assert(hr == S_OK);
    33913391
    3392     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3392    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    33933393    return hr;
    33943394}
     
    33983398    VBOXVDBG_BREAK_DDI();
    33993399
    3400     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3400    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    34013401
    34023402    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    34073407    pDecl->Release();
    34083408
    3409     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, S_OK));
     3409    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, S_OK));
    34103410    return S_OK;
    34113411}
     
    34153415    VBOXVDBG_BREAK_DDI();
    34163416
    3417     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3417    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    34183418
    34193419    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    34263426    Assert(hr == S_OK);
    34273427
    3428     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3428    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    34293429    return hr;
    34303430}
     
    34343434    VBOXVDBG_BREAK_DDI();
    34353435
    3436     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3436    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    34373437
    34383438    AssertReturn(pData->Stream < VBOXWDDMDISP_MAX_VERTEX_STREAMS, E_INVALIDARG);
     
    34853485    }
    34863486
    3487     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3487    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    34883488    return hr;
    34893489}
     
    34933493    VBOXVDBG_BREAK_DDI();
    34943494
    3495     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3495    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    34963496
    34973497    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    35013501    Assert(hr == S_OK);
    35023502
    3503     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3503    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    35043504    return hr;
    35053505}
     
    35113511    RT_NOREF(pData);
    35123512
    3513     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3513    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    35143514
    35153515    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    35193519    AssertFailed();
    35203520
    3521     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3521    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    35223522    return E_NOTIMPL;
    35233523}
     
    35293529    RT_NOREF(pData);
    35303530
    3531     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3531    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    35323532
    35333533    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    35373537    AssertFailed();
    35383538
    3539     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3539    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    35403540    return E_NOTIMPL;
    35413541}
     
    35453545    VBOXVDBG_BREAK_DDI();
    35463546
    3547     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3547    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    35483548
    35493549    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    35703570    }
    35713571
    3572     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3572    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    35733573    return hr;
    35743574}
     
    35803580    RT_NOREF(pData);
    35813581
    3582     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3582    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    35833583
    35843584    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    35883588    AssertFailed();
    35893589
    3590     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3590    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    35913591    return E_NOTIMPL;
    35923592}
     
    35963596    VBOXVDBG_BREAK_DDI();
    35973597
    3598     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3598    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    35993599
    36003600    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    36173617    }
    36183618
    3619     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3619    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    36203620    return hr;
    36213621}
     
    36253625    VBOXVDBG_BREAK_DDI();
    36263626
    3627     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3627    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    36283628
    36293629    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    36423642    }
    36433643
    3644     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3644    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    36453645    return S_OK;
    36463646}
     
    36503650    VBOXVDBG_BREAK_DDI();
    36513651
    3652     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3652    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    36533653
    36543654    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    36643664    Assert(hr == S_OK);
    36653665
    3666     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3666    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    36673667    return hr;
    36683668}
     
    36723672    VBOXVDBG_BREAK_DDI();
    36733673
    3674     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3674    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    36753675
    36763676    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    37033703    {
    37043704        case D3DDDIQUERYTYPE_EVENT:
    3705             vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p) D3DDDIQUERYTYPE_EVENT %d\n", hDevice, *(BOOL *)pData->pData));
     3705            vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) D3DDDIQUERYTYPE_EVENT %d\n", hDevice, *(BOOL *)pData->pData));
    37063706            break;
    37073707        case D3DDDIQUERYTYPE_OCCLUSION:
    3708             vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p) D3DDDIQUERYTYPE_OCCLUSION %d\n", hDevice, *(UINT *)pData->pData));
     3708            vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) D3DDDIQUERYTYPE_OCCLUSION %d\n", hDevice, *(UINT *)pData->pData));
    37093709            break;
    37103710        default:
     
    37133713#endif
    37143714
    3715     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3715    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    37163716    return hr;
    37173717}
     
    37673767    VBOXVDBG_BREAK_DDI();
    37683768
    3769     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3769    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    37703770
    37713771    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    38163816    }
    38173817
    3818     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3818    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    38193819    return hr;
    38203820}
     
    38243824    VBOXVDBG_BREAK_DDI();
    38253825
    3826     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3826    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    38273827
    38283828    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    38593859    }
    38603860
    3861     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
     3861    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
    38623862    return hr;
    38633863}
     
    38693869    RT_NOREF(pData);
    38703870
    3871     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3871    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    38723872
    38733873    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    38773877    AssertFailed();
    38783878
    3879     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3879    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    38803880    return E_NOTIMPL;
    38813881}
     
    38873887    RT_NOREF(pData);
    38883888
    3889     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3889    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    38903890
    38913891    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    38953895    AssertFailed();
    38963896
    3897     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3897    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    38983898    return E_NOTIMPL;
    38993899}
     
    39053905    RT_NOREF(hDecodeDevice);
    39063906
    3907     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3907    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39083908
    39093909    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    39133913    AssertFailed();
    39143914
    3915     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3915    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39163916    return E_NOTIMPL;
    39173917}
     
    39233923    RT_NOREF(pData);
    39243924
    3925     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3925    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39263926
    39273927    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    39313931    AssertFailed();
    39323932
    3933     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3933    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39343934    return E_NOTIMPL;
    39353935}
     
    39413941    RT_NOREF(pData);
    39423942
    3943     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3943    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39443944
    39453945    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    39493949    AssertFailed();
    39503950
    3951     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3951    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39523952    return E_NOTIMPL;
    39533953}
     
    39593959    RT_NOREF(pData);
    39603960
    3961     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3961    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39623962
    39633963    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    39673967    AssertFailed();
    39683968
    3969     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3969    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39703970    return E_NOTIMPL;
    39713971}
     
    39773977    RT_NOREF(pData);
    39783978
    3979     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3979    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39803980
    39813981    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    39853985    AssertFailed();
    39863986
    3987     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3987    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39883988    return E_NOTIMPL;
    39893989}
     
    39953995    RT_NOREF(pData);
    39963996
    3997     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     3997    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    39983998
    39993999    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    40034003    AssertFailed();
    40044004
    4005     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4005    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40064006    return E_NOTIMPL;
    40074007}
     
    40114011    VBOXVDBG_BREAK_DDI();
    40124012
    4013     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4013    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40144014
    40154015    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    40204020        hr = E_INVALIDARG;
    40214021
    4022     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4022    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40234023    return hr;
    40244024}
     
    40284028    VBOXVDBG_BREAK_DDI();
    40294029
    4030     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4030    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40314031
    40324032    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
    40334033    HRESULT hr = VBoxDxvaDestroyVideoProcessDevice(pDevice, hVideoProcessor);
    40344034
    4035     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4035    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40364036    return hr;
    40374037}
     
    40414041    VBOXVDBG_BREAK_DDI();
    40424042
    4043     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4043    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40444044
    40454045    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
    40464046    HRESULT hr = VBoxDxvaVideoProcessBeginFrame(pDevice, hVideoProcessor);
    40474047
    4048     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4048    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40494049    return hr;
    40504050}
     
    40544054    VBOXVDBG_BREAK_DDI();
    40554055
    4056     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4056    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40574057
    40584058    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
    40594059    HRESULT hr = VBoxDxvaVideoProcessEndFrame(pDevice, pData);
    40604060
    4061     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4061    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40624062    return hr;
    40634063}
     
    40684068    VBOXVDBG_BREAK_DDI();
    40694069
    4070     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4070    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40714071
    40724072    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
    40734073    HRESULT hr = VBoxDxvaSetVideoProcessRenderTarget(pDevice, pData);
    40744074
    4075     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4075    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40764076    return hr;
    40774077}
     
    40814081    VBOXVDBG_BREAK_DDI();
    40824082
    4083     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4083    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40844084
    40854085    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
    40864086    HRESULT hr = VBoxDxvaVideoProcessBlt(pDevice, pData);
    40874087
    4088     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4088    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40894089    return hr;
    40904090}
     
    40964096    RT_NOREF(pData);
    40974097
    4098     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4098    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    40994099
    41004100    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    41044104    AssertFailed();
    41054105
    4106     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4106    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    41074107    return E_NOTIMPL;
    41084108}
     
    41144114    RT_NOREF(hExtension);
    41154115
    4116     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4116    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    41174117
    41184118    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    41224122    AssertFailed();
    41234123
    4124     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4124    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    41254125    return E_NOTIMPL;
    41264126}
     
    41324132    RT_NOREF(pData);
    41334133
    4134     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4134    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    41354135
    41364136    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    41404140    AssertFailed();
    41414141
    4142     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4142    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    41434143    return E_NOTIMPL;
    41444144}
     
    41584158    VBOXVDBG_BREAK_DDI();
    41594159
    4160     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4160    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    41614161
    41624162    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    42194219        hr = E_OUTOFMEMORY;
    42204220
    4221     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4221    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    42224222    return hr;
    42234223}
     
    42274227    VBOXVDBG_BREAK_DDI();
    42284228
    4229     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4229    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    42304230
    42314231    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    42714271    }
    42724272
    4273     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4273    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    42744274    return hr;
    42754275}
     
    42794279    VBOXVDBG_BREAK_DDI();
    42804280
    4281     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4281    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    42824282
    42834283    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    43154315    }
    43164316
    4317     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4317    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    43184318    return hr;
    43194319}
     
    43254325    RT_NOREF(pData);
    43264326
    4327     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4327    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    43284328
    43294329    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    43334333    AssertFailed();
    43344334
    4335     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4335    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    43364336    return E_NOTIMPL;
    43374337}
     
    43434343    RT_NOREF(pData);
    43444344
    4345     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4345    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    43464346
    43474347    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    43514351    AssertFailed();
    43524352
    4353     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4353    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    43544354    return E_NOTIMPL;
    43554355}
     
    43594359    VBOXVDBG_BREAK_DDI();
    43604360
    4361     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4361    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    43624362
    43634363    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    43754375    }
    43764376
    4377     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4377    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    43784378    return hr;
    43794379}
     
    43854385    RT_NOREF(pData);
    43864386
    4387     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4387    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    43884388
    43894389    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    43934393    /** @todo check residency for the "real" allocations */
    43944394
    4395     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4395    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    43964396    return hr;
    43974397}
     
    44034403    RT_NOREF(pData);
    44044404
    4405     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4405    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    44064406
    44074407    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    44114411    AssertFailed();
    44124412
    4413     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4413    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    44144414    return E_NOTIMPL;
    44154415}
     
    44214421    RT_NOREF(pData);
    44224422
    4423     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4423    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    44244424
    44254425    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    44294429    AssertFailed();
    44304430
    4431     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4431    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    44324432    return E_NOTIMPL;
    44334433}
     
    44404440    RT_NOREF3(pData, pInfo, pPatch);
    44414441
    4442     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4442    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    44434443
    44444444    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    44484448    AssertFailed();
    44494449
    4450     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4450    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    44514451    return E_NOTIMPL;
    44524452}
     
    44594459    RT_NOREF3(pData, pInfo, pPatch);
    44604460
    4461     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4461    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    44624462
    44634463    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    44674467    AssertFailed();
    44684468
    4469     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4469    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    44704470    return E_NOTIMPL;
    44714471}
     
    44754475    VBOXVDBG_BREAK_DDI();
    44764476
    4477     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4477    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    44784478
    44794479    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    44924492    RTMemFree(pDevice);
    44934493
    4494     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4494    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    44954495    return S_OK;
    44964496}
     
    45034503    RT_NOREF(pData);
    45044504
    4505     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4505    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    45064506
    45074507    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    45114511    AssertFailed();
    45124512
    4513     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4513    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    45144514    return E_NOTIMPL;
    45154515}
     
    45224522    RT_NOREF(pData);
    45234523
    4524     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4524    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    45254525
    45264526    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    45304530    AssertFailed();
    45314531
    4532     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4532    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    45334533    return E_NOTIMPL;
    45344534}
     
    45414541    RT_NOREF(pData);
    45424542
    4543     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4543    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    45444544
    45454545    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    45494549    AssertFailed();
    45504550
    4551     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4551    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    45524552    return E_NOTIMPL;
    45534553}
     
    45604560    RT_NOREF(pData);
    45614561
    4562     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4562    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    45634563
    45644564    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    45684568    AssertFailed();
    45694569
    4570     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4570    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    45714571    return E_NOTIMPL;
    45724572}
     
    45794579    RT_NOREF(pData);
    45804580
    4581     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4581    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    45824582
    45834583    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    45874587    AssertFailed();
    45884588
    4589     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4589    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    45904590    return E_NOTIMPL;
    45914591}
     
    45984598    RT_NOREF(pData);
    45994599
    4600     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4600    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    46014601
    46024602    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    46064606    AssertFailed();
    46074607
    4608     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4608    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    46094609    return E_NOTIMPL;
    46104610}
     
    46174617    RT_NOREF(hProcessor);
    46184618
    4619     vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4619    vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    46204620
    46214621    PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice;
     
    46254625    AssertFailed();
    46264626
    4627     vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice));
     4627    vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice));
    46284628    return E_NOTIMPL;
    46294629}
     
    46354635    HRESULT hr = S_OK;
    46364636
    4637     vboxVDbgPrint(("==> "__FUNCTION__", hAdapter(0x%p), Interface(%d), Version(%d)\n", hAdapter, pCreateData->Interface, pCreateData->Version));
     4637    vboxVDbgPrint(("==> " __FUNCTION__ ", hAdapter(0x%p), Interface(%d), Version(%d)\n", hAdapter, pCreateData->Interface, pCreateData->Version));
    46384638
    46394639    PVBOXWDDMDISP_ADAPTER pAdapter = (PVBOXWDDMDISP_ADAPTER)hAdapter;
     
    47974797#endif
    47984798
    4799     vboxVDbgPrint(("<== "__FUNCTION__", hAdapter(0x%p)\n", hAdapter));
     4799    vboxVDbgPrint(("<== " __FUNCTION__ ", hAdapter(0x%p)\n", hAdapter));
    48004800    return hr;
    48014801}
     
    48054805    VBOXVDBG_BREAK_DDI();
    48064806
    4807     vboxVDbgPrint(("==> "__FUNCTION__", hAdapter(0x%p)\n", hAdapter));
     4807    vboxVDbgPrint(("==> " __FUNCTION__ ", hAdapter(0x%p)\n", hAdapter));
    48084808
    48094809    PVBOXWDDMDISP_ADAPTER pAdapter = (PVBOXWDDMDISP_ADAPTER)hAdapter;
     
    48214821    RTMemFree(pAdapter);
    48224822
    4823     vboxVDbgPrint(("<== "__FUNCTION__", hAdapter(0x%p)\n", hAdapter));
     4823    vboxVDbgPrint(("<== " __FUNCTION__ ", hAdapter(0x%p)\n", hAdapter));
    48244824
    48254825    return S_OK;
     
    48504850    VBOXVDBG_BREAK_DDI();
    48514851
    4852     vboxVDbgPrint(("==> "__FUNCTION__", hAdapter(0x%p), caps type(%d)\n", hAdapter, pData->Type));
     4852    vboxVDbgPrint(("==> " __FUNCTION__ ", hAdapter(0x%p), caps type(%d)\n", hAdapter, pData->Type));
    48534853
    48544854    HRESULT hr = S_OK;
     
    51745174    }
    51755175
    5176     vboxVDbgPrint(("<== "__FUNCTION__", hAdapter(0x%p), caps type(%d)\n", hAdapter, pData->Type));
     5176    vboxVDbgPrint(("<== " __FUNCTION__ ", hAdapter(0x%p), caps type(%d)\n", hAdapter, pData->Type));
    51775177    return S_OK;
    51785178}
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/GaWddm.cpp

    r82968 r83827  
    745745
    746746            /* Remember that this sid is used for all operations on this allocation. */
    747             pAlloc->hSharedHandle = (HANDLE)hostID;
     747            pAlloc->hSharedHandle = (HANDLE)(uintptr_t)hostID;
    748748        }
    749749        else
     
    761761
    762762                /* Remember which sid is actually used for this allocation. */
    763                 pAlloc->hSharedHandle = (HANDLE)usedHostId;
     763                pAlloc->hSharedHandle = (HANDLE)(uintptr_t)usedHostId;
    764764
    765765                /* Inform the miniport. */
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared/VBoxDispMpLogger.cpp

    r82968 r83827  
    247247    char *pszBuffer = &szBuffer[0];
    248248
    249     int cbWritten = _snprintf(pszBuffer, cbBuffer, "['%s' 0x%x.0x%x]: ",
     249    int cbWritten = _snprintf(pszBuffer, cbBuffer, "['%s' 0x%lx.0x%lx]: ",
    250250                              vboxUmLogGetModuleName(), GetCurrentProcessId(), GetCurrentThreadId());
    251251    if (cbWritten < 0 || cbWritten >= cbBuffer)
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDrawCmd.cpp

    r82968 r83827  
    7979#endif
    8080
    81 #define VBVA_OPERATION(__psoDest, __fn, __a) do {                            \
    82     if (VBoxDispIsScreenSurface(__psoDest))                                  \
    83     {                                                                        \
    84         PVBOXDISPDEV pDev = (PVBOXDISPDEV)__psoDest->dhpdev;                 \
    85                                                                              \
    86         if (   pDev->hgsmi.bSupported                                        \
    87             && VBoxVBVABufferBeginUpdate(&pDev->vbvaCtx, &pDev->hgsmi.ctx))  \
    88         {                                                                    \
    89             vbvaDrv##__fn __a;                                               \
    90                                                                              \
    91             if (  pDev->vbvaCtx.pVBVA->hostFlags.u32HostEvents               \
    92                 & VBOX_VIDEO_INFO_HOST_EVENTS_F_VRDP_RESET)                  \
    93             {                                                                \
    94                 vrdpReset(pDev);                                             \
    95                                                                              \
    96                 pDev->vbvaCtx.pVBVA->hostFlags.u32HostEvents &=              \
    97                           ~VBOX_VIDEO_INFO_HOST_EVENTS_F_VRDP_RESET;         \
    98             }                                                                \
    99                                                                              \
    100             if (pDev->vbvaCtx.pVBVA->hostFlags.u32HostEvents                 \
    101                 & VBVA_F_MODE_VRDP)                                          \
    102             {                                                                \
    103                 vrdpDrv##__fn __a;                                           \
    104             }                                                                \
    105                                                                              \
    106             VBoxVBVABufferEndUpdate(&pDev->vbvaCtx);                         \
    107         }                                                                    \
    108     }                                                                        \
     81#define VBVA_OPERATION(__psoDest, __fn, __a) do { \
     82    if (VBoxDispIsScreenSurface(__psoDest)) \
     83    { \
     84        PVBOXDISPDEV pMacroDev = (PVBOXDISPDEV)__psoDest->dhpdev; \
     85        \
     86        if (   pMacroDev->hgsmi.bSupported \
     87            && VBoxVBVABufferBeginUpdate(&pMacroDev->vbvaCtx, &pMacroDev->hgsmi.ctx)) \
     88        { \
     89            vbvaDrv##__fn __a; \
     90            \
     91            if (pMacroDev->vbvaCtx.pVBVA->hostFlags.u32HostEvents & VBOX_VIDEO_INFO_HOST_EVENTS_F_VRDP_RESET) \
     92            { \
     93                vrdpReset(pMacroDev); \
     94                \
     95                pMacroDev->vbvaCtx.pVBVA->hostFlags.u32HostEvents &= ~VBOX_VIDEO_INFO_HOST_EVENTS_F_VRDP_RESET; \
     96            } \
     97            \
     98            if (pMacroDev->vbvaCtx.pVBVA->hostFlags.u32HostEvents & VBVA_F_MODE_VRDP) \
     99            { \
     100                vrdpDrv##__fn __a; \
     101            } \
     102            \
     103            VBoxVBVABufferEndUpdate(&pMacroDev->vbvaCtx); \
     104        } \
     105    } \
    109106} while (0)
    110107
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPVidModes.cpp

    r82968 r83827  
    1818#include "VBoxMPCommon.h"
    1919
    20 #if _MSC_VER >= 1400 /* bird: MS fixed swprintf to be standard-conforming... */
     20#if _MSC_VER >= 1400 && _MSC_VER <= 1410 /* bird: MS fixed swprintf to be standard-conforming... */
    2121#define _INC_SWPRINTF_INL_
    2222extern "C" int __cdecl swprintf(wchar_t *, const wchar_t *, ...);
     
    802802         * regardless of conditions always add 2 entries to the table.
    803803         */
    804         BOOLEAN bAlternativeIndex = FALSE;
     804        bAlternativeIndex = FALSE;
    805805
    806806        BOOLEAN bChanged = (pExt->Prev_xres!=specialMode.VisScreenWidth
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.cpp

    r82968 r83827  
    10911091static void vboxUmdDumpDword(DWORD *pvData, DWORD cData)
    10921092{
    1093     char aBuf[16*4];
    10941093    DWORD dw1, dw2, dw3, dw4;
    10951094    for (UINT i = 0; i < (cData & (~3)); i+=4)
     
    10991098        dw3 = *pvData++;
    11001099        dw4 = *pvData++;
    1101         sprintf(aBuf, "0x%08x, 0x%08x, 0x%08x, 0x%08x,\n", dw1, dw2, dw3, dw4);
    1102         LOGREL(("%s", aBuf));
     1100        LOGREL(("0x%08x, 0x%08x, 0x%08x, 0x%08x,\n", dw1, dw2, dw3, dw4));
    11031101    }
    11041102
     
    11101108            dw2 = *pvData++;
    11111109            dw3 = *pvData++;
    1112             sprintf(aBuf, "0x%08x, 0x%08x, 0x%08x\n", dw1, dw2, dw3);
    1113             LOGREL(("%s", aBuf));
     1110            LOGREL(("0x%08x, 0x%08x, 0x%08x\n", dw1, dw2, dw3));
    11141111            break;
    11151112        case 2:
    11161113            dw1 = *pvData++;
    11171114            dw2 = *pvData++;
    1118             sprintf(aBuf, "0x%08x, 0x%08x\n", dw1, dw2);
    1119             LOGREL(("%s", aBuf));
     1115            LOGREL(("0x%08x, 0x%08x\n", dw1, dw2));
    11201116            break;
    11211117        case 1:
    11221118            dw1 = *pvData++;
    1123             sprintf(aBuf, "0x%8x\n", dw1);
    1124             LOGREL(("%s", aBuf));
     1119            LOGREL(("0x%8x\n", dw1));
    11251120            break;
    11261121        default:
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r82968 r83827  
    33163316                if (pAlloc->bAssigned)
    33173317                {
    3318                     PVBOXMP_DEVEXT pDevExt = pDevice->pAdapter;
    3319                     Assert(pAlloc->AllocData.SurfDesc.VidPnSourceId < (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
    3320                     PVBOXWDDM_SOURCE pSource = &pDevExt->aSources[pAlloc->AllocData.SurfDesc.VidPnSourceId];
     3318                    PVBOXMP_DEVEXT pDevExt2 = pDevice->pAdapter;
     3319                    Assert(pAlloc->AllocData.SurfDesc.VidPnSourceId < (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt2)->cDisplays);
     3320                    PVBOXWDDM_SOURCE pSource = &pDevExt2->aSources[pAlloc->AllocData.SurfDesc.VidPnSourceId];
    33213321                    if (pSource->AllocData.hostID != pAlloc->AllocData.hostID)
    33223322                    {
     
    33243324                        pSource->u8SyncState &= ~VBOXWDDM_HGSYNC_F_SYNCED_LOCATION;
    33253325
    3326                         vboxWddmGhDisplayCheckSetInfo(pDevExt);
     3326                        vboxWddmGhDisplayCheckSetInfo(pDevExt2);
    33273327                    }
    33283328                }
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium/VBoxMPGaWddm.cpp

    r83694 r83827  
    14761476    gaFenceObjectsLock(pGaDevExt);
    14771477
    1478     GAFENCEOBJECT *pIter, *pNext;
    1479     RTListForEachSafe(&pGaDevExt->fenceObjects.list, pIter, pNext, GAFENCEOBJECT, node)
    1480     {
    1481         if (pIter->u32FenceState == GAFENCE_STATE_SUBMITTED)
    1482         {
    1483             if (gaFenceCmp(pIter->u32SubmissionFenceId, u32LastCompletedFenceId) <= 0)
    1484             {
    1485                 GALOG(("u32SubmissionFenceId %u -> SIGNALED %RU64 ns\n",
    1486                        pIter->u32SubmissionFenceId, RTTimeNanoTS() - pIter->u64SubmittedTS));
    1487 
    1488                 ASMAtomicWriteU32(&pGaDevExt->u32LastCompletedSeqNo, pIter->u32SeqNo);
    1489                 pIter->u32FenceState = GAFENCE_STATE_SIGNALED;
    1490                 if (RT_BOOL(pIter->fu32FenceFlags & GAFENCE_F_WAITED))
     1478    {
     1479        GAFENCEOBJECT *pIter, *pNext;
     1480        RTListForEachSafe(&pGaDevExt->fenceObjects.list, pIter, pNext, GAFENCEOBJECT, node)
     1481        {
     1482            if (pIter->u32FenceState == GAFENCE_STATE_SUBMITTED)
     1483            {
     1484                if (gaFenceCmp(pIter->u32SubmissionFenceId, u32LastCompletedFenceId) <= 0)
    14911485                {
    1492                     KeSetEvent(&pIter->event, 0, FALSE);
     1486                    GALOG(("u32SubmissionFenceId %u -> SIGNALED %RU64 ns\n",
     1487                           pIter->u32SubmissionFenceId, RTTimeNanoTS() - pIter->u64SubmittedTS));
     1488
     1489                    ASMAtomicWriteU32(&pGaDevExt->u32LastCompletedSeqNo, pIter->u32SeqNo);
     1490                    pIter->u32FenceState = GAFENCE_STATE_SIGNALED;
     1491                    if (RT_BOOL(pIter->fu32FenceFlags & GAFENCE_F_WAITED))
     1492                    {
     1493                        KeSetEvent(&pIter->event, 0, FALSE);
     1494                    }
     1495
     1496                    GaFenceUnrefLocked(pGaDevExt, pIter);
    14931497                }
    1494 
    1495                 GaFenceUnrefLocked(pGaDevExt, pIter);
    14961498            }
    14971499        }
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPIOCTL.cpp

    r82968 r83827  
    3434    }
    3535
     36#ifndef DOXYGEN_RUNNING
     37# if RT_MSC_PREREQ(RT_MSC_VER_VC141)
     38/* VBoxMPIOCTL.cpp(80): warning C4457: declaration of 'pRequestedAddress' hides function parameter (caused by VBOXMPIOCTL_HIDE) */
     39#  pragma warning(disable:4457 )
     40# endif
     41#endif
     42
    3643/* Called for IOCTL_VIDEO_RESET_DEVICE.
    3744 * Reset device to a state it comes at system boot time.
     
    8895        pMapInfo->FrameBufferBase = (PUCHAR)pMapInfo->VideoRamBase;
    8996        pMapInfo->FrameBufferLength =
    90             VBoxMPXpdmCurrentVideoMode(pExt)->VisScreenHeight*
     97            VBoxMPXpdmCurrentVideoMode(pExt)->VisScreenHeight *
    9198            VBoxMPXpdmCurrentVideoMode(pExt)->ScreenStride;
    9299
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