Changeset 62415 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp
- Timestamp:
- Jul 22, 2016 9:44:49 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp
r61944 r62415 356 356 pCfg->pPathInfoArray[idx].targetInfo.modeInfoIdx = DISPLAYCONFIG_PATH_MODE_IDX_INVALID; 357 357 358 /* "A refresh rate with both the numerator and denominator set to zero indicates that 359 * the caller does not specify a refresh rate and the operating system should use 360 * the most optimal refresh rate available. For this case, in a call to the SetDisplayConfig 361 * function, the caller must set the scanLineOrdering member to the 362 * DISPLAYCONFIG_SCANLINE_ORDERING_UNSPECIFIED value; otherwise, SetDisplayConfig fails." 363 * 364 * If a refresh rate is set to a value, then the resize will fail if miniport driver 365 * does not support VSync, i.e. with display-only driver on Win8+ (@bugref{8440}). 366 */ 367 pCfg->pPathInfoArray[idx].targetInfo.refreshRate.Numerator = 0; 368 pCfg->pPathInfoArray[idx].targetInfo.refreshRate.Denominator = 0; 369 pCfg->pPathInfoArray[idx].targetInfo.scanLineOrdering = DISPLAYCONFIG_SCANLINE_ORDERING_UNSPECIFIED; 370 371 /* Make sure that "The output can be forced on this target even if a monitor is not detected." */ 372 pCfg->pPathInfoArray[idx].targetInfo.targetAvailable = TRUE; 373 pCfg->pPathInfoArray[idx].targetInfo.statusFlags |= DISPLAYCONFIG_TARGET_FORCIBLE; 374 358 375 if (fEnable) 359 376 pCfg->pPathInfoArray[idx].flags |= DISPLAYCONFIG_PATH_ACTIVE;
Note:
See TracChangeset
for help on using the changeset viewer.