1
|
1 /***********************************************************************\
|
|
2 * pbt.d *
|
|
3 * *
|
|
4 * Windows API header module *
|
|
5 * *
|
|
6 * Translated from MinGW Windows headers *
|
|
7 * by Stewart Gordon *
|
|
8 * *
|
|
9 * Placed into public domain *
|
|
10 \***********************************************************************/
|
|
11 module win32.pbt;
|
|
12
|
|
13 private import win32.windef;
|
|
14
|
|
15 enum : WPARAM {
|
|
16 PBT_APMQUERYSUSPEND,
|
|
17 PBT_APMQUERYSTANDBY,
|
|
18 PBT_APMQUERYSUSPENDFAILED,
|
|
19 PBT_APMQUERYSTANDBYFAILED,
|
|
20 PBT_APMSUSPEND,
|
|
21 PBT_APMSTANDBY,
|
|
22 PBT_APMRESUMECRITICAL,
|
|
23 PBT_APMRESUMESUSPEND,
|
|
24 PBT_APMRESUMESTANDBY,
|
|
25 PBT_APMBATTERYLOW,
|
|
26 PBT_APMPOWERSTATUSCHANGE,
|
|
27 PBT_APMOEMEVENT // = 11
|
|
28 }
|
|
29
|
|
30 const LPARAM PBTF_APMRESUMEFROMFAILURE = 1;
|