Go to the source code of this file.
◆ Delete()
Definition at line 12 of file delete.c.
13{
17
18#ifdef SCDBG
20#endif
21
26 {
29 goto done;
30 }
31
34 {
37 goto done;
38 }
39
41 {
44 goto done;
45 }
46
47 _tprintf(
_T(
"[SC] DeleteService SUCCESS\n\n"));
48
49done:
52
53 if (hSc)
55
58
59 return bRet;
60}
static WCHAR ServiceName[]
DWORD ReportLastError(void)
#define SC_MANAGER_CONNECT
BOOL WINAPI DeleteService(SC_HANDLE hService)
BOOL WINAPI CloseServiceHandle(SC_HANDLE hSCObject)
DWORD WINAPI GetLastError(void)