mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 17:00:51 +08:00
[SERVICES] On service start control message, send the service tag
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user