Changeset 60531 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray
- Timestamp:
- Apr 18, 2016 9:15:38 AM (9 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/VBoxTray
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk
r60526 r60531 68 68 ifdef VBOX_WITH_WDDM 69 69 VBoxTray_DEFS += VBOX_WITH_WDDM 70 VBoxTray_DEFS += LOG_ENABLED70 # VBoxTray_DEFS += LOG_ENABLED 71 71 VBoxTray_SOURCES += ../Graphics/Video/disp/wddm/VBoxDispKmt.cpp 72 72 endif -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp
r60526 r60531 35 35 #else 36 36 #define WARN(_m) do { \ 37 Log Rel(_m); \37 Log(_m); \ 38 38 } while (0) 39 39 #define WARN_FUNC(_m) do { \ 40 Log RelFunc(_m); \40 LogFunc(_m); \ 41 41 } while (0) 42 42 #endif … … 1314 1314 static DWORD vboxDispIfUpdateModesWDDM(VBOXDISPIF_OP *pOp, uint32_t u32TargetId, const RTRECTSIZE *pSize) 1315 1315 { 1316 LogRel(("VBoxTray: vboxDispIfUpdateModesWDDM Enter, u32TargetId %d\n", u32TargetId));1317 1316 DWORD winEr = ERROR_SUCCESS; 1318 1317 VBOXDISPIFESCAPE_UPDATEMODES EscData = {0}; … … 1400 1399 DWORD winEr = NO_ERROR; 1401 1400 1402 Log Rel(("VBoxTray: vboxDispIfResizeModesWDDM fEnable %d, iChanged %d, cDevModes %d\n", fEnable, iChangedMode, cDevModes));1401 Log(("VBoxTray: vboxDispIfResizeModesWDDM iChanged %d cDevModes %d\n", iChangedMode, cDevModes)); 1403 1402 VBoxRrRetryStop(); 1404 1403 … … 1438 1437 1439 1438 NTSTATUS Status = Op.pIf->modeData.wddm.KmtCallbacks.pfnD3DKMTInvalidateActiveVidPn(&DdiData); 1440 Log Rel(("VBoxTray: InvalidateActiveVidPn cElements %d, returns 0x%08x\n", cElements, Status));1439 LogFunc(("InvalidateActiveVidPn 0x%08x\n", Status)); 1441 1440 1442 1441 /* Resize displays always to keep the display layout because … … 1453 1452 winEr = vboxDispIfUpdateModesWDDM(&Op, iChangedMode, &Size); 1454 1453 if (winEr != NO_ERROR) 1455 WARN(("VBoxTray: vboxDispIfUpdateModesWDDM failed %d\n", winEr)); 1456 else 1457 LogRel(("VBoxTray: vboxDispIfUpdateModesWDDM is OK for iChangedMode %d\n", iChangedMode)); 1454 WARN(("vboxDispIfUpdateModesWDDM failed %d\n", winEr)); 1458 1455 } 1459 1456 … … 1462 1459 winEr = vboxDispIfResizePerform(pIf, iChangedMode, fEnable, fExtDispSup, paDisplayDevices, paDeviceModes, cDevModes); 1463 1460 1464 LogRel(("VBoxTray: vboxDispIfResizePerform returned 0x%08x for iChangedMode %d\n", winEr, iChangedMode));1465 1461 if (winEr == ERROR_RETRY) 1466 1462 { -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp
r60526 r60531 1004 1004 } 1005 1005 1006 RTLogGroupSettings(NULL, "+all.e.l.f");1007 1008 1006 if (RT_SUCCESS(rc)) 1009 1007 {
Note:
See TracChangeset
for help on using the changeset viewer.