- Get autochk, calc, cmd, devmgr, expand, format, gettype, hostname, lsass, msconfig...
[reactos.git] / reactos / subsys / system / sc / sc.h
1 #include <windows.h>
2 #include <conio.h>
3 #include <stdio.h>
4 #include <tchar.h>
5
6 extern SC_HANDLE hSCManager; // declared in sc.c
7
8 //#define SCDBG
9
10 /* control functions */
11 BOOL Query(LPCTSTR ServiceName, LPCTSTR *ServiceArgs, BOOL bExtended);
12 BOOL Start(LPCTSTR ServiceName, LPCTSTR *ServiceArgs, INT ArgCount);
13 BOOL Create(LPCTSTR ServiceName, LPCTSTR *ServiceArgs);
14 BOOL Delete(LPCTSTR ServiceName);
15 BOOL Control(DWORD Control, LPCTSTR ServiceName, LPCTSTR *Args);
16
17 /* print and error functions */
18 DWORD ReportLastError(VOID);
19
20 /* usage functions */
21 INT MainUsage(VOID);
22 INT StartUsage(VOID);
23 INT PauseUsage(VOID);
24 INT InterrogateUsage(VOID);
25 INT ContinueUsage(VOID);
26 INT StopUsage(VOID);
27 INT ConfigUsage(VOID);
28 INT DescriptionUsage(VOID);
29 INT DeleteUsage(VOID);
30 INT CreateUsage(VOID);