[SERVICES] On service start control message, send the service tag

This commit is contained in:
Pierre Schweitzer 2018-12-30 18:44:32 +01:00
parent 6183774efa
commit 2ee627ba63
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 2 additions and 0 deletions

View file

@ -1431,6 +1431,7 @@ ScmSendStartCommand(PSERVICE Service,
? SERVICE_CONTROL_START_OWN
: SERVICE_CONTROL_START_SHARE;
ControlPacket->hServiceStatus = (SERVICE_STATUS_HANDLE)Service;
ControlPacket->dwServiceTag = Service->dwTag;
/* Copy the start command line */
ControlPacket->dwServiceNameOffset = sizeof(SCM_CONTROL_PACKET);