Changeset 69201 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
- Timestamp:
- Oct 24, 2017 11:50:08 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
r69180 r69201 726 726 } 727 727 728 #ifdef VBOX_WITH_WDDM729 728 if (enmDriverType == VBOXDISPLAY_DRIVER_TYPE_WDDM) 730 729 { 731 LogFlowFunc(("Request to resize the displa\n"));732 730 DWORD err = VBoxDispIfResizeModes(&pCtx->pEnv->dispIf, Id, fEnabled, fExtDispSup, paDisplayDevices, paDeviceModes, DevNum); 733 if (err != ERROR_RETRY) 734 { 735 if (err == NO_ERROR) 736 LogFlowFunc(("VBoxDispIfResizeModes succeeded\n")); 737 else 738 LogFlowFunc(("Failure VBoxDispIfResizeModes (%d)\n", err)); 739 return FALSE; 740 } 741 742 LogFlowFunc(("ResizeDisplayDevice: RETRY requested\n")); 743 return TRUE; 744 } 745 #endif 746 /* Without this, Windows will not ask the miniport for its 747 * mode table but uses an internal cache instead. 731 732 return (err == ERROR_RETRY); 733 } 734 735 /* The XPDM code path goes below. 736 * Re-requesting modes with EnumDisplaySettings forces Windows to again ask the miniport for its mode table. 748 737 */ 749 738 for (i = 0; i < NumDevices; i++)
Note:
See TracChangeset
for help on using the changeset viewer.