Debian Codegraph @

mingw-w64-headers/include/windows.devices.input.h

raw
1 /*** Autogenerated by WIDL 11.5 from include/windows.devices.input.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_devices_input_h__
17 #define __windows_devices_input_h__
18
19 /* Forward declarations */
20
21 #ifndef ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice_FWD_DEFINED__
22 #define ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice_FWD_DEFINED__
23 typedef interface __x_ABI_CWindows_CDevices_CInput_CIPointerDevice __x_ABI_CWindows_CDevices_CInput_CIPointerDevice;
24 #ifdef __cplusplus
25 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice ABI::Windows::Devices::Input::IPointerDevice
26 namespace ABI {
27 namespace Windows {
28 namespace Devices {
29 namespace Input {
30 interface IPointerDevice;
31 }
32 }
33 }
34 }
35 #endif /* __cplusplus */
36 #endif
37
38 #ifndef ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_FWD_DEFINED__
39 #define ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_FWD_DEFINED__
40 typedef interface __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2;
41 #ifdef __cplusplus
42 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 ABI::Windows::Devices::Input::IPointerDevice2
43 namespace ABI {
44 namespace Windows {
45 namespace Devices {
46 namespace Input {
47 interface IPointerDevice2;
48 }
49 }
50 }
51 }
52 #endif /* __cplusplus */
53 #endif
54
55 #ifndef ____x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_FWD_DEFINED__
56 #define ____x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_FWD_DEFINED__
57 typedef interface __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics;
58 #ifdef __cplusplus
59 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics ABI::Windows::Devices::Input::IPointerDeviceStatics
60 namespace ABI {
61 namespace Windows {
62 namespace Devices {
63 namespace Input {
64 interface IPointerDeviceStatics;
65 }
66 }
67 }
68 }
69 #endif /* __cplusplus */
70 #endif
71
72 #ifndef ____x_ABI_CWindows_CDevices_CInput_CPointerDevice_FWD_DEFINED__
73 #define ____x_ABI_CWindows_CDevices_CInput_CPointerDevice_FWD_DEFINED__
74 #ifdef __cplusplus
75 namespace ABI {
76 namespace Windows {
77 namespace Devices {
78 namespace Input {
79 class PointerDevice;
80 }
81 }
82 }
83 }
84 #else
85 typedef struct __x_ABI_CWindows_CDevices_CInput_CPointerDevice __x_ABI_CWindows_CDevices_CInput_CPointerDevice;
86 #endif /* defined __cplusplus */
87 #endif /* defined ____x_ABI_CWindows_CDevices_CInput_CPointerDevice_FWD_DEFINED__ */
88
89 #ifndef ____FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_FWD_DEFINED__
90 #define ____FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_FWD_DEFINED__
91 typedef interface __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice;
92 #ifdef __cplusplus
93 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Input::PointerDevice* >
94 #endif /* __cplusplus */
95 #endif
96
97 #ifndef ____FIVectorView_1_PointerDeviceUsage_FWD_DEFINED__
98 #define ____FIVectorView_1_PointerDeviceUsage_FWD_DEFINED__
99 typedef interface __FIVectorView_1_PointerDeviceUsage __FIVectorView_1_PointerDeviceUsage;
100 #ifdef __cplusplus
101 #define __FIVectorView_1_PointerDeviceUsage ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Input::PointerDeviceUsage >
102 #endif /* __cplusplus */
103 #endif
104
105 /* Headers for imported files */
106
107 #include <inspectable.h>
108 #include <asyncinfo.h>
109 #include <eventtoken.h>
110 #include <windowscontracts.h>
111 #include <windows.foundation.h>
112
113 #ifdef __cplusplus
114 extern "C" {
115 #endif
116
117 #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
118 #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000
119 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
120
121 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
122 #ifndef ____x_ABI_CWindows_CDevices_CInput_CPointerDeviceType_ENUM_DEFINED__
123 #define ____x_ABI_CWindows_CDevices_CInput_CPointerDeviceType_ENUM_DEFINED__
124 #ifdef __cplusplus
125 } /* extern "C" */
126 namespace ABI {
127 namespace Windows {
128 namespace Devices {
129 namespace Input {
130 enum PointerDeviceType {
131 PointerDeviceType_Touch = 0,
132 PointerDeviceType_Pen = 1,
133 PointerDeviceType_Mouse = 2
134 };
135 }
136 }
137 }
138 }
139 extern "C" {
140 #else
141 enum __x_ABI_CWindows_CDevices_CInput_CPointerDeviceType {
142 PointerDeviceType_Touch = 0,
143 PointerDeviceType_Pen = 1,
144 PointerDeviceType_Mouse = 2
145 };
146 #ifdef WIDL_using_Windows_Devices_Input
147 #define PointerDeviceType __x_ABI_CWindows_CDevices_CInput_CPointerDeviceType
148 #endif /* WIDL_using_Windows_Devices_Input */
149 #endif
150
151 #endif /* ____x_ABI_CWindows_CDevices_CInput_CPointerDeviceType_ENUM_DEFINED__ */
152 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
153 #ifndef __cplusplus
154 typedef enum __x_ABI_CWindows_CDevices_CInput_CPointerDeviceType __x_ABI_CWindows_CDevices_CInput_CPointerDeviceType;
155 #endif /* __cplusplus */
156
157 #ifndef __cplusplus
158 typedef struct __x_ABI_CWindows_CDevices_CInput_CPointerDeviceUsage __x_ABI_CWindows_CDevices_CInput_CPointerDeviceUsage;
159 #else /* __cplusplus */
160 namespace ABI {
161 namespace Windows {
162 namespace Devices {
163 namespace Input {
164 typedef struct PointerDeviceUsage PointerDeviceUsage;
165 }
166 }
167 }
168 }
169 #endif /* __cplusplus */
170
171 #ifndef ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice_FWD_DEFINED__
172 #define ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice_FWD_DEFINED__
173 typedef interface __x_ABI_CWindows_CDevices_CInput_CIPointerDevice __x_ABI_CWindows_CDevices_CInput_CIPointerDevice;
174 #ifdef __cplusplus
175 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice ABI::Windows::Devices::Input::IPointerDevice
176 namespace ABI {
177 namespace Windows {
178 namespace Devices {
179 namespace Input {
180 interface IPointerDevice;
181 }
182 }
183 }
184 }
185 #endif /* __cplusplus */
186 #endif
187
188 #ifndef ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_FWD_DEFINED__
189 #define ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_FWD_DEFINED__
190 typedef interface __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2;
191 #ifdef __cplusplus
192 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 ABI::Windows::Devices::Input::IPointerDevice2
193 namespace ABI {
194 namespace Windows {
195 namespace Devices {
196 namespace Input {
197 interface IPointerDevice2;
198 }
199 }
200 }
201 }
202 #endif /* __cplusplus */
203 #endif
204
205 #ifndef ____x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_FWD_DEFINED__
206 #define ____x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_FWD_DEFINED__
207 typedef interface __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics;
208 #ifdef __cplusplus
209 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics ABI::Windows::Devices::Input::IPointerDeviceStatics
210 namespace ABI {
211 namespace Windows {
212 namespace Devices {
213 namespace Input {
214 interface IPointerDeviceStatics;
215 }
216 }
217 }
218 }
219 #endif /* __cplusplus */
220 #endif
221
222 #ifndef ____FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_FWD_DEFINED__
223 #define ____FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_FWD_DEFINED__
224 typedef interface __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice;
225 #ifdef __cplusplus
226 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Input::PointerDevice* >
227 #endif /* __cplusplus */
228 #endif
229
230 #ifndef ____FIVectorView_1_PointerDeviceUsage_FWD_DEFINED__
231 #define ____FIVectorView_1_PointerDeviceUsage_FWD_DEFINED__
232 typedef interface __FIVectorView_1_PointerDeviceUsage __FIVectorView_1_PointerDeviceUsage;
233 #ifdef __cplusplus
234 #define __FIVectorView_1_PointerDeviceUsage ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Input::PointerDeviceUsage >
235 #endif /* __cplusplus */
236 #endif
237
238 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
239 #ifdef __cplusplus
240 } /* extern "C" */
241 namespace ABI {
242 namespace Windows {
243 namespace Devices {
244 namespace Input {
245 struct PointerDeviceUsage {
246 UINT32 UsagePage;
247 UINT32 Usage;
248 INT32 MinLogical;
249 INT32 MaxLogical;
250 INT32 MinPhysical;
251 INT32 MaxPhysical;
252 UINT32 Unit;
253 FLOAT PhysicalMultiplier;
254 };
255 }
256 }
257 }
258 }
259 extern "C" {
260 #else
261 struct __x_ABI_CWindows_CDevices_CInput_CPointerDeviceUsage {
262 UINT32 UsagePage;
263 UINT32 Usage;
264 INT32 MinLogical;
265 INT32 MaxLogical;
266 INT32 MinPhysical;
267 INT32 MaxPhysical;
268 UINT32 Unit;
269 FLOAT PhysicalMultiplier;
270 };
271 #ifdef WIDL_using_Windows_Devices_Input
272 #define PointerDeviceUsage __x_ABI_CWindows_CDevices_CInput_CPointerDeviceUsage
273 #endif /* WIDL_using_Windows_Devices_Input */
274 #endif
275
276 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
277 /*****************************************************************************
278 * IPointerDevice interface
279 */
280 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
281 #ifndef ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice_INTERFACE_DEFINED__
282 #define ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice_INTERFACE_DEFINED__
283
284 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CInput_CIPointerDevice, 0x93c9bafc, 0xebcb, 0x467e, 0x82,0xc6, 0x27,0x6f,0xea,0xe3,0x6b,0x5a);
285 #if defined(__cplusplus) && !defined(CINTERFACE)
286 } /* extern "C" */
287 namespace ABI {
288 namespace Windows {
289 namespace Devices {
290 namespace Input {
291 MIDL_INTERFACE("93c9bafc-ebcb-467e-82c6-276feae36b5a")
292 IPointerDevice : public IInspectable
293 {
294 virtual HRESULT STDMETHODCALLTYPE get_PointerDeviceType(
295 ABI::Windows::Devices::Input::PointerDeviceType *value) = 0;
296
297 virtual HRESULT STDMETHODCALLTYPE get_IsIntegrated(
298 boolean *value) = 0;
299
300 virtual HRESULT STDMETHODCALLTYPE get_MaxContacts(
301 UINT32 *value) = 0;
302
303 virtual HRESULT STDMETHODCALLTYPE get_PhysicalDeviceRect(
304 ABI::Windows::Foundation::Rect *value) = 0;
305
306 virtual HRESULT STDMETHODCALLTYPE get_ScreenRect(
307 ABI::Windows::Foundation::Rect *value) = 0;
308
309 virtual HRESULT STDMETHODCALLTYPE get_SupportedUsages(
310 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Input::PointerDeviceUsage > **value) = 0;
311
312 };
313 }
314 }
315 }
316 }
317 extern "C" {
318 #ifdef __CRT_UUID_DECL
319 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice, 0x93c9bafc, 0xebcb, 0x467e, 0x82,0xc6, 0x27,0x6f,0xea,0xe3,0x6b,0x5a)
320 #endif
321 #else
322 typedef struct __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceVtbl {
323 BEGIN_INTERFACE
324
325 /*** IUnknown methods ***/
326 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
327 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This,
328 REFIID riid,
329 void **ppvObject);
330
331 ULONG (STDMETHODCALLTYPE *AddRef)(
332 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This);
333
334 ULONG (STDMETHODCALLTYPE *Release)(
335 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This);
336
337 /*** IInspectable methods ***/
338 HRESULT (STDMETHODCALLTYPE *GetIids)(
339 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This,
340 ULONG *iidCount,
341 IID **iids);
342
343 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
344 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This,
345 HSTRING *className);
346
347 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
348 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This,
349 TrustLevel *trustLevel);
350
351 /*** IPointerDevice methods ***/
352 HRESULT (STDMETHODCALLTYPE *get_PointerDeviceType)(
353 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This,
354 __x_ABI_CWindows_CDevices_CInput_CPointerDeviceType *value);
355
356 HRESULT (STDMETHODCALLTYPE *get_IsIntegrated)(
357 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This,
358 boolean *value);
359
360 HRESULT (STDMETHODCALLTYPE *get_MaxContacts)(
361 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This,
362 UINT32 *value);
363
364 HRESULT (STDMETHODCALLTYPE *get_PhysicalDeviceRect)(
365 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This,
366 __x_ABI_CWindows_CFoundation_CRect *value);
367
368 HRESULT (STDMETHODCALLTYPE *get_ScreenRect)(
369 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This,
370 __x_ABI_CWindows_CFoundation_CRect *value);
371
372 HRESULT (STDMETHODCALLTYPE *get_SupportedUsages)(
373 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *This,
374 __FIVectorView_1_PointerDeviceUsage **value);
375
376 END_INTERFACE
377 } __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceVtbl;
378
379 interface __x_ABI_CWindows_CDevices_CInput_CIPointerDevice {
380 CONST_VTBL __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceVtbl* lpVtbl;
381 };
382
383 #ifdef COBJMACROS
384 #ifndef WIDL_C_INLINE_WRAPPERS
385 /*** IUnknown methods ***/
386 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
387 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_AddRef(This) (This)->lpVtbl->AddRef(This)
388 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_Release(This) (This)->lpVtbl->Release(This)
389 /*** IInspectable methods ***/
390 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
391 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
392 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
393 /*** IPointerDevice methods ***/
394 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_PointerDeviceType(This,value) (This)->lpVtbl->get_PointerDeviceType(This,value)
395 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_IsIntegrated(This,value) (This)->lpVtbl->get_IsIntegrated(This,value)
396 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_MaxContacts(This,value) (This)->lpVtbl->get_MaxContacts(This,value)
397 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_PhysicalDeviceRect(This,value) (This)->lpVtbl->get_PhysicalDeviceRect(This,value)
398 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_ScreenRect(This,value) (This)->lpVtbl->get_ScreenRect(This,value)
399 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_SupportedUsages(This,value) (This)->lpVtbl->get_SupportedUsages(This,value)
400 #else
401 /*** IUnknown methods ***/
402 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_QueryInterface(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This,REFIID riid,void **ppvObject) {
403 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
404 }
405 static inline ULONG __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_AddRef(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This) {
406 return This->lpVtbl->AddRef(This);
407 }
408 static inline ULONG __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_Release(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This) {
409 return This->lpVtbl->Release(This);
410 }
411 /*** IInspectable methods ***/
412 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_GetIids(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This,ULONG *iidCount,IID **iids) {
413 return This->lpVtbl->GetIids(This,iidCount,iids);
414 }
415 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This,HSTRING *className) {
416 return This->lpVtbl->GetRuntimeClassName(This,className);
417 }
418 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_GetTrustLevel(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This,TrustLevel *trustLevel) {
419 return This->lpVtbl->GetTrustLevel(This,trustLevel);
420 }
421 /*** IPointerDevice methods ***/
422 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_PointerDeviceType(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This,__x_ABI_CWindows_CDevices_CInput_CPointerDeviceType *value) {
423 return This->lpVtbl->get_PointerDeviceType(This,value);
424 }
425 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_IsIntegrated(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This,boolean *value) {
426 return This->lpVtbl->get_IsIntegrated(This,value);
427 }
428 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_MaxContacts(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This,UINT32 *value) {
429 return This->lpVtbl->get_MaxContacts(This,value);
430 }
431 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_PhysicalDeviceRect(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This,__x_ABI_CWindows_CFoundation_CRect *value) {
432 return This->lpVtbl->get_PhysicalDeviceRect(This,value);
433 }
434 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_ScreenRect(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This,__x_ABI_CWindows_CFoundation_CRect *value) {
435 return This->lpVtbl->get_ScreenRect(This,value);
436 }
437 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_SupportedUsages(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice* This,__FIVectorView_1_PointerDeviceUsage **value) {
438 return This->lpVtbl->get_SupportedUsages(This,value);
439 }
440 #endif
441 #ifdef WIDL_using_Windows_Devices_Input
442 #define IID_IPointerDevice IID___x_ABI_CWindows_CDevices_CInput_CIPointerDevice
443 #define IPointerDeviceVtbl __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceVtbl
444 #define IPointerDevice __x_ABI_CWindows_CDevices_CInput_CIPointerDevice
445 #define IPointerDevice_QueryInterface __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_QueryInterface
446 #define IPointerDevice_AddRef __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_AddRef
447 #define IPointerDevice_Release __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_Release
448 #define IPointerDevice_GetIids __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_GetIids
449 #define IPointerDevice_GetRuntimeClassName __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_GetRuntimeClassName
450 #define IPointerDevice_GetTrustLevel __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_GetTrustLevel
451 #define IPointerDevice_get_PointerDeviceType __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_PointerDeviceType
452 #define IPointerDevice_get_IsIntegrated __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_IsIntegrated
453 #define IPointerDevice_get_MaxContacts __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_MaxContacts
454 #define IPointerDevice_get_PhysicalDeviceRect __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_PhysicalDeviceRect
455 #define IPointerDevice_get_ScreenRect __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_ScreenRect
456 #define IPointerDevice_get_SupportedUsages __x_ABI_CWindows_CDevices_CInput_CIPointerDevice_get_SupportedUsages
457 #endif /* WIDL_using_Windows_Devices_Input */
458 #endif
459
460 #endif
461
462 #endif /* ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice_INTERFACE_DEFINED__ */
463 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
464
465 /*****************************************************************************
466 * IPointerDevice2 interface
467 */
468 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
469 #ifndef ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_INTERFACE_DEFINED__
470 #define ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_INTERFACE_DEFINED__
471
472 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CInput_CIPointerDevice2, 0xf8a6d2a0, 0xc484, 0x489f, 0xae,0x3e, 0x30,0xd2,0xee,0x1f,0xfd,0x3e);
473 #if defined(__cplusplus) && !defined(CINTERFACE)
474 } /* extern "C" */
475 namespace ABI {
476 namespace Windows {
477 namespace Devices {
478 namespace Input {
479 MIDL_INTERFACE("f8a6d2a0-c484-489f-ae3e-30d2ee1ffd3e")
480 IPointerDevice2 : public IInspectable
481 {
482 virtual HRESULT STDMETHODCALLTYPE get_MaxPointersWithZDistance(
483 UINT32 *value) = 0;
484
485 };
486 }
487 }
488 }
489 }
490 extern "C" {
491 #ifdef __CRT_UUID_DECL
492 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice2, 0xf8a6d2a0, 0xc484, 0x489f, 0xae,0x3e, 0x30,0xd2,0xee,0x1f,0xfd,0x3e)
493 #endif
494 #else
495 typedef struct __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2Vtbl {
496 BEGIN_INTERFACE
497
498 /*** IUnknown methods ***/
499 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
500 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 *This,
501 REFIID riid,
502 void **ppvObject);
503
504 ULONG (STDMETHODCALLTYPE *AddRef)(
505 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 *This);
506
507 ULONG (STDMETHODCALLTYPE *Release)(
508 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 *This);
509
510 /*** IInspectable methods ***/
511 HRESULT (STDMETHODCALLTYPE *GetIids)(
512 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 *This,
513 ULONG *iidCount,
514 IID **iids);
515
516 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
517 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 *This,
518 HSTRING *className);
519
520 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
521 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 *This,
522 TrustLevel *trustLevel);
523
524 /*** IPointerDevice2 methods ***/
525 HRESULT (STDMETHODCALLTYPE *get_MaxPointersWithZDistance)(
526 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 *This,
527 UINT32 *value);
528
529 END_INTERFACE
530 } __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2Vtbl;
531
532 interface __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2 {
533 CONST_VTBL __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2Vtbl* lpVtbl;
534 };
535
536 #ifdef COBJMACROS
537 #ifndef WIDL_C_INLINE_WRAPPERS
538 /*** IUnknown methods ***/
539 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
540 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_AddRef(This) (This)->lpVtbl->AddRef(This)
541 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_Release(This) (This)->lpVtbl->Release(This)
542 /*** IInspectable methods ***/
543 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
544 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
545 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
546 /*** IPointerDevice2 methods ***/
547 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_get_MaxPointersWithZDistance(This,value) (This)->lpVtbl->get_MaxPointersWithZDistance(This,value)
548 #else
549 /*** IUnknown methods ***/
550 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_QueryInterface(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice2* This,REFIID riid,void **ppvObject) {
551 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
552 }
553 static inline ULONG __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_AddRef(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice2* This) {
554 return This->lpVtbl->AddRef(This);
555 }
556 static inline ULONG __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_Release(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice2* This) {
557 return This->lpVtbl->Release(This);
558 }
559 /*** IInspectable methods ***/
560 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_GetIids(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice2* This,ULONG *iidCount,IID **iids) {
561 return This->lpVtbl->GetIids(This,iidCount,iids);
562 }
563 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice2* This,HSTRING *className) {
564 return This->lpVtbl->GetRuntimeClassName(This,className);
565 }
566 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_GetTrustLevel(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice2* This,TrustLevel *trustLevel) {
567 return This->lpVtbl->GetTrustLevel(This,trustLevel);
568 }
569 /*** IPointerDevice2 methods ***/
570 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_get_MaxPointersWithZDistance(__x_ABI_CWindows_CDevices_CInput_CIPointerDevice2* This,UINT32 *value) {
571 return This->lpVtbl->get_MaxPointersWithZDistance(This,value);
572 }
573 #endif
574 #ifdef WIDL_using_Windows_Devices_Input
575 #define IID_IPointerDevice2 IID___x_ABI_CWindows_CDevices_CInput_CIPointerDevice2
576 #define IPointerDevice2Vtbl __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2Vtbl
577 #define IPointerDevice2 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2
578 #define IPointerDevice2_QueryInterface __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_QueryInterface
579 #define IPointerDevice2_AddRef __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_AddRef
580 #define IPointerDevice2_Release __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_Release
581 #define IPointerDevice2_GetIids __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_GetIids
582 #define IPointerDevice2_GetRuntimeClassName __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_GetRuntimeClassName
583 #define IPointerDevice2_GetTrustLevel __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_GetTrustLevel
584 #define IPointerDevice2_get_MaxPointersWithZDistance __x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_get_MaxPointersWithZDistance
585 #endif /* WIDL_using_Windows_Devices_Input */
586 #endif
587
588 #endif
589
590 #endif /* ____x_ABI_CWindows_CDevices_CInput_CIPointerDevice2_INTERFACE_DEFINED__ */
591 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
592
593 /*****************************************************************************
594 * IPointerDeviceStatics interface
595 */
596 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
597 #ifndef ____x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_INTERFACE_DEFINED__
598 #define ____x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_INTERFACE_DEFINED__
599
600 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics, 0xd8b89aa1, 0xd1c6, 0x416e, 0xbd,0x8d, 0x57,0x90,0x91,0x4d,0xc5,0x63);
601 #if defined(__cplusplus) && !defined(CINTERFACE)
602 } /* extern "C" */
603 namespace ABI {
604 namespace Windows {
605 namespace Devices {
606 namespace Input {
607 MIDL_INTERFACE("d8b89aa1-d1c6-416e-bd8d-5790914dc563")
608 IPointerDeviceStatics : public IInspectable
609 {
610 virtual HRESULT STDMETHODCALLTYPE GetPointerDevice(
611 UINT32 pointer_id,
612 ABI::Windows::Devices::Input::IPointerDevice **pointer_device) = 0;
613
614 virtual HRESULT STDMETHODCALLTYPE GetPointerDevices(
615 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Input::PointerDevice* > **pointer_devices) = 0;
616
617 };
618 }
619 }
620 }
621 }
622 extern "C" {
623 #ifdef __CRT_UUID_DECL
624 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics, 0xd8b89aa1, 0xd1c6, 0x416e, 0xbd,0x8d, 0x57,0x90,0x91,0x4d,0xc5,0x63)
625 #endif
626 #else
627 typedef struct __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStaticsVtbl {
628 BEGIN_INTERFACE
629
630 /*** IUnknown methods ***/
631 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
632 __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics *This,
633 REFIID riid,
634 void **ppvObject);
635
636 ULONG (STDMETHODCALLTYPE *AddRef)(
637 __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics *This);
638
639 ULONG (STDMETHODCALLTYPE *Release)(
640 __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics *This);
641
642 /*** IInspectable methods ***/
643 HRESULT (STDMETHODCALLTYPE *GetIids)(
644 __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics *This,
645 ULONG *iidCount,
646 IID **iids);
647
648 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
649 __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics *This,
650 HSTRING *className);
651
652 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
653 __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics *This,
654 TrustLevel *trustLevel);
655
656 /*** IPointerDeviceStatics methods ***/
657 HRESULT (STDMETHODCALLTYPE *GetPointerDevice)(
658 __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics *This,
659 UINT32 pointer_id,
660 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice **pointer_device);
661
662 HRESULT (STDMETHODCALLTYPE *GetPointerDevices)(
663 __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics *This,
664 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice **pointer_devices);
665
666 END_INTERFACE
667 } __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStaticsVtbl;
668
669 interface __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics {
670 CONST_VTBL __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStaticsVtbl* lpVtbl;
671 };
672
673 #ifdef COBJMACROS
674 #ifndef WIDL_C_INLINE_WRAPPERS
675 /*** IUnknown methods ***/
676 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
677 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
678 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_Release(This) (This)->lpVtbl->Release(This)
679 /*** IInspectable methods ***/
680 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
681 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
682 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
683 /*** IPointerDeviceStatics methods ***/
684 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetPointerDevice(This,pointer_id,pointer_device) (This)->lpVtbl->GetPointerDevice(This,pointer_id,pointer_device)
685 #define __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetPointerDevices(This,pointer_devices) (This)->lpVtbl->GetPointerDevices(This,pointer_devices)
686 #else
687 /*** IUnknown methods ***/
688 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_QueryInterface(__x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics* This,REFIID riid,void **ppvObject) {
689 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
690 }
691 static inline ULONG __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_AddRef(__x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics* This) {
692 return This->lpVtbl->AddRef(This);
693 }
694 static inline ULONG __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_Release(__x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics* This) {
695 return This->lpVtbl->Release(This);
696 }
697 /*** IInspectable methods ***/
698 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetIids(__x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics* This,ULONG *iidCount,IID **iids) {
699 return This->lpVtbl->GetIids(This,iidCount,iids);
700 }
701 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics* This,HSTRING *className) {
702 return This->lpVtbl->GetRuntimeClassName(This,className);
703 }
704 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetTrustLevel(__x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics* This,TrustLevel *trustLevel) {
705 return This->lpVtbl->GetTrustLevel(This,trustLevel);
706 }
707 /*** IPointerDeviceStatics methods ***/
708 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetPointerDevice(__x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics* This,UINT32 pointer_id,__x_ABI_CWindows_CDevices_CInput_CIPointerDevice **pointer_device) {
709 return This->lpVtbl->GetPointerDevice(This,pointer_id,pointer_device);
710 }
711 static inline HRESULT __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetPointerDevices(__x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics* This,__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice **pointer_devices) {
712 return This->lpVtbl->GetPointerDevices(This,pointer_devices);
713 }
714 #endif
715 #ifdef WIDL_using_Windows_Devices_Input
716 #define IID_IPointerDeviceStatics IID___x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics
717 #define IPointerDeviceStaticsVtbl __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStaticsVtbl
718 #define IPointerDeviceStatics __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics
719 #define IPointerDeviceStatics_QueryInterface __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_QueryInterface
720 #define IPointerDeviceStatics_AddRef __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_AddRef
721 #define IPointerDeviceStatics_Release __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_Release
722 #define IPointerDeviceStatics_GetIids __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetIids
723 #define IPointerDeviceStatics_GetRuntimeClassName __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetRuntimeClassName
724 #define IPointerDeviceStatics_GetTrustLevel __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetTrustLevel
725 #define IPointerDeviceStatics_GetPointerDevice __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetPointerDevice
726 #define IPointerDeviceStatics_GetPointerDevices __x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_GetPointerDevices
727 #endif /* WIDL_using_Windows_Devices_Input */
728 #endif
729
730 #endif
731
732 #endif /* ____x_ABI_CWindows_CDevices_CInput_CIPointerDeviceStatics_INTERFACE_DEFINED__ */
733 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
734
735 /*
736 * Class Windows.Devices.Input.PointerDevice
737 */
738 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
739 #ifndef RUNTIMECLASS_Windows_Devices_Input_PointerDevice_DEFINED
740 #define RUNTIMECLASS_Windows_Devices_Input_PointerDevice_DEFINED
741 #if !defined(_MSC_VER) && !defined(__MINGW32__)
742 static const WCHAR RuntimeClass_Windows_Devices_Input_PointerDevice[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','I','n','p','u','t','.','P','o','i','n','t','e','r','D','e','v','i','c','e',0};
743 #elif defined(__GNUC__) && !defined(__cplusplus)
744 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Input_PointerDevice[] = L"Windows.Devices.Input.PointerDevice";
745 #else
746 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Input_PointerDevice[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','I','n','p','u','t','.','P','o','i','n','t','e','r','D','e','v','i','c','e',0};
747 #endif
748 #endif /* RUNTIMECLASS_Windows_Devices_Input_PointerDevice_DEFINED */
749 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
750
751 /*****************************************************************************
752 * IVectorView<ABI::Windows::Devices::Input::PointerDevice* > interface
753 */
754 #ifndef ____FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_INTERFACE_DEFINED__
755 #define ____FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_INTERFACE_DEFINED__
756
757 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CInput__CPointerDevice, 0xcf5674f1, 0x9808, 0x5a2b, 0x80,0xb8, 0x56,0x84,0xed,0x0e,0xa8,0x16);
758 #if defined(__cplusplus) && !defined(CINTERFACE)
759 } /* extern "C" */
760 namespace ABI {
761 namespace Windows {
762 namespace Foundation {
763 namespace Collections {
764 template<>
765 MIDL_INTERFACE("cf5674f1-9808-5a2b-80b8-5684ed0ea816")
766 IVectorView<ABI::Windows::Devices::Input::PointerDevice* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Input::PointerDevice*, ABI::Windows::Devices::Input::IPointerDevice* > >
767 {
768 };
769 }
770 }
771 }
772 }
773 extern "C" {
774 #ifdef __CRT_UUID_DECL
775 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice, 0xcf5674f1, 0x9808, 0x5a2b, 0x80,0xb8, 0x56,0x84,0xed,0x0e,0xa8,0x16)
776 #endif
777 #else
778 typedef struct __FIVectorView_1_Windows__CDevices__CInput__CPointerDeviceVtbl {
779 BEGIN_INTERFACE
780
781 /*** IUnknown methods ***/
782 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
783 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice *This,
784 REFIID riid,
785 void **ppvObject);
786
787 ULONG (STDMETHODCALLTYPE *AddRef)(
788 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice *This);
789
790 ULONG (STDMETHODCALLTYPE *Release)(
791 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice *This);
792
793 /*** IInspectable methods ***/
794 HRESULT (STDMETHODCALLTYPE *GetIids)(
795 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice *This,
796 ULONG *iidCount,
797 IID **iids);
798
799 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
800 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice *This,
801 HSTRING *className);
802
803 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
804 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice *This,
805 TrustLevel *trustLevel);
806
807 /*** IVectorView<ABI::Windows::Devices::Input::PointerDevice* > methods ***/
808 HRESULT (STDMETHODCALLTYPE *GetAt)(
809 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice *This,
810 UINT32 index,
811 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice **value);
812
813 HRESULT (STDMETHODCALLTYPE *get_Size)(
814 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice *This,
815 UINT32 *value);
816
817 HRESULT (STDMETHODCALLTYPE *IndexOf)(
818 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice *This,
819 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice *element,
820 UINT32 *index,
821 BOOLEAN *value);
822
823 HRESULT (STDMETHODCALLTYPE *GetMany)(
824 __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice *This,
825 UINT32 start_index,
826 UINT32 items_size,
827 __x_ABI_CWindows_CDevices_CInput_CIPointerDevice **items,
828 UINT32 *value);
829
830 END_INTERFACE
831 } __FIVectorView_1_Windows__CDevices__CInput__CPointerDeviceVtbl;
832
833 interface __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice {
834 CONST_VTBL __FIVectorView_1_Windows__CDevices__CInput__CPointerDeviceVtbl* lpVtbl;
835 };
836
837 #ifdef COBJMACROS
838 #ifndef WIDL_C_INLINE_WRAPPERS
839 /*** IUnknown methods ***/
840 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
841 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_AddRef(This) (This)->lpVtbl->AddRef(This)
842 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_Release(This) (This)->lpVtbl->Release(This)
843 /*** IInspectable methods ***/
844 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
845 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
846 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
847 /*** IVectorView<ABI::Windows::Devices::Input::PointerDevice* > methods ***/
848 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
849 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
850 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
851 #define __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
852 #else
853 /*** IUnknown methods ***/
854 static inline HRESULT __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_QueryInterface(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice* This,REFIID riid,void **ppvObject) {
855 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
856 }
857 static inline ULONG __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_AddRef(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice* This) {
858 return This->lpVtbl->AddRef(This);
859 }
860 static inline ULONG __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_Release(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice* This) {
861 return This->lpVtbl->Release(This);
862 }
863 /*** IInspectable methods ***/
864 static inline HRESULT __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetIids(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice* This,ULONG *iidCount,IID **iids) {
865 return This->lpVtbl->GetIids(This,iidCount,iids);
866 }
867 static inline HRESULT __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice* This,HSTRING *className) {
868 return This->lpVtbl->GetRuntimeClassName(This,className);
869 }
870 static inline HRESULT __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice* This,TrustLevel *trustLevel) {
871 return This->lpVtbl->GetTrustLevel(This,trustLevel);
872 }
873 /*** IVectorView<ABI::Windows::Devices::Input::PointerDevice* > methods ***/
874 static inline HRESULT __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetAt(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice* This,UINT32 index,__x_ABI_CWindows_CDevices_CInput_CIPointerDevice **value) {
875 return This->lpVtbl->GetAt(This,index,value);
876 }
877 static inline HRESULT __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_get_Size(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice* This,UINT32 *value) {
878 return This->lpVtbl->get_Size(This,value);
879 }
880 static inline HRESULT __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_IndexOf(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice* This,__x_ABI_CWindows_CDevices_CInput_CIPointerDevice *element,UINT32 *index,BOOLEAN *value) {
881 return This->lpVtbl->IndexOf(This,element,index,value);
882 }
883 static inline HRESULT __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetMany(__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CInput_CIPointerDevice **items,UINT32 *value) {
884 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
885 }
886 #endif
887 #ifdef WIDL_using_Windows_Foundation_Collections
888 #define IID_IVectorView_PointerDevice IID___FIVectorView_1_Windows__CDevices__CInput__CPointerDevice
889 #define IVectorView_PointerDeviceVtbl __FIVectorView_1_Windows__CDevices__CInput__CPointerDeviceVtbl
890 #define IVectorView_PointerDevice __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice
891 #define IVectorView_PointerDevice_QueryInterface __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_QueryInterface
892 #define IVectorView_PointerDevice_AddRef __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_AddRef
893 #define IVectorView_PointerDevice_Release __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_Release
894 #define IVectorView_PointerDevice_GetIids __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetIids
895 #define IVectorView_PointerDevice_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetRuntimeClassName
896 #define IVectorView_PointerDevice_GetTrustLevel __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetTrustLevel
897 #define IVectorView_PointerDevice_GetAt __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetAt
898 #define IVectorView_PointerDevice_get_Size __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_get_Size
899 #define IVectorView_PointerDevice_IndexOf __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_IndexOf
900 #define IVectorView_PointerDevice_GetMany __FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_GetMany
901 #endif /* WIDL_using_Windows_Foundation_Collections */
902 #endif
903
904 #endif
905
906 #endif /* ____FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_INTERFACE_DEFINED__ */
907
908 /*****************************************************************************
909 * IVectorView<ABI::Windows::Devices::Input::PointerDeviceUsage > interface
910 */
911 #ifndef ____FIVectorView_1_PointerDeviceUsage_INTERFACE_DEFINED__
912 #define ____FIVectorView_1_PointerDeviceUsage_INTERFACE_DEFINED__
913
914 DEFINE_GUID(IID___FIVectorView_1_PointerDeviceUsage, 0x8e5a2c7e, 0x3830, 0x50d5, 0x92,0xba, 0x31,0x63,0xc8,0x9c,0xbb,0xd0);
915 #if defined(__cplusplus) && !defined(CINTERFACE)
916 } /* extern "C" */
917 namespace ABI {
918 namespace Windows {
919 namespace Foundation {
920 namespace Collections {
921 template<>
922 MIDL_INTERFACE("8e5a2c7e-3830-50d5-92ba-3163c89cbbd0")
923 IVectorView<ABI::Windows::Devices::Input::PointerDeviceUsage > : IVectorView_impl<ABI::Windows::Devices::Input::PointerDeviceUsage >
924 {
925 };
926 }
927 }
928 }
929 }
930 extern "C" {
931 #ifdef __CRT_UUID_DECL
932 __CRT_UUID_DECL(__FIVectorView_1_PointerDeviceUsage, 0x8e5a2c7e, 0x3830, 0x50d5, 0x92,0xba, 0x31,0x63,0xc8,0x9c,0xbb,0xd0)
933 #endif
934 #else
935 typedef struct __FIVectorView_1_PointerDeviceUsageVtbl {
936 BEGIN_INTERFACE
937
938 /*** IUnknown methods ***/
939 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
940 __FIVectorView_1_PointerDeviceUsage *This,
941 REFIID riid,
942 void **ppvObject);
943
944 ULONG (STDMETHODCALLTYPE *AddRef)(
945 __FIVectorView_1_PointerDeviceUsage *This);
946
947 ULONG (STDMETHODCALLTYPE *Release)(
948 __FIVectorView_1_PointerDeviceUsage *This);
949
950 /*** IInspectable methods ***/
951 HRESULT (STDMETHODCALLTYPE *GetIids)(
952 __FIVectorView_1_PointerDeviceUsage *This,
953 ULONG *iidCount,
954 IID **iids);
955
956 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
957 __FIVectorView_1_PointerDeviceUsage *This,
958 HSTRING *className);
959
960 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
961 __FIVectorView_1_PointerDeviceUsage *This,
962 TrustLevel *trustLevel);
963
964 /*** IVectorView<ABI::Windows::Devices::Input::PointerDeviceUsage > methods ***/
965 HRESULT (STDMETHODCALLTYPE *GetAt)(
966 __FIVectorView_1_PointerDeviceUsage *This,
967 UINT32 index,
968 __x_ABI_CWindows_CDevices_CInput_CPointerDeviceUsage *value);
969
970 HRESULT (STDMETHODCALLTYPE *get_Size)(
971 __FIVectorView_1_PointerDeviceUsage *This,
972 UINT32 *value);
973
974 HRESULT (STDMETHODCALLTYPE *IndexOf)(
975 __FIVectorView_1_PointerDeviceUsage *This,
976 __x_ABI_CWindows_CDevices_CInput_CPointerDeviceUsage element,
977 UINT32 *index,
978 BOOLEAN *value);
979
980 HRESULT (STDMETHODCALLTYPE *GetMany)(
981 __FIVectorView_1_PointerDeviceUsage *This,
982 UINT32 start_index,
983 UINT32 items_size,
984 __x_ABI_CWindows_CDevices_CInput_CPointerDeviceUsage *items,
985 UINT32 *value);
986
987 END_INTERFACE
988 } __FIVectorView_1_PointerDeviceUsageVtbl;
989
990 interface __FIVectorView_1_PointerDeviceUsage {
991 CONST_VTBL __FIVectorView_1_PointerDeviceUsageVtbl* lpVtbl;
992 };
993
994 #ifdef COBJMACROS
995 #ifndef WIDL_C_INLINE_WRAPPERS
996 /*** IUnknown methods ***/
997 #define __FIVectorView_1_PointerDeviceUsage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
998 #define __FIVectorView_1_PointerDeviceUsage_AddRef(This) (This)->lpVtbl->AddRef(This)
999 #define __FIVectorView_1_PointerDeviceUsage_Release(This) (This)->lpVtbl->Release(This)
1000 /*** IInspectable methods ***/
1001 #define __FIVectorView_1_PointerDeviceUsage_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1002 #define __FIVectorView_1_PointerDeviceUsage_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1003 #define __FIVectorView_1_PointerDeviceUsage_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1004 /*** IVectorView<ABI::Windows::Devices::Input::PointerDeviceUsage > methods ***/
1005 #define __FIVectorView_1_PointerDeviceUsage_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
1006 #define __FIVectorView_1_PointerDeviceUsage_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
1007 #define __FIVectorView_1_PointerDeviceUsage_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
1008 #define __FIVectorView_1_PointerDeviceUsage_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
1009 #else
1010 /*** IUnknown methods ***/
1011 static inline HRESULT __FIVectorView_1_PointerDeviceUsage_QueryInterface(__FIVectorView_1_PointerDeviceUsage* This,REFIID riid,void **ppvObject) {
1012 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1013 }
1014 static inline ULONG __FIVectorView_1_PointerDeviceUsage_AddRef(__FIVectorView_1_PointerDeviceUsage* This) {
1015 return This->lpVtbl->AddRef(This);
1016 }
1017 static inline ULONG __FIVectorView_1_PointerDeviceUsage_Release(__FIVectorView_1_PointerDeviceUsage* This) {
1018 return This->lpVtbl->Release(This);
1019 }
1020 /*** IInspectable methods ***/
1021 static inline HRESULT __FIVectorView_1_PointerDeviceUsage_GetIids(__FIVectorView_1_PointerDeviceUsage* This,ULONG *iidCount,IID **iids) {
1022 return This->lpVtbl->GetIids(This,iidCount,iids);
1023 }
1024 static inline HRESULT __FIVectorView_1_PointerDeviceUsage_GetRuntimeClassName(__FIVectorView_1_PointerDeviceUsage* This,HSTRING *className) {
1025 return This->lpVtbl->GetRuntimeClassName(This,className);
1026 }
1027 static inline HRESULT __FIVectorView_1_PointerDeviceUsage_GetTrustLevel(__FIVectorView_1_PointerDeviceUsage* This,TrustLevel *trustLevel) {
1028 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1029 }
1030 /*** IVectorView<ABI::Windows::Devices::Input::PointerDeviceUsage > methods ***/
1031 static inline HRESULT __FIVectorView_1_PointerDeviceUsage_GetAt(__FIVectorView_1_PointerDeviceUsage* This,UINT32 index,__x_ABI_CWindows_CDevices_CInput_CPointerDeviceUsage *value) {
1032 return This->lpVtbl->GetAt(This,index,value);
1033 }
1034 static inline HRESULT __FIVectorView_1_PointerDeviceUsage_get_Size(__FIVectorView_1_PointerDeviceUsage* This,UINT32 *value) {
1035 return This->lpVtbl->get_Size(This,value);
1036 }
1037 static inline HRESULT __FIVectorView_1_PointerDeviceUsage_IndexOf(__FIVectorView_1_PointerDeviceUsage* This,__x_ABI_CWindows_CDevices_CInput_CPointerDeviceUsage element,UINT32 *index,BOOLEAN *value) {
1038 return This->lpVtbl->IndexOf(This,element,index,value);
1039 }
1040 static inline HRESULT __FIVectorView_1_PointerDeviceUsage_GetMany(__FIVectorView_1_PointerDeviceUsage* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CInput_CPointerDeviceUsage *items,UINT32 *value) {
1041 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
1042 }
1043 #endif
1044 #ifdef WIDL_using_Windows_Foundation_Collections
1045 #define IID_IVectorView_PointerDeviceUsage IID___FIVectorView_1_PointerDeviceUsage
1046 #define IVectorView_PointerDeviceUsageVtbl __FIVectorView_1_PointerDeviceUsageVtbl
1047 #define IVectorView_PointerDeviceUsage __FIVectorView_1_PointerDeviceUsage
1048 #define IVectorView_PointerDeviceUsage_QueryInterface __FIVectorView_1_PointerDeviceUsage_QueryInterface
1049 #define IVectorView_PointerDeviceUsage_AddRef __FIVectorView_1_PointerDeviceUsage_AddRef
1050 #define IVectorView_PointerDeviceUsage_Release __FIVectorView_1_PointerDeviceUsage_Release
1051 #define IVectorView_PointerDeviceUsage_GetIids __FIVectorView_1_PointerDeviceUsage_GetIids
1052 #define IVectorView_PointerDeviceUsage_GetRuntimeClassName __FIVectorView_1_PointerDeviceUsage_GetRuntimeClassName
1053 #define IVectorView_PointerDeviceUsage_GetTrustLevel __FIVectorView_1_PointerDeviceUsage_GetTrustLevel
1054 #define IVectorView_PointerDeviceUsage_GetAt __FIVectorView_1_PointerDeviceUsage_GetAt
1055 #define IVectorView_PointerDeviceUsage_get_Size __FIVectorView_1_PointerDeviceUsage_get_Size
1056 #define IVectorView_PointerDeviceUsage_IndexOf __FIVectorView_1_PointerDeviceUsage_IndexOf
1057 #define IVectorView_PointerDeviceUsage_GetMany __FIVectorView_1_PointerDeviceUsage_GetMany
1058 #endif /* WIDL_using_Windows_Foundation_Collections */
1059 #endif
1060
1061 #endif
1062
1063 #endif /* ____FIVectorView_1_PointerDeviceUsage_INTERFACE_DEFINED__ */
1064
1065 /* Begin additional prototypes for all interfaces */
1066
1067
1068 /* End additional prototypes */
1069
1070 #ifdef __cplusplus
1071 }
1072 #endif
1073
1074 #endif /* __windows_devices_input_h__ */