Alexandre Julliard : winedevice: Accept the shutdown service control.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jun 7 07:20:18 CDT 2007
Module: wine
Branch: master
Commit: c2fed1752d4d49229c9e92af4f0c4a150db4d504
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c2fed1752d4d49229c9e92af4f0c4a150db4d504
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Jun 7 11:20:24 2007 +0200
winedevice: Accept the shutdown service control.
---
programs/winedevice/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winedevice/device.c b/programs/winedevice/device.c
index 226ba6b..9af85f4 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 );
More information about the wine-cvs
mailing list