[ROSTESTS]: advapi32_apitest: Add a test to extensively test services command-line...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 2 Dec 2016 20:01:29 +0000 (20:01 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 2 Dec 2016 20:01:29 +0000 (20:01 +0000)
commit0d21c76ef118eb5107f5149de88b13fb8269984d
treeda6dec5904e743f30dfb8f40e6a085c32a2dbc7d
parentb687b6775fbfd2d683d18f9642cc1cf55077e9c5
[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
reactos/base/system/services/database.c
reactos/dll/win32/advapi32/service/sctrl.c
reactos/sdk/include/reactos/services/services.h
rostests/apitests/advapi32/CMakeLists.txt
rostests/apitests/advapi32/ServiceArgs.c [new file with mode: 0644]
rostests/apitests/advapi32/testlist.c