[WLANSVC]
authorEric Kohl <eric.kohl@reactos.org>
Sat, 9 Jul 2011 10:41:55 +0000 (10:41 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 9 Jul 2011 10:41:55 +0000 (10:41 +0000)
Set status SERVICE_STOPPED when the service has been stopped.

svn path=/trunk/; revision=52579

reactos/base/services/wlansvc/wlansvc.c

index 5f0e1e6..721dd0f 100644 (file)
@@ -75,6 +75,7 @@ ServiceControlHandler(DWORD dwControl,
         case SERVICE_CONTROL_STOP:
             UpdateServiceStatus(ServiceStatusHandle, SERVICE_STOP_PENDING, 1);
             RpcMgmtStopServerListening(NULL);
+            UpdateServiceStatus(ServiceStatusHandle, SERVICE_STOPPED, 0);
             break;
         case SERVICE_CONTROL_INTERROGATE:
             return NO_ERROR;