mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
[SERVICES] On service start control message, send the service tag
This commit is contained in:
parent
6183774efa
commit
2ee627ba63
|
@ -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);
|
||||
|
|
|
@ -30,6 +30,7 @@ typedef struct _SCM_CONTROL_PACKET
|
|||
DWORD dwSize;
|
||||
DWORD dwControl;
|
||||
DWORD dwArgumentsCount;
|
||||
DWORD dwServiceTag;
|
||||
SERVICE_STATUS_HANDLE hServiceStatus;
|
||||
DWORD dwServiceNameOffset;
|
||||
DWORD dwArgumentsOffset;
|
||||
|
|
Loading…
Reference in a new issue