mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
![Colin Finck](/assets/img/avatar_default.png)
Implement the undocumented AlignRpcPtr and UndoAlignRpcPtr functions used by many Rpc* functions in spoolsv according to traced callchains. I could reverse engineer them entirely using rohitab.com's API Monitor and black-box testing. I also add documented tests covering all cases I found out. We now pass 17/17 tests on Windows Server 2003 and ReactOS. Also const-ify a parameter in PackStrings. svn path=/trunk/; revision=74297
16 lines
437 B
CMake
16 lines
437 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/win32ss/printing/include)
|
|
|
|
list(APPEND SOURCE
|
|
AlignRpcPtr.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)
|