winedevice: Accept the shutdown service control.

This commit is contained in:
Alexandre Julliard 2007-06-07 11:20:24 +02:00
parent d795c283bd
commit c2fed1752d
1 changed files with 1 additions and 1 deletions

View File

@ -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 );