150{
153
154
155
156
157
159 {
161 {
162
165
166
168 {
171 }
172 return;
173 }
174
176 {
177
181 return;
182 }
183
185 {
186
189 else
191 return;
192 }
193
195 {
196
198 {
201 }
202 else
203 {
205 }
207 return;
208 }
209
212 {
213
215 {
216 while (Pos < Console->LineSize &&
Console->LineBuffer[
Pos] !=
L' ')
Pos++;
217 while (Pos < Console->LineSize &&
Console->LineBuffer[
Pos] ==
L' ')
Pos++;
219 }
220 else
221 {
222
224 if (Pos < Console->LineSize)
228 }
229 return;
230 }
231
233 {
234
237 return;
238 }
239
241 {
242
245 return;
246 }
247
249 {
250
252 return;
253 }
254
256 {
257
259 return;
260 }
261
264 {
265
266
267
268
271 return;
272 }
273
275 {
276
278 return;
279 }
280
282 {
283
286 {
290 }
291 return;
292 }
293
295 {
296
298 break;
299 }
300
302 {
304 {
306 }
307 else
308 {
311 }
312 return;
313 }
314
316 {
318
321
323 {
327
329 }
330
331 return;
332 }
333#if 0
334 {
337
338
341
342
343
344
345
349
352
353
354
355
356
358 do
359 {
361 {
366
368 return;
369 }
370 if (--HistPos < 0) HistPos += Hist->
NumEntries;
371 }
while (HistPos != Hist->
Position);
372
373 return;
374 }
375#endif
376
377 return;
378 }
379
380
381
382
383
384
386 {
387
388
389
390
392 {
395 }
396 }
398 {
399
400
401
402
403
404
406 {
410 }
411
412
413 DPRINT1(
"TODO: Expand aliases\n");
414
419 {
421 }
422
423
424
425
426
427
430 {
434 {
436 }
437 }
440 }
442 {
445 {
446
451 }
452 else
453 {
454
456 DPRINT(
"Overstrike = %s\n", Overstrike ?
"true" :
"false");
458 }
459 }
460}
NTSYSAPI BOOLEAN NTAPI RtlPrefixUnicodeString(IN PUNICODE_STRING String1, IN PUNICODE_STRING String2, IN BOOLEAN CaseInSensitive)
base of all file and directory entries
union _KEY_EVENT_RECORD::@3286 uChar
#define TermWriteStream(Console, ScreenBuffer, Buffer, Length, Attrib)
#define TermSetCursorInfo(Console, ScreenBuffer)
VOID HistoryGetCurrentEntry(PCONSRV_CONSOLE Console, PUNICODE_STRING ExeName, PUNICODE_STRING Entry)
static PHISTORY_BUFFER HistoryCurrentBuffer(IN PCONSRV_CONSOLE Console, IN PUNICODE_STRING ExeName)
VOID HistoryDeleteCurrentBuffer(PCONSRV_CONSOLE Console, PUNICODE_STRING ExeName)
BOOL HistoryFindEntryByPrefix(PCONSRV_CONSOLE Console, PUNICODE_STRING ExeName, PUNICODE_STRING Prefix, PUNICODE_STRING Entry)
VOID HistoryAddEntry(PCONSRV_CONSOLE Console, PUNICODE_STRING ExeName, PUNICODE_STRING Entry)
#define GetConsoleInputBufferMode(Console)
#define LEFT_CTRL_PRESSED
#define ENABLE_ECHO_INPUT
#define RIGHT_CTRL_PRESSED
#define RIGHT_ALT_PRESSED
#define ENABLE_PROCESSED_INPUT