Changeset 27992 in vbox
- Timestamp:
- Apr 5, 2010 7:32:50 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59698
- Location:
- trunk/src/VBox/Additions/WINNT
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r27988 r27992 1284 1284 else 1285 1285 Status = STATUS_BUFFER_TOO_SMALL; 1286 1287 if (i == (uint32_t)iPreferrableMode) 1288 iFoundPreferrableMode = cFound; 1289 1286 1290 ++cFound; 1287 1288 if (i == (uint32_t)iPreferrableMode)1289 iFoundPreferrableMode = i; 1290 }1291 } 1291 } 1292 } 1293 1294 Assert(iFoundPreferrableMode < 0 || cFound > (uint32_t)iFoundPreferrableMode); 1295 1292 1296 *pcModes = cFound; 1293 1297 if (piPreferrableMode) 1294 1298 *piPreferrableMode = iFoundPreferrableMode; 1299 1295 1300 return Status; 1296 1301 } -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.h
r27988 r27992 67 67 { 68 68 VBOXDISPIF_MODE enmMode; 69 #ifdef VBOXWDDM70 69 /* with WDDM the approach is to call into WDDM miniport driver via PFND3DKMT API provided by the GDI, 71 70 * The PFND3DKMT is supposed to be used by the OpenGL ICD according to MSDN, so this approach is a bit hacky */ … … 76 75 LONG (WINAPI * pfnChangeDisplaySettingsEx)(LPCSTR lpszDeviceName, LPDEVMODE lpDevMode, HWND hwnd, DWORD dwflags, LPVOID lParam); 77 76 } xpdm; 78 77 #ifdef VBOXWDDM 79 78 struct 80 79 { … … 89 88 PFND3DKMT_INVALIDATEACTIVEVIDPN pfnD3DKMTInvalidateActiveVidPn; 90 89 } wddm; 90 #endif 91 91 } modeData; 92 #endif93 92 } VBOXDISPIF, *PVBOXDISPIF; 94 93 typedef const struct VBOXDISPIF *PCVBOXDISPIF;
Note:
See TracChangeset
for help on using the changeset viewer.