Lines Matching defs:CustomXRes
148 uint32_t CustomXRes = 0, CustomYRes = 0, CustomBPP = 0;
153 rc = VBoxMPCmnRegQueryDword(Registry, L"CustomXRes", &CustomXRes);
163 swprintf(keyname, L"CustomXRes%d", iMode);
164 rc = VBoxMPCmnRegQueryDword(Registry, keyname, &CustomXRes);
174 LOG(("got stored custom resolution[%d] %dx%dx%d", iMode, CustomXRes, CustomYRes, CustomBPP));
176 if (CustomXRes || CustomYRes || CustomBPP)
178 if (CustomXRes == 0)
180 CustomXRes = g_CustomVideoModes[iMode].VisScreenWidth;
191 if (VBoxMPValidateVideoModeParamsGuest(pExt, iMode, CustomXRes, CustomYRes, CustomBPP))
193 VBoxFillVidModeInfo(&g_CustomVideoModes[iMode], CustomXRes, CustomYRes, CustomBPP, 0, 0);
697 rc = VBoxMPCmnRegSetDword(Registry, L"CustomXRes", pMode->VisScreenWidth);
707 swprintf(keyname, L"CustomXRes%d", iDisplay);