mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00

Add an include directory for all printing components containing definitions not found in the public headers. For now, that's just PackStrings in spoolss.h. [SPOOLSS_APITEST] Use the new spoolss.h header. [WINPRINT_APITEST] Add an API-Test for the winprint Print Processor, so far for its EnumPrintProcessorDatatypesW function. Tests succeed in Windows Server 2003. winspool.drv also provides functions that go into winprint.dll, but as these tests show, they behave slightly different in terms of error codes due to the involved RPC and routing. Windows Server 2003 has winprint functions in localspl.dll, so you have to copy its localspl.dll to winprint.dll for testing. [WINPRINT] - Use PackStrings to simplify the code. - Fix test failures. svn path=/branches/colins-printing-for-freedom/; revision=68025
10 lines
348 B
CMake
10 lines
348 B
CMake
|
|
list(APPEND SOURCE
|
|
EnumPrintProcessorDatatypesW.c
|
|
testlist.c)
|
|
|
|
add_executable(winprint_apitest ${SOURCE})
|
|
target_link_libraries(winprint_apitest wine ${PSEH_LIB})
|
|
set_module_type(winprint_apitest win32cui)
|
|
add_importlibs(winprint_apitest winprint msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET winprint_apitest DESTINATION reactos/bin FOR all)
|