1 /**
2  * This file has no copyright assigned and is placed in the Public Domain.
3  * This file is part of the mingw-w64 runtime package.
4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5  */
6 #ifndef _INC_PBT
7 #define _INC_PBT
8 
9 #define WM_POWERBROADCAST 0x0218
10 
11 #ifndef _WIN32_WCE
12 #define PBT_APMQUERYSUSPEND 0x0000
13 #define PBT_APMQUERYSTANDBY 0x0001
14 #define PBT_APMQUERYSUSPENDFAILED 0x0002
15 #define PBT_APMQUERYSTANDBYFAILED 0x0003
16 #define PBT_APMSUSPEND 0x0004
17 #define PBT_APMSTANDBY 0x0005
18 #define PBT_APMRESUMECRITICAL 0x0006
19 #define PBT_APMRESUMESUSPEND 0x0007
20 #define PBT_APMRESUMESTANDBY 0x0008
21 #define PBTF_APMRESUMEFROMFAILURE 0x00000001
22 #define PBT_APMBATTERYLOW 0x0009
23 #define PBT_APMPOWERSTATUSCHANGE 0x000A
24 #define PBT_APMOEMEVENT 0x000B
25 #define PBT_APMRESUMEAUTOMATIC 0x0012
26 #endif
27 
28 #endif
29