ReactOS  0.4.14-dev-1034-g1e60116
beep.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS kernel
4  * FILE: hal/halppc/generic/beep.c
5  * PURPOSE: Speaker function (it's only one)
6  * PROGRAMMER: Eric Kohl
7  * UPDATE HISTORY:
8  * Created 31/01/99
9  */
10 
11 /* INCLUDES *****************************************************************/
12 
13 #include <hal.h>
14 #define NDEBUG
15 #include <debug.h>
16 
17 
18 /* CONSTANTS *****************************************************************/
19 
20 #define TIMER2 0x42
21 #define TIMER3 0x43
22 #define PORT_B 0x61
23 #define CLOCKFREQ 1193167
24 
25 
26 /* FUNCTIONS *****************************************************************/
27 /*
28  * FUNCTION: Beeps the speaker.
29  * ARGUMENTS:
30  * Frequency = If 0, the speaker will be switched off, otherwise
31  * the speaker beeps with the specified frequency.
32  */
33 
34 BOOLEAN
35 NTAPI
38  )
39 {
40  return TRUE;
41 }
42 
#define TRUE
Definition: types.h:120
BOOLEAN NTAPI HalMakeBeep(IN ULONG Frequency)
Definition: beep.c:22
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
unsigned char BOOLEAN
static LARGE_INTEGER Frequency
Definition: clock.c:41
unsigned int ULONG
Definition: retypes.h:1