mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +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_OWN
|
||||||
: SERVICE_CONTROL_START_SHARE;
|
: SERVICE_CONTROL_START_SHARE;
|
||||||
ControlPacket->hServiceStatus = (SERVICE_STATUS_HANDLE)Service;
|
ControlPacket->hServiceStatus = (SERVICE_STATUS_HANDLE)Service;
|
||||||
|
ControlPacket->dwServiceTag = Service->dwTag;
|
||||||
|
|
||||||
/* Copy the start command line */
|
/* Copy the start command line */
|
||||||
ControlPacket->dwServiceNameOffset = sizeof(SCM_CONTROL_PACKET);
|
ControlPacket->dwServiceNameOffset = sizeof(SCM_CONTROL_PACKET);
|
||||||
|
|
|
@ -30,6 +30,7 @@ typedef struct _SCM_CONTROL_PACKET
|
||||||
DWORD dwSize;
|
DWORD dwSize;
|
||||||
DWORD dwControl;
|
DWORD dwControl;
|
||||||
DWORD dwArgumentsCount;
|
DWORD dwArgumentsCount;
|
||||||
|
DWORD dwServiceTag;
|
||||||
SERVICE_STATUS_HANDLE hServiceStatus;
|
SERVICE_STATUS_HANDLE hServiceStatus;
|
||||||
DWORD dwServiceNameOffset;
|
DWORD dwServiceNameOffset;
|
||||||
DWORD dwArgumentsOffset;
|
DWORD dwArgumentsOffset;
|
||||||
|
|
Loading…
Reference in a new issue