Changeset 20201 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jun 2, 2009 5:34:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
r19836 r20201 257 257 ENUM_CURRENT_SETTINGS, &paDeviceModes[DevNum])) 258 258 { 259 /* ENUM_CURRENT_SETTINGS returns FALSE when the display is not active: 260 * for example a disabled secondary display. 261 * Do not return here, ignore the error and set the display info to 0x0x0. 262 */ 259 263 Log(("EnumDisplaySettings(ENUM_CURRENT_SETTINGS) err %d\n", GetLastError ())); 260 return FALSE;264 ZeroMemory(&paDeviceModes[DevNum], sizeof(DEVMODE)); 261 265 } 262 266 }
Note:
See TracChangeset
for help on using the changeset viewer.