On So, 2007-05-20 at 11:23 +0200, Rolf Kalbermatter wrote:
Well I have checked and on a clean Wine install from current git there is no service installed at all.
We have the Spooler-Service (only as a stub, but startable), so the entries should be present in the Registry.
Without at least one working service entry (active or not) there won't be many meaningful tests we could do for the service API.
You can take dlls/winspool.drv/tests/info.c as example, what I did for the Monitor-Tests. (Lines starting at 155; 283; 326)
Still on a clean Wine install I don't see how we can currently do many useful service API tests at all.
Because we have no need for a Service in Wine yet....
I mentioned already the idea for a "winetest.dll" / "winetest.drv" to allow tests, that need a dll next to "winetest.exe" (Global Hook, Printmonitor, Printer Driver, .... ).
A Service need also a DLL and the with the new "ntoskrnl.exe", a Driver "winetest.sys" might be useful.
It's also possible to add the new Files as a Resource in "winetest.exe", to have only a single file to download / start.
An Item to discuss is an Option in winetest.exe to Disable the Kernelmode-Testdriver.