ReactOS
0.4.16-dev-297-gc569aee
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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
16
extern
BOOL
bTitleSet
;
17
18
INT
cmd_title
(
LPTSTR
param
)
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
{
27
ConOutResPaging
(
TRUE
,
STRING_TITLE_HELP
);
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
}
35
36
#endif
/* INCLUDE_CMD_TITLE */
37
38
/* EOF */
ConOutResPaging
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition:
console.c:178
ConSetTitle
BOOL ConSetTitle(IN LPCWSTR lpConsoleTitle)
Definition:
console.c:276
STRING_TITLE_HELP
#define STRING_TITLE_HELP
Definition:
resource.h:177
TRUE
#define TRUE
Definition:
types.h:120
FALSE
#define FALSE
Definition:
types.h:117
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
param
GLfloat param
Definition:
glext.h:5796
_tcsncmp
#define _tcsncmp
Definition:
tchar.h:1428
bTitleSet
BOOL bTitleSet
Definition:
cmd.c:167
cmd_title
INT cmd_title(LPTSTR param)
Definition:
title.c:18
INT
int32_t INT
Definition:
typedefs.h:58
_T
#define _T(x)
Definition:
vfdio.h:22
precomp.h
LPTSTR
CHAR * LPTSTR
Definition:
xmlstorage.h:192
base
shell
cmd
title.c
Generated on Tue Nov 26 2024 06:02:34 for ReactOS by
1.9.6