Debian Codegraph @

mingw-w64-headers/include/windows.system.power.h

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