summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/pbt.h
blob: 21cb1cd41d4d93aa1c12b322ef72e096a163002f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _PBT_H
#define _PBT_H
#if __GNUC__ >= 3
#pragma GCC system_header
#endif

/* Also in winuser.h  */
#define PBT_APMQUERYSUSPEND 0
#define PBT_APMQUERYSTANDBY 1
#define PBT_APMQUERYSUSPENDFAILED 2
#define PBT_APMQUERYSTANDBYFAILED 3
#define PBT_APMSUSPEND 4
#define PBT_APMSTANDBY 5
#define PBT_APMRESUMECRITICAL 6
#define PBT_APMRESUMESUSPEND 7
#define PBT_APMRESUMESTANDBY 8
#define PBT_APMBATTERYLOW 9
#define PBT_APMPOWERSTATUSCHANGE 10
#define PBT_APMOEMEVENT 11
#define PBT_APMRESUMEAUTOMATIC 18

#define PBTF_APMRESUMEFROMFAILURE 1

#endif