mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 15:15:27 +00:00
![Joachim Henze](/assets/img/avatar_default.png)
A very nice set of patches done by Doug Lyons!, Jim Tabor, Colin Finck to fix: - a crash on the testbots for comdlg32:printdlg - erroneous behavior of PrintDlg in _A()-application "Kompozer", namely - prevents exceptions from being thrown when opening the print dlg - prevents heap allocations of 0 byte size when opening the print dlg - prevents a help-button that should be invisible from overlapping other controls - allows Kompozer to extend the print-dialog with additional controls - allows combobox to show the printers name, instead of memory garbage [PRINTING] Improve Stubs for GetPrinterA and GetPrinterDeviceA (#2274) cherry picked from commit 0.4.14-dev-849-gacec69a1d7
[WINSPOOL] Add Implementation of EnumPrintersA (#2273) cherry picked from commit 0.4.14-dev-878-ge8b177825b
[FORMATTING] Fix indentation of winspool/printers.c No code changes cherry picked from commit 0.4.14-dev-879-g45f39ffc25
[PRINTING] Part of GDI Support Fix ups and added support to prevent GDI from crashing. These functions will be required for GDI. Part 1 of print support. cherry picked from commit 0.4.14-dev-880-gadffa8ea75
[WINSPOOL] printers.c: Demote 3 ERR() to TRACE(), Fix 1 copypasta (#2311) cherry picked from commit 0.4.14-dev-889-g06f8f80181
[WINSPOOL] Implement GetPrinterDriverA and a helper function UnicodeToAnsiInPlace (#2317) cherry picked from commit 0.4.14-dev-957-gd90beaeed2
[WINSPOOL] Fix build cherry picked from commit 0.4.14-dev-958-g8da7fbc704
[GDI32] GdiConvertToDevmodeW: Import WINE commit 32393796bb534e9cf11dd988dce88722c67f7906 ("gdi32: GdiConvertToDevmodeW should not refer to unintialized name bytes.") This makes our GdiConvertToDevmodeW equivalent to the WINE counterpart again. cherry picked from commit 0.4.14-dev-1031-g5d8c39753e
[WINSPOOL] Implement DocumentPropertiesA including DEVMODE conversions (#2339) Co-authored-by: Doug Lyons <douglyons@douglyons.com> Co-authored-by: Colin Finck <colin@reactos.org> cherry picked from commit 0.4.14-dev-1035-g3077c0e43e
35 lines
959 B
CMake
35 lines
959 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
|
|
add_rpc_files(client ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/winspool.idl)
|
|
spec2def(winspool.drv winspool.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
../marshalling.c
|
|
devmode.c
|
|
forms.c
|
|
jobs.c
|
|
main.c
|
|
monitors.c
|
|
ports.c
|
|
precomp.h
|
|
printerdata.c
|
|
printerdrivers.c
|
|
printers.c
|
|
printprocessors.c
|
|
printproviders.c
|
|
utils.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/winspool_c.c)
|
|
|
|
add_library(winspool MODULE
|
|
${SOURCE}
|
|
winspool.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/winspool_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
|
|
|
|
set_target_properties(winspool PROPERTIES SUFFIX ".drv")
|
|
set_module_type(winspool win32dll UNICODE)
|
|
target_link_libraries(winspool wine ${PSEH_LIB})
|
|
add_importlibs(winspool advapi32 gdi32 rpcrt4 msvcrt kernel32 ntdll)
|
|
add_pch(winspool precomp.h SOURCE)
|
|
add_cd_file(TARGET winspool DESTINATION reactos/system32 FOR all)
|