Changeset 83827 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Apr 19, 2020 2:02:30 AM (5 years ago)
- 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 51 51 static void vboxDispLogDbgFormatStringV(char * szBuffer, uint32_t cbBuffer, const char * szString, va_list pArgList) 52 52 { 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()); 54 54 if (cbWritten > cbBuffer) 55 55 { … … 142 142 char rectBuf[24]; 143 143 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)", 145 145 pInfo->pRect->left, pInfo->pRect->top, 146 146 pInfo->pRect->right, pInfo->pRect->bottom); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.h
r82968 r83827 369 369 || VBOXVDBG_IS_DUMP_ALLOWED(DrawPrim)) \ 370 370 { \ 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)); \ 373 373 }\ 374 374 } while (0) … … 380 380 || VBOXVDBG_IS_DUMP_ALLOWED(DrawPrim)) \ 381 381 { \ 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)); \ 384 384 }\ 385 385 } while (0) … … 399 399 ) \ 400 400 { \ 401 vboxVDbgDoDumpRcRect("== " __FUNCTION__": ", &(_pRc)->aAllocations[0], NULL, NULL, "", \401 vboxVDbgDoDumpRcRect("== " __FUNCTION__ ": ", &(_pRc)->aAllocations[0], NULL, NULL, "", \ 402 402 VBOXVDBG_DUMP_FLAGS_FOR_TYPE(SetTexture) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \ 403 403 } \ … … 413 413 RECT _DstRect; \ 414 414 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, "", \ 416 416 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, "", \ 418 418 VBOXVDBG_DUMP_FLAGS_FOR_TYPE(TexBlt) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \ 419 419 } \ … … 430 430 RECT _DstRect; \ 431 431 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, "", \ 433 433 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, "", \ 435 435 VBOXVDBG_DUMP_FLAGS_FOR_TYPE(TexBlt) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \ 436 436 } \ … … 548 548 if (VBOXVDBG_IS_DUMP_ALLOWED(RtSynch)) \ 549 549 { \ 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)); \ 551 551 } \ 552 552 } while (0) … … 556 556 if (VBOXVDBG_IS_DUMP_ALLOWED(Flush)) \ 557 557 { \ 558 vboxVDbgDoDumpRt("== " __FUNCTION__": Rt: ", (_pDevice), "", \558 vboxVDbgDoDumpRt("== " __FUNCTION__ ": Rt: ", (_pDevice), "", \ 559 559 VBOXVDBG_DUMP_FLAGS_CLEAR(VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Flush), VBOXVDBG_DUMP_TYPEF_SHARED_ONLY)); \ 560 560 }\ … … 566 566 ) \ 567 567 { \ 568 vboxVDbgDoDumpLockSurfTex("== " __FUNCTION__": ", (_pData), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Lock)); \568 vboxVDbgDoDumpLockSurfTex("== " __FUNCTION__ ": ", (_pData), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Lock)); \ 569 569 } \ 570 570 } while (0) … … 574 574 ) \ 575 575 { \ 576 vboxVDbgDoDumpUnlockSurfTex("== " __FUNCTION__": ", (_pData), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Unlock)); \576 vboxVDbgDoDumpUnlockSurfTex("== " __FUNCTION__ ": ", (_pData), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Unlock)); \ 577 577 } \ 578 578 } while (0) -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/GaDdi.cpp
r83222 r83827 82 82 VBOXVDBG_BREAK_DDI(); 83 83 84 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));84 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 85 85 vboxVDbgPrintF(("src %p[%d] %d,%d %d,%d dst %p[%d] %d,%d %d,%d ColorKey 0x%08X Flags 0x%08X\n", 86 86 pData->hSrcResource, pData->SrcSubResourceIndex, … … 263 263 } 264 264 265 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));265 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 266 266 return hr; 267 267 } … … 271 271 VBOXVDBG_BREAK_DDI(); 272 272 273 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));273 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 274 274 vboxVDbgPrintF(("hDst %p, hSrc %p, face %d, dst %d,%d src %d,%d %d,%d\n", 275 275 pData->hDstResource, … … 346 346 } 347 347 348 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));348 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 349 349 return hr; 350 350 } … … 399 399 VBOXVDBG_BREAK_DDI(); 400 400 401 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));401 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 402 402 vboxVDbgPrintF(("hDst %p, hSrc %p, dst %d,%d,%d src LT %d,%d RB %d,%d FB %d,%d\n", 403 403 pData->hDstResource, … … 497 497 } 498 498 499 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));499 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 500 500 return hr; 501 501 } … … 505 505 VBOXVDBG_BREAK_DDI(); 506 506 507 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));507 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 508 508 509 509 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 539 539 } 540 540 541 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));541 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 542 542 return hr; 543 543 } … … 547 547 VBOXVDBG_BREAK_DDI(); 548 548 549 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));549 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 550 550 551 551 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 606 606 } 607 607 608 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));608 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 609 609 return hr; 610 610 } … … 614 614 VBOXVDBG_BREAK_DDI(); 615 615 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", 617 617 hDevice, pData->hResource, pData->SubResourceIndex, pData->Flags.Value)); 618 618 … … 1160 1160 } 1161 1161 1162 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));1162 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 1163 1163 return hr; 1164 1164 } … … 1168 1168 VBOXVDBG_BREAK_DDI(); 1169 1169 1170 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p) hResource 0x%p[%d]\n",1170 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) hResource 0x%p[%d]\n", 1171 1171 hDevice, pData->hResource, pData->SubResourceIndex)); 1172 1172 … … 1397 1397 } 1398 1398 1399 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));1399 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 1400 1400 return hr; 1401 1401 } … … 1405 1405 VBOXVDBG_BREAK_DDI(); 1406 1406 1407 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p) Size %d\n", hDevice, pData->Size));1407 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) Size %d\n", hDevice, pData->Size)); 1408 1408 1409 1409 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 1464 1464 } 1465 1465 1466 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));1466 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 1467 1467 return hr; 1468 1468 } … … 1472 1472 VBOXVDBG_BREAK_DDI(); 1473 1473 1474 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));1474 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 1475 1475 1476 1476 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 1482 1482 Assert(hr == S_OK); 1483 1483 1484 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));1484 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 1485 1485 return hr; 1486 1486 } … … 1490 1490 VBOXVDBG_BREAK_DDI(); 1491 1491 1492 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));1492 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 1493 1493 1494 1494 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 1498 1498 pShader->Release(); 1499 1499 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)); 1501 1501 return S_OK; 1502 1502 } … … 1507 1507 VBOXVDBG_BREAK_DDI(); 1508 1508 1509 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));1509 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 1510 1510 1511 1511 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 1517 1517 Assert(hr == S_OK); 1518 1518 1519 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));1519 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 1520 1520 return hr; 1521 1521 } … … 1526 1526 VBOXVDBG_BREAK_DDI(); 1527 1527 1528 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));1528 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 1529 1529 1530 1530 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 1534 1534 Assert(hr == S_OK); 1535 1535 1536 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));1536 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 1537 1537 return hr; 1538 1538 } … … 1543 1543 VBOXVDBG_BREAK_DDI(); 1544 1544 1545 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));1545 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 1546 1546 1547 1547 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 1551 1551 Assert(hr == S_OK); 1552 1552 1553 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));1553 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 1554 1554 return hr; 1555 1555 } … … 1559 1559 VBOXVDBG_BREAK_DDI(); 1560 1560 1561 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p) Size %d\n", hDevice, pData->CodeSize));1561 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) Size %d\n", hDevice, pData->CodeSize)); 1562 1562 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; 1563 1563 IDirect3DDevice9 *pDevice9If = VBOXDISP_D3DEV(pDevice); … … 1617 1617 } 1618 1618 1619 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));1619 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 1620 1620 return hr; 1621 1621 } … … 1625 1625 VBOXVDBG_BREAK_DDI(); 1626 1626 1627 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));1627 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 1628 1628 1629 1629 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 1634 1634 pShader->Release(); 1635 1635 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)); 1637 1637 return S_OK; 1638 1638 } … … 1643 1643 VBOXVDBG_BREAK_DDI(); 1644 1644 1645 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));1645 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 1646 1646 1647 1647 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 1651 1651 Assert(hr == S_OK); 1652 1652 1653 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));1653 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 1654 1654 return hr; 1655 1655 } … … 1660 1660 VBOXVDBG_BREAK_DDI(); 1661 1661 1662 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));1662 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 1663 1663 1664 1664 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 1668 1668 Assert(hr == S_OK); 1669 1669 1670 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));1670 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 1671 1671 return hr; 1672 1672 } … … 1718 1718 VBOXVDBG_BREAK_DDI(); 1719 1719 1720 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));1720 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 1721 1721 1722 1722 HRESULT hr = S_OK; … … 1924 1924 { 1925 1925 pWddmAllocInfo->hSharedHandle = pWddmAllocInfo->hostID; 1926 pAllocation->hSharedHandle = (HANDLE) pWddmAllocInfo->hostID;1926 pAllocation->hSharedHandle = (HANDLE)(uintptr_t)pWddmAllocInfo->hostID; 1927 1927 } 1928 1928 } … … 2026 2026 } 2027 2027 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)); 2029 2029 return hr; 2030 2030 } … … 2034 2034 VBOXVDBG_BREAK_DDI(); 2035 2035 2036 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p) hResource %p\n", hDevice, hResource));2036 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p) hResource %p\n", hDevice, hResource)); 2037 2037 2038 2038 HRESULT hr = S_OK; … … 2048 2048 if (pAlloc->hSharedHandle) 2049 2049 { 2050 if (pAlloc->hSharedHandle == (HANDLE) pAlloc->hostID)2050 if (pAlloc->hSharedHandle == (HANDLE)(uintptr_t)pAlloc->hostID) 2051 2051 { 2052 2052 /* The original shared resource is being destroyed. */ … … 2111 2111 RTMemFree(pRc); 2112 2112 2113 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));2113 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2114 2114 return hr; 2115 2115 } … … 2119 2119 VBOXVDBG_BREAK_DDI(); 2120 2120 2121 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2121 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2122 2122 2123 2123 HRESULT hr = S_OK; … … 2273 2273 { 2274 2274 pResource->hResource = pRc; 2275 vboxVDbgPrintF(("<== " __FUNCTION__", pRc(0x%p)\n", pRc));2275 vboxVDbgPrintF(("<== " __FUNCTION__ ", pRc(0x%p)\n", pRc)); 2276 2276 } 2277 2277 else … … 2284 2284 } 2285 2285 2286 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));2286 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2287 2287 return hr; 2288 2288 } … … 2294 2294 RT_NOREF(pFlagBuffer); 2295 2295 2296 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2296 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2297 2297 2298 2298 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2369 2369 } 2370 2370 2371 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));2371 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 2372 2372 return hr; 2373 2373 } … … 2378 2378 VBOXVDBG_BREAK_DDI(); 2379 2379 2380 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2380 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2381 2381 2382 2382 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2480 2480 } 2481 2481 2482 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));2482 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 2483 2483 return hr; 2484 2484 } … … 2489 2489 VBOXVDBG_BREAK_DDI(); 2490 2490 2491 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2491 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2492 2492 2493 2493 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2534 2534 2535 2535 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)); 2537 2537 return hr; 2538 2538 } … … 2583 2583 RT_NOREF(pFlagBuffer); 2584 2584 2585 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2585 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2586 2586 2587 2587 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2690 2690 } 2691 2691 2692 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));2692 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2693 2693 return hr; 2694 2694 } … … 2698 2698 VBOXVDBG_BREAK_DDI(); 2699 2699 2700 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2700 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2701 2701 2702 2702 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2707 2707 Assert(hr == S_OK); 2708 2708 2709 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));2709 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 2710 2710 return hr; 2711 2711 } … … 2717 2717 RT_NOREF(hDevice, pData); 2718 2718 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)); 2722 2722 return S_OK; 2723 2723 } … … 2729 2729 RT_NOREF(hDevice, pData); 2730 2730 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)); 2734 2734 return S_OK; 2735 2735 } … … 2739 2739 VBOXVDBG_BREAK_DDI(); 2740 2740 2741 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2741 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2742 2742 2743 2743 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2757 2757 Assert(hr == S_OK); 2758 2758 2759 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));2759 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 2760 2760 return hr; 2761 2761 } … … 2765 2765 VBOXVDBG_BREAK_DDI(); 2766 2766 2767 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2767 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2768 2768 2769 2769 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2819 2819 Assert(hr == S_OK); 2820 2820 2821 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));2821 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 2822 2822 return hr; 2823 2823 } … … 2827 2827 VBOXVDBG_BREAK_DDI(); 2828 2828 2829 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2829 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2830 2830 2831 2831 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2836 2836 Assert(hr == S_OK); 2837 2837 2838 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));2838 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 2839 2839 return hr; 2840 2840 } … … 2845 2845 VBOXVDBG_BREAK_DDI(); 2846 2846 2847 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2847 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2848 2848 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; 2849 2849 IDirect3DDevice9 *pDevice9If = VBOXDISP_D3DEV(pDevice); … … 2852 2852 Assert(hr == S_OK); 2853 2853 2854 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));2854 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 2855 2855 return hr; 2856 2856 } … … 2861 2861 VBOXVDBG_BREAK_DDI(); 2862 2862 2863 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2863 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2864 2864 2865 2865 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2893 2893 } 2894 2894 2895 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));2895 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 2896 2896 return hr; 2897 2897 } … … 2901 2901 VBOXVDBG_BREAK_DDI(); 2902 2902 2903 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2903 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2904 2904 2905 2905 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2929 2929 } 2930 2930 2931 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));2931 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 2932 2932 return hr; 2933 2933 } … … 2937 2937 VBOXVDBG_BREAK_DDI(); 2938 2938 2939 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2939 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2940 2940 2941 2941 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2960 2960 } 2961 2961 2962 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));2962 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 2963 2963 return hr; 2964 2964 } … … 2970 2970 RT_NOREF(pData); 2971 2971 2972 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));2972 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2973 2973 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; 2974 2974 RT_NOREF(pDevice); … … 2977 2977 AssertFailed(); 2978 2978 2979 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2979 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2980 2980 return E_NOTIMPL; 2981 2981 } … … 2987 2987 RT_NOREF(pData); 2988 2988 2989 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));2989 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2990 2990 2991 2991 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 2995 2995 AssertFailed(); 2996 2996 2997 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));2997 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 2998 2998 return E_NOTIMPL; 2999 2999 } … … 3005 3005 RT_NOREF(pData); 3006 3006 3007 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3007 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3008 3008 3009 3009 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; 3010 3010 RT_NOREF(pDevice); 3011 3011 3012 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3012 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3013 3013 3014 3014 return S_OK; … … 3029 3029 VBOXVDBG_BREAK_DDI(); 3030 3030 3031 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3031 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3032 3032 3033 3033 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3041 3041 Assert(hr == S_OK); 3042 3042 3043 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3043 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3044 3044 return hr; 3045 3045 } … … 3052 3052 RT_NOREF(pData, pPaletteData); 3053 3053 3054 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3054 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3055 3055 3056 3056 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3060 3060 AssertFailed(); 3061 3061 3062 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3062 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3063 3063 return E_NOTIMPL; 3064 3064 } … … 3070 3070 RT_NOREF(pData); 3071 3071 3072 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3072 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3073 3073 3074 3074 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3078 3078 AssertFailed(); 3079 3079 3080 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3080 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3081 3081 return E_NOTIMPL; 3082 3082 } … … 3088 3088 RT_NOREF(pData); 3089 3089 3090 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3090 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3091 3091 3092 3092 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3096 3096 AssertFailed(); 3097 3097 3098 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3098 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3099 3099 return E_NOTIMPL; 3100 3100 } … … 3106 3106 RT_NOREF(pData); 3107 3107 3108 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3108 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3109 3109 3110 3110 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3114 3114 AssertFailed(); 3115 3115 3116 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3116 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3117 3117 return E_NOTIMPL; 3118 3118 } … … 3122 3122 VBOXVDBG_BREAK_DDI(); 3123 3123 3124 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3124 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3125 3125 3126 3126 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3136 3136 Assert(hr == S_OK); 3137 3137 3138 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3138 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3139 3139 return hr; 3140 3140 } … … 3144 3144 VBOXVDBG_BREAK_DDI(); 3145 3145 3146 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3146 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3147 3147 3148 3148 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3156 3156 Assert(hr == S_OK); 3157 3157 3158 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3158 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3159 3159 return hr; 3160 3160 } … … 3166 3166 RT_NOREF(pData); 3167 3167 3168 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3168 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3169 3169 3170 3170 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3174 3174 AssertFailed(); 3175 3175 3176 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3176 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3177 3177 return E_NOTIMPL; 3178 3178 } … … 3184 3184 RT_NOREF(pData, pLightProperties); 3185 3185 3186 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3186 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3187 3187 3188 3188 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3192 3192 AssertFailed(); 3193 3193 3194 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3194 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3195 3195 return E_NOTIMPL; 3196 3196 } … … 3202 3202 RT_NOREF(pData); 3203 3203 3204 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3204 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3205 3205 3206 3206 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3210 3210 AssertFailed(); 3211 3211 3212 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3212 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3213 3213 return E_NOTIMPL; 3214 3214 } … … 3220 3220 RT_NOREF(pData); 3221 3221 3222 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3222 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3223 3223 3224 3224 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3228 3228 AssertFailed(); 3229 3229 3230 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3230 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3231 3231 return E_NOTIMPL; 3232 3232 } … … 3236 3236 VBOXVDBG_BREAK_DDI(); 3237 3237 3238 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3238 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3239 3239 3240 3240 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3244 3244 Assert(hr == S_OK); 3245 3245 3246 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3246 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3247 3247 return hr; 3248 3248 } … … 3252 3252 VBOXVDBG_BREAK_DDI(); 3253 3253 3254 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3254 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3255 3255 3256 3256 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3281 3281 } 3282 3282 3283 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3283 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3284 3284 return hr; 3285 3285 } … … 3289 3289 VBOXVDBG_BREAK_DDI(); 3290 3290 3291 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3291 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3292 3292 3293 3293 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3310 3310 Assert(hr == S_OK); 3311 3311 3312 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3312 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3313 3313 return hr; 3314 3314 } … … 3335 3335 VBOXVDBG_BREAK_DDI(); 3336 3336 3337 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3337 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3338 3338 3339 3339 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3372 3372 RTMemFree(pVe); 3373 3373 3374 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3374 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3375 3375 return hr; 3376 3376 } … … 3380 3380 VBOXVDBG_BREAK_DDI(); 3381 3381 3382 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3382 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3383 3383 3384 3384 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3390 3390 Assert(hr == S_OK); 3391 3391 3392 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3392 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3393 3393 return hr; 3394 3394 } … … 3398 3398 VBOXVDBG_BREAK_DDI(); 3399 3399 3400 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3400 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3401 3401 3402 3402 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3407 3407 pDecl->Release(); 3408 3408 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)); 3410 3410 return S_OK; 3411 3411 } … … 3415 3415 VBOXVDBG_BREAK_DDI(); 3416 3416 3417 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3417 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3418 3418 3419 3419 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3426 3426 Assert(hr == S_OK); 3427 3427 3428 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3428 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3429 3429 return hr; 3430 3430 } … … 3434 3434 VBOXVDBG_BREAK_DDI(); 3435 3435 3436 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3436 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3437 3437 3438 3438 AssertReturn(pData->Stream < VBOXWDDMDISP_MAX_VERTEX_STREAMS, E_INVALIDARG); … … 3485 3485 } 3486 3486 3487 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3487 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3488 3488 return hr; 3489 3489 } … … 3493 3493 VBOXVDBG_BREAK_DDI(); 3494 3494 3495 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3495 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3496 3496 3497 3497 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3501 3501 Assert(hr == S_OK); 3502 3502 3503 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3503 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3504 3504 return hr; 3505 3505 } … … 3511 3511 RT_NOREF(pData); 3512 3512 3513 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3513 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3514 3514 3515 3515 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3519 3519 AssertFailed(); 3520 3520 3521 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3521 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3522 3522 return E_NOTIMPL; 3523 3523 } … … 3529 3529 RT_NOREF(pData); 3530 3530 3531 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3531 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3532 3532 3533 3533 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3537 3537 AssertFailed(); 3538 3538 3539 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3539 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3540 3540 return E_NOTIMPL; 3541 3541 } … … 3545 3545 VBOXVDBG_BREAK_DDI(); 3546 3546 3547 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3547 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3548 3548 3549 3549 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3570 3570 } 3571 3571 3572 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3572 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3573 3573 return hr; 3574 3574 } … … 3580 3580 RT_NOREF(pData); 3581 3581 3582 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3582 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3583 3583 3584 3584 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3588 3588 AssertFailed(); 3589 3589 3590 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3590 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3591 3591 return E_NOTIMPL; 3592 3592 } … … 3596 3596 VBOXVDBG_BREAK_DDI(); 3597 3597 3598 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3598 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3599 3599 3600 3600 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3617 3617 } 3618 3618 3619 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3619 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3620 3620 return hr; 3621 3621 } … … 3625 3625 VBOXVDBG_BREAK_DDI(); 3626 3626 3627 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3627 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3628 3628 3629 3629 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3642 3642 } 3643 3643 3644 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3644 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3645 3645 return S_OK; 3646 3646 } … … 3650 3650 VBOXVDBG_BREAK_DDI(); 3651 3651 3652 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3652 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3653 3653 3654 3654 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3664 3664 Assert(hr == S_OK); 3665 3665 3666 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3666 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3667 3667 return hr; 3668 3668 } … … 3672 3672 VBOXVDBG_BREAK_DDI(); 3673 3673 3674 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3674 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3675 3675 3676 3676 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3703 3703 { 3704 3704 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)); 3706 3706 break; 3707 3707 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)); 3709 3709 break; 3710 3710 default: … … 3713 3713 #endif 3714 3714 3715 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3715 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3716 3716 return hr; 3717 3717 } … … 3767 3767 VBOXVDBG_BREAK_DDI(); 3768 3768 3769 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3769 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3770 3770 3771 3771 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3816 3816 } 3817 3817 3818 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3818 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3819 3819 return hr; 3820 3820 } … … 3824 3824 VBOXVDBG_BREAK_DDI(); 3825 3825 3826 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3826 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3827 3827 3828 3828 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3859 3859 } 3860 3860 3861 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));3861 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3862 3862 return hr; 3863 3863 } … … 3869 3869 RT_NOREF(pData); 3870 3870 3871 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3871 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3872 3872 3873 3873 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3877 3877 AssertFailed(); 3878 3878 3879 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3879 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3880 3880 return E_NOTIMPL; 3881 3881 } … … 3887 3887 RT_NOREF(pData); 3888 3888 3889 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3889 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3890 3890 3891 3891 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3895 3895 AssertFailed(); 3896 3896 3897 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3897 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3898 3898 return E_NOTIMPL; 3899 3899 } … … 3905 3905 RT_NOREF(hDecodeDevice); 3906 3906 3907 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3907 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3908 3908 3909 3909 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3913 3913 AssertFailed(); 3914 3914 3915 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3915 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3916 3916 return E_NOTIMPL; 3917 3917 } … … 3923 3923 RT_NOREF(pData); 3924 3924 3925 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3925 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3926 3926 3927 3927 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3931 3931 AssertFailed(); 3932 3932 3933 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3933 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3934 3934 return E_NOTIMPL; 3935 3935 } … … 3941 3941 RT_NOREF(pData); 3942 3942 3943 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3943 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3944 3944 3945 3945 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3949 3949 AssertFailed(); 3950 3950 3951 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3951 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3952 3952 return E_NOTIMPL; 3953 3953 } … … 3959 3959 RT_NOREF(pData); 3960 3960 3961 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3961 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3962 3962 3963 3963 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3967 3967 AssertFailed(); 3968 3968 3969 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3969 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3970 3970 return E_NOTIMPL; 3971 3971 } … … 3977 3977 RT_NOREF(pData); 3978 3978 3979 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3979 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3980 3980 3981 3981 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 3985 3985 AssertFailed(); 3986 3986 3987 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));3987 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3988 3988 return E_NOTIMPL; 3989 3989 } … … 3995 3995 RT_NOREF(pData); 3996 3996 3997 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));3997 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 3998 3998 3999 3999 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4003 4003 AssertFailed(); 4004 4004 4005 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4005 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4006 4006 return E_NOTIMPL; 4007 4007 } … … 4011 4011 VBOXVDBG_BREAK_DDI(); 4012 4012 4013 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4013 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4014 4014 4015 4015 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4020 4020 hr = E_INVALIDARG; 4021 4021 4022 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4022 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4023 4023 return hr; 4024 4024 } … … 4028 4028 VBOXVDBG_BREAK_DDI(); 4029 4029 4030 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4030 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4031 4031 4032 4032 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; 4033 4033 HRESULT hr = VBoxDxvaDestroyVideoProcessDevice(pDevice, hVideoProcessor); 4034 4034 4035 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4035 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4036 4036 return hr; 4037 4037 } … … 4041 4041 VBOXVDBG_BREAK_DDI(); 4042 4042 4043 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4043 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4044 4044 4045 4045 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; 4046 4046 HRESULT hr = VBoxDxvaVideoProcessBeginFrame(pDevice, hVideoProcessor); 4047 4047 4048 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4048 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4049 4049 return hr; 4050 4050 } … … 4054 4054 VBOXVDBG_BREAK_DDI(); 4055 4055 4056 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4056 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4057 4057 4058 4058 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; 4059 4059 HRESULT hr = VBoxDxvaVideoProcessEndFrame(pDevice, pData); 4060 4060 4061 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4061 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4062 4062 return hr; 4063 4063 } … … 4068 4068 VBOXVDBG_BREAK_DDI(); 4069 4069 4070 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4070 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4071 4071 4072 4072 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; 4073 4073 HRESULT hr = VBoxDxvaSetVideoProcessRenderTarget(pDevice, pData); 4074 4074 4075 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4075 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4076 4076 return hr; 4077 4077 } … … 4081 4081 VBOXVDBG_BREAK_DDI(); 4082 4082 4083 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4083 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4084 4084 4085 4085 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; 4086 4086 HRESULT hr = VBoxDxvaVideoProcessBlt(pDevice, pData); 4087 4087 4088 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4088 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4089 4089 return hr; 4090 4090 } … … 4096 4096 RT_NOREF(pData); 4097 4097 4098 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4098 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4099 4099 4100 4100 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4104 4104 AssertFailed(); 4105 4105 4106 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4106 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4107 4107 return E_NOTIMPL; 4108 4108 } … … 4114 4114 RT_NOREF(hExtension); 4115 4115 4116 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4116 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4117 4117 4118 4118 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4122 4122 AssertFailed(); 4123 4123 4124 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4124 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4125 4125 return E_NOTIMPL; 4126 4126 } … … 4132 4132 RT_NOREF(pData); 4133 4133 4134 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4134 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4135 4135 4136 4136 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4140 4140 AssertFailed(); 4141 4141 4142 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4142 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4143 4143 return E_NOTIMPL; 4144 4144 } … … 4158 4158 VBOXVDBG_BREAK_DDI(); 4159 4159 4160 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4160 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4161 4161 4162 4162 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4219 4219 hr = E_OUTOFMEMORY; 4220 4220 4221 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4221 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4222 4222 return hr; 4223 4223 } … … 4227 4227 VBOXVDBG_BREAK_DDI(); 4228 4228 4229 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4229 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4230 4230 4231 4231 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4271 4271 } 4272 4272 4273 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4273 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4274 4274 return hr; 4275 4275 } … … 4279 4279 VBOXVDBG_BREAK_DDI(); 4280 4280 4281 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4281 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4282 4282 4283 4283 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4315 4315 } 4316 4316 4317 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4317 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4318 4318 return hr; 4319 4319 } … … 4325 4325 RT_NOREF(pData); 4326 4326 4327 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4327 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4328 4328 4329 4329 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4333 4333 AssertFailed(); 4334 4334 4335 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4335 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4336 4336 return E_NOTIMPL; 4337 4337 } … … 4343 4343 RT_NOREF(pData); 4344 4344 4345 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4345 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4346 4346 4347 4347 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4351 4351 AssertFailed(); 4352 4352 4353 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4353 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4354 4354 return E_NOTIMPL; 4355 4355 } … … 4359 4359 VBOXVDBG_BREAK_DDI(); 4360 4360 4361 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4361 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4362 4362 4363 4363 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4375 4375 } 4376 4376 4377 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4377 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4378 4378 return hr; 4379 4379 } … … 4385 4385 RT_NOREF(pData); 4386 4386 4387 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4387 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4388 4388 4389 4389 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4393 4393 /** @todo check residency for the "real" allocations */ 4394 4394 4395 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4395 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4396 4396 return hr; 4397 4397 } … … 4403 4403 RT_NOREF(pData); 4404 4404 4405 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4405 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4406 4406 4407 4407 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4411 4411 AssertFailed(); 4412 4412 4413 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4413 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4414 4414 return E_NOTIMPL; 4415 4415 } … … 4421 4421 RT_NOREF(pData); 4422 4422 4423 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4423 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4424 4424 4425 4425 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4429 4429 AssertFailed(); 4430 4430 4431 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4431 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4432 4432 return E_NOTIMPL; 4433 4433 } … … 4440 4440 RT_NOREF3(pData, pInfo, pPatch); 4441 4441 4442 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4442 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4443 4443 4444 4444 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4448 4448 AssertFailed(); 4449 4449 4450 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4450 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4451 4451 return E_NOTIMPL; 4452 4452 } … … 4459 4459 RT_NOREF3(pData, pInfo, pPatch); 4460 4460 4461 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4461 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4462 4462 4463 4463 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4467 4467 AssertFailed(); 4468 4468 4469 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4469 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4470 4470 return E_NOTIMPL; 4471 4471 } … … 4475 4475 VBOXVDBG_BREAK_DDI(); 4476 4476 4477 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4477 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4478 4478 4479 4479 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4492 4492 RTMemFree(pDevice); 4493 4493 4494 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4494 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4495 4495 return S_OK; 4496 4496 } … … 4503 4503 RT_NOREF(pData); 4504 4504 4505 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4505 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4506 4506 4507 4507 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4511 4511 AssertFailed(); 4512 4512 4513 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4513 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4514 4514 return E_NOTIMPL; 4515 4515 } … … 4522 4522 RT_NOREF(pData); 4523 4523 4524 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4524 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4525 4525 4526 4526 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4530 4530 AssertFailed(); 4531 4531 4532 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4532 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4533 4533 return E_NOTIMPL; 4534 4534 } … … 4541 4541 RT_NOREF(pData); 4542 4542 4543 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4543 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4544 4544 4545 4545 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4549 4549 AssertFailed(); 4550 4550 4551 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4551 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4552 4552 return E_NOTIMPL; 4553 4553 } … … 4560 4560 RT_NOREF(pData); 4561 4561 4562 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4562 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4563 4563 4564 4564 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4568 4568 AssertFailed(); 4569 4569 4570 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4570 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4571 4571 return E_NOTIMPL; 4572 4572 } … … 4579 4579 RT_NOREF(pData); 4580 4580 4581 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4581 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4582 4582 4583 4583 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4587 4587 AssertFailed(); 4588 4588 4589 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4589 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4590 4590 return E_NOTIMPL; 4591 4591 } … … 4598 4598 RT_NOREF(pData); 4599 4599 4600 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4600 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4601 4601 4602 4602 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4606 4606 AssertFailed(); 4607 4607 4608 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4608 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4609 4609 return E_NOTIMPL; 4610 4610 } … … 4617 4617 RT_NOREF(hProcessor); 4618 4618 4619 vboxVDbgPrintF(("<== " __FUNCTION__", hDevice(0x%p)\n", hDevice));4619 vboxVDbgPrintF(("<== " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4620 4620 4621 4621 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)hDevice; … … 4625 4625 AssertFailed(); 4626 4626 4627 vboxVDbgPrintF(("==> " __FUNCTION__", hDevice(0x%p)\n", hDevice));4627 vboxVDbgPrintF(("==> " __FUNCTION__ ", hDevice(0x%p)\n", hDevice)); 4628 4628 return E_NOTIMPL; 4629 4629 } … … 4635 4635 HRESULT hr = S_OK; 4636 4636 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)); 4638 4638 4639 4639 PVBOXWDDMDISP_ADAPTER pAdapter = (PVBOXWDDMDISP_ADAPTER)hAdapter; … … 4797 4797 #endif 4798 4798 4799 vboxVDbgPrint(("<== " __FUNCTION__", hAdapter(0x%p)\n", hAdapter));4799 vboxVDbgPrint(("<== " __FUNCTION__ ", hAdapter(0x%p)\n", hAdapter)); 4800 4800 return hr; 4801 4801 } … … 4805 4805 VBOXVDBG_BREAK_DDI(); 4806 4806 4807 vboxVDbgPrint(("==> " __FUNCTION__", hAdapter(0x%p)\n", hAdapter));4807 vboxVDbgPrint(("==> " __FUNCTION__ ", hAdapter(0x%p)\n", hAdapter)); 4808 4808 4809 4809 PVBOXWDDMDISP_ADAPTER pAdapter = (PVBOXWDDMDISP_ADAPTER)hAdapter; … … 4821 4821 RTMemFree(pAdapter); 4822 4822 4823 vboxVDbgPrint(("<== " __FUNCTION__", hAdapter(0x%p)\n", hAdapter));4823 vboxVDbgPrint(("<== " __FUNCTION__ ", hAdapter(0x%p)\n", hAdapter)); 4824 4824 4825 4825 return S_OK; … … 4850 4850 VBOXVDBG_BREAK_DDI(); 4851 4851 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)); 4853 4853 4854 4854 HRESULT hr = S_OK; … … 5174 5174 } 5175 5175 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)); 5177 5177 return S_OK; 5178 5178 } -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/GaWddm.cpp
r82968 r83827 745 745 746 746 /* Remember that this sid is used for all operations on this allocation. */ 747 pAlloc->hSharedHandle = (HANDLE) hostID;747 pAlloc->hSharedHandle = (HANDLE)(uintptr_t)hostID; 748 748 } 749 749 else … … 761 761 762 762 /* Remember which sid is actually used for this allocation. */ 763 pAlloc->hSharedHandle = (HANDLE) usedHostId;763 pAlloc->hSharedHandle = (HANDLE)(uintptr_t)usedHostId; 764 764 765 765 /* Inform the miniport. */ -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared/VBoxDispMpLogger.cpp
r82968 r83827 247 247 char *pszBuffer = &szBuffer[0]; 248 248 249 int cbWritten = _snprintf(pszBuffer, cbBuffer, "['%s' 0x% x.0x%x]: ",249 int cbWritten = _snprintf(pszBuffer, cbBuffer, "['%s' 0x%lx.0x%lx]: ", 250 250 vboxUmLogGetModuleName(), GetCurrentProcessId(), GetCurrentThreadId()); 251 251 if (cbWritten < 0 || cbWritten >= cbBuffer) -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDrawCmd.cpp
r82968 r83827 79 79 #endif 80 80 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 } \ 109 106 } while (0) 110 107 -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPVidModes.cpp
r82968 r83827 18 18 #include "VBoxMPCommon.h" 19 19 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... */ 21 21 #define _INC_SWPRINTF_INL_ 22 22 extern "C" int __cdecl swprintf(wchar_t *, const wchar_t *, ...); … … 802 802 * regardless of conditions always add 2 entries to the table. 803 803 */ 804 BOOLEANbAlternativeIndex = FALSE;804 bAlternativeIndex = FALSE; 805 805 806 806 BOOLEAN bChanged = (pExt->Prev_xres!=specialMode.VisScreenWidth -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.cpp
r82968 r83827 1091 1091 static void vboxUmdDumpDword(DWORD *pvData, DWORD cData) 1092 1092 { 1093 char aBuf[16*4];1094 1093 DWORD dw1, dw2, dw3, dw4; 1095 1094 for (UINT i = 0; i < (cData & (~3)); i+=4) … … 1099 1098 dw3 = *pvData++; 1100 1099 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)); 1103 1101 } 1104 1102 … … 1110 1108 dw2 = *pvData++; 1111 1109 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)); 1114 1111 break; 1115 1112 case 2: 1116 1113 dw1 = *pvData++; 1117 1114 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)); 1120 1116 break; 1121 1117 case 1: 1122 1118 dw1 = *pvData++; 1123 sprintf(aBuf, "0x%8x\n", dw1); 1124 LOGREL(("%s", aBuf)); 1119 LOGREL(("0x%8x\n", dw1)); 1125 1120 break; 1126 1121 default: -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r82968 r83827 3316 3316 if (pAlloc->bAssigned) 3317 3317 { 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]; 3321 3321 if (pSource->AllocData.hostID != pAlloc->AllocData.hostID) 3322 3322 { … … 3324 3324 pSource->u8SyncState &= ~VBOXWDDM_HGSYNC_F_SYNCED_LOCATION; 3325 3325 3326 vboxWddmGhDisplayCheckSetInfo(pDevExt );3326 vboxWddmGhDisplayCheckSetInfo(pDevExt2); 3327 3327 } 3328 3328 } -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium/VBoxMPGaWddm.cpp
r83694 r83827 1476 1476 gaFenceObjectsLock(pGaDevExt); 1477 1477 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) 1491 1485 { 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); 1493 1497 } 1494 1495 GaFenceUnrefLocked(pGaDevExt, pIter);1496 1498 } 1497 1499 } -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPIOCTL.cpp
r82968 r83827 34 34 } 35 35 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 36 43 /* Called for IOCTL_VIDEO_RESET_DEVICE. 37 44 * Reset device to a state it comes at system boot time. … … 88 95 pMapInfo->FrameBufferBase = (PUCHAR)pMapInfo->VideoRamBase; 89 96 pMapInfo->FrameBufferLength = 90 VBoxMPXpdmCurrentVideoMode(pExt)->VisScreenHeight *97 VBoxMPXpdmCurrentVideoMode(pExt)->VisScreenHeight * 91 98 VBoxMPXpdmCurrentVideoMode(pExt)->ScreenStride; 92 99
Note:
See TracChangeset
for help on using the changeset viewer.