mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 19:03:01 +00:00
The service thread must receive all commands.
svn path=/trunk/; revision=44760
This commit is contained in:
parent
d1ffae9c3b
commit
185c716bb3
|
@ -395,7 +395,8 @@ ScServiceDispatcher(HANDLE hPipe,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
TRACE("Unknown command %lu", ControlPacket->dwControl);
|
TRACE("Command %lu received", ControlPacket->dwControl);
|
||||||
|
ScControlService(ControlPacket);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -519,7 +520,7 @@ RegisterServiceCtrlHandlerExW(LPCWSTR lpServiceName,
|
||||||
Service->HandlerFunctionEx = lpHandlerProc;
|
Service->HandlerFunctionEx = lpHandlerProc;
|
||||||
Service->HandlerContext = lpContext;
|
Service->HandlerContext = lpContext;
|
||||||
|
|
||||||
TRACE("RegisterServiceCtrlHandlerEx returning %lu", Service->hService);
|
TRACE("RegisterServiceCtrlHandlerEx returning %lu\n", Service->hService);
|
||||||
|
|
||||||
return (SERVICE_STATUS_HANDLE)Service->hService;
|
return (SERVICE_STATUS_HANDLE)Service->hService;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue