ReactOS  0.4.14-dev-845-g8381e29
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 */
32  bTitleSet = FALSE;
33  return ConSetTitle(param);
34 }
#define TRUE
Definition: types.h:120
BOOL bTitleSet
Definition: cmd.c:166
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition: console.c:182
#define _T(x)
Definition: vfdio.h:22
GLfloat param
Definition: glext.h:5796
BOOL ConSetTitle(IN LPCTSTR lpConsoleTitle)
Definition: console.c:280
#define STRING_TITLE_HELP
Definition: resource.h:175
int _tcsncmp(const _TCHAR *s1, const _TCHAR *s2, size_t n)
Definition: tcsncmp.h:9

Variable Documentation

◆ bTitleSet

BOOL bTitleSet

Definition at line 166 of file cmd.c.

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