Use the handle for ControlService too. This allows me to start and stop my test service (but tcpsvcs hangs on stop)

svn path=/trunk/; revision=29017
This commit is contained in:
Ged Murphy 2007-09-12 09:27:33 +00:00
parent 3d95120a59
commit 8732a04d4a

View file

@ -581,7 +581,7 @@ ScmControlService(PSERVICE Service,
return ERROR_NOT_ENOUGH_MEMORY;
ControlPacket->dwControl = dwControl;
ControlPacket->hClient = Service->hClient;
ControlPacket->dwSize = TotalLength;
wcscpy(&ControlPacket->szArguments[0], Service->lpServiceName);