reactos/rostests/apitests/advapi32/CMakeLists.txt
Hermès Bélusca-Maïto 0d21c76ef1 [ROSTESTS]: advapi32_apitest: Add a test to extensively test services command-line arguments. By Thomas Faber.
[ADVAPI32]: Correctly set up both the ANSI and UNICODE service command-line arguments. Adapted from a patch by Thomas Faber. Thanks!

[SERVICES]
- Correctly pack the service command-line arguments in the control packet structure. In particular, the offsets stored in the vector are relative to the beginning of the vector (and not relative to the previous offset ^^). Improve comments...
- Fix the definition of the SCM_CONTROL_PACKET control packet structure to make it Win2k3-compatible, so that we can use Win2k3' advapi32.dll or services.exe on ReactOS and vice-versa.

CORE-9235 CORE-9838

svn path=/trunk/; revision=73413
2016-12-02 20:01:29 +00:00

24 lines
608 B
CMake

list(APPEND SOURCE
CreateService.c
DuplicateTokenEx.c
eventlog.c
HKEY_CLASSES_ROOT.c
IsTextUnicode.c
LockDatabase.c
QueryServiceConfig2.c
RegEnumKey.c
RegEnumValueW.c
RegQueryInfoKey.c
RegQueryValueExW.c
RtlEncryptMemory.c
SaferIdentifyLevel.c
ServiceArgs.c
testlist.c)
add_executable(advapi32_apitest ${SOURCE})
target_link_libraries(advapi32_apitest wine ${PSEH_LIB})
set_module_type(advapi32_apitest win32cui)
add_importlibs(advapi32_apitest advapi32 msvcrt kernel32 ntdll)
add_cd_file(TARGET advapi32_apitest DESTINATION reactos/bin FOR all)