Changeset 33997 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideoHGSMI.cpp
- Timestamp:
- Nov 11, 2010 2:45:10 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67661
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideoHGSMI.cpp
r33951 r33997 241 241 } 242 242 243 dprintf(("VBoxVideo::vboxQueryConf: u32Value = %d\n", p->u32Value));243 Log(("VBoxVideo::vboxQueryConf: u32Value = %d\n", p->u32Value)); 244 244 return VINF_SUCCESS; 245 245 } … … 247 247 static int vboxQueryConfHGSMI (PVBOXVIDEO_COMMON pCommon, uint32_t u32Index, ULONG *pulValue) 248 248 { 249 dprintf(("VBoxVideo::vboxQueryConf: u32Index = %d\n", u32Index));249 Log(("VBoxVideo::vboxQueryConf: u32Index = %d\n", u32Index)); 250 250 251 251 QUERYCONFCTX context; … … 261 261 &context); 262 262 263 dprintf(("VBoxVideo::vboxQueryConf: rc = %d\n", rc));263 Log(("VBoxVideo::vboxQueryConf: rc = %d\n", rc)); 264 264 265 265 return rc; … … 330 330 static int vboxSetupAdapterInfoHGSMI (PVBOXVIDEO_COMMON pCommon) 331 331 { 332 dprintf(("VBoxVideo::vboxSetupAdapterInfo\n"));332 Log(("VBoxVideo::vboxSetupAdapterInfo\n")); 333 333 334 334 /* setup the flags first to ensure they are initialized by the time the host heap is ready */ … … 365 365 366 366 367 dprintf(("VBoxVideo::vboxSetupAdapterInfo finished rc = %d\n", rc));367 Log(("VBoxVideo::vboxSetupAdapterInfo finished rc = %d\n", rc)); 368 368 369 369 return rc; … … 384 384 VP_STATUS rc = NO_ERROR; 385 385 386 dprintf(("VBoxVideo::VBoxSetupDisplays: pCommon = %p\n", pCommon));386 Log(("VBoxVideo::VBoxSetupDisplays: pCommon = %p\n", pCommon)); 387 387 388 388 memset(pCommon, 0, sizeof(*pCommon)); … … 408 408 if (rc != NO_ERROR) 409 409 { 410 dprintf(("VBoxVideo::VBoxSetupDisplays: VBoxMapAdapterMemory pvAdapterInfoirrmation failed rc = %d\n",410 Log(("VBoxVideo::VBoxSetupDisplays: VBoxMapAdapterMemory pvAdapterInfoirrmation failed rc = %d\n", 411 411 rc)); 412 412 … … 424 424 if (RT_FAILURE (rc)) 425 425 { 426 dprintf(("VBoxVideo::VBoxSetupDisplays: HGSMIHeapSetup failed rc = %d\n",426 Log(("VBoxVideo::VBoxSetupDisplays: HGSMIHeapSetup failed rc = %d\n", 427 427 rc)); 428 428 … … 462 462 pCommon->cbMiniportHeap = (cbMiniportHeap + 0xFFF) & ~0xFFF; 463 463 464 dprintf(("VBoxVideo::VBoxSetupDisplays: cbMiniportHeap = 0x%08X, pCommon->cbMiniportHeap = 0x%08X, cbMiniportHeapMaxSize = 0x%08X\n",464 Log(("VBoxVideo::VBoxSetupDisplays: cbMiniportHeap = 0x%08X, pCommon->cbMiniportHeap = 0x%08X, cbMiniportHeapMaxSize = 0x%08X\n", 465 465 cbMiniportHeap, pCommon->cbMiniportHeap, cbMiniportHeapMaxSize)); 466 466 … … 511 511 vboxQueryConfHGSMI (pCommon, VBOX_VBVA_CONF32_MONITOR_COUNT, &cDisplays); 512 512 513 dprintf(("VBoxVideo::VBoxSetupDisplays: cDisplays = %d\n",513 Log(("VBoxVideo::VBoxSetupDisplays: cDisplays = %d\n", 514 514 cDisplays)); 515 515 … … 536 536 VBoxFreeDisplaysHGSMI(pCommon); 537 537 538 dprintf(("VBoxVideo::VBoxSetupDisplays: finished\n"));538 Log(("VBoxVideo::VBoxSetupDisplays: finished\n")); 539 539 } 540 540 … … 621 621 622 622 #ifndef DEBUG_misha 623 dprintf(("vboxUpdatePointerShape: cbData %d, %dx%d\n",623 Log(("vboxUpdatePointerShape: cbData %d, %dx%d\n", 624 624 cbData, pointerAttr->Width, pointerAttr->Height)); 625 625 #endif … … 627 627 if (cbData > cbLength - sizeof(VIDEO_POINTER_ATTRIBUTES)) 628 628 { 629 dprintf(("vboxUpdatePointerShape: calculated pointer data size is too big (%d bytes, limit %d)\n",629 Log(("vboxUpdatePointerShape: calculated pointer data size is too big (%d bytes, limit %d)\n", 630 630 cbData, cbLength - sizeof(VIDEO_POINTER_ATTRIBUTES))); 631 631 return FALSE; … … 644 644 &ctx); 645 645 #ifndef DEBUG_misha 646 dprintf(("VBoxVideo::vboxMousePointerShape: rc %d, i32Result = %d\n", rc, ctx.i32Result));646 Log(("VBoxVideo::vboxMousePointerShape: rc %d, i32Result = %d\n", rc, ctx.i32Result)); 647 647 #endif 648 648
Note:
See TracChangeset
for help on using the changeset viewer.