This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/Borland/BCC55/Include/pbt.h

53 lines
1.4 KiB
C

/*******************************************************************************
*
* (C) COPYRIGHT MICROSOFT CORP., 1993-1995
*
* TITLE: PBT.H
*
* VERSION: 1.0
*
* DATE: 15 Jan 1994
*
* Definitions for the Virtual Power Management Device.
*
********************************************************************************
*
* CHANGE LOG:
*
* DATE REV DESCRIPTION
* ----------- --- -------------------------------------------------------------
* 15 Jan 1994 TCS Original implementation.
*
*******************************************************************************/
#ifndef _INC_PBT
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
#define _INC_PBT
#ifndef WM_POWERBROADCAST
#define WM_POWERBROADCAST 0x218
#endif
#define PBT_APMQUERYSUSPEND 0x0000
#define PBT_APMQUERYSTANDBY 0x0001
#define PBT_APMQUERYSUSPENDFAILED 0x0002
#define PBT_APMQUERYSTANDBYFAILED 0x0003
#define PBT_APMSUSPEND 0x0004
#define PBT_APMSTANDBY 0x0005
#define PBT_APMRESUMECRITICAL 0x0006
#define PBT_APMRESUMESUSPEND 0x0007
#define PBT_APMRESUMESTANDBY 0x0008
#define PBTF_APMRESUMEFROMFAILURE 0x00000001
#define PBT_APMBATTERYLOW 0x0009
#define PBT_APMPOWERSTATUSCHANGE 0x000A
#define PBT_APMOEMEVENT 0x000B
#pragma option pop /*P_O_Pop*/
#endif // _INC_PBT