From c2fed1752d4d49229c9e92af4f0c4a150db4d504 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 7 Jun 2007 11:20:24 +0200 Subject: [PATCH] winedevice: Accept the shutdown service control. --- programs/winedevice/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/winedevice/device.c b/programs/winedevice/device.c index 226ba6b791b..9af85f4e1fd 100644 --- a/programs/winedevice/device.c +++ b/programs/winedevice/device.c @@ -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 ); -- 2.11.4.GIT