ReactOS
0.4.16-dev-533-gc7d1aa3
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
m
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
_
a
b
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
pause.c
Go to the documentation of this file.
1
/*
2
* PAUSE.C - pause internal command.
3
*
4
*
5
* History:
6
*
7
* 16 Jul 1998 (Hans B Pufal)
8
* started.
9
*
10
* 16 Jul 1998 (John P Price)
11
* Separated commands into individual files.
12
*
13
* 27-Jul-1998 (John P Price <linux-guru@gcfl.net>)
14
* added config.h include
15
*
16
* 18-Jan-1999 (Eric Kohl)
17
* Unicode ready!
18
*/
19
20
#include "
precomp.h
"
21
22
#ifdef INCLUDE_CMD_PAUSE
23
24
/*
25
* Perform PAUSE command.
26
*
27
* FREEDOS extension : If parameter is specified use that as the pause
28
* message.
29
*
30
* ?? Extend to include functionality of CHOICE if switch chars
31
* specified.
32
*
33
* 30-Apr-2005 (Magnus Olsen) <magnus@greatlord.com>
34
* Remove all hardcoded strings in En.rc
35
*/
36
37
INT
cmd_pause
(
LPTSTR
param
)
38
{
39
TRACE
(
"cmd_pause: \'%s\')\n"
,
debugstr_aw
(
param
));
40
41
if
(!
_tcsncmp
(
param
,
_T
(
"/?"
), 2))
42
{
43
ConOutResPaging
(
TRUE
,
STRING_PAUSE_HELP1
);
44
return
0;
45
}
46
47
if
(*
param
)
48
ConOutPuts
(
param
);
49
else
50
msg_pause
();
51
52
cgetchar
();
53
54
ConOutChar
(
_T
(
'\n'
));
55
return
0;
56
}
57
58
#endif
59
60
/* EOF */
ConOutResPaging
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition:
console.c:178
ConOutPuts
#define ConOutPuts(szStr)
Definition:
console.h:29
debugstr_aw
#define debugstr_aw
Definition:
precomp.h:44
STRING_PAUSE_HELP1
#define STRING_PAUSE_HELP1
Definition:
resource.h:155
TRUE
#define TRUE
Definition:
types.h:120
param
GLfloat param
Definition:
glext.h:5796
_tcsncmp
#define _tcsncmp
Definition:
tchar.h:1428
cmd_pause
INT cmd_pause(LPTSTR param)
Definition:
pause.c:37
ConOutChar
VOID ConOutChar(TCHAR c)
Definition:
util.c:233
cgetchar
TCHAR cgetchar(VOID)
Definition:
util.c:242
msg_pause
VOID msg_pause(VOID)
Definition:
util.c:210
TRACE
#define TRACE(s)
Definition:
solgame.cpp:4
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
pause.c
Generated on Sun Jan 19 2025 06:02:43 for ReactOS by
1.9.6