Lines Matching defs:CustomXRes
182 rc = VBoxMPCmnRegSetDword(Registry, L"CustomXRes", pResolution->cx);
192 swprintf(keyname, L"CustomXRes%d", u32Target);
323 uint32_t CustomXRes = 0, CustomYRes = 0;
328 vpRc = VBoxMPCmnRegQueryDword(Registry, L"CustomXRes", &CustomXRes);
336 swprintf(keyname, L"CustomXRes%d", u32Target);
337 vpRc = VBoxMPCmnRegQueryDword(Registry, keyname, &CustomXRes);
344 LOG(("got stored custom resolution[%d] %dx%dx", u32Target, CustomXRes, CustomYRes));
346 if (CustomXRes || CustomYRes)
348 if (CustomXRes == 0)
349 CustomXRes = pExt->aTargets[u32Target].Size.cx ? pExt->aTargets[u32Target].Size.cx : 800;
353 RTRECTSIZE Resolution = {CustomXRes, CustomYRes};
363 vpRc = VBoxMPCmnRegQueryDword(Registry, keyname, &CustomXRes);
370 LOG(("got custom mode[%u]=%ux%u", curKey, CustomXRes, CustomYRes));
375 CustomXRes &= 0xFFF8;
380 RTRECTSIZE Resolution = {CustomXRes, CustomYRes};