mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 05:43:30 +00:00
ddb3d908c9
svn path=/branches/shell-experiments/; revision=62286
39 lines
1,002 B
C
39 lines
1,002 B
C
#ifndef _SC_PCH_
|
|
#define _SC_PCH_
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <winsvc.h>
|
|
#include <tchar.h>
|
|
|
|
#define SCDBG
|
|
|
|
/* control functions */
|
|
BOOL Start(LPCTSTR ServiceName, LPCTSTR *ServiceArgs, INT ArgCount);
|
|
BOOL Create(LPCTSTR *ServiceArgs, INT ArgCount);
|
|
BOOL Delete(LPCTSTR ServiceName);
|
|
BOOL Control(DWORD Control, LPCTSTR ServiceName, LPCTSTR *Args, INT ArgCount);
|
|
BOOL Query(LPCTSTR *ServiceArgs, DWORD ArgCount, BOOL bExtended);
|
|
|
|
LPSERVICE_STATUS_PROCESS QueryService(LPCTSTR ServiceName);
|
|
|
|
/* print and error functions */
|
|
VOID PrintService(LPCTSTR ServiceName, LPSERVICE_STATUS_PROCESS pStatus, BOOL bExtended);
|
|
VOID ReportLastError(VOID);
|
|
|
|
/* usage functions */
|
|
VOID MainUsage(VOID);
|
|
VOID StartUsage(VOID);
|
|
VOID PauseUsage(VOID);
|
|
VOID InterrogateUsage(VOID);
|
|
VOID ContinueUsage(VOID);
|
|
VOID StopUsage(VOID);
|
|
VOID ConfigUsage(VOID);
|
|
VOID DescriptionUsage(VOID);
|
|
VOID DeleteUsage(VOID);
|
|
VOID CreateUsage(VOID);
|
|
VOID ControlUsage(VOID);
|
|
|
|
#endif /* _SC_PCH_ */
|