ADVAPI32: service tests
Rolf Kalbermatter
r.kalbermatter at hccnet.nl
Sun May 20 04:23:31 CDT 2007
James Hawkins [mailto:truiken at gmail.com] wrote
>Have you looked? regedit HKLM\System\CurrentControlSet\Services.
>I'm not familiar with spooler, but I assume it's installed by default
>on win9x, whereas msi is not. Whichever service you test, though,
>you can just skip if the service doesn't exist.
Well I have checked and on a clean Wine install from current git there
is no service installed at all. I see a VxD/MSTCP entry in the registry
but no other settings in there that would be needed for a service to be
started nor any other service entry. On that account I wonder what the
VxD/MSTCP entry does at all or if it could be removed?
>You won't need any of this.
Without at least one working service entry (active or not) there won't
be many meaningful tests we could do for the service API.
>Just check the return value of OpenSCManager; skip the test if they aren't
>admin. msdn implies that OpenSCManager will return ERROR_ACCESS_DENIED if
>they don't have the correct privileges. It's a trivial issue that most
>tests currently don't bother with.
I thought skip would be the solution but need to read on that. Last time I
did a Wine test skip didn't exist at all.
Still on a clean Wine install I don't see how we can currently do many
useful service API tests at all.
Rolf Kalbermatter
More information about the wine-devel
mailing list