Searched refs:Resolutions (Results 1 – 6 of 6) sorted by relevance
/reactos/base/applications/mstsc/ |
H A D | connectdialog.c | 539 newEntry->Resolutions = HeapAlloc(GetProcessHeap(), in AddDisplayDevice() 542 if (!newEntry->Resolutions) goto ByeBye; in AddDisplayDevice() 554 newEntry->Resolutions[i].dmPelsWidth = Current->dmPelsWidth; in AddDisplayDevice() 555 newEntry->Resolutions[i].dmPelsHeight = Current->dmPelsHeight; in AddDisplayDevice() 561 newEntry->Resolutions[i].dmPelsWidth = GetSystemMetrics(SM_CXSCREEN); in AddDisplayDevice() 562 newEntry->Resolutions[i].dmPelsHeight = GetSystemMetrics(SM_CYSCREEN); in AddDisplayDevice() 606 if (newEntry->Resolutions != NULL) in AddDisplayDevice() 607 HeapFree(GetProcessHeap(), 0, newEntry->Resolutions); in AddDisplayDevice() 652 pInfo->DisplayDeviceList->Resolutions[position].dmPelsWidth, in OnResolutionChanged() 653 pInfo->DisplayDeviceList->Resolutions[position].dmPelsHeight, in OnResolutionChanged() [all …]
|
H A D | precomp.h | 77 PRESOLUTION_INFO Resolutions; member
|
H A D | settings.c | 45 pInfo->DisplayDeviceList->Resolutions[ret].dmPelsWidth); in SaveAllSettings() 48 pInfo->DisplayDeviceList->Resolutions[ret].dmPelsHeight); in SaveAllSettings()
|
/reactos/dll/cpl/desk/ |
H A D | settings.c | 42 …if (pData->CurrentDisplayDevice->Resolutions[index].dmPelsWidth == pData->CurrentDisplayDevice->Cu… in UpdateDisplay() 43 …pData->CurrentDisplayDevice->Resolutions[index].dmPelsHeight == pData->CurrentDisplayDevice->Curre… in UpdateDisplay() 205 …newEntry->Resolutions = HeapAlloc(GetProcessHeap(), 0, ResolutionsCount * sizeof(RESOLUTION_INFO)); in AddDisplayDevice() 206 if (!newEntry->Resolutions) goto ByeBye; in AddDisplayDevice() 218 newEntry->Resolutions[i].dmPelsWidth = Current->dmPelsWidth; in AddDisplayDevice() 219 newEntry->Resolutions[i].dmPelsHeight = Current->dmPelsHeight; in AddDisplayDevice() 265 if (newEntry->Resolutions != NULL) in AddDisplayDevice() 266 HeapFree(GetProcessHeap(), 0, newEntry->Resolutions); in AddDisplayDevice() 602 DWORD dmNewPelsHeight = pData->CurrentDisplayDevice->Resolutions[NewPosition].dmPelsHeight; in OnResolutionChanged() 603 DWORD dmNewPelsWidth = pData->CurrentDisplayDevice->Resolutions[NewPosition].dmPelsWidth; in OnResolutionChanged()
|
H A D | desk.h | 151 PRESOLUTION_INFO Resolutions; member
|
/reactos/dll/win32/comdlg32/ |
H A D | printdlg.c | 1230 LONG* Resolutions; in PRINTDLG_ChangePrinterA() local 1238 Resolutions = HeapAlloc(GetProcessHeap(), 0, numResolutions*sizeof(LONG)*2); in PRINTDLG_ChangePrinterA() 1241 DC_ENUMRESOLUTIONS, (LPSTR)Resolutions, lpdm); in PRINTDLG_ChangePrinterA() 1253 if(Resolutions[i] == Resolutions[i+1]) in PRINTDLG_ChangePrinterA() 1255 if(dpiX == Resolutions[i]) in PRINTDLG_ChangePrinterA() 1257 sprintf(buf, "%d dpi", Resolutions[i]); in PRINTDLG_ChangePrinterA() 1260 if(dpiX == Resolutions[i] && dpiY == Resolutions[i+1]) in PRINTDLG_ChangePrinterA() 1262 sprintf(buf, "%d dpi x %d dpi", Resolutions[i], Resolutions[i+1]); in PRINTDLG_ChangePrinterA() 1272 HeapFree(GetProcessHeap(), 0, Resolutions); in PRINTDLG_ChangePrinterA()
|