/reactos/win32ss/user/user32/misc/ |
H A D | display.c | 218 lpExtendedDevMode->dmDriverExtra = lpDevMode->dmDriverExtra; in EnumDisplaySettingsExA() 278 if (lpDevMode->dmDriverExtra && lpExtendedDevMode->dmDriverExtra) in EnumDisplaySettingsExA() 281 if (lpDevMode->dmDriverExtra > lpExtendedDevMode->dmDriverExtra) in EnumDisplaySettingsExA() 282 lpDevMode->dmDriverExtra = lpExtendedDevMode->dmDriverExtra; in EnumDisplaySettingsExA() 319 lpDevMode->dmDriverExtra = 0; in EnumDisplaySettingsA() 357 lpExtendedDevMode->dmDriverExtra = lpDevMode->dmDriverExtra; in EnumDisplaySettingsExW() 374 if (lpDevMode->dmDriverExtra && lpExtendedDevMode->dmDriverExtra) in EnumDisplaySettingsExW() 377 if (lpDevMode->dmDriverExtra > lpExtendedDevMode->dmDriverExtra) in EnumDisplaySettingsExW() 378 lpDevMode->dmDriverExtra = lpExtendedDevMode->dmDriverExtra; in EnumDisplaySettingsExW() 415 lpDevMode->dmDriverExtra = 0; in EnumDisplaySettingsW() [all …]
|
/reactos/modules/rostests/apitests/user32/ |
H A D | EnumDisplaySettings.c | 23 dmW.dmDriverExtra = 0x7777; in START_TEST() 30 ok(dmW.dmDriverExtra == 0, "%d\n", dmW.dmDriverExtra); in START_TEST() 67 dmA.dmDriverExtra = 0x7777; in START_TEST() 74 ok(dmA.dmDriverExtra == 0, "%d\n", dmA.dmDriverExtra); in START_TEST()
|
H A D | LookupIconIdFromDirectoryEx.c | 98 dm.dmDriverExtra = 0; in START_TEST()
|
H A D | GetIconInfo.c | 152 dm.dmDriverExtra = 0; in START_TEST()
|
/reactos/modules/rostests/apitests/winspool/ |
H A D | IsValidDevmode.c | 140 DevMode.dmDriverExtra = 1; in START_TEST() 150 for (DevMode.dmDriverExtra = 1; DevMode.dmDriverExtra <= 4; DevMode.dmDriverExtra++) in START_TEST() 158 …ok(IsValidDevmodeA(&DevMode, DevMode.dmSize + DevMode.dmDriverExtra) == bExpected, "IsValidDevmode… in START_TEST() 247 DevMode.dmDriverExtra = 1; in START_TEST() 257 for (DevMode.dmDriverExtra = 1; DevMode.dmDriverExtra <= 4; DevMode.dmDriverExtra++) in START_TEST() 265 …ok(IsValidDevmodeW(&DevMode, DevMode.dmSize + DevMode.dmDriverExtra) == bExpected, "IsValidDevmode… in START_TEST()
|
/reactos/win32ss/printing/base/winspool/ |
H A D | devmode.c | 146 if (DevmodeSize < pDevmode->dmSize + pDevmode->dmDriverExtra) in IsValidDevmodeA() 150 if (pDevmode->dmDriverExtra && pDevmode->dmSize % 4) in IsValidDevmodeA() 198 if (DevmodeSize < pDevmode->dmSize + pDevmode->dmDriverExtra) in IsValidDevmodeW() 202 if (pDevmode->dmDriverExtra && pDevmode->dmSize % 4) in IsValidDevmodeW() 250 if (pDevmode->dmDriverExtra && pDevmode->dmSize % 4) in IsValidDevmodeNoSizeW() 320 dmA = HeapAlloc(GetProcessHeap(), 0, dmA_size + dmW->dmDriverExtra); in _ConvertToDevmodeA() 344 if (dmW->dmDriverExtra) in _ConvertToDevmodeA() 345 memcpy((char *)dmA + dmA_size, (const char *)dmW + dmW_size, dmW->dmDriverExtra); in _ConvertToDevmodeA() 364 …memcpy( pDevModeOutput, pTmp, pTmp->dmSize + pTmp->dmDriverExtra); // Copy into a Wide char (Large… in RosConvertUnicodeDevModeToAnsiDevmode()
|
H A D | printers.c | 347 DevModeContainer.cbBuf = pi2w->pDevMode->dmSize + pi2w->pDevMode->dmDriverExtra; in AddPrinterW() 848 DWORD cbDevMode = pi2->pDevMode->dmSize + pi2->pDevMode->dmDriverExtra; in IntFixUpDevModeNames() 955 Result = pi9->pDevMode->dmSize + pi9->pDevMode->dmDriverExtra; in DocumentPropertySheets() 3369 … DevModeContainer.cbBuf = pi2w->pDevMode->dmSize + pi2w->pDevMode->dmDriverExtra; in SetPrinterW() 3438 … DevModeContainer.cbBuf = pi9w->pDevMode->dmSize + pi9w->pDevMode->dmDriverExtra; in SetPrinterW()
|
/reactos/modules/rostests/apitests/win32nt/ntuser/ |
H A D | NtUserEnumDisplaySettings.c | 30 data.devmode.dmDriverExtra = 0; in START_TEST() 51 data.devmode.dmDriverExtra = 0xffff; in START_TEST() 56 data.devmode.dmDriverExtra = 0; in START_TEST()
|
/reactos/modules/rostests/winetests/user32/ |
H A D | monitor.c | 328 dm.dmDriverExtra = 1; in test_ChangeDisplaySettingsEx() 332 ok(dm.dmDriverExtra == 0 || broken(dm.dmDriverExtra == 1) /* win9x */, in test_ChangeDisplaySettingsEx() 336 dm.dmDriverExtra = 1; in test_ChangeDisplaySettingsEx() 340 ok(dm.dmDriverExtra == 1, "ChangeDisplaySettingsExA shouldn't reset dmDriverExtra to 0\n"); in test_ChangeDisplaySettingsEx() 347 dmW.dmDriverExtra = 1; in test_ChangeDisplaySettingsEx() 354 ok(dmW.dmDriverExtra == 0, "ChangeDisplaySettingsW didn't reset dmDriverExtra to 0\n"); in test_ChangeDisplaySettingsEx() 358 dmW.dmDriverExtra = 1; in test_ChangeDisplaySettingsEx() 364 ok(dmW.dmDriverExtra == 1, "ChangeDisplaySettingsExW shouldn't reset dmDriverExtra to 0\n"); in test_ChangeDisplaySettingsEx()
|
/reactos/win32ss/printing/providers/localspl/ |
H A D | tools.c | 66 pOutput = DllAllocSplMem(pInput->dmSize + pInput->dmDriverExtra); in DuplicateDevMode() 74 CopyMemory(pOutput, pInput, pInput->dmSize + pInput->dmDriverExtra); in DuplicateDevMode()
|
H A D | printers.c | 630 cbDevMode = pPrinter->pDefaultDevMode->dmSize + pPrinter->pDefaultDevMode->dmDriverExtra; in _LocalGetPrinterLevel2() 841 cbDevMode = pPrinter->pDefaultDevMode->dmSize + pPrinter->pDefaultDevMode->dmDriverExtra; in _LocalGetPrinterLevel8() 864 cbDevMode = pPrinter->pDefaultDevMode->dmSize + pPrinter->pDefaultDevMode->dmDriverExtra; in _LocalGetPrinterLevel9()
|
H A D | jobs.c | 544 cbDevMode = pJob->pDevMode->dmSize + pJob->pDevMode->dmDriverExtra; in _LocalGetJobLevel2() 1304 DWORD cbDevMode = pJob->pDevMode->dmSize + pJob->pDevMode->dmDriverExtra; in WriteJobShadowFile()
|
/reactos/win32ss/user/ntuser/ |
H A D | display.c | 593 cbExtra = lpDevMode->dmDriverExtra; in NtUserEnumDisplaySettings() 671 if (cbExtra > 0 && pdm->dmDriverExtra > 0) in NtUserEnumDisplaySettings() 675 min(cbExtra, pdm->dmDriverExtra)); in NtUserEnumDisplaySettings() 1009 if (dmLocal.dmDriverExtra > 0) in NtUserChangeDisplaySettings() 1013 dmLocal.dmDriverExtra = 0; in NtUserChangeDisplaySettings()
|
/reactos/dll/win32/comdlg32/ |
H A D | printdlg.c | 270 if ((dm->dmSize + dm->dmDriverExtra) > size) { in update_devmode_handleW() 298 if ((dm->dmSize + dm->dmDriverExtra) > size) { in update_devmode_handleA() 2323 pbuf->pDevMode->dmDriverExtra); in PrintDlgA() 2326 pbuf->pDevMode->dmDriverExtra); in PrintDlgA() 2370 lpdm->dmSize + lpdm->dmDriverExtra); in PrintDlgA() 2373 lpdm->dmSize + lpdm->dmDriverExtra, in PrintDlgA() 2474 pbuf->pDevMode->dmDriverExtra); in PrintDlgW() 2477 pbuf->pDevMode->dmDriverExtra); in PrintDlgW() 2521 lpdm->dmSize + lpdm->dmDriverExtra); in PrintDlgW() 2532 lpdm->dmSize + lpdm->dmDriverExtra, in PrintDlgW() [all …]
|
/reactos/win32ss/gdi/ntgdi/ |
H A D | dclife.c | 708 WORD dmSize, dmDriverExtra; variable 733 dmDriverExtra = pdmInit->dmDriverExtra; 734 Size = dmSize + dmDriverExtra; 742 pdmAllocated->dmDriverExtra = dmDriverExtra;
|
/reactos/win32ss/gdi/eng/ |
H A D | ldevobj.c | 617 pdm = (DEVMODEW*)((PCHAR)pdm + pdm->dmSize + pdm->dmDriverExtra)) in LDEVOBJ_bBuildDevmodeList() 656 pdm = (PDEVMODEW)((PCHAR)pdm + pdm->dmSize + pdm->dmDriverExtra)) in LDEVOBJ_bBuildDevmodeList() 874 …pdm = ExAllocatePoolZero(PagedPool, pdmSelected->dmSize + pdmSelected->dmDriverExtra, GDITAG_DEVMO… in LDEVOBJ_bProbeAndCaptureDevmode() 882 pdmSelected->dmDriverExtra); in LDEVOBJ_bProbeAndCaptureDevmode()
|
H A D | pdevobj.c | 545 …ppdev->pdmwDev = ExAllocatePoolWithTag(PagedPool, pdm->dmSize + pdm->dmDriverExtra, GDITAG_DEVMODE… in PDEVOBJ_Create() 548 RtlCopyMemory(ppdev->pdmwDev, pdm, pdm->dmSize + pdm->dmDriverExtra); in PDEVOBJ_Create()
|
/reactos/dll/directx/ddraw/Ddraw/ |
H A D | callbacks_dd_hel.c | 44 DevMode.dmDriverExtra = 0; in HelDdSetMode()
|
/reactos/modules/rostests/winetests/ole32/ |
H A D | clipboard.c | 481 dm.dmDriverExtra = 0; in DataObjectImpl_CreateComplex() 483 …p(), 0, FIELD_OFFSET(DVTARGETDEVICE, tdData) + sizeof(device_name) + dm.dmSize + dm.dmDriverExtra); in DataObjectImpl_CreateComplex() 484 …tdSize = FIELD_OFFSET(DVTARGETDEVICE, tdData) + sizeof(device_name) + dm.dmSize + dm.dmDriverExtra; in DataObjectImpl_CreateComplex() 490 memcpy(obj->fmtetc[3].ptd->tdData + sizeof(device_name), &dm, dm.dmSize + dm.dmDriverExtra); in DataObjectImpl_CreateComplex() 1429 dm.dmDriverExtra = 0; in test_flushed_getdata() 1431 …p(), 0, FIELD_OFFSET(DVTARGETDEVICE, tdData) + sizeof(device_name) + dm.dmSize + dm.dmDriverExtra); in test_flushed_getdata() 1432 …tdSize = FIELD_OFFSET(DVTARGETDEVICE, tdData) + sizeof(device_name) + dm.dmSize + dm.dmDriverExtra; in test_flushed_getdata() 1438 memcpy(fmt.ptd->tdData + sizeof(device_name), &dm, dm.dmSize + dm.dmDriverExtra); in test_flushed_getdata()
|
/reactos/win32ss/gdi/gdi32/misc/ |
H A D | misc.c | 987 dmW = HeapAlloc(GetProcessHeap(), 0, dmW_size + dmA->dmDriverExtra); in GdiConvertToDevmodeW() 1007 if (dmA->dmDriverExtra) in GdiConvertToDevmodeW() 1008 memcpy((char *)dmW + dmW_size, (const char *)dmA + dmA_size, dmA->dmDriverExtra); in GdiConvertToDevmodeW()
|
/reactos/win32ss/drivers/displays/vga_new/ |
H A D | enable.c | 484 pdm->dmDriverExtra = DRIVER_EXTRA_SIZE; in DrvGetModes()
|
/reactos/dll/cpl/desk/ |
H A D | devsett.c | 568 dwSize = devmode.dmSize + devmode.dmDriverExtra; in pCDevSettings_Initialize() 606 devmode.dmDriverExtra = 0; in pCDevSettings_Initialize()
|
/reactos/win32ss/drivers/displays/framebuf/ |
H A D | screen.c | 404 pdm->dmDriverExtra = 0; in DrvGetModes()
|
/reactos/win32ss/drivers/displays/vga/main/ |
H A D | enable.c | 553 DM->dmDriverExtra = DRIVER_EXTRA_SIZE; in DrvGetModes()
|
/reactos/base/applications/rapps/ |
H A D | misc.cpp | 334 pDevMode.dmDriverExtra = 0; in GetSystemColorDepth()
|