Lines Matching defs:xres
612 DWORD xres = atoi(argv[0]);
635 xres &= ~0x7;
637 RTPrintf("Setting resolution of display %d to %dx%dx%d ...", scr, xres, yres, bpp);
638 ResizeDisplayDevice(scr, xres, yres, bpp);
955 DWORD xres;
971 DWORD xres, yres, bpp = 0;
976 status = RegQueryValueExA(hkeyVideo, valueName, NULL, &dwType, (LPBYTE)&xres, &dwLen);
989 if ( (xres > (1 << 16))
997 customModes[curMode].xres = xres;
1032 if ( (!customModes[tableIndex].xres)
1040 RTPrintf("writing mode %d (%dx%dx%d)\n", modeIndex, customModes[tableIndex].xres, customModes[tableIndex].yres, customModes[tableIndex].bpp);
1043 status = RegSetValueExA(hkeyVideo, valueName, 0, REG_DWORD, (LPBYTE)&customModes[tableIndex].xres,
1044 sizeof(customModes[tableIndex].xres));
1074 if ( !customModes[i].xres
1080 customModes[i].xres, customModes[i].yres, customModes[i].bpp);
1095 DWORD xres = atoi(argv[0]);
1099 /** @todo better check including xres mod 8 = 0! */
1100 if ( (xres > (1 << 16))
1120 if ( customModes[i].xres == xres
1133 if (!customModes[i].xres)
1135 customModes[i].xres = xres;
1156 DWORD xres = atoi(argv[0]);
1168 if ( (customModes[i].xres == xres)