[SC]
[reactos.git] / reactos / base / applications / sc / sc.h
1 #include <stdarg.h>
2
3 #include <windef.h>
4 #include <winbase.h>
5 #include <winsvc.h>
6 #include <tchar.h>
7
8 #define SCDBG
9
10 /* control functions */
11 BOOL Start(LPCTSTR ServiceName, LPCTSTR *ServiceArgs, INT ArgCount);
12 BOOL Create(LPCTSTR *ServiceArgs, INT ArgCount);
13 BOOL Delete(LPCTSTR ServiceName);
14 BOOL Control(DWORD Control, LPCTSTR ServiceName, LPCTSTR *Args, INT ArgCount);
15 BOOL Query(LPCTSTR *ServiceArgs, DWORD ArgCount, BOOL bExtended);
16
17 LPSERVICE_STATUS_PROCESS QueryService(LPCTSTR ServiceName);
18
19 /* print and error functions */
20 VOID PrintService(LPCTSTR ServiceName, LPSERVICE_STATUS_PROCESS pStatus, BOOL bExtended);
21 VOID ReportLastError(VOID);
22
23 /* usage functions */
24 VOID MainUsage(VOID);
25 VOID StartUsage(VOID);
26 VOID PauseUsage(VOID);
27 VOID InterrogateUsage(VOID);
28 VOID ContinueUsage(VOID);
29 VOID StopUsage(VOID);
30 VOID ConfigUsage(VOID);
31 VOID DescriptionUsage(VOID);
32 VOID DeleteUsage(VOID);
33 VOID CreateUsage(VOID);
34 VOID ControlUsage(VOID);