Create the AHCI branch for Aman's work
[reactos.git] / sdk / include / reactos / services / services.h
1 /*
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
7 */
8
9 #ifndef __SERVICES_SERVICES_H__
10 #define __SERVICES_SERVICES_H__
11
12 /*
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).
16 */
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
21
22 /*
23 * Start event name used by OpenSCManager
24 * to know whether the SCM is initialized.
25 */
26 #define SCM_START_EVENT L"SvcctrlStartEvent_A3752DX"
27
28 typedef struct _SCM_CONTROL_PACKET
29 {
30 DWORD dwSize;
31 DWORD dwControl;
32 SERVICE_STATUS_HANDLE hServiceStatus;
33 DWORD dwServiceNameOffset;
34 DWORD dwArgumentsCount;
35 DWORD dwArgumentsOffset;
36 } SCM_CONTROL_PACKET, *PSCM_CONTROL_PACKET;
37
38 typedef struct _SCM_REPLY_PACKET
39 {
40 DWORD dwError;
41 } SCM_REPLY_PACKET, *PSCM_REPLY_PACKET;
42
43 #endif /* __SERVICES_SERVICES_H__ */
44
45 /* EOF */