mirror of
https://github.com/reactos/reactos.git
synced 2024-09-02 16:48:36 +00:00
![Colin Finck](/assets/img/avatar_default.png)
Yes, it checks the input handle and doesn't fail if an invalid level is given, because someone may still send a Command. This also fixes CORE-12794. Thanks for reporting!
16 lines
520 B
CMake
16 lines
520 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/win32ss/printing/include)
|
|
|
|
list(APPEND SOURCE
|
|
fpEnumPrinters.c
|
|
fpGetPrintProcessorDirectory.c
|
|
fpSetJob.c
|
|
main.c)
|
|
|
|
add_library(localspl_apitest.dll SHARED ${SOURCE})
|
|
target_link_libraries(localspl_apitest.dll wine ${PSEH_LIB})
|
|
set_module_type(localspl_apitest.dll win32dll)
|
|
add_importlibs(localspl_apitest.dll spoolss advapi32 msvcrt kernel32 ntdll)
|
|
set_target_properties(localspl_apitest.dll PROPERTIES SUFFIX "")
|
|
add_rostests_file(TARGET localspl_apitest.dll)
|