mirror of https://github.com/buggins/dlangui.git
32 lines
1.1 KiB
D
32 lines
1.1 KiB
D
/***********************************************************************\
|
|
* pbt.d *
|
|
* *
|
|
* Windows API header module *
|
|
* *
|
|
* Translated from MinGW Windows headers *
|
|
* by Stewart Gordon *
|
|
* *
|
|
* Placed into public domain *
|
|
\***********************************************************************/
|
|
module win32.pbt;
|
|
version(Windows):
|
|
|
|
private import win32.windef;
|
|
|
|
enum : WPARAM {
|
|
PBT_APMQUERYSUSPEND,
|
|
PBT_APMQUERYSTANDBY,
|
|
PBT_APMQUERYSUSPENDFAILED,
|
|
PBT_APMQUERYSTANDBYFAILED,
|
|
PBT_APMSUSPEND,
|
|
PBT_APMSTANDBY,
|
|
PBT_APMRESUMECRITICAL,
|
|
PBT_APMRESUMESUSPEND,
|
|
PBT_APMRESUMESTANDBY,
|
|
PBT_APMBATTERYLOW,
|
|
PBT_APMPOWERSTATUSCHANGE,
|
|
PBT_APMOEMEVENT // = 11
|
|
}
|
|
|
|
const LPARAM PBTF_APMRESUMEFROMFAILURE = 1;
|