http://bugs.winehq.org/show_bug.cgi?id=10176
red-ray ray@pobox.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ray@pobox.co.uk
--- Comment #27 from red-ray ray@pobox.co.uk 2009-09-16 17:10:25 --- (In reply to comment #26)
Is this still an issue in current (1.1.27 or newer) wine?
Yes it's still missing from 1.1.29, SIV (http://rh-software.com/) tries to use EnumServicesStatusA() which is EnumServicesStatusExA(), but just for the local system and it is still a stub. fixme:service:EnumServicesStatusA 0x16f8c8 type=b state=3 0x1510e04 48000 0x155a224 0x155a218 0x155a20c Given how long this has been known about and not fixed I worked round it being missing for 4.01. At the moment the work-a-round only kicks in after the first call fails. Is this likely to get added in the any time soon ?
To implement this should be trivial. My work-a-round code which enumerates "System\CurrentControlSet\Services", calls Open(), QueryServiceConfig(), QueryServiceStatus() and does a few tests is only about 30 lines of code in total. One implemented it could be tested using:
siv -save=[services]=stdout