https://bugs.winehq.org/show_bug.cgi?id=38838
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #17 from Andrew Eikum aeikum@codeweavers.com --- Created attachment 60116 --> https://bugs.winehq.org/attachment.cgi?id=60116 Hack to make NotifyServiceStatusChange wait
This happens because advapi32.NotifyServiceStatusChangeW does not notify the client if the service is not already in one of the requested states.
I've attached a hack which works around this by making NotifyServiceStatusChange block until the requested state is achieved. I'll work on a proper fix.