[WLANSVC]

Set status SERVICE_STOPPED when the service has been stopped.

svn path=/trunk/; revision=52579
This commit is contained in:
Eric Kohl 2011-07-09 10:41:55 +00:00
parent 720358902c
commit 752c88cdbd

View 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;