Commit c2fed175 authored by Alexandre Julliard's avatar Alexandre Julliard

winedevice: Accept the shutdown service control.

parent d795c283
......@@ -204,7 +204,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
if (load_driver())
{
status.dwCurrentState = SERVICE_RUNNING;
status.dwControlsAccepted = SERVICE_ACCEPT_STOP;
status.dwControlsAccepted = SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN;
SetServiceStatus( service_handle, &status );
wine_ntoskrnl_main_loop( stop_event );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment