diff -r 000000000000 -r 76b1f169d9fe mingw-5.1.4/win32/include/pbt.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mingw-5.1.4/win32/include/pbt.h Fri Apr 03 17:16:45 2009 +0100 @@ -0,0 +1,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