ReactOS 0.4.15-dev-8241-g63935f8
title.c File Reference
#include "precomp.h"
Include dependency graph for title.c:

Go to the source code of this file.

Functions

INT cmd_title (LPTSTR param)
 

Variables

BOOL bTitleSet
 

Function Documentation

◆ cmd_title()

INT cmd_title ( LPTSTR  param)

Definition at line 18 of file title.c.

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}
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition: console.c:182
BOOL ConSetTitle(IN LPCTSTR lpConsoleTitle)
Definition: console.c:280
#define STRING_TITLE_HELP
Definition: resource.h:176
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
GLfloat param
Definition: glext.h:5796
#define _tcsncmp
Definition: tchar.h:1428
BOOL bTitleSet
Definition: cmd.c:167
#define _T(x)
Definition: vfdio.h:22

Variable Documentation

◆ bTitleSet

BOOL bTitleSet
extern

Definition at line 167 of file cmd.c.

Referenced by cmd_title(), ResetConTitle(), and SetConTitle().