reactos/modules/rostests/apitests/spoolss/CMakeLists.txt
Colin Finck f3ea8225cb [PRINTING] Implement the undocumented MarshallDownStructure, MarshallDownStructuresArray, MarshallUpStructure, and MarshallUpStructuresArray to the extent I need and could find out through black-box testing.
PDBs reveal that these functions are also used in winspool.drv, but not imported from spoolss.dll to retain the client/server architecture.
As winspool.drv highly benefits from the MarshallUp* functions, I put them in a source file shared between spoolss.dll and winspool.drv.

The added API Tests cover my testing and all implemented features.
One more item done from https://reactos.org/wiki/Printing !
2018-01-17 10:13:25 +01:00

18 lines
503 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/win32ss/printing/include)
list(APPEND SOURCE
AlignRpcPtr.c
MarshallDownStructuresArray.c
MarshallUpStructuresArray.c
PackStrings.c
ReallocSplStr.c
SplInitializeWinSpoolDrv.c
testlist.c)
add_executable(spoolss_apitest ${SOURCE})
target_link_libraries(spoolss_apitest wine ${PSEH_LIB})
set_module_type(spoolss_apitest win32cui)
add_importlibs(spoolss_apitest spoolss msvcrt kernel32 ntdll)
add_rostests_file(TARGET spoolss_apitest)