mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 04:37:32 +00:00
f3ea8225cb
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 !
18 lines
503 B
CMake
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)
|