87f4ae70e2ee64d7cb6a0bda596e7579271b3139
[reactos.git] / reactos / apps / utils / sc / config.c
1 /*
2 * ReactOS SC - service control console program
3 *
4 * config.c
5 *
6 * Copyright (C) 2002 Robert Dickenson <robd@reactos.org>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */
22
23 #include <windows.h>
24 #include <wchar.h>
25 #include <tchar.h>
26 #include "main.h"
27
28
29 int sc_config(SC_HANDLE hSCManager, SC_CMDS sc_cmd, char* argv[])
30 {
31 dprintf("sc_config(%x, %d, %s) - called.\n", hSCManager, sc_cmd, argv[0]);
32
33 switch (sc_cmd) {
34 case SC_CMD_CONFIG:
35 case SC_CMD_DESCRIPTION:
36 case SC_CMD_FAILURE:
37 case SC_CMD_SDSHOW:
38 case SC_CMD_SDSET:
39 dprintf(" - not implemented.\n");
40 break;
41 default:
42 dprintf("sc_config(%x, %d, %s) - unknown command.\n", hSCManager, sc_cmd, argv[0]);
43 break;
44 }
45 return 0;
46 }
47 /*
48 switch (sc_cmd) {
49 case SC_CMD_QUERY:
50 case SC_CMD_QUERYEX:
51 case SC_CMD_START:
52 case SC_CMD_PAUSE:
53 case SC_CMD_INTERROGATE:
54 case SC_CMD_CONTINUE:
55 case SC_CMD_STOP:
56 case SC_CMD_CONFIG:
57 case SC_CMD_DESCRIPTION:
58 case SC_CMD_FAILURE:
59 case SC_CMD_QC:
60 case SC_CMD_QDESCRIPTION:
61 case SC_CMD_QFAILURE:
62 case SC_CMD_DELETE:
63 case SC_CMD_CREATE:
64 case SC_CMD_CONTROL:
65 case SC_CMD_SDSHOW:
66 case SC_CMD_SDSET:
67 case SC_CMD_GETDISPLAYNAME:
68 case SC_CMD_GETKEYNAME:
69 case SC_CMD_ENUMDEPEND:
70 case SC_CMD_BOOT:
71 case SC_CMD_LOCK:
72 case SC_CMD_QUERYLOCK:
73 break;
74 }
75 */