mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[WLANSVC]
Set status SERVICE_STOPPED when the service has been stopped. svn path=/trunk/; revision=52579
This commit is contained in:
parent
720358902c
commit
752c88cdbd
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ ServiceControlHandler(DWORD dwControl,
|
||||||
case SERVICE_CONTROL_STOP:
|
case SERVICE_CONTROL_STOP:
|
||||||
UpdateServiceStatus(ServiceStatusHandle, SERVICE_STOP_PENDING, 1);
|
UpdateServiceStatus(ServiceStatusHandle, SERVICE_STOP_PENDING, 1);
|
||||||
RpcMgmtStopServerListening(NULL);
|
RpcMgmtStopServerListening(NULL);
|
||||||
|
UpdateServiceStatus(ServiceStatusHandle, SERVICE_STOPPED, 0);
|
||||||
break;
|
break;
|
||||||
case SERVICE_CONTROL_INTERROGATE:
|
case SERVICE_CONTROL_INTERROGATE:
|
||||||
return NO_ERROR;
|
return NO_ERROR;
|
||||||
|
|
Loading…
Reference in a new issue