ReactOS  0.4.12-dev-36-g472787f
help.c File Reference
#include "net.h"
Include dependency graph for help.c:

Go to the source code of this file.

Functions

INT cmdHelp (INT argc, WCHAR **argv)
 

Function Documentation

◆ cmdHelp()

INT cmdHelp ( INT  argc,
WCHAR **  argv 
)

Definition at line 12 of file help.c.

13 {
15 
16 /*
17  if (argc != 3)
18  {
19  ConResPuts(StdOut, IDS_HELP_SYNTAX);
20  return 0;
21  }
22 */
23  if (_wcsicmp(argv[2], L"ACCOUNTS") == 0)
24  {
37  return 0;
38  }
39 
40  if (_wcsicmp(argv[2], L"COMPUTER") == 0)
41  {
45  return 0;
46  }
47 
48  if (_wcsicmp(argv[2], L"CONFIG") == 0)
49  {
50  if ((argc > 3) && (_wcsicmp(argv[3], L"SERVER") == 0))
51  {
59  return 0;
60  }
61  else
62  {
67  return 0;
68  }
69  }
70 
71  if (_wcsicmp(argv[2], L"CONTINUE") == 0)
72  {
76  return 0;
77  }
78 
79  if (_wcsicmp(argv[2], L"FILE") == 0)
80  {
83  return 0;
84  }
85 
86  if (_wcsicmp(argv[2], L"GROUP") == 0)
87  {
97  return 0;
98  }
99 
100  if (_wcsicmp(argv[2], L"HELPMSG") == 0)
101  {
105  return 0;
106  }
107 
108  if (_wcsicmp(argv[2], L"LOCALGROUP") == 0)
109  {
119  return 0;
120  }
121 
122  if (_wcsicmp(argv[2], L"NAME") == 0)
123  {
126  return 0;
127  }
128 
129  if (_wcsicmp(argv[2], L"PAUSE") == 0)
130  {
134  return 0;
135  }
136 
137  if (_wcsicmp(argv[2], L"PRINT") == 0)
138  {
141  return 0;
142  }
143 
144  if (_wcsicmp(argv[2], L"SEND") == 0)
145  {
148  return 0;
149  }
150 
151  if (_wcsicmp(argv[2], L"SESSION") == 0)
152  {
155  return 0;
156  }
157 
158  if (_wcsicmp(argv[2], L"SHARE") == 0)
159  {
162  return 0;
163  }
164 
165  if (_wcsicmp(argv[2], L"START") == 0)
166  {
171  return 0;
172  }
173 
174  if (_wcsicmp(argv[2], L"STATISTICS") == 0)
175  {
179  return 0;
180  }
181 
182  if (_wcsicmp(argv[2], L"STOP") == 0)
183  {
188  return 0;
189  }
190 
191  if (_wcsicmp(argv[2], L"TIME") == 0)
192  {
195  return 0;
196  }
197 
198  if (_wcsicmp(argv[2], L"USE") == 0)
199  {
202  return 0;
203  }
204 
205  if (_wcsicmp(argv[2], L"USER") == 0)
206  {
209  return 0;
210  }
211 
212  if (_wcsicmp(argv[2], L"VIEW") == 0)
213  {
216  return 0;
217  }
218 
219 #if 0
220  if (_wcsicmp(argv[2], L"SERVICES") == 0)
221  {
222  return 0;
223  }
224 
225  if (_wcsicmp(argv[2], L"SYNTAX") == 0)
226  {
227  return 0;
228  }
229 #endif
230 
234 
235  return 0;
236 }
#define IDS_STOP_SYNTAX
Definition: resource.h:73
#define IDS_GROUP_HELP_7
Definition: resource.h:38
#define IDS_LOCALGROUP_SYNTAX
Definition: resource.h:45
static int argc
Definition: ServiceArgs.c:12
#define IDS_PRINT_SYNTAX
Definition: resource.h:58
#define IDS_USER_HELP
Definition: resource.h:82
#define IDS_HELPMSG_HELP_2
Definition: resource.h:44
#define IDS_USE_SYNTAX
Definition: resource.h:79
#define IDS_HELP_HELP_1
Definition: resource.h:40
#define IDS_VIEW_HELP
Definition: resource.h:84
#define IDS_COMPUTER_SYNTAX
Definition: resource.h:14
#define IDS_VIEW_SYNTAX
Definition: resource.h:83
#define IDS_FILE_HELP
Definition: resource.h:30
#define IDS_CONFIG_SYNTAX
Definition: resource.h:17
#define IDS_CONFIG_SERVER_HELP_5
Definition: resource.h:25
#define IDS_STOP_HELP_1
Definition: resource.h:74
static char ** argv
Definition: ServiceArgs.c:11
#define IDS_LOCALGROUP_HELP_4
Definition: resource.h:49
#define IDS_PAUSE_HELP_1
Definition: resource.h:56
#define IDS_ACCOUNTS_HELP_10
Definition: resource.h:13
#define IDS_ACCOUNTS_HELP_1
Definition: resource.h:4
#define IDS_GENERIC_SYNTAX
Definition: resource.h:202
#define IDS_GENERIC_PAGE
Definition: resource.h:203
#define IDS_ACCOUNTS_HELP_3
Definition: resource.h:6
#define IDS_HELPMSG_SYNTAX
Definition: resource.h:42
#define IDS_START_HELP_1
Definition: resource.h:67
#define IDS_CONTINUE_HELP_1
Definition: resource.h:27
#define IDS_NAME_SYNTAX
Definition: resource.h:53
#define IDS_ACCOUNTS_HELP_2
Definition: resource.h:5
#define IDS_STATISTICS_HELP_2
Definition: resource.h:72
#define IDS_NAME_HELP
Definition: resource.h:54
#define IDS_SESSION_SYNTAX
Definition: resource.h:62
#define IDS_START_HELP_2
Definition: resource.h:68
#define IDS_GROUP_SYNTAX
Definition: resource.h:31
#define IDS_SHARE_SYNTAX
Definition: resource.h:64
#define IDS_CONFIG_SERVER_HELP_4
Definition: resource.h:24
#define IDS_GROUP_HELP_2
Definition: resource.h:33
#define IDS_CONTINUE_HELP_2
Definition: resource.h:28
#define IDS_CONFIG_HELP_1
Definition: resource.h:18
#define IDS_ACCOUNTS_HELP_5
Definition: resource.h:8
#define IDS_CONFIG_SERVER_HELP_1
Definition: resource.h:21
#define IDS_ACCOUNTS_HELP_4
Definition: resource.h:7
INT ConResPuts(IN PCON_STREAM Stream, IN UINT uID)
Definition: outstream.c:610
static const WCHAR L[]
Definition: oid.c:1087
#define IDS_GROUP_HELP_5
Definition: resource.h:36
#define IDS_COMPUTER_HELP_1
Definition: resource.h:15
#define IDS_HELP_SYNTAX
Definition: resource.h:39
#define IDS_PAUSE_SYNTAX
Definition: resource.h:55
#define IDS_CONFIG_SERVER_HELP_2
Definition: resource.h:22
#define IDS_LOCALGROUP_HELP_6
Definition: resource.h:51
#define IDS_GROUP_HELP_1
Definition: resource.h:32
#define IDS_CONTINUE_SYNTAX
Definition: resource.h:26
#define IDS_STATISTICS_SYNTAX
Definition: resource.h:70
#define IDS_USE_HELP
Definition: resource.h:80
#define IDS_STOP_HELP_3
Definition: resource.h:76
#define IDS_LOCALGROUP_HELP_3
Definition: resource.h:48
#define IDS_HELPMSG_HELP_1
Definition: resource.h:43
#define IDS_USER_SYNTAX
Definition: resource.h:81
#define IDS_SESSION_HELP
Definition: resource.h:63
#define IDS_LOCALGROUP_HELP_2
Definition: resource.h:47
#define IDS_GROUP_HELP_4
Definition: resource.h:35
#define IDS_LOCALGROUP_HELP_7
Definition: resource.h:52
#define IDS_CONFIG_SERVER_SYNTAX
Definition: resource.h:20
#define IDS_CONFIG_SERVER_HELP_3
Definition: resource.h:23
#define IDS_FILE_SYNTAX
Definition: resource.h:29
#define IDS_ACCOUNTS_HELP_6
Definition: resource.h:9
#define IDS_SEND_SYNTAX
Definition: resource.h:60
#define IDS_LOCALGROUP_HELP_1
Definition: resource.h:46
#define IDS_COMPUTER_HELP_2
Definition: resource.h:16
#define StdOut
Definition: stream.h:76
#define IDS_SHARE_HELP
Definition: resource.h:65
#define IDS_HELP_HELP_2
Definition: resource.h:41
#define IDS_ACCOUNTS_HELP_9
Definition: resource.h:12
#define IDS_CONFIG_HELP_2
Definition: resource.h:19
#define IDS_LOCALGROUP_HELP_5
Definition: resource.h:50
#define IDS_TIME_HELP
Definition: resource.h:78
#define IDS_ACCOUNTS_SYNTAX
Definition: resource.h:3
#define IDS_PRINT_HELP
Definition: resource.h:59
#define IDS_SEND_HELP
Definition: resource.h:61
#define IDS_STOP_HELP_2
Definition: resource.h:75
#define IDS_ACCOUNTS_HELP_7
Definition: resource.h:10
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define IDS_PAUSE_HELP_2
Definition: resource.h:57
#define IDS_STATISTICS_HELP_1
Definition: resource.h:71
#define IDS_START_SYNTAX
Definition: resource.h:66
#define IDS_ACCOUNTS_HELP_8
Definition: resource.h:11
#define IDS_TIME_SYNTAX
Definition: resource.h:77
#define IDS_START_HELP_3
Definition: resource.h:69
#define IDS_GROUP_HELP_3
Definition: resource.h:34
#define IDS_GROUP_HELP_6
Definition: resource.h:37