Searched refs:NumDevices (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Additions/WINNT/VBoxTray/
H A DVBoxDisplay.h26 DWORD VBoxGetDisplayConfig(const DWORD NumDevices, DWORD *pDevPrimaryNum, DWORD *pNumDevices, DISPLAY_DEVICE *paDisplayDevices, DEVMODE *paDeviceModes);
H A DVBoxDisplay.cpp330 DWORD NumDevices = 0; local
339 NumDevices++;
345 NumDevices++;
353 return NumDevices;
356 DWORD VBoxGetDisplayConfig(const DWORD NumDevices, DWORD *pDevPrimaryNum, DWORD *pNumDevices, DISPLAY_DEVICE *paDisplayDevices, DEVMODE *paDeviceModes) argument
389 if (DevNum >= NumDevices)
391 LogFlowFunc(("ResizeDisplayDevice: %d >= %d\n", NumDevices, DevNum));
460 DWORD NumDevices = VBoxGetDisplayConfigCount(); local
462 if (NumDevices == 0 || Id >= NumDevices)
[all...]
H A DVBoxDispIf.cpp1791 DWORD NumDevices = VBoxGetDisplayConfigCount(); local
1792 if (NumDevices == 0)
1798 DISPLAY_DEVICE *paDisplayDevices = (DISPLAY_DEVICE *)alloca (sizeof (DISPLAY_DEVICE) * NumDevices);
1799 DEVMODE *paDeviceModes = (DEVMODE *)alloca (sizeof (DEVMODE) * NumDevices);
1803 DWORD winEr = VBoxGetDisplayConfig(NumDevices, &DevPrimaryNum, &DevNum, paDisplayDevices, paDeviceModes);
1810 if (NumDevices != DevNum)
1811 WARN(("VBoxTray: vboxDispIfResizeStartedWDDMOp: NumDevices(%d) != DevNum(%d)\n", NumDevices, DevNum));
1839 if (NewNumDevices != NumDevices)
1840 WARN(("VBoxTray: vboxDispIfResizeStartedWDDMOp: NumDevices(
[all...]
/vbox/src/VBox/Additions/common/VBoxControl/
H A DVBoxControl.cpp431 DWORD NumDevices = 0; local
440 NumDevices++;
446 NumDevices++;
454 Log(("Found total %d devices. err %d\n", NumDevices, GetLastError ()));
456 if (NumDevices == 0 || Id >= NumDevices)
462 DISPLAY_DEVICE *paDisplayDevices = (DISPLAY_DEVICE *)alloca (sizeof (DISPLAY_DEVICE) * NumDevices);
463 DEVMODE *paDeviceModes = (DEVMODE *)alloca (sizeof (DEVMODE) * NumDevices);
464 RECTL *paRects = (RECTL *)alloca (sizeof (RECTL) * NumDevices);
495 if (DevNum >= NumDevices)
[all...]

Completed in 374 milliseconds