[PSDK]
[reactos.git] / reactos / include / psdk / ntddbeep.h
1 /*
2 * ntddbeep.h
3 *
4 * Contributors:
5 * Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
6 *
7 * THIS SOFTWARE IS NOT COPYRIGHTED
8 *
9 * This source code is offered for use in the public domain. You may
10 * use, modify or distribute it freely.
11 *
12 * This code is distributed in the hope that it will be useful but
13 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
14 * DISCLAIMED. This includes but is not limited to warranties of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 *
17 */
18
19 #ifndef _NTDDBEEP_
20 #define _NTDDBEEP_
21
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 #define DD_BEEP_DEVICE_NAME "\\Device\\Beep"
28 #define DD_BEEP_DEVICE_NAME_U L"\\Device\\Beep"
29 #define BEEP_FREQUENCY_MINIMUM 0x25
30 #define BEEP_FREQUENCY_MAXIMUM 0x7FFF
31 #define IOCTL_BEEP_SET CTL_CODE(FILE_DEVICE_BEEP, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
32
33 typedef struct _BEEP_SET_PARAMETERS
34 {
35 ULONG Frequency;
36 ULONG Duration;
37 } BEEP_SET_PARAMETERS, *PBEEP_SET_PARAMETERS;
38
39 #ifdef __cplusplus
40 }
41 #endif
42 #endif
43