home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / AutoPC / apcsdk10.exe / data1.cab / Emulation_Include_Files / fmsystem.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-13  |  1.5 KB  |  46 lines

  1. //+----------------------------------------------------------------------------
  2. // 
  3. // File:        fmsystem.h
  4. //
  5. // Copyight:    (c) 1997, Microsoft Corporation
  6. //                 All Rights Reserved
  7. //                Infomation Contained Herein Is Propprietary and Confidential
  8. //
  9. // Contents:     FM System state definition
  10. //
  11. //-----------------------------------------------------------------------------
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17. // FMSetSystemStatus is the API for informing the Apollo UI of a system wide
  18. // state change. This API is available to drivers and applications that need
  19. // not have any other other exposure to the FormsManager
  20.  
  21. // The FMSetSystemStatus will initiate braodcast messages to the running
  22. // FM apps as appropriate for the state change
  23.  
  24. HRESULT    __stdcall    FMSetSystemStatus( DWORD dwSystemStateId, DWORD    dwState);
  25.  
  26. // FMGetSystemStatus is the API for getting the state of the Forms Managers 
  27. // internal view of the status of the system. Note this API only returns what 
  28. // value was last given to the forms manager (via FMSetSystemStatus or some 
  29. // other means) and does not neccessarily reflect the actual current value of the
  30. // status in a dynamically changing environment. 
  31.  
  32. HRESULT    __stdcall    FMGetSystemStatus( DWORD dwSystemStateId, DWORD    * pdwState);
  33.  
  34. // Defines for FMSetSystemStatus dwSystemStateId
  35.  
  36. #define    FM_SYSSTATE_BACKUPBATTERY        1
  37. #define FM_SYSSTATE_MUTE                2
  38. #define FM_SYSSTATE_ASR                    3
  39. #define FM_SYSSTATE_DASHCD                4
  40. #define FM_SYSSTATE_USERPOWER            5
  41.     
  42. #ifdef __cplusplus
  43. }
  44. #endif
  45.  
  46.