Go to the source code of this file.
◆ Start()
Definition at line 12 of file start.c.
13{
18
19#ifdef SCDBG
21 INT TmpCnt = ArgCount;
24 while (TmpCnt)
25 {
27 TmpArgs++;
28 TmpCnt--;
29 }
31#endif
32
37 {
40 goto done;
41 }
42
47 {
50 goto done;
51 }
52
53 if (!ArgCount)
54 {
56 }
57
59 ArgCount,
60 ServiceArgs))
61 {
64 goto done;
65 }
66
68 if (pServiceInfo !=
NULL)
69 {
72 pServiceInfo,
74
76 }
77
78done:
81
82 if (hSc)
84
87
88 return bResult;
89}
VOID PrintService(LPCTSTR lpServiceName, LPCTSTR lpDisplayName, LPSERVICE_STATUS_PROCESS pStatus, BOOL bExtended)
LPSERVICE_STATUS_PROCESS QueryService(LPCTSTR ServiceName)
static WCHAR ServiceName[]
#define HeapFree(x, y, z)
DWORD ReportLastError(void)
BOOL WINAPI CloseServiceHandle(SC_HANDLE hSCObject)
DWORD WINAPI GetLastError(void)
#define SERVICE_QUERY_STATUS
#define SC_MANAGER_CONNECT