ReactOS  0.4.14-dev-552-g2fad488
services.h
Go to the documentation of this file.
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 {
38 
39 typedef struct _SCM_REPLY_PACKET
40 {
43 
44 #endif /* __SERVICES_SERVICES_H__ */
45 
46 /* EOF */
struct _SCM_CONTROL_PACKET * PSCM_CONTROL_PACKET
DWORD dwServiceNameOffset
Definition: services.h:35
SERVICE_STATUS_HANDLE hServiceStatus
Definition: services.h:34
DWORD dwArgumentsCount
Definition: services.h:32
static SERVICE_STATUS_HANDLE(WINAPI *pRegisterServiceCtrlHandlerExA)(LPCSTR
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD dwArgumentsOffset
Definition: services.h:36
struct _SCM_REPLY_PACKET * PSCM_REPLY_PACKET
struct _SCM_CONTROL_PACKET SCM_CONTROL_PACKET
struct _SCM_REPLY_PACKET SCM_REPLY_PACKET