holdingarea/llvm/llvm-gcc4.2-2.7-x86-mingw32/include/pbt.h
author Matt Plumtree <matt.plumtree@nokia.com>
Thu, 16 Sep 2010 12:43:44 +0100
branchbug235_bringup_0
changeset 23 e70851cd9e5e
parent 20 d2d6724aef32
permissions -rw-r--r--
Enable building of holdingarea code, using CMake/Microsoft Visual Studio Express, using hostthreadadapter.

#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