Lines Matching defs:NumDevices
431 DWORD NumDevices = 0;
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)
497 Log(("%d >= %d\n", NumDevices, DevNum));
550 resizeRect(paRects, NumDevices, DevPrimaryNum, Id, Width, Height);
552 for (i = 0; i < NumDevices; i++)
570 for (i = 0; i < NumDevices; i++)