ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ntddbeep.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 850 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /*
2 * ntddbeep.h
3 *
4 * This file is part of the mingw-w64 runtime package.
5 * No warranty is given; refer to the file DISCLAIMER within this package.
6 *
7 * Initial contributor is Casper S. Hornstrup <chorns@users.sourceforge.net>
8 * Extended by Kai Tietz
9 */
10
11 #ifndef _NTDDBEEP_
12 #define _NTDDBEEP_
13
14 #include <winapifamily.h>
15
16 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 #define DD_BEEP_DEVICE_NAME "\\Device\\Beep"
23 #define DD_BEEP_DEVICE_NAME_U L"\\Device\\Beep"
24 #define BEEP_FREQUENCY_MINIMUM 0x25
25 #define BEEP_FREQUENCY_MAXIMUM 0x7fff
26 #define IOCTL_BEEP_SET CTL_CODE (FILE_DEVICE_BEEP, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
27
28 typedef struct _BEEP_SET_PARAMETERS {
29 ULONG Frequency;
30 ULONG Duration;
31 } BEEP_SET_PARAMETERS,*PBEEP_SET_PARAMETERS;
32
33 #ifdef __cplusplus
34 }
35 #endif
36
37 #endif
38 #endif