Debian Codegraph @

mingw-w64-headers/include/windows.perception.h

raw
1 /*** Autogenerated by WIDL 11.5 from include/windows.perception.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_perception_h__
17 #define __windows_perception_h__
18
19 /* Forward declarations */
20
21 #ifndef ____x_ABI_CWindows_CPerception_CIPerceptionTimestamp_FWD_DEFINED__
22 #define ____x_ABI_CWindows_CPerception_CIPerceptionTimestamp_FWD_DEFINED__
23 typedef interface __x_ABI_CWindows_CPerception_CIPerceptionTimestamp __x_ABI_CWindows_CPerception_CIPerceptionTimestamp;
24 #ifdef __cplusplus
25 #define __x_ABI_CWindows_CPerception_CIPerceptionTimestamp ABI::Windows::Perception::IPerceptionTimestamp
26 namespace ABI {
27 namespace Windows {
28 namespace Perception {
29 interface IPerceptionTimestamp;
30 }
31 }
32 }
33 #endif /* __cplusplus */
34 #endif
35
36 #ifndef ____x_ABI_CWindows_CPerception_CPerceptionTimestamp_FWD_DEFINED__
37 #define ____x_ABI_CWindows_CPerception_CPerceptionTimestamp_FWD_DEFINED__
38 #ifdef __cplusplus
39 namespace ABI {
40 namespace Windows {
41 namespace Perception {
42 class PerceptionTimestamp;
43 }
44 }
45 }
46 #else
47 typedef struct __x_ABI_CWindows_CPerception_CPerceptionTimestamp __x_ABI_CWindows_CPerception_CPerceptionTimestamp;
48 #endif /* defined __cplusplus */
49 #endif /* defined ____x_ABI_CWindows_CPerception_CPerceptionTimestamp_FWD_DEFINED__ */
50
51 /* Headers for imported files */
52
53 #include <inspectable.h>
54 #include <asyncinfo.h>
55 #include <eventtoken.h>
56 #include <windowscontracts.h>
57 #include <windows.foundation.h>
58
59 #ifdef __cplusplus
60 extern "C" {
61 #endif
62
63 #ifndef ____x_ABI_CWindows_CPerception_CIPerceptionTimestamp_FWD_DEFINED__
64 #define ____x_ABI_CWindows_CPerception_CIPerceptionTimestamp_FWD_DEFINED__
65 typedef interface __x_ABI_CWindows_CPerception_CIPerceptionTimestamp __x_ABI_CWindows_CPerception_CIPerceptionTimestamp;
66 #ifdef __cplusplus
67 #define __x_ABI_CWindows_CPerception_CIPerceptionTimestamp ABI::Windows::Perception::IPerceptionTimestamp
68 namespace ABI {
69 namespace Windows {
70 namespace Perception {
71 interface IPerceptionTimestamp;
72 }
73 }
74 }
75 #endif /* __cplusplus */
76 #endif
77
78 /*****************************************************************************
79 * IPerceptionTimestamp interface
80 */
81 #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
82 #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000
83 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
84
85 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x20000
86 #ifndef ____x_ABI_CWindows_CPerception_CIPerceptionTimestamp_INTERFACE_DEFINED__
87 #define ____x_ABI_CWindows_CPerception_CIPerceptionTimestamp_INTERFACE_DEFINED__
88
89 DEFINE_GUID(IID___x_ABI_CWindows_CPerception_CIPerceptionTimestamp, 0x87c24804, 0xa22e, 0x4adb, 0xba,0x26, 0xd7,0x8e,0xf6,0x39,0xbc,0xf4);
90 #if defined(__cplusplus) && !defined(CINTERFACE)
91 } /* extern "C" */
92 namespace ABI {
93 namespace Windows {
94 namespace Perception {
95 MIDL_INTERFACE("87c24804-a22e-4adb-ba26-d78ef639bcf4")
96 IPerceptionTimestamp : public IInspectable
97 {
98 virtual HRESULT STDMETHODCALLTYPE get_TargetTime(
99 ABI::Windows::Foundation::DateTime *value) = 0;
100
101 virtual HRESULT STDMETHODCALLTYPE get_PredictionAmount(
102 ABI::Windows::Foundation::TimeSpan *value) = 0;
103
104 };
105 }
106 }
107 }
108 extern "C" {
109 #ifdef __CRT_UUID_DECL
110 __CRT_UUID_DECL(__x_ABI_CWindows_CPerception_CIPerceptionTimestamp, 0x87c24804, 0xa22e, 0x4adb, 0xba,0x26, 0xd7,0x8e,0xf6,0x39,0xbc,0xf4)
111 #endif
112 #else
113 typedef struct __x_ABI_CWindows_CPerception_CIPerceptionTimestampVtbl {
114 BEGIN_INTERFACE
115
116 /*** IUnknown methods ***/
117 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
118 __x_ABI_CWindows_CPerception_CIPerceptionTimestamp *This,
119 REFIID riid,
120 void **ppvObject);
121
122 ULONG (STDMETHODCALLTYPE *AddRef)(
123 __x_ABI_CWindows_CPerception_CIPerceptionTimestamp *This);
124
125 ULONG (STDMETHODCALLTYPE *Release)(
126 __x_ABI_CWindows_CPerception_CIPerceptionTimestamp *This);
127
128 /*** IInspectable methods ***/
129 HRESULT (STDMETHODCALLTYPE *GetIids)(
130 __x_ABI_CWindows_CPerception_CIPerceptionTimestamp *This,
131 ULONG *iidCount,
132 IID **iids);
133
134 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
135 __x_ABI_CWindows_CPerception_CIPerceptionTimestamp *This,
136 HSTRING *className);
137
138 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
139 __x_ABI_CWindows_CPerception_CIPerceptionTimestamp *This,
140 TrustLevel *trustLevel);
141
142 /*** IPerceptionTimestamp methods ***/
143 HRESULT (STDMETHODCALLTYPE *get_TargetTime)(
144 __x_ABI_CWindows_CPerception_CIPerceptionTimestamp *This,
145 __x_ABI_CWindows_CFoundation_CDateTime *value);
146
147 HRESULT (STDMETHODCALLTYPE *get_PredictionAmount)(
148 __x_ABI_CWindows_CPerception_CIPerceptionTimestamp *This,
149 __x_ABI_CWindows_CFoundation_CTimeSpan *value);
150
151 END_INTERFACE
152 } __x_ABI_CWindows_CPerception_CIPerceptionTimestampVtbl;
153
154 interface __x_ABI_CWindows_CPerception_CIPerceptionTimestamp {
155 CONST_VTBL __x_ABI_CWindows_CPerception_CIPerceptionTimestampVtbl* lpVtbl;
156 };
157
158 #ifdef COBJMACROS
159 #ifndef WIDL_C_INLINE_WRAPPERS
160 /*** IUnknown methods ***/
161 #define __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
162 #define __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_AddRef(This) (This)->lpVtbl->AddRef(This)
163 #define __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_Release(This) (This)->lpVtbl->Release(This)
164 /*** IInspectable methods ***/
165 #define __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
166 #define __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
167 #define __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
168 /*** IPerceptionTimestamp methods ***/
169 #define __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_get_TargetTime(This,value) (This)->lpVtbl->get_TargetTime(This,value)
170 #define __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_get_PredictionAmount(This,value) (This)->lpVtbl->get_PredictionAmount(This,value)
171 #else
172 /*** IUnknown methods ***/
173 static inline HRESULT __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_QueryInterface(__x_ABI_CWindows_CPerception_CIPerceptionTimestamp* This,REFIID riid,void **ppvObject) {
174 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
175 }
176 static inline ULONG __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_AddRef(__x_ABI_CWindows_CPerception_CIPerceptionTimestamp* This) {
177 return This->lpVtbl->AddRef(This);
178 }
179 static inline ULONG __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_Release(__x_ABI_CWindows_CPerception_CIPerceptionTimestamp* This) {
180 return This->lpVtbl->Release(This);
181 }
182 /*** IInspectable methods ***/
183 static inline HRESULT __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_GetIids(__x_ABI_CWindows_CPerception_CIPerceptionTimestamp* This,ULONG *iidCount,IID **iids) {
184 return This->lpVtbl->GetIids(This,iidCount,iids);
185 }
186 static inline HRESULT __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_GetRuntimeClassName(__x_ABI_CWindows_CPerception_CIPerceptionTimestamp* This,HSTRING *className) {
187 return This->lpVtbl->GetRuntimeClassName(This,className);
188 }
189 static inline HRESULT __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_GetTrustLevel(__x_ABI_CWindows_CPerception_CIPerceptionTimestamp* This,TrustLevel *trustLevel) {
190 return This->lpVtbl->GetTrustLevel(This,trustLevel);
191 }
192 /*** IPerceptionTimestamp methods ***/
193 static inline HRESULT __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_get_TargetTime(__x_ABI_CWindows_CPerception_CIPerceptionTimestamp* This,__x_ABI_CWindows_CFoundation_CDateTime *value) {
194 return This->lpVtbl->get_TargetTime(This,value);
195 }
196 static inline HRESULT __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_get_PredictionAmount(__x_ABI_CWindows_CPerception_CIPerceptionTimestamp* This,__x_ABI_CWindows_CFoundation_CTimeSpan *value) {
197 return This->lpVtbl->get_PredictionAmount(This,value);
198 }
199 #endif
200 #ifdef WIDL_using_Windows_Perception
201 #define IID_IPerceptionTimestamp IID___x_ABI_CWindows_CPerception_CIPerceptionTimestamp
202 #define IPerceptionTimestampVtbl __x_ABI_CWindows_CPerception_CIPerceptionTimestampVtbl
203 #define IPerceptionTimestamp __x_ABI_CWindows_CPerception_CIPerceptionTimestamp
204 #define IPerceptionTimestamp_QueryInterface __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_QueryInterface
205 #define IPerceptionTimestamp_AddRef __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_AddRef
206 #define IPerceptionTimestamp_Release __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_Release
207 #define IPerceptionTimestamp_GetIids __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_GetIids
208 #define IPerceptionTimestamp_GetRuntimeClassName __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_GetRuntimeClassName
209 #define IPerceptionTimestamp_GetTrustLevel __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_GetTrustLevel
210 #define IPerceptionTimestamp_get_TargetTime __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_get_TargetTime
211 #define IPerceptionTimestamp_get_PredictionAmount __x_ABI_CWindows_CPerception_CIPerceptionTimestamp_get_PredictionAmount
212 #endif /* WIDL_using_Windows_Perception */
213 #endif
214
215 #endif
216
217 #endif /* ____x_ABI_CWindows_CPerception_CIPerceptionTimestamp_INTERFACE_DEFINED__ */
218 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x20000 */
219
220 /*
221 * Class Windows.Perception.PerceptionTimestamp
222 */
223 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x20000
224 #ifndef RUNTIMECLASS_Windows_Perception_PerceptionTimestamp_DEFINED
225 #define RUNTIMECLASS_Windows_Perception_PerceptionTimestamp_DEFINED
226 #if !defined(_MSC_VER) && !defined(__MINGW32__)
227 static const WCHAR RuntimeClass_Windows_Perception_PerceptionTimestamp[] = {'W','i','n','d','o','w','s','.','P','e','r','c','e','p','t','i','o','n','.','P','e','r','c','e','p','t','i','o','n','T','i','m','e','s','t','a','m','p',0};
228 #elif defined(__GNUC__) && !defined(__cplusplus)
229 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Perception_PerceptionTimestamp[] = L"Windows.Perception.PerceptionTimestamp";
230 #else
231 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Perception_PerceptionTimestamp[] = {'W','i','n','d','o','w','s','.','P','e','r','c','e','p','t','i','o','n','.','P','e','r','c','e','p','t','i','o','n','T','i','m','e','s','t','a','m','p',0};
232 #endif
233 #endif /* RUNTIMECLASS_Windows_Perception_PerceptionTimestamp_DEFINED */
234 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x20000 */
235
236 /* Begin additional prototypes for all interfaces */
237
238
239 /* End additional prototypes */
240
241 #ifdef __cplusplus
242 }
243 #endif
244
245 #endif /* __windows_perception_h__ */