mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
5b6e082869
- Implement GetDefaultPrinterA/W and SetDefaultPrinterA/W in winspool.drv. Also add tests for these functions. - Set our "Dummy Printer on LPT1" as the default printer in the user registry. - Return meaningful values for DeviceNotSelectedTimeout and TransmissionRetryTimeout in PRINTER_INFO_5 in localspl. The Print dialog now preselects "Dummy Printer on LPT1" in all applications. One more task done from the list at https://reactos.org/wiki/Printing :) svn path=/trunk/; revision=74513
17 lines
477 B
CMake
17 lines
477 B
CMake
|
|
list(APPEND SOURCE
|
|
ClosePrinter.c
|
|
EnumPrinters.c
|
|
EnumPrintProcessorDatatypes.c
|
|
GetDefaultPrinter.c
|
|
GetPrintProcessorDirectory.c
|
|
IsValidDevmode.c
|
|
OpenPrinter.c
|
|
StartDocPrinter.c
|
|
testlist.c)
|
|
|
|
add_executable(winspool_apitest ${SOURCE})
|
|
target_link_libraries(winspool_apitest wine ${PSEH_LIB})
|
|
set_module_type(winspool_apitest win32cui)
|
|
add_importlibs(winspool_apitest winspool msvcrt kernel32 ntdll)
|
|
add_rostests_file(TARGET winspool_apitest)
|