windows.system.power.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*** Autogenerated by WIDL 7.7 from include/windows.system.power.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __windows_system_power_h__
  14. #define __windows_system_power_h__
  15. /* Forward declarations */
  16. /* Headers for imported files */
  17. #include <inspectable.h>
  18. #include <windows.foundation.h>
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. #ifndef __cplusplus
  23. typedef enum __x_ABI_CWindows_CSystem_CPower_CBatteryStatus __x_ABI_CWindows_CSystem_CPower_CBatteryStatus;
  24. #endif /* __cplusplus */
  25. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  26. #ifdef __cplusplus
  27. } /* extern "C" */
  28. namespace ABI {
  29. namespace Windows {
  30. namespace System {
  31. namespace Power {
  32. enum BatteryStatus {
  33. BatteryStatus_NotPresent = 0,
  34. BatteryStatus_Discharging = 1,
  35. BatteryStatus_Idle = 2,
  36. BatteryStatus_Charging = 3
  37. };
  38. }
  39. }
  40. }
  41. }
  42. extern "C" {
  43. #else
  44. enum __x_ABI_CWindows_CSystem_CPower_CBatteryStatus {
  45. BatteryStatus_NotPresent = 0,
  46. BatteryStatus_Discharging = 1,
  47. BatteryStatus_Idle = 2,
  48. BatteryStatus_Charging = 3
  49. };
  50. #ifdef WIDL_using_Windows_System_Power
  51. #define BatteryStatus __x_ABI_CWindows_CSystem_CPower_CBatteryStatus
  52. #endif /* WIDL_using_Windows_System_Power */
  53. #endif
  54. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  55. /* Begin additional prototypes for all interfaces */
  56. /* End additional prototypes */
  57. #ifdef __cplusplus
  58. }
  59. #endif
  60. #endif /* __windows_system_power_h__ */