mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +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;
|
||||
|
||||
default:
|
||||
TRACE("Unknown command %lu", ControlPacket->dwControl);
|
||||
TRACE("Command %lu received", ControlPacket->dwControl);
|
||||
ScControlService(ControlPacket);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -519,7 +520,7 @@ RegisterServiceCtrlHandlerExW(LPCWSTR lpServiceName,
|
|||
Service->HandlerFunctionEx = lpHandlerProc;
|
||||
Service->HandlerContext = lpContext;
|
||||
|
||||
TRACE("RegisterServiceCtrlHandlerEx returning %lu", Service->hService);
|
||||
TRACE("RegisterServiceCtrlHandlerEx returning %lu\n", Service->hService);
|
||||
|
||||
return (SERVICE_STATUS_HANDLE)Service->hService;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue