ReactOS
0.4.16-dev-983-g23ad936
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
beep.c
Go to the documentation of this file.
1
/*
2
* BEEP.C - beep 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
* 14-Jan-1999 (Eric Kohl)
17
* Added help text ("beep /?").
18
* Unicode ready!
19
*
20
* 20-Jan-1999 (Eric Kohl)
21
* Redirection ready!
22
*
23
* 02-Apr-2005 (Magnus Olsen <magnus@greatlord.com>)
24
* Remove all hardcoded strings in En.rc
25
*/
26
27
#include "
precomp.h
"
28
29
#ifdef INCLUDE_CMD_BEEP
30
31
INT
cmd_beep
(
LPTSTR
param
)
32
{
33
if
(
_tcsncmp
(
param
,
_T
(
"/?"
), 2) == 0)
34
{
35
ConOutResPaging
(
TRUE
,
STRING_BEEP_HELP
);
36
return
0;
37
}
38
39
#if 0
40
/* check if run in batch mode */
41
if
(
bc
==
NULL
)
42
return
1;
43
#endif
44
45
ConRingBell
(
ConStreamGetOSHandle
(
StdOut
));
46
return
0;
47
}
48
49
#endif
StdOut
#define StdOut
Definition:
fc.c:14
bc
PBATCH_CONTEXT bc
Definition:
batch.c:67
cmd_beep
INT cmd_beep(LPTSTR param)
Definition:
beep.c:31
ConOutResPaging
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition:
console.c:178
ConRingBell
VOID ConRingBell(HANDLE hOutput)
Definition:
console.c:283
STRING_BEEP_HELP
#define STRING_BEEP_HELP
Definition:
resource.h:70
NULL
#define NULL
Definition:
types.h:112
TRUE
#define TRUE
Definition:
types.h:120
param
GLfloat param
Definition:
glext.h:5796
_tcsncmp
#define _tcsncmp
Definition:
tchar.h:1428
ConStreamGetOSHandle
HANDLE ConStreamGetOSHandle(IN PCON_STREAM Stream)
Definition:
stream.c:240
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
beep.c
Generated on Thu Apr 17 2025 06:07:15 for ReactOS by
1.9.6