Lines Matching defs:CustomYRes
184 rc = VBoxMPCmnRegSetDword(Registry, L"CustomYRes", pResolution->cy);
195 swprintf(keyname, L"CustomYRes%d", u32Target);
323 uint32_t CustomXRes = 0, CustomYRes = 0;
330 vpRc = VBoxMPCmnRegQueryDword(Registry, L"CustomYRes", &CustomYRes);
339 swprintf(keyname, L"CustomYRes%d", u32Target);
340 vpRc = VBoxMPCmnRegQueryDword(Registry, keyname, &CustomYRes);
344 LOG(("got stored custom resolution[%d] %dx%dx", u32Target, CustomXRes, CustomYRes));
346 if (CustomXRes || CustomYRes)
350 if (CustomYRes == 0)
351 CustomYRes = pExt->aTargets[u32Target].Size.cy ? pExt->aTargets[u32Target].Size.cy : 600;
353 RTRECTSIZE Resolution = {CustomXRes, CustomYRes};
367 vpRc = VBoxMPCmnRegQueryDword(Registry, keyname, &CustomYRes);
370 LOG(("got custom mode[%u]=%ux%u", curKey, CustomXRes, CustomYRes));
380 RTRECTSIZE Resolution = {CustomXRes, CustomYRes};