mirror of
https://github.com/reactos/reactos.git
synced 2024-06-01 10:11:43 +00:00
[WKSSVC] Make the workstation service stoppable.
This commit is contained in:
parent
8a631c8455
commit
4073a8c58d
|
@ -57,6 +57,9 @@ UpdateServiceStatus(DWORD dwState)
|
|||
else
|
||||
ServiceStatus.dwWaitHint = 0;
|
||||
|
||||
if (dwState == SERVICE_RUNNING)
|
||||
ServiceStatus.dwControlsAccepted = SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN;
|
||||
|
||||
SetServiceStatus(ServiceStatusHandle,
|
||||
&ServiceStatus);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue