home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / pbt.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.5 KB  |  53 lines

  1. /*******************************************************************************
  2. *
  3. *  (C) COPYRIGHT MICROSOFT CORP., 1993-1995
  4. *
  5. *  TITLE:       PBT.H
  6. *
  7. *  VERSION:     1.0
  8. *
  9. *  DATE:        15 Jan 1994
  10. *
  11. *  Definitions for the Virtual Power Management Device.
  12. *
  13. ********************************************************************************
  14. *
  15. *  CHANGE LOG:
  16. *
  17. *  DATE        REV DESCRIPTION
  18. *  ----------- --- -------------------------------------------------------------
  19. *  15 Jan 1994 TCS Original implementation.
  20. *
  21. *******************************************************************************/
  22.  
  23. #ifndef _INC_PBT
  24. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  25. #define _INC_PBT
  26.  
  27. #ifndef WM_POWERBROADCAST
  28. #define WM_POWERBROADCAST               0x218
  29. #endif
  30.  
  31. #define PBT_APMQUERYSUSPEND             0x0000
  32. #define PBT_APMQUERYSTANDBY             0x0001
  33.  
  34. #define PBT_APMQUERYSUSPENDFAILED       0x0002
  35. #define PBT_APMQUERYSTANDBYFAILED       0x0003
  36.  
  37. #define PBT_APMSUSPEND                  0x0004
  38. #define PBT_APMSTANDBY                  0x0005
  39.  
  40. #define PBT_APMRESUMECRITICAL           0x0006
  41. #define PBT_APMRESUMESUSPEND            0x0007
  42. #define PBT_APMRESUMESTANDBY            0x0008
  43.  
  44. #define PBTF_APMRESUMEFROMFAILURE       0x00000001
  45.  
  46. #define PBT_APMBATTERYLOW               0x0009
  47. #define PBT_APMPOWERSTATUSCHANGE        0x000A
  48.  
  49. #define PBT_APMOEMEVENT                 0x000B
  50.  
  51. #pragma option pop /*P_O_Pop*/
  52. #endif // _INC_PBT
  53.