Last change
on this file since 1166 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
850 bytes
|
Line | |
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.