The service thread must receive all commands.

svn path=/trunk/; revision=44760
This commit is contained in:
Eric Kohl 2009-12-25 16:41:06 +00:00
parent d1ffae9c3b
commit 185c716bb3

View file

@ -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;
}