advapi32: Do not terminate a regular program if it calls StartServiceCtrlDispatcher.

Alexander Morozov amorozov at etersoft.ru
Sat Mar 23 15:01:39 CDT 2013


This patch fixes bug #33255.

Now service_run_main_thread calls ExitProcess when 
service_control_dispatcher
returns because of service_open_pipe failure. I moved service_open_pipe
to StartServiceCtrlDispatcher to prevent process exiting and return
appropriate error
(http://msdn.microsoft.com/ru-RU/library/windows/desktop/ms686324(v=vs.85).aspx).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-advapi32-Do-not-terminate-a-regular-program-if-it-cal.txt
Type: text/x-pascal
Size: 6728 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130324/0f2fb879/attachment.p>


More information about the wine-patches mailing list