Changeset 44296 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
- Timestamp:
- Jan 15, 2013 2:12:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
r44194 r44296 267 267 { 268 268 Log(("VBoxTray: ResizeDisplayDevice: EnumDisplaySettings error %d\n", GetLastError ())); 269 return FALSE; 269 /* @todo: perhaps more intelligent error reporting is needed here 270 * return DISP_CHANGE_BADMODE to avoid retries & thus infinite looping */ 271 return DISP_CHANGE_BADMODE; 270 272 } 271 273 … … 346 348 DWORD dwStatus = gCtx.pfnChangeDisplaySettingsEx(NULL, NULL, NULL, 0, NULL); 347 349 Log(("VBoxTray: ChangeDisplay return errorNo = %d\n", GetLastError())); 350 /* @todo: if the pfnChangeDisplaySettingsEx returned status is 351 * NOT DISP_CHANGE_SUCCESSFUL AND NOT DISP_CHANGE_BADMODE, 352 * we will always end up in re-trying, see ResizeDisplayDevice 353 * is this what we want actually? */ 348 354 return dwStatus; 349 355 }
Note:
See TracChangeset
for help on using the changeset viewer.