ReactOS 0.4.16-dev-297-gc569aee
title.c
Go to the documentation of this file.
1/*
2 * title.c - title internal command.
3 *
4 *
5 * History:
6 * 1999-02-11 Emanuele Aliberti
7 *
8 * 30-Apr-2005 (Magnus Olsen <magnus@greatlord.com>)
9 * Remove all hardcoded strings in En.rc
10 */
11
12#include "precomp.h"
13
14#ifdef INCLUDE_CMD_TITLE
15
16extern BOOL bTitleSet;
17
19{
20 /* Do nothing if no args */
21 if (*param == _T('\0'))
22 return 0;
23
24 /* Asking help? */
25 if (!_tcsncmp(param, _T("/?"), 2))
26 {
28 return 0;
29 }
30
31 /* Set the new console title, and tell CMD to not reset it */
33 return ConSetTitle(param);
34}
35
36#endif /* INCLUDE_CMD_TITLE */
37
38/* EOF */
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition: console.c:178
BOOL ConSetTitle(IN LPCWSTR lpConsoleTitle)
Definition: console.c:276
#define STRING_TITLE_HELP
Definition: resource.h:177
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
GLfloat param
Definition: glext.h:5796
#define _tcsncmp
Definition: tchar.h:1428
BOOL bTitleSet
Definition: cmd.c:167
INT cmd_title(LPTSTR param)
Definition: title.c:18
int32_t INT
Definition: typedefs.h:58
#define _T(x)
Definition: vfdio.h:22
CHAR * LPTSTR
Definition: xmlstorage.h:192