Home
last modified time | relevance | path

Searched refs:dmPelsWidth (Results 1 – 25 of 36) sorted by relevance

12

/reactos/dll/cpl/desk/
H A Dsettings.c67 if (Entry->dmPelsWidth == dmPelsWidth && in CompareSettings()
75 if ((Entry->dmPelsWidth < dmPelsWidth) || in CompareSettings()
76 (Entry->dmPelsWidth == dmPelsWidth && Entry->dmPelsHeight < dmPelsHeight) || in CompareSettings()
77 (Entry->dmPelsWidth == dmPelsWidth && Entry->dmPelsHeight == dmPelsHeight && in CompareSettings()
138 Current->dmPelsWidth = devmode.dmPelsWidth; in GetPossibleSettings()
198 ((Current->dmPelsWidth != Current->Flink->dmPelsWidth) || in AddDisplayDevice()
215 ((Current->dmPelsWidth != Current->Flink->dmPelsWidth) || in AddDisplayDevice()
218 newEntry->Resolutions[i].dmPelsWidth = Current->dmPelsWidth; in AddDisplayDevice()
776 devmode.dmPelsWidth = seNew->dmPelsWidth; in SwitchDisplayMode()
812 devmode.dmPelsWidth = seInit->dmPelsWidth; in SwitchDisplayMode()
[all …]
H A Ddesk.h127 DWORD dmPelsWidth; member
136 DWORD dmPelsWidth; member
H A Ddevsett.c626 … if (((CurMode->dmFields & DM_PELSWIDTH) && devmode.dmPelsWidth == CurMode->dmPelsWidth) && in pCDevSettings_Initialize()
1081 seOrig.dmPelsWidth = This->lpOrigDevMode->dmPelsWidth; in DisplaySaveSettings()
1086 seCur.dmPelsWidth = This->lpCurDevMode->dmPelsWidth; in DisplaySaveSettings()
/reactos/win32ss/gdi/eng/
H A Dldevobj.c660 pdm->dmPelsWidth, in LDEVOBJ_bBuildDevmodeList()
689 dmDiff.dmPelsWidth = 0xffffffff; in LDEVOBJ_bGetClosestMode()
701 if (RequestedMode->dmPelsWidth != 0 && DM_DIFF(dmPelsWidth) > dmDiff.dmPelsWidth) in LDEVOBJ_bGetClosestMode()
711 dmDiff.dmPelsWidth = DM_DIFF(dmPelsWidth); in LDEVOBJ_bGetClosestMode()
722 RequestedMode->dmPelsWidth, in LDEVOBJ_bGetClosestMode()
726 pdmBest->dmPelsWidth, in LDEVOBJ_bGetClosestMode()
772 dmSearch.dmPelsWidth = RequestedMode->dmPelsWidth; in LDEVOBJ_bProbeAndCaptureDevmode()
815 dmSearch.dmPelsWidth = pdmSelected->dmPelsWidth; in LDEVOBJ_bProbeAndCaptureDevmode()
827 dmSearch.dmPelsWidth = pdmSelected->dmPelsWidth; in LDEVOBJ_bProbeAndCaptureDevmode()
852 if (pdmCurrent->dmPelsWidth != dmSearch.dmPelsWidth) in LDEVOBJ_bProbeAndCaptureDevmode()
[all …]
H A Dpandisp.c82 pdm->dmPelsWidth, pdm->dmPelsHeight, pdm->dmBitsPerPel, in PanEnablePDEV()
85 ASSERT(pdm->dmPanningWidth <= pdm->dmPelsWidth && pdm->dmPanningHeight <= pdm->dmPelsHeight); in PanEnablePDEV()
101 underlyingDevmode.dmPelsWidth = pdm->dmPanningWidth; in PanEnablePDEV()
122 pandev->szlDesktop.cx = pdm->dmPelsWidth; in PanEnablePDEV()
129 pGdiInfo->ulHorzRes = pdm->dmPelsWidth; in PanEnablePDEV()
H A Dmdevobj.c71 pdm ? pdm->dmPelsWidth : 0, in MDEVOBJ_Create()
H A Dpdevobj.c188 ppdev->pGraphicsDevice ? pdevmode->dmPelsWidth : 0, in PDEVOBJ_bEnablePDEV()
572 pdm->dmPanningWidth = pdm->dmPelsWidth; in PDEVOBJ_Create()
880 RequestedMode ? RequestedMode->dmPelsWidth : 0, in PDEVOBJ_lChangeDisplaySettings()
/reactos/base/applications/mstsc/
H A Dconnectdialog.c452 if (devmode.dmPelsWidth < 640 || in GetPossibleSettings()
465 Current->dmPelsWidth = devmode.dmPelsWidth; in GetPossibleSettings()
469 (Next->dmPelsWidth < Current->dmPelsWidth || in GetPossibleSettings()
470 … (Next->dmPelsWidth == Current->dmPelsWidth && Next->dmPelsHeight < Current->dmPelsHeight) || in GetPossibleSettings()
472 Next->dmPelsWidth == Current->dmPelsWidth && in GetPossibleSettings()
524 newEntry->InitialSettings.dmPelsWidth = newEntry->CurrentSettings->dmPelsWidth; in AddDisplayDevice()
532 ((Current->dmPelsWidth != Current->Flink->dmPelsWidth) && in AddDisplayDevice()
551 ((Current->dmPelsWidth != Current->Flink->dmPelsWidth) && in AddDisplayDevice()
554 newEntry->Resolutions[i].dmPelsWidth = Current->dmPelsWidth; in AddDisplayDevice()
561 newEntry->Resolutions[i].dmPelsWidth = GetSystemMetrics(SM_CXSCREEN); in AddDisplayDevice()
[all …]
H A Dprecomp.h54 DWORD dmPelsWidth; member
63 DWORD dmPelsWidth; member
H A Dsettings.c45 pInfo->DisplayDeviceList->Resolutions[ret].dmPelsWidth); in SaveAllSettings()
/reactos/dll/appcompat/shims/layer/
H A Ddispmode.c56 (dm.dmPelsWidth != 640 || dm.dmPelsHeight != 480)) in SHIM_OBJ_NAME()
58 dm.dmPelsWidth = 640; in SHIM_OBJ_NAME()
/reactos/dll/directx/ddraw/Ddraw/
H A Dddraw_displaymode.c56 SurfaceDesc.dwWidth = DevMode.dmPelsWidth; in Main_DirectDraw_EnumDisplayModes()
57 SurfaceDesc.lPitch = DevMode.dmPelsWidth * DevMode.dmBitsPerPel / 8; in Main_DirectDraw_EnumDisplayModes()
154 SurfaceDesc.dwWidth = DevMode.dmPelsWidth; in Main_DirectDraw_EnumDisplayModes4()
155 SurfaceDesc.lPitch = DevMode.dmPelsWidth * DevMode.dmBitsPerPel / 8; in Main_DirectDraw_EnumDisplayModes4()
260 DevMode.dmPelsWidth = dwWidth; in Main_DirectDraw_SetDisplayMode2()
/reactos/modules/rostests/apitests/appshim/
H A Ddispmode.c90 if (lpDevMode && lpDevMode->dmPelsWidth == 640 && lpDevMode->dmPelsHeight == 480) in mEnumDisplaySettingsA()
93 lpDevMode->dmPelsWidth = 800; in mEnumDisplaySettingsA()
102 lpDevMode->dmPelsWidth = 640; in mEnumDisplaySettingsA()
214 ok_int(g_LastDevmode.dmPelsWidth, 640); in post_640()
235 ok_int(g_LastDevmode.dmPelsWidth, 640); in post_640_no()
/reactos/win32ss/printing/base/winspool/
H A Ddevmode.c31 { DM_PELSWIDTH, FIELD_OFFSET(DEVMODEA, dmPelsWidth) + RTL_FIELD_SIZE(DEVMODEA, dmPelsWidth) },
68 { DM_PELSWIDTH, FIELD_OFFSET(DEVMODEW, dmPelsWidth) + RTL_FIELD_SIZE(DEVMODEW, dmPelsWidth) },
/reactos/modules/rostests/apitests/winspool/
H A DIsValidDevmode.c35 { DM_PELSWIDTH, FIELD_OFFSET(DEVMODEA, dmPelsWidth) + RTL_FIELD_SIZE(DEVMODEA, dmPelsWidth) },
69 { DM_PELSWIDTH, FIELD_OFFSET(DEVMODEW, dmPelsWidth) + RTL_FIELD_SIZE(DEVMODEW, dmPelsWidth) },
/reactos/modules/rostests/winetests/user32/
H A Dmonitor.c326 width = dm.dmPelsWidth; in test_ChangeDisplaySettingsEx()
345 dmW.dmPelsWidth = dm.dmPelsWidth; in test_ChangeDisplaySettingsEx()
372 dm.dmPelsWidth = width; in test_ChangeDisplaySettingsEx()
381 dmW.dmPelsWidth = width; in test_ChangeDisplaySettingsEx()
395 dm.dmPelsWidth = vid_modes_test[i].w; in test_ChangeDisplaySettingsEx()
/reactos/win32ss/drivers/displays/framebuf/
H A Dscreen.c146 if (pDevMode->dmPelsWidth == 0 && pDevMode->dmPelsHeight == 0 && in IntInitScreenInfo()
168 pDevMode->dmPelsWidth == ModeInfoPtr->VisScreenWidth && in IntInitScreenInfo()
406 pdm->dmPelsWidth = ModeInfoPtr->VisScreenWidth; in DrvGetModes()
/reactos/win32ss/drivers/displays/vga_new/
H A Dscreen.c359 if ((pDevMode->dmPelsWidth == 0) && in bInitPDEV()
371 DISPDBG((2, " Screen width -- %li\n", pDevMode->dmPelsWidth)); in bInitPDEV()
384 ((pVideoTemp->VisScreenWidth == pDevMode->dmPelsWidth) && in bInitPDEV()
H A Denable.c488 pdm->dmPelsWidth = pVideoTemp->VisScreenWidth; in DrvGetModes()
/reactos/win32ss/user/winsrv/consrv/frontends/gui/
H A Dfullscreen.c30 DevMode.dmPelsWidth = 640; // GuiData->ActiveBuffer->ViewSize.X * GuiData->CharWidth; in EnterFullScreen()
/reactos/win32ss/drivers/displays/vga/main/
H A Denable.c273 DM->dmPelsWidth = gaulCap.ulHorzRes; in DrvEnablePDEV()
556 DM->dmPelsWidth = VideoTemp->VisScreenWidth; in DrvGetModes()
/reactos/modules/rostests/tests/DxHalTest/
H A Dmain.c130 mpModeInfos[0].dwWidth = devmode.dmPelsWidth; in WinMain()
133 mpModeInfos[0].lPitch = (devmode.dmPelsWidth*devmode.dmBitsPerPel)/8; in WinMain()
/reactos/dll/shellext/deskmon/
H A Ddeskmon.c264 lpMode->dmPelsWidth == lpCurrentMode->dmPelsWidth && in UpdateRefreshFrequencyList()
/reactos/dll/win32/shell32/shelldesktop/
H A DCDesktopBrowser.cpp623 if (!DevMode.dmPelsWidth || !DevMode.dmPelsHeight) in SHIsTempDisplayMode()
631 return (cxWidth != DevMode.dmPelsWidth || cyHeight != DevMode.dmPelsHeight); in SHIsTempDisplayMode()
/reactos/win32ss/user/ntuser/
H A Ddisplay.c21 RegWriteDWORD(hkey, L"DefaultSettings.XResolution", pdm->dmPelsWidth); in RegWriteDisplaySettings()
52 READ(dmPelsWidth, "DefaultSettings.XResolution", DM_PELSWIDTH); in RegReadDisplaySettings()

12