2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: include/reactos/services/services.h
5 * PURPOSE: Private interface between SERVICES.EXE and ADVAPI32.DLL
6 * PROGRAMMER: Eric Kohl
9 #ifndef __SERVICES_SERVICES_H__
10 #define __SERVICES_SERVICES_H__
13 * Internal control codes.
14 * Neither in the range of public control codes (1-10 and 11-14 or 16 or 32 or 64)
15 * nor in the range of user-defined control codes (128-255).
17 /* Start a service that shares a process with other services */
18 #define SERVICE_CONTROL_START_SHARE 80
19 /* Start a service that runs in its own process */
20 #define SERVICE_CONTROL_START_OWN 81
23 * Start event name used by OpenSCManager
24 * to know whether the SCM is initialized.
26 #define SCM_START_EVENT L"SvcctrlStartEvent_A3752DX"
28 typedef struct _SCM_CONTROL_PACKET
32 DWORD dwArgumentsCount
;
33 SERVICE_STATUS_HANDLE hServiceStatus
;
34 DWORD dwServiceNameOffset
;
35 DWORD dwArgumentsOffset
;
36 } SCM_CONTROL_PACKET
, *PSCM_CONTROL_PACKET
;
38 typedef struct _SCM_REPLY_PACKET
41 } SCM_REPLY_PACKET
, *PSCM_REPLY_PACKET
;
43 #endif /* __SERVICES_SERVICES_H__ */