Debian Codegraph @

mingw-w64-headers/include/windows.gaming.input.custom.h

raw
1 /*** Autogenerated by WIDL 11.5 from include/windows.gaming.input.custom.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_gaming_input_custom_h__
17 #define __windows_gaming_input_custom_h__
18
19 /* Forward declarations */
20
21 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_FWD_DEFINED__
22 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_FWD_DEFINED__
23 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink;
24 #ifdef __cplusplus
25 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IGameControllerInputSink
26 namespace ABI {
27 namespace Windows {
28 namespace Gaming {
29 namespace Input {
30 namespace Custom {
31 interface IGameControllerInputSink;
32 }
33 }
34 }
35 }
36 }
37 #endif /* __cplusplus */
38 #endif
39
40 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_FWD_DEFINED__
41 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_FWD_DEFINED__
42 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider;
43 #ifdef __cplusplus
44 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider ABI::Windows::Gaming::Input::Custom::IGameControllerProvider
45 namespace ABI {
46 namespace Windows {
47 namespace Gaming {
48 namespace Input {
49 namespace Custom {
50 interface IGameControllerProvider;
51 }
52 }
53 }
54 }
55 }
56 #endif /* __cplusplus */
57 #endif
58
59 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_FWD_DEFINED__
60 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_FWD_DEFINED__
61 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink;
62 #ifdef __cplusplus
63 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IHidGameControllerInputSink
64 namespace ABI {
65 namespace Windows {
66 namespace Gaming {
67 namespace Input {
68 namespace Custom {
69 interface IHidGameControllerInputSink;
70 }
71 }
72 }
73 }
74 }
75 #endif /* __cplusplus */
76 #endif
77
78 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_FWD_DEFINED__
79 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_FWD_DEFINED__
80 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider;
81 #ifdef __cplusplus
82 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider ABI::Windows::Gaming::Input::Custom::IHidGameControllerProvider
83 namespace ABI {
84 namespace Windows {
85 namespace Gaming {
86 namespace Input {
87 namespace Custom {
88 interface IHidGameControllerProvider;
89 }
90 }
91 }
92 }
93 }
94 #endif /* __cplusplus */
95 #endif
96
97 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_FWD_DEFINED__
98 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_FWD_DEFINED__
99 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink;
100 #ifdef __cplusplus
101 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IXusbGameControllerInputSink
102 namespace ABI {
103 namespace Windows {
104 namespace Gaming {
105 namespace Input {
106 namespace Custom {
107 interface IXusbGameControllerInputSink;
108 }
109 }
110 }
111 }
112 }
113 #endif /* __cplusplus */
114 #endif
115
116 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_FWD_DEFINED__
117 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_FWD_DEFINED__
118 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider;
119 #ifdef __cplusplus
120 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider ABI::Windows::Gaming::Input::Custom::IXusbGameControllerProvider
121 namespace ABI {
122 namespace Windows {
123 namespace Gaming {
124 namespace Input {
125 namespace Custom {
126 interface IXusbGameControllerProvider;
127 }
128 }
129 }
130 }
131 }
132 #endif /* __cplusplus */
133 #endif
134
135 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_FWD_DEFINED__
136 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_FWD_DEFINED__
137 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory;
138 #ifdef __cplusplus
139 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory
140 namespace ABI {
141 namespace Windows {
142 namespace Gaming {
143 namespace Input {
144 namespace Custom {
145 interface ICustomGameControllerFactory;
146 }
147 }
148 }
149 }
150 }
151 #endif /* __cplusplus */
152 #endif
153
154 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_FWD_DEFINED__
155 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_FWD_DEFINED__
156 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics;
157 #ifdef __cplusplus
158 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics ABI::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics
159 namespace ABI {
160 namespace Windows {
161 namespace Gaming {
162 namespace Input {
163 namespace Custom {
164 interface IGameControllerFactoryManagerStatics;
165 }
166 }
167 }
168 }
169 }
170 #endif /* __cplusplus */
171 #endif
172
173 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_FWD_DEFINED__
174 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_FWD_DEFINED__
175 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2;
176 #ifdef __cplusplus
177 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 ABI::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics2
178 namespace ABI {
179 namespace Windows {
180 namespace Gaming {
181 namespace Input {
182 namespace Custom {
183 interface IGameControllerFactoryManagerStatics2;
184 }
185 }
186 }
187 }
188 }
189 #endif /* __cplusplus */
190 #endif
191
192 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerFactoryManager_FWD_DEFINED__
193 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerFactoryManager_FWD_DEFINED__
194 #ifdef __cplusplus
195 namespace ABI {
196 namespace Windows {
197 namespace Gaming {
198 namespace Input {
199 namespace Custom {
200 class GameControllerFactoryManager;
201 }
202 }
203 }
204 }
205 }
206 #else
207 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerFactoryManager __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerFactoryManager;
208 #endif /* defined __cplusplus */
209 #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerFactoryManager_FWD_DEFINED__ */
210
211 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CHidGameControllerProvider_FWD_DEFINED__
212 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CHidGameControllerProvider_FWD_DEFINED__
213 #ifdef __cplusplus
214 namespace ABI {
215 namespace Windows {
216 namespace Gaming {
217 namespace Input {
218 namespace Custom {
219 class HidGameControllerProvider;
220 }
221 }
222 }
223 }
224 }
225 #else
226 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CHidGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CHidGameControllerProvider;
227 #endif /* defined __cplusplus */
228 #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CCustom_CHidGameControllerProvider_FWD_DEFINED__ */
229
230 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbGameControllerProvider_FWD_DEFINED__
231 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbGameControllerProvider_FWD_DEFINED__
232 #ifdef __cplusplus
233 namespace ABI {
234 namespace Windows {
235 namespace Gaming {
236 namespace Input {
237 namespace Custom {
238 class XusbGameControllerProvider;
239 }
240 }
241 }
242 }
243 }
244 #else
245 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbGameControllerProvider;
246 #endif /* defined __cplusplus */
247 #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbGameControllerProvider_FWD_DEFINED__ */
248
249 /* Headers for imported files */
250
251 #include <inspectable.h>
252 #include <asyncinfo.h>
253 #include <eventtoken.h>
254 #include <windowscontracts.h>
255 #include <windows.foundation.h>
256 #include <windows.gaming.input.h>
257 #include <windows.storage.streams.h>
258
259 #ifdef __cplusplus
260 extern "C" {
261 #endif
262
263 #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
264 #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000
265 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
266
267 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
268 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype_ENUM_DEFINED__
269 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype_ENUM_DEFINED__
270 #ifdef __cplusplus
271 } /* extern "C" */
272 namespace ABI {
273 namespace Windows {
274 namespace Gaming {
275 namespace Input {
276 namespace Custom {
277 enum XusbDeviceSubtype {
278 XusbDeviceSubtype_Unknown = 0,
279 XusbDeviceSubtype_Gamepad = 1,
280 XusbDeviceSubtype_ArcadePad = 2,
281 XusbDeviceSubtype_ArcadeStick = 3,
282 XusbDeviceSubtype_FlightStick = 4,
283 XusbDeviceSubtype_Wheel = 5,
284 XusbDeviceSubtype_Guitar = 6,
285 XusbDeviceSubtype_GuitarAlternate = 7,
286 XusbDeviceSubtype_GuitarBass = 8,
287 XusbDeviceSubtype_DrumKit = 9,
288 XusbDeviceSubtype_DancePad = 10
289 };
290 }
291 }
292 }
293 }
294 }
295 extern "C" {
296 #else
297 enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype {
298 XusbDeviceSubtype_Unknown = 0,
299 XusbDeviceSubtype_Gamepad = 1,
300 XusbDeviceSubtype_ArcadePad = 2,
301 XusbDeviceSubtype_ArcadeStick = 3,
302 XusbDeviceSubtype_FlightStick = 4,
303 XusbDeviceSubtype_Wheel = 5,
304 XusbDeviceSubtype_Guitar = 6,
305 XusbDeviceSubtype_GuitarAlternate = 7,
306 XusbDeviceSubtype_GuitarBass = 8,
307 XusbDeviceSubtype_DrumKit = 9,
308 XusbDeviceSubtype_DancePad = 10
309 };
310 #ifdef WIDL_using_Windows_Gaming_Input_Custom
311 #define XusbDeviceSubtype __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype
312 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
313 #endif
314
315 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype_ENUM_DEFINED__ */
316 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
317 #ifndef __cplusplus
318 typedef enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype;
319 #endif /* __cplusplus */
320
321 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
322 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType_ENUM_DEFINED__
323 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType_ENUM_DEFINED__
324 #ifdef __cplusplus
325 } /* extern "C" */
326 namespace ABI {
327 namespace Windows {
328 namespace Gaming {
329 namespace Input {
330 namespace Custom {
331 enum XusbDeviceType {
332 XusbDeviceType_Unknown = 0,
333 XusbDeviceType_Gamepad = 1
334 };
335 }
336 }
337 }
338 }
339 }
340 extern "C" {
341 #else
342 enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType {
343 XusbDeviceType_Unknown = 0,
344 XusbDeviceType_Gamepad = 1
345 };
346 #ifdef WIDL_using_Windows_Gaming_Input_Custom
347 #define XusbDeviceType __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType
348 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
349 #endif
350
351 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType_ENUM_DEFINED__ */
352 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
353 #ifndef __cplusplus
354 typedef enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType;
355 #endif /* __cplusplus */
356
357 #ifndef __cplusplus
358 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo;
359 #else /* __cplusplus */
360 namespace ABI {
361 namespace Windows {
362 namespace Gaming {
363 namespace Input {
364 namespace Custom {
365 typedef struct GameControllerVersionInfo GameControllerVersionInfo;
366 }
367 }
368 }
369 }
370 }
371 #endif /* __cplusplus */
372
373 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_FWD_DEFINED__
374 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_FWD_DEFINED__
375 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink;
376 #ifdef __cplusplus
377 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IGameControllerInputSink
378 namespace ABI {
379 namespace Windows {
380 namespace Gaming {
381 namespace Input {
382 namespace Custom {
383 interface IGameControllerInputSink;
384 }
385 }
386 }
387 }
388 }
389 #endif /* __cplusplus */
390 #endif
391
392 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_FWD_DEFINED__
393 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_FWD_DEFINED__
394 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider;
395 #ifdef __cplusplus
396 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider ABI::Windows::Gaming::Input::Custom::IGameControllerProvider
397 namespace ABI {
398 namespace Windows {
399 namespace Gaming {
400 namespace Input {
401 namespace Custom {
402 interface IGameControllerProvider;
403 }
404 }
405 }
406 }
407 }
408 #endif /* __cplusplus */
409 #endif
410
411 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_FWD_DEFINED__
412 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_FWD_DEFINED__
413 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink;
414 #ifdef __cplusplus
415 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IHidGameControllerInputSink
416 namespace ABI {
417 namespace Windows {
418 namespace Gaming {
419 namespace Input {
420 namespace Custom {
421 interface IHidGameControllerInputSink;
422 }
423 }
424 }
425 }
426 }
427 #endif /* __cplusplus */
428 #endif
429
430 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_FWD_DEFINED__
431 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_FWD_DEFINED__
432 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider;
433 #ifdef __cplusplus
434 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider ABI::Windows::Gaming::Input::Custom::IHidGameControllerProvider
435 namespace ABI {
436 namespace Windows {
437 namespace Gaming {
438 namespace Input {
439 namespace Custom {
440 interface IHidGameControllerProvider;
441 }
442 }
443 }
444 }
445 }
446 #endif /* __cplusplus */
447 #endif
448
449 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_FWD_DEFINED__
450 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_FWD_DEFINED__
451 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink;
452 #ifdef __cplusplus
453 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IXusbGameControllerInputSink
454 namespace ABI {
455 namespace Windows {
456 namespace Gaming {
457 namespace Input {
458 namespace Custom {
459 interface IXusbGameControllerInputSink;
460 }
461 }
462 }
463 }
464 }
465 #endif /* __cplusplus */
466 #endif
467
468 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_FWD_DEFINED__
469 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_FWD_DEFINED__
470 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider;
471 #ifdef __cplusplus
472 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider ABI::Windows::Gaming::Input::Custom::IXusbGameControllerProvider
473 namespace ABI {
474 namespace Windows {
475 namespace Gaming {
476 namespace Input {
477 namespace Custom {
478 interface IXusbGameControllerProvider;
479 }
480 }
481 }
482 }
483 }
484 #endif /* __cplusplus */
485 #endif
486
487 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_FWD_DEFINED__
488 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_FWD_DEFINED__
489 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory;
490 #ifdef __cplusplus
491 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory
492 namespace ABI {
493 namespace Windows {
494 namespace Gaming {
495 namespace Input {
496 namespace Custom {
497 interface ICustomGameControllerFactory;
498 }
499 }
500 }
501 }
502 }
503 #endif /* __cplusplus */
504 #endif
505
506 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_FWD_DEFINED__
507 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_FWD_DEFINED__
508 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics;
509 #ifdef __cplusplus
510 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics ABI::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics
511 namespace ABI {
512 namespace Windows {
513 namespace Gaming {
514 namespace Input {
515 namespace Custom {
516 interface IGameControllerFactoryManagerStatics;
517 }
518 }
519 }
520 }
521 }
522 #endif /* __cplusplus */
523 #endif
524
525 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_FWD_DEFINED__
526 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_FWD_DEFINED__
527 typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2;
528 #ifdef __cplusplus
529 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 ABI::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics2
530 namespace ABI {
531 namespace Windows {
532 namespace Gaming {
533 namespace Input {
534 namespace Custom {
535 interface IGameControllerFactoryManagerStatics2;
536 }
537 }
538 }
539 }
540 }
541 #endif /* __cplusplus */
542 #endif
543
544 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
545 #ifdef __cplusplus
546 } /* extern "C" */
547 namespace ABI {
548 namespace Windows {
549 namespace Gaming {
550 namespace Input {
551 namespace Custom {
552 struct GameControllerVersionInfo {
553 UINT16 Major;
554 UINT16 Minor;
555 UINT16 Build;
556 UINT16 Revision;
557 };
558 }
559 }
560 }
561 }
562 }
563 extern "C" {
564 #else
565 struct __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo {
566 UINT16 Major;
567 UINT16 Minor;
568 UINT16 Build;
569 UINT16 Revision;
570 };
571 #ifdef WIDL_using_Windows_Gaming_Input_Custom
572 #define GameControllerVersionInfo __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo
573 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
574 #endif
575
576 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
577 /*****************************************************************************
578 * IGameControllerInputSink interface
579 */
580 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
581 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_INTERFACE_DEFINED__
582 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_INTERFACE_DEFINED__
583
584 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink, 0x1ff6f922, 0xc640, 0x4c78, 0xa8,0x20, 0x9a,0x71,0x5c,0x55,0x8b,0xcb);
585 #if defined(__cplusplus) && !defined(CINTERFACE)
586 } /* extern "C" */
587 namespace ABI {
588 namespace Windows {
589 namespace Gaming {
590 namespace Input {
591 namespace Custom {
592 MIDL_INTERFACE("1ff6f922-c640-4c78-a820-9a715c558bcb")
593 IGameControllerInputSink : public IInspectable
594 {
595 virtual HRESULT STDMETHODCALLTYPE OnInputResumed(
596 UINT64 timestamp) = 0;
597
598 virtual HRESULT STDMETHODCALLTYPE OnInputSuspended(
599 UINT64 timestamp) = 0;
600
601 };
602 }
603 }
604 }
605 }
606 }
607 extern "C" {
608 #ifdef __CRT_UUID_DECL
609 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink, 0x1ff6f922, 0xc640, 0x4c78, 0xa8,0x20, 0x9a,0x71,0x5c,0x55,0x8b,0xcb)
610 #endif
611 #else
612 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSinkVtbl {
613 BEGIN_INTERFACE
614
615 /*** IUnknown methods ***/
616 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
617 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
618 REFIID riid,
619 void **ppvObject);
620
621 ULONG (STDMETHODCALLTYPE *AddRef)(
622 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This);
623
624 ULONG (STDMETHODCALLTYPE *Release)(
625 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This);
626
627 /*** IInspectable methods ***/
628 HRESULT (STDMETHODCALLTYPE *GetIids)(
629 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
630 ULONG *iidCount,
631 IID **iids);
632
633 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
634 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
635 HSTRING *className);
636
637 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
638 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
639 TrustLevel *trustLevel);
640
641 /*** IGameControllerInputSink methods ***/
642 HRESULT (STDMETHODCALLTYPE *OnInputResumed)(
643 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
644 UINT64 timestamp);
645
646 HRESULT (STDMETHODCALLTYPE *OnInputSuspended)(
647 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
648 UINT64 timestamp);
649
650 END_INTERFACE
651 } __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSinkVtbl;
652
653 interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink {
654 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSinkVtbl* lpVtbl;
655 };
656
657 #ifdef COBJMACROS
658 #ifndef WIDL_C_INLINE_WRAPPERS
659 /*** IUnknown methods ***/
660 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
661 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_AddRef(This) (This)->lpVtbl->AddRef(This)
662 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_Release(This) (This)->lpVtbl->Release(This)
663 /*** IInspectable methods ***/
664 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
665 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
666 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
667 /*** IGameControllerInputSink methods ***/
668 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputResumed(This,timestamp) (This)->lpVtbl->OnInputResumed(This,timestamp)
669 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputSuspended(This,timestamp) (This)->lpVtbl->OnInputSuspended(This,timestamp)
670 #else
671 /*** IUnknown methods ***/
672 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,REFIID riid,void **ppvObject) {
673 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
674 }
675 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This) {
676 return This->lpVtbl->AddRef(This);
677 }
678 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This) {
679 return This->lpVtbl->Release(This);
680 }
681 /*** IInspectable methods ***/
682 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,ULONG *iidCount,IID **iids) {
683 return This->lpVtbl->GetIids(This,iidCount,iids);
684 }
685 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,HSTRING *className) {
686 return This->lpVtbl->GetRuntimeClassName(This,className);
687 }
688 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,TrustLevel *trustLevel) {
689 return This->lpVtbl->GetTrustLevel(This,trustLevel);
690 }
691 /*** IGameControllerInputSink methods ***/
692 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputResumed(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,UINT64 timestamp) {
693 return This->lpVtbl->OnInputResumed(This,timestamp);
694 }
695 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputSuspended(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,UINT64 timestamp) {
696 return This->lpVtbl->OnInputSuspended(This,timestamp);
697 }
698 #endif
699 #ifdef WIDL_using_Windows_Gaming_Input_Custom
700 #define IID_IGameControllerInputSink IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink
701 #define IGameControllerInputSinkVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSinkVtbl
702 #define IGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink
703 #define IGameControllerInputSink_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_QueryInterface
704 #define IGameControllerInputSink_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_AddRef
705 #define IGameControllerInputSink_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_Release
706 #define IGameControllerInputSink_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetIids
707 #define IGameControllerInputSink_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetRuntimeClassName
708 #define IGameControllerInputSink_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetTrustLevel
709 #define IGameControllerInputSink_OnInputResumed __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputResumed
710 #define IGameControllerInputSink_OnInputSuspended __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputSuspended
711 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
712 #endif
713
714 #endif
715
716 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_INTERFACE_DEFINED__ */
717 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
718
719 /*****************************************************************************
720 * IGameControllerProvider interface
721 */
722 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
723 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_INTERFACE_DEFINED__
724 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_INTERFACE_DEFINED__
725
726 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider, 0xe6d73982, 0x2996, 0x4559, 0xb1,0x6c, 0x3e,0x57,0xd4,0x6e,0x58,0xd6);
727 #if defined(__cplusplus) && !defined(CINTERFACE)
728 } /* extern "C" */
729 namespace ABI {
730 namespace Windows {
731 namespace Gaming {
732 namespace Input {
733 namespace Custom {
734 MIDL_INTERFACE("e6d73982-2996-4559-b16c-3e57d46e58d6")
735 IGameControllerProvider : public IInspectable
736 {
737 virtual HRESULT STDMETHODCALLTYPE get_FirmwareVersionInfo(
738 ABI::Windows::Gaming::Input::Custom::GameControllerVersionInfo *value) = 0;
739
740 virtual HRESULT STDMETHODCALLTYPE get_HardwareProductId(
741 UINT16 *value) = 0;
742
743 virtual HRESULT STDMETHODCALLTYPE get_HardwareVendorId(
744 UINT16 *value) = 0;
745
746 virtual HRESULT STDMETHODCALLTYPE get_HardwareVersionInfo(
747 ABI::Windows::Gaming::Input::Custom::GameControllerVersionInfo *value) = 0;
748
749 virtual HRESULT STDMETHODCALLTYPE get_IsConnected(
750 boolean *value) = 0;
751
752 };
753 }
754 }
755 }
756 }
757 }
758 extern "C" {
759 #ifdef __CRT_UUID_DECL
760 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider, 0xe6d73982, 0x2996, 0x4559, 0xb1,0x6c, 0x3e,0x57,0xd4,0x6e,0x58,0xd6)
761 #endif
762 #else
763 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProviderVtbl {
764 BEGIN_INTERFACE
765
766 /*** IUnknown methods ***/
767 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
768 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
769 REFIID riid,
770 void **ppvObject);
771
772 ULONG (STDMETHODCALLTYPE *AddRef)(
773 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This);
774
775 ULONG (STDMETHODCALLTYPE *Release)(
776 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This);
777
778 /*** IInspectable methods ***/
779 HRESULT (STDMETHODCALLTYPE *GetIids)(
780 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
781 ULONG *iidCount,
782 IID **iids);
783
784 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
785 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
786 HSTRING *className);
787
788 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
789 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
790 TrustLevel *trustLevel);
791
792 /*** IGameControllerProvider methods ***/
793 HRESULT (STDMETHODCALLTYPE *get_FirmwareVersionInfo)(
794 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
795 __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo *value);
796
797 HRESULT (STDMETHODCALLTYPE *get_HardwareProductId)(
798 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
799 UINT16 *value);
800
801 HRESULT (STDMETHODCALLTYPE *get_HardwareVendorId)(
802 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
803 UINT16 *value);
804
805 HRESULT (STDMETHODCALLTYPE *get_HardwareVersionInfo)(
806 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
807 __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo *value);
808
809 HRESULT (STDMETHODCALLTYPE *get_IsConnected)(
810 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
811 boolean *value);
812
813 END_INTERFACE
814 } __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProviderVtbl;
815
816 interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider {
817 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProviderVtbl* lpVtbl;
818 };
819
820 #ifdef COBJMACROS
821 #ifndef WIDL_C_INLINE_WRAPPERS
822 /*** IUnknown methods ***/
823 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
824 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_AddRef(This) (This)->lpVtbl->AddRef(This)
825 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_Release(This) (This)->lpVtbl->Release(This)
826 /*** IInspectable methods ***/
827 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
828 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
829 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
830 /*** IGameControllerProvider methods ***/
831 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_FirmwareVersionInfo(This,value) (This)->lpVtbl->get_FirmwareVersionInfo(This,value)
832 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareProductId(This,value) (This)->lpVtbl->get_HardwareProductId(This,value)
833 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVendorId(This,value) (This)->lpVtbl->get_HardwareVendorId(This,value)
834 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVersionInfo(This,value) (This)->lpVtbl->get_HardwareVersionInfo(This,value)
835 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_IsConnected(This,value) (This)->lpVtbl->get_IsConnected(This,value)
836 #else
837 /*** IUnknown methods ***/
838 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,REFIID riid,void **ppvObject) {
839 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
840 }
841 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This) {
842 return This->lpVtbl->AddRef(This);
843 }
844 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This) {
845 return This->lpVtbl->Release(This);
846 }
847 /*** IInspectable methods ***/
848 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,ULONG *iidCount,IID **iids) {
849 return This->lpVtbl->GetIids(This,iidCount,iids);
850 }
851 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,HSTRING *className) {
852 return This->lpVtbl->GetRuntimeClassName(This,className);
853 }
854 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,TrustLevel *trustLevel) {
855 return This->lpVtbl->GetTrustLevel(This,trustLevel);
856 }
857 /*** IGameControllerProvider methods ***/
858 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_FirmwareVersionInfo(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo *value) {
859 return This->lpVtbl->get_FirmwareVersionInfo(This,value);
860 }
861 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareProductId(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,UINT16 *value) {
862 return This->lpVtbl->get_HardwareProductId(This,value);
863 }
864 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVendorId(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,UINT16 *value) {
865 return This->lpVtbl->get_HardwareVendorId(This,value);
866 }
867 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVersionInfo(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo *value) {
868 return This->lpVtbl->get_HardwareVersionInfo(This,value);
869 }
870 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_IsConnected(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,boolean *value) {
871 return This->lpVtbl->get_IsConnected(This,value);
872 }
873 #endif
874 #ifdef WIDL_using_Windows_Gaming_Input_Custom
875 #define IID_IGameControllerProvider IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider
876 #define IGameControllerProviderVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProviderVtbl
877 #define IGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider
878 #define IGameControllerProvider_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_QueryInterface
879 #define IGameControllerProvider_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_AddRef
880 #define IGameControllerProvider_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_Release
881 #define IGameControllerProvider_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetIids
882 #define IGameControllerProvider_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetRuntimeClassName
883 #define IGameControllerProvider_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetTrustLevel
884 #define IGameControllerProvider_get_FirmwareVersionInfo __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_FirmwareVersionInfo
885 #define IGameControllerProvider_get_HardwareProductId __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareProductId
886 #define IGameControllerProvider_get_HardwareVendorId __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVendorId
887 #define IGameControllerProvider_get_HardwareVersionInfo __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVersionInfo
888 #define IGameControllerProvider_get_IsConnected __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_IsConnected
889 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
890 #endif
891
892 #endif
893
894 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_INTERFACE_DEFINED__ */
895 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
896
897 /*****************************************************************************
898 * IHidGameControllerInputSink interface
899 */
900 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
901 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_INTERFACE_DEFINED__
902 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_INTERFACE_DEFINED__
903
904 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink, 0xf754c322, 0x182d, 0x40e4, 0xa1,0x26, 0xfc,0xee,0x4f,0xfa,0x1e,0x31);
905 #if defined(__cplusplus) && !defined(CINTERFACE)
906 } /* extern "C" */
907 namespace ABI {
908 namespace Windows {
909 namespace Gaming {
910 namespace Input {
911 namespace Custom {
912 MIDL_INTERFACE("f754c322-182d-40e4-a126-fcee4ffa1e31")
913 IHidGameControllerInputSink : public IInspectable
914 {
915 virtual HRESULT STDMETHODCALLTYPE OnInputReportReceived(
916 UINT64 timestamp,
917 BYTE id,
918 UINT32 report_len,
919 BYTE *report_buf) = 0;
920
921 };
922 }
923 }
924 }
925 }
926 }
927 extern "C" {
928 #ifdef __CRT_UUID_DECL
929 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink, 0xf754c322, 0x182d, 0x40e4, 0xa1,0x26, 0xfc,0xee,0x4f,0xfa,0x1e,0x31)
930 #endif
931 #else
932 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSinkVtbl {
933 BEGIN_INTERFACE
934
935 /*** IUnknown methods ***/
936 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
937 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This,
938 REFIID riid,
939 void **ppvObject);
940
941 ULONG (STDMETHODCALLTYPE *AddRef)(
942 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This);
943
944 ULONG (STDMETHODCALLTYPE *Release)(
945 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This);
946
947 /*** IInspectable methods ***/
948 HRESULT (STDMETHODCALLTYPE *GetIids)(
949 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This,
950 ULONG *iidCount,
951 IID **iids);
952
953 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
954 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This,
955 HSTRING *className);
956
957 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
958 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This,
959 TrustLevel *trustLevel);
960
961 /*** IHidGameControllerInputSink methods ***/
962 HRESULT (STDMETHODCALLTYPE *OnInputReportReceived)(
963 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This,
964 UINT64 timestamp,
965 BYTE id,
966 UINT32 report_len,
967 BYTE *report_buf);
968
969 END_INTERFACE
970 } __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSinkVtbl;
971
972 interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink {
973 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSinkVtbl* lpVtbl;
974 };
975
976 #ifdef COBJMACROS
977 #ifndef WIDL_C_INLINE_WRAPPERS
978 /*** IUnknown methods ***/
979 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
980 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_AddRef(This) (This)->lpVtbl->AddRef(This)
981 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_Release(This) (This)->lpVtbl->Release(This)
982 /*** IInspectable methods ***/
983 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
984 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
985 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
986 /*** IHidGameControllerInputSink methods ***/
987 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_OnInputReportReceived(This,timestamp,id,report_len,report_buf) (This)->lpVtbl->OnInputReportReceived(This,timestamp,id,report_len,report_buf)
988 #else
989 /*** IUnknown methods ***/
990 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This,REFIID riid,void **ppvObject) {
991 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
992 }
993 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This) {
994 return This->lpVtbl->AddRef(This);
995 }
996 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This) {
997 return This->lpVtbl->Release(This);
998 }
999 /*** IInspectable methods ***/
1000 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This,ULONG *iidCount,IID **iids) {
1001 return This->lpVtbl->GetIids(This,iidCount,iids);
1002 }
1003 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This,HSTRING *className) {
1004 return This->lpVtbl->GetRuntimeClassName(This,className);
1005 }
1006 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This,TrustLevel *trustLevel) {
1007 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1008 }
1009 /*** IHidGameControllerInputSink methods ***/
1010 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_OnInputReportReceived(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This,UINT64 timestamp,BYTE id,UINT32 report_len,BYTE *report_buf) {
1011 return This->lpVtbl->OnInputReportReceived(This,timestamp,id,report_len,report_buf);
1012 }
1013 #endif
1014 #ifdef WIDL_using_Windows_Gaming_Input_Custom
1015 #define IID_IHidGameControllerInputSink IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink
1016 #define IHidGameControllerInputSinkVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSinkVtbl
1017 #define IHidGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink
1018 #define IHidGameControllerInputSink_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_QueryInterface
1019 #define IHidGameControllerInputSink_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_AddRef
1020 #define IHidGameControllerInputSink_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_Release
1021 #define IHidGameControllerInputSink_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetIids
1022 #define IHidGameControllerInputSink_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetRuntimeClassName
1023 #define IHidGameControllerInputSink_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetTrustLevel
1024 #define IHidGameControllerInputSink_OnInputReportReceived __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_OnInputReportReceived
1025 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
1026 #endif
1027
1028 #endif
1029
1030 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_INTERFACE_DEFINED__ */
1031 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
1032
1033 /*****************************************************************************
1034 * IHidGameControllerProvider interface
1035 */
1036 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
1037 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_INTERFACE_DEFINED__
1038 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_INTERFACE_DEFINED__
1039
1040 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider, 0x95ce3af4, 0xabf0, 0x4b68, 0xa0,0x81, 0x3b,0x7d,0xe7,0x3f,0xf0,0xe7);
1041 #if defined(__cplusplus) && !defined(CINTERFACE)
1042 } /* extern "C" */
1043 namespace ABI {
1044 namespace Windows {
1045 namespace Gaming {
1046 namespace Input {
1047 namespace Custom {
1048 MIDL_INTERFACE("95ce3af4-abf0-4b68-a081-3b7de73ff0e7")
1049 IHidGameControllerProvider : public IInspectable
1050 {
1051 virtual HRESULT STDMETHODCALLTYPE get_UsageId(
1052 UINT16 *value) = 0;
1053
1054 virtual HRESULT STDMETHODCALLTYPE get_UsagePage(
1055 UINT16 *value) = 0;
1056
1057 virtual HRESULT STDMETHODCALLTYPE GetFeatureReport(
1058 BYTE id,
1059 UINT32 report_len,
1060 BYTE *report_buf) = 0;
1061
1062 virtual HRESULT STDMETHODCALLTYPE SendFeatureReport(
1063 BYTE id,
1064 UINT32 report_len,
1065 BYTE *report_buf) = 0;
1066
1067 virtual HRESULT STDMETHODCALLTYPE SendOutputReport(
1068 BYTE id,
1069 UINT32 report_len,
1070 BYTE *report_buf) = 0;
1071
1072 };
1073 }
1074 }
1075 }
1076 }
1077 }
1078 extern "C" {
1079 #ifdef __CRT_UUID_DECL
1080 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider, 0x95ce3af4, 0xabf0, 0x4b68, 0xa0,0x81, 0x3b,0x7d,0xe7,0x3f,0xf0,0xe7)
1081 #endif
1082 #else
1083 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProviderVtbl {
1084 BEGIN_INTERFACE
1085
1086 /*** IUnknown methods ***/
1087 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1088 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
1089 REFIID riid,
1090 void **ppvObject);
1091
1092 ULONG (STDMETHODCALLTYPE *AddRef)(
1093 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This);
1094
1095 ULONG (STDMETHODCALLTYPE *Release)(
1096 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This);
1097
1098 /*** IInspectable methods ***/
1099 HRESULT (STDMETHODCALLTYPE *GetIids)(
1100 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
1101 ULONG *iidCount,
1102 IID **iids);
1103
1104 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1105 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
1106 HSTRING *className);
1107
1108 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1109 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
1110 TrustLevel *trustLevel);
1111
1112 /*** IHidGameControllerProvider methods ***/
1113 HRESULT (STDMETHODCALLTYPE *get_UsageId)(
1114 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
1115 UINT16 *value);
1116
1117 HRESULT (STDMETHODCALLTYPE *get_UsagePage)(
1118 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
1119 UINT16 *value);
1120
1121 HRESULT (STDMETHODCALLTYPE *GetFeatureReport)(
1122 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
1123 BYTE id,
1124 UINT32 report_len,
1125 BYTE *report_buf);
1126
1127 HRESULT (STDMETHODCALLTYPE *SendFeatureReport)(
1128 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
1129 BYTE id,
1130 UINT32 report_len,
1131 BYTE *report_buf);
1132
1133 HRESULT (STDMETHODCALLTYPE *SendOutputReport)(
1134 __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
1135 BYTE id,
1136 UINT32 report_len,
1137 BYTE *report_buf);
1138
1139 END_INTERFACE
1140 } __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProviderVtbl;
1141
1142 interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider {
1143 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProviderVtbl* lpVtbl;
1144 };
1145
1146 #ifdef COBJMACROS
1147 #ifndef WIDL_C_INLINE_WRAPPERS
1148 /*** IUnknown methods ***/
1149 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1150 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_AddRef(This) (This)->lpVtbl->AddRef(This)
1151 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_Release(This) (This)->lpVtbl->Release(This)
1152 /*** IInspectable methods ***/
1153 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1154 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1155 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1156 /*** IHidGameControllerProvider methods ***/
1157 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsageId(This,value) (This)->lpVtbl->get_UsageId(This,value)
1158 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsagePage(This,value) (This)->lpVtbl->get_UsagePage(This,value)
1159 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetFeatureReport(This,id,report_len,report_buf) (This)->lpVtbl->GetFeatureReport(This,id,report_len,report_buf)
1160 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendFeatureReport(This,id,report_len,report_buf) (This)->lpVtbl->SendFeatureReport(This,id,report_len,report_buf)
1161 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendOutputReport(This,id,report_len,report_buf) (This)->lpVtbl->SendOutputReport(This,id,report_len,report_buf)
1162 #else
1163 /*** IUnknown methods ***/
1164 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,REFIID riid,void **ppvObject) {
1165 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1166 }
1167 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This) {
1168 return This->lpVtbl->AddRef(This);
1169 }
1170 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This) {
1171 return This->lpVtbl->Release(This);
1172 }
1173 /*** IInspectable methods ***/
1174 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,ULONG *iidCount,IID **iids) {
1175 return This->lpVtbl->GetIids(This,iidCount,iids);
1176 }
1177 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,HSTRING *className) {
1178 return This->lpVtbl->GetRuntimeClassName(This,className);
1179 }
1180 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,TrustLevel *trustLevel) {
1181 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1182 }
1183 /*** IHidGameControllerProvider methods ***/
1184 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsageId(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,UINT16 *value) {
1185 return This->lpVtbl->get_UsageId(This,value);
1186 }
1187 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsagePage(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,UINT16 *value) {
1188 return This->lpVtbl->get_UsagePage(This,value);
1189 }
1190 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetFeatureReport(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,BYTE id,UINT32 report_len,BYTE *report_buf) {
1191 return This->lpVtbl->GetFeatureReport(This,id,report_len,report_buf);
1192 }
1193 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendFeatureReport(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,BYTE id,UINT32 report_len,BYTE *report_buf) {
1194 return This->lpVtbl->SendFeatureReport(This,id,report_len,report_buf);
1195 }
1196 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendOutputReport(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,BYTE id,UINT32 report_len,BYTE *report_buf) {
1197 return This->lpVtbl->SendOutputReport(This,id,report_len,report_buf);
1198 }
1199 #endif
1200 #ifdef WIDL_using_Windows_Gaming_Input_Custom
1201 #define IID_IHidGameControllerProvider IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider
1202 #define IHidGameControllerProviderVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProviderVtbl
1203 #define IHidGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider
1204 #define IHidGameControllerProvider_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_QueryInterface
1205 #define IHidGameControllerProvider_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_AddRef
1206 #define IHidGameControllerProvider_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_Release
1207 #define IHidGameControllerProvider_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetIids
1208 #define IHidGameControllerProvider_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetRuntimeClassName
1209 #define IHidGameControllerProvider_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetTrustLevel
1210 #define IHidGameControllerProvider_get_UsageId __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsageId
1211 #define IHidGameControllerProvider_get_UsagePage __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsagePage
1212 #define IHidGameControllerProvider_GetFeatureReport __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetFeatureReport
1213 #define IHidGameControllerProvider_SendFeatureReport __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendFeatureReport
1214 #define IHidGameControllerProvider_SendOutputReport __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendOutputReport
1215 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
1216 #endif
1217
1218 #endif
1219
1220 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_INTERFACE_DEFINED__ */
1221 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
1222
1223 /*****************************************************************************
1224 * IXusbGameControllerInputSink interface
1225 */
1226 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1227 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_INTERFACE_DEFINED__
1228 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_INTERFACE_DEFINED__
1229
1230 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink, 0xb2ac1d95, 0x6ecb, 0x42b3, 0x8a,0xab, 0x02,0x54,0x01,0xca,0x47,0x12);
1231 #if defined(__cplusplus) && !defined(CINTERFACE)
1232 } /* extern "C" */
1233 namespace ABI {
1234 namespace Windows {
1235 namespace Gaming {
1236 namespace Input {
1237 namespace Custom {
1238 MIDL_INTERFACE("b2ac1d95-6ecb-42b3-8aab-025401ca4712")
1239 IXusbGameControllerInputSink : public IInspectable
1240 {
1241 virtual HRESULT STDMETHODCALLTYPE OnInputReceived(
1242 UINT64 timestamp,
1243 BYTE id,
1244 UINT32 report_len,
1245 BYTE *report_buf) = 0;
1246
1247 };
1248 }
1249 }
1250 }
1251 }
1252 }
1253 extern "C" {
1254 #ifdef __CRT_UUID_DECL
1255 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink, 0xb2ac1d95, 0x6ecb, 0x42b3, 0x8a,0xab, 0x02,0x54,0x01,0xca,0x47,0x12)
1256 #endif
1257 #else
1258 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSinkVtbl {
1259 BEGIN_INTERFACE
1260
1261 /*** IUnknown methods ***/
1262 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1263 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This,
1264 REFIID riid,
1265 void **ppvObject);
1266
1267 ULONG (STDMETHODCALLTYPE *AddRef)(
1268 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This);
1269
1270 ULONG (STDMETHODCALLTYPE *Release)(
1271 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This);
1272
1273 /*** IInspectable methods ***/
1274 HRESULT (STDMETHODCALLTYPE *GetIids)(
1275 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This,
1276 ULONG *iidCount,
1277 IID **iids);
1278
1279 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1280 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This,
1281 HSTRING *className);
1282
1283 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1284 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This,
1285 TrustLevel *trustLevel);
1286
1287 /*** IXusbGameControllerInputSink methods ***/
1288 HRESULT (STDMETHODCALLTYPE *OnInputReceived)(
1289 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This,
1290 UINT64 timestamp,
1291 BYTE id,
1292 UINT32 report_len,
1293 BYTE *report_buf);
1294
1295 END_INTERFACE
1296 } __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSinkVtbl;
1297
1298 interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink {
1299 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSinkVtbl* lpVtbl;
1300 };
1301
1302 #ifdef COBJMACROS
1303 #ifndef WIDL_C_INLINE_WRAPPERS
1304 /*** IUnknown methods ***/
1305 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1306 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_AddRef(This) (This)->lpVtbl->AddRef(This)
1307 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_Release(This) (This)->lpVtbl->Release(This)
1308 /*** IInspectable methods ***/
1309 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1310 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1311 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1312 /*** IXusbGameControllerInputSink methods ***/
1313 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_OnInputReceived(This,timestamp,id,report_len,report_buf) (This)->lpVtbl->OnInputReceived(This,timestamp,id,report_len,report_buf)
1314 #else
1315 /*** IUnknown methods ***/
1316 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This,REFIID riid,void **ppvObject) {
1317 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1318 }
1319 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This) {
1320 return This->lpVtbl->AddRef(This);
1321 }
1322 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This) {
1323 return This->lpVtbl->Release(This);
1324 }
1325 /*** IInspectable methods ***/
1326 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This,ULONG *iidCount,IID **iids) {
1327 return This->lpVtbl->GetIids(This,iidCount,iids);
1328 }
1329 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This,HSTRING *className) {
1330 return This->lpVtbl->GetRuntimeClassName(This,className);
1331 }
1332 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This,TrustLevel *trustLevel) {
1333 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1334 }
1335 /*** IXusbGameControllerInputSink methods ***/
1336 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_OnInputReceived(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This,UINT64 timestamp,BYTE id,UINT32 report_len,BYTE *report_buf) {
1337 return This->lpVtbl->OnInputReceived(This,timestamp,id,report_len,report_buf);
1338 }
1339 #endif
1340 #ifdef WIDL_using_Windows_Gaming_Input_Custom
1341 #define IID_IXusbGameControllerInputSink IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink
1342 #define IXusbGameControllerInputSinkVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSinkVtbl
1343 #define IXusbGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink
1344 #define IXusbGameControllerInputSink_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_QueryInterface
1345 #define IXusbGameControllerInputSink_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_AddRef
1346 #define IXusbGameControllerInputSink_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_Release
1347 #define IXusbGameControllerInputSink_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetIids
1348 #define IXusbGameControllerInputSink_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetRuntimeClassName
1349 #define IXusbGameControllerInputSink_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetTrustLevel
1350 #define IXusbGameControllerInputSink_OnInputReceived __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_OnInputReceived
1351 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
1352 #endif
1353
1354 #endif
1355
1356 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_INTERFACE_DEFINED__ */
1357 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1358
1359 /*****************************************************************************
1360 * IXusbGameControllerProvider interface
1361 */
1362 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1363 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_INTERFACE_DEFINED__
1364 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_INTERFACE_DEFINED__
1365
1366 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider, 0x6e2971eb, 0x0efb, 0x48b4, 0x80,0x8b, 0x83,0x76,0x43,0xb2,0xf2,0x16);
1367 #if defined(__cplusplus) && !defined(CINTERFACE)
1368 } /* extern "C" */
1369 namespace ABI {
1370 namespace Windows {
1371 namespace Gaming {
1372 namespace Input {
1373 namespace Custom {
1374 MIDL_INTERFACE("6e2971eb-0efb-48b4-808b-837643b2f216")
1375 IXusbGameControllerProvider : public IInspectable
1376 {
1377 virtual HRESULT STDMETHODCALLTYPE SetVibration(
1378 DOUBLE rumble_intensity,
1379 DOUBLE buzz_intensity) = 0;
1380
1381 };
1382 }
1383 }
1384 }
1385 }
1386 }
1387 extern "C" {
1388 #ifdef __CRT_UUID_DECL
1389 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider, 0x6e2971eb, 0x0efb, 0x48b4, 0x80,0x8b, 0x83,0x76,0x43,0xb2,0xf2,0x16)
1390 #endif
1391 #else
1392 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProviderVtbl {
1393 BEGIN_INTERFACE
1394
1395 /*** IUnknown methods ***/
1396 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1397 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This,
1398 REFIID riid,
1399 void **ppvObject);
1400
1401 ULONG (STDMETHODCALLTYPE *AddRef)(
1402 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This);
1403
1404 ULONG (STDMETHODCALLTYPE *Release)(
1405 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This);
1406
1407 /*** IInspectable methods ***/
1408 HRESULT (STDMETHODCALLTYPE *GetIids)(
1409 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This,
1410 ULONG *iidCount,
1411 IID **iids);
1412
1413 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1414 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This,
1415 HSTRING *className);
1416
1417 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1418 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This,
1419 TrustLevel *trustLevel);
1420
1421 /*** IXusbGameControllerProvider methods ***/
1422 HRESULT (STDMETHODCALLTYPE *SetVibration)(
1423 __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This,
1424 DOUBLE rumble_intensity,
1425 DOUBLE buzz_intensity);
1426
1427 END_INTERFACE
1428 } __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProviderVtbl;
1429
1430 interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider {
1431 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProviderVtbl* lpVtbl;
1432 };
1433
1434 #ifdef COBJMACROS
1435 #ifndef WIDL_C_INLINE_WRAPPERS
1436 /*** IUnknown methods ***/
1437 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1438 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_AddRef(This) (This)->lpVtbl->AddRef(This)
1439 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_Release(This) (This)->lpVtbl->Release(This)
1440 /*** IInspectable methods ***/
1441 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1442 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1443 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1444 /*** IXusbGameControllerProvider methods ***/
1445 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_SetVibration(This,rumble_intensity,buzz_intensity) (This)->lpVtbl->SetVibration(This,rumble_intensity,buzz_intensity)
1446 #else
1447 /*** IUnknown methods ***/
1448 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This,REFIID riid,void **ppvObject) {
1449 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1450 }
1451 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This) {
1452 return This->lpVtbl->AddRef(This);
1453 }
1454 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This) {
1455 return This->lpVtbl->Release(This);
1456 }
1457 /*** IInspectable methods ***/
1458 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This,ULONG *iidCount,IID **iids) {
1459 return This->lpVtbl->GetIids(This,iidCount,iids);
1460 }
1461 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This,HSTRING *className) {
1462 return This->lpVtbl->GetRuntimeClassName(This,className);
1463 }
1464 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This,TrustLevel *trustLevel) {
1465 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1466 }
1467 /*** IXusbGameControllerProvider methods ***/
1468 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_SetVibration(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This,DOUBLE rumble_intensity,DOUBLE buzz_intensity) {
1469 return This->lpVtbl->SetVibration(This,rumble_intensity,buzz_intensity);
1470 }
1471 #endif
1472 #ifdef WIDL_using_Windows_Gaming_Input_Custom
1473 #define IID_IXusbGameControllerProvider IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider
1474 #define IXusbGameControllerProviderVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProviderVtbl
1475 #define IXusbGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider
1476 #define IXusbGameControllerProvider_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_QueryInterface
1477 #define IXusbGameControllerProvider_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_AddRef
1478 #define IXusbGameControllerProvider_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_Release
1479 #define IXusbGameControllerProvider_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetIids
1480 #define IXusbGameControllerProvider_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetRuntimeClassName
1481 #define IXusbGameControllerProvider_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetTrustLevel
1482 #define IXusbGameControllerProvider_SetVibration __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_SetVibration
1483 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
1484 #endif
1485
1486 #endif
1487
1488 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_INTERFACE_DEFINED__ */
1489 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1490
1491 /*****************************************************************************
1492 * ICustomGameControllerFactory interface
1493 */
1494 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1495 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_INTERFACE_DEFINED__
1496 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_INTERFACE_DEFINED__
1497
1498 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory, 0x69a0ae5e, 0x758e, 0x4cbe, 0xac,0xe6, 0x62,0x15,0x5f,0xe9,0x12,0x6f);
1499 #if defined(__cplusplus) && !defined(CINTERFACE)
1500 } /* extern "C" */
1501 namespace ABI {
1502 namespace Windows {
1503 namespace Gaming {
1504 namespace Input {
1505 namespace Custom {
1506 MIDL_INTERFACE("69a0ae5e-758e-4cbe-ace6-62155fe9126f")
1507 ICustomGameControllerFactory : public IInspectable
1508 {
1509 virtual HRESULT STDMETHODCALLTYPE CreateGameController(
1510 ABI::Windows::Gaming::Input::Custom::IGameControllerProvider *provider,
1511 IInspectable **value) = 0;
1512
1513 virtual HRESULT STDMETHODCALLTYPE OnGameControllerAdded(
1514 ABI::Windows::Gaming::Input::IGameController *value) = 0;
1515
1516 virtual HRESULT STDMETHODCALLTYPE OnGameControllerRemoved(
1517 ABI::Windows::Gaming::Input::IGameController *value) = 0;
1518
1519 };
1520 }
1521 }
1522 }
1523 }
1524 }
1525 extern "C" {
1526 #ifdef __CRT_UUID_DECL
1527 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory, 0x69a0ae5e, 0x758e, 0x4cbe, 0xac,0xe6, 0x62,0x15,0x5f,0xe9,0x12,0x6f)
1528 #endif
1529 #else
1530 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactoryVtbl {
1531 BEGIN_INTERFACE
1532
1533 /*** IUnknown methods ***/
1534 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1535 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
1536 REFIID riid,
1537 void **ppvObject);
1538
1539 ULONG (STDMETHODCALLTYPE *AddRef)(
1540 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This);
1541
1542 ULONG (STDMETHODCALLTYPE *Release)(
1543 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This);
1544
1545 /*** IInspectable methods ***/
1546 HRESULT (STDMETHODCALLTYPE *GetIids)(
1547 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
1548 ULONG *iidCount,
1549 IID **iids);
1550
1551 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1552 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
1553 HSTRING *className);
1554
1555 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1556 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
1557 TrustLevel *trustLevel);
1558
1559 /*** ICustomGameControllerFactory methods ***/
1560 HRESULT (STDMETHODCALLTYPE *CreateGameController)(
1561 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
1562 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *provider,
1563 IInspectable **value);
1564
1565 HRESULT (STDMETHODCALLTYPE *OnGameControllerAdded)(
1566 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
1567 __x_ABI_CWindows_CGaming_CInput_CIGameController *value);
1568
1569 HRESULT (STDMETHODCALLTYPE *OnGameControllerRemoved)(
1570 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
1571 __x_ABI_CWindows_CGaming_CInput_CIGameController *value);
1572
1573 END_INTERFACE
1574 } __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactoryVtbl;
1575
1576 interface __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory {
1577 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactoryVtbl* lpVtbl;
1578 };
1579
1580 #ifdef COBJMACROS
1581 #ifndef WIDL_C_INLINE_WRAPPERS
1582 /*** IUnknown methods ***/
1583 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1584 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
1585 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_Release(This) (This)->lpVtbl->Release(This)
1586 /*** IInspectable methods ***/
1587 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1588 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1589 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1590 /*** ICustomGameControllerFactory methods ***/
1591 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_CreateGameController(This,provider,value) (This)->lpVtbl->CreateGameController(This,provider,value)
1592 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerAdded(This,value) (This)->lpVtbl->OnGameControllerAdded(This,value)
1593 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerRemoved(This,value) (This)->lpVtbl->OnGameControllerRemoved(This,value)
1594 #else
1595 /*** IUnknown methods ***/
1596 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,REFIID riid,void **ppvObject) {
1597 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1598 }
1599 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This) {
1600 return This->lpVtbl->AddRef(This);
1601 }
1602 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This) {
1603 return This->lpVtbl->Release(This);
1604 }
1605 /*** IInspectable methods ***/
1606 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,ULONG *iidCount,IID **iids) {
1607 return This->lpVtbl->GetIids(This,iidCount,iids);
1608 }
1609 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,HSTRING *className) {
1610 return This->lpVtbl->GetRuntimeClassName(This,className);
1611 }
1612 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,TrustLevel *trustLevel) {
1613 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1614 }
1615 /*** ICustomGameControllerFactory methods ***/
1616 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_CreateGameController(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *provider,IInspectable **value) {
1617 return This->lpVtbl->CreateGameController(This,provider,value);
1618 }
1619 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerAdded(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *value) {
1620 return This->lpVtbl->OnGameControllerAdded(This,value);
1621 }
1622 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerRemoved(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *value) {
1623 return This->lpVtbl->OnGameControllerRemoved(This,value);
1624 }
1625 #endif
1626 #ifdef WIDL_using_Windows_Gaming_Input_Custom
1627 #define IID_ICustomGameControllerFactory IID___x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory
1628 #define ICustomGameControllerFactoryVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactoryVtbl
1629 #define ICustomGameControllerFactory __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory
1630 #define ICustomGameControllerFactory_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_QueryInterface
1631 #define ICustomGameControllerFactory_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_AddRef
1632 #define ICustomGameControllerFactory_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_Release
1633 #define ICustomGameControllerFactory_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetIids
1634 #define ICustomGameControllerFactory_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetRuntimeClassName
1635 #define ICustomGameControllerFactory_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetTrustLevel
1636 #define ICustomGameControllerFactory_CreateGameController __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_CreateGameController
1637 #define ICustomGameControllerFactory_OnGameControllerAdded __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerAdded
1638 #define ICustomGameControllerFactory_OnGameControllerRemoved __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerRemoved
1639 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
1640 #endif
1641
1642 #endif
1643
1644 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_INTERFACE_DEFINED__ */
1645 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1646
1647 /*****************************************************************************
1648 * IGameControllerFactoryManagerStatics interface
1649 */
1650 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1651 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_INTERFACE_DEFINED__
1652 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_INTERFACE_DEFINED__
1653
1654 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics, 0x36cb66e3, 0xd0a1, 0x4986, 0xa2,0x4c, 0x40,0xb1,0x37,0xde,0xba,0x9e);
1655 #if defined(__cplusplus) && !defined(CINTERFACE)
1656 } /* extern "C" */
1657 namespace ABI {
1658 namespace Windows {
1659 namespace Gaming {
1660 namespace Input {
1661 namespace Custom {
1662 MIDL_INTERFACE("36cb66e3-d0a1-4986-a24c-40b137deba9e")
1663 IGameControllerFactoryManagerStatics : public IInspectable
1664 {
1665 virtual HRESULT STDMETHODCALLTYPE RegisterCustomFactoryForGipInterface(
1666 ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory *factory,
1667 GUID interfaceId) = 0;
1668
1669 virtual HRESULT STDMETHODCALLTYPE RegisterCustomFactoryForHardwareId(
1670 ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory *factory,
1671 UINT16 vendor_id,
1672 UINT16 product_id) = 0;
1673
1674 virtual HRESULT STDMETHODCALLTYPE RegisterCustomFactoryForXusbType(
1675 ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory *factory,
1676 ABI::Windows::Gaming::Input::Custom::XusbDeviceType type,
1677 ABI::Windows::Gaming::Input::Custom::XusbDeviceSubtype subtype) = 0;
1678
1679 };
1680 }
1681 }
1682 }
1683 }
1684 }
1685 extern "C" {
1686 #ifdef __CRT_UUID_DECL
1687 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics, 0x36cb66e3, 0xd0a1, 0x4986, 0xa2,0x4c, 0x40,0xb1,0x37,0xde,0xba,0x9e)
1688 #endif
1689 #else
1690 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStaticsVtbl {
1691 BEGIN_INTERFACE
1692
1693 /*** IUnknown methods ***/
1694 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1695 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
1696 REFIID riid,
1697 void **ppvObject);
1698
1699 ULONG (STDMETHODCALLTYPE *AddRef)(
1700 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This);
1701
1702 ULONG (STDMETHODCALLTYPE *Release)(
1703 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This);
1704
1705 /*** IInspectable methods ***/
1706 HRESULT (STDMETHODCALLTYPE *GetIids)(
1707 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
1708 ULONG *iidCount,
1709 IID **iids);
1710
1711 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1712 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
1713 HSTRING *className);
1714
1715 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1716 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
1717 TrustLevel *trustLevel);
1718
1719 /*** IGameControllerFactoryManagerStatics methods ***/
1720 HRESULT (STDMETHODCALLTYPE *RegisterCustomFactoryForGipInterface)(
1721 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
1722 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,
1723 GUID interfaceId);
1724
1725 HRESULT (STDMETHODCALLTYPE *RegisterCustomFactoryForHardwareId)(
1726 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
1727 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,
1728 UINT16 vendor_id,
1729 UINT16 product_id);
1730
1731 HRESULT (STDMETHODCALLTYPE *RegisterCustomFactoryForXusbType)(
1732 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
1733 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,
1734 __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType type,
1735 __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype subtype);
1736
1737 END_INTERFACE
1738 } __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStaticsVtbl;
1739
1740 interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics {
1741 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStaticsVtbl* lpVtbl;
1742 };
1743
1744 #ifdef COBJMACROS
1745 #ifndef WIDL_C_INLINE_WRAPPERS
1746 /*** IUnknown methods ***/
1747 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1748 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
1749 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_Release(This) (This)->lpVtbl->Release(This)
1750 /*** IInspectable methods ***/
1751 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1752 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1753 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1754 /*** IGameControllerFactoryManagerStatics methods ***/
1755 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForGipInterface(This,factory,interfaceId) (This)->lpVtbl->RegisterCustomFactoryForGipInterface(This,factory,interfaceId)
1756 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForHardwareId(This,factory,vendor_id,product_id) (This)->lpVtbl->RegisterCustomFactoryForHardwareId(This,factory,vendor_id,product_id)
1757 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForXusbType(This,factory,type,subtype) (This)->lpVtbl->RegisterCustomFactoryForXusbType(This,factory,type,subtype)
1758 #else
1759 /*** IUnknown methods ***/
1760 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,REFIID riid,void **ppvObject) {
1761 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1762 }
1763 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This) {
1764 return This->lpVtbl->AddRef(This);
1765 }
1766 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This) {
1767 return This->lpVtbl->Release(This);
1768 }
1769 /*** IInspectable methods ***/
1770 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,ULONG *iidCount,IID **iids) {
1771 return This->lpVtbl->GetIids(This,iidCount,iids);
1772 }
1773 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,HSTRING *className) {
1774 return This->lpVtbl->GetRuntimeClassName(This,className);
1775 }
1776 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,TrustLevel *trustLevel) {
1777 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1778 }
1779 /*** IGameControllerFactoryManagerStatics methods ***/
1780 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForGipInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,GUID interfaceId) {
1781 return This->lpVtbl->RegisterCustomFactoryForGipInterface(This,factory,interfaceId);
1782 }
1783 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForHardwareId(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,UINT16 vendor_id,UINT16 product_id) {
1784 return This->lpVtbl->RegisterCustomFactoryForHardwareId(This,factory,vendor_id,product_id);
1785 }
1786 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForXusbType(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,__x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType type,__x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype subtype) {
1787 return This->lpVtbl->RegisterCustomFactoryForXusbType(This,factory,type,subtype);
1788 }
1789 #endif
1790 #ifdef WIDL_using_Windows_Gaming_Input_Custom
1791 #define IID_IGameControllerFactoryManagerStatics IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics
1792 #define IGameControllerFactoryManagerStaticsVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStaticsVtbl
1793 #define IGameControllerFactoryManagerStatics __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics
1794 #define IGameControllerFactoryManagerStatics_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_QueryInterface
1795 #define IGameControllerFactoryManagerStatics_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_AddRef
1796 #define IGameControllerFactoryManagerStatics_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_Release
1797 #define IGameControllerFactoryManagerStatics_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetIids
1798 #define IGameControllerFactoryManagerStatics_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetRuntimeClassName
1799 #define IGameControllerFactoryManagerStatics_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetTrustLevel
1800 #define IGameControllerFactoryManagerStatics_RegisterCustomFactoryForGipInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForGipInterface
1801 #define IGameControllerFactoryManagerStatics_RegisterCustomFactoryForHardwareId __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForHardwareId
1802 #define IGameControllerFactoryManagerStatics_RegisterCustomFactoryForXusbType __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForXusbType
1803 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
1804 #endif
1805
1806 #endif
1807
1808 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_INTERFACE_DEFINED__ */
1809 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1810
1811 /*****************************************************************************
1812 * IGameControllerFactoryManagerStatics2 interface
1813 */
1814 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
1815 #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_INTERFACE_DEFINED__
1816 #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_INTERFACE_DEFINED__
1817
1818 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2, 0xeace5644, 0x19df, 0x4115, 0xb3,0x2a, 0x27,0x93,0xe2,0xae,0xa3,0xbb);
1819 #if defined(__cplusplus) && !defined(CINTERFACE)
1820 } /* extern "C" */
1821 namespace ABI {
1822 namespace Windows {
1823 namespace Gaming {
1824 namespace Input {
1825 namespace Custom {
1826 MIDL_INTERFACE("eace5644-19df-4115-b32a-2793e2aea3bb")
1827 IGameControllerFactoryManagerStatics2 : public IInspectable
1828 {
1829 virtual HRESULT STDMETHODCALLTYPE TryGetFactoryControllerFromGameController(
1830 ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory *factory,
1831 ABI::Windows::Gaming::Input::IGameController *controller,
1832 ABI::Windows::Gaming::Input::IGameController **value) = 0;
1833
1834 };
1835 }
1836 }
1837 }
1838 }
1839 }
1840 extern "C" {
1841 #ifdef __CRT_UUID_DECL
1842 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2, 0xeace5644, 0x19df, 0x4115, 0xb3,0x2a, 0x27,0x93,0xe2,0xae,0xa3,0xbb)
1843 #endif
1844 #else
1845 typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2Vtbl {
1846 BEGIN_INTERFACE
1847
1848 /*** IUnknown methods ***/
1849 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1850 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This,
1851 REFIID riid,
1852 void **ppvObject);
1853
1854 ULONG (STDMETHODCALLTYPE *AddRef)(
1855 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This);
1856
1857 ULONG (STDMETHODCALLTYPE *Release)(
1858 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This);
1859
1860 /*** IInspectable methods ***/
1861 HRESULT (STDMETHODCALLTYPE *GetIids)(
1862 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This,
1863 ULONG *iidCount,
1864 IID **iids);
1865
1866 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1867 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This,
1868 HSTRING *className);
1869
1870 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1871 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This,
1872 TrustLevel *trustLevel);
1873
1874 /*** IGameControllerFactoryManagerStatics2 methods ***/
1875 HRESULT (STDMETHODCALLTYPE *TryGetFactoryControllerFromGameController)(
1876 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This,
1877 __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,
1878 __x_ABI_CWindows_CGaming_CInput_CIGameController *controller,
1879 __x_ABI_CWindows_CGaming_CInput_CIGameController **value);
1880
1881 END_INTERFACE
1882 } __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2Vtbl;
1883
1884 interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 {
1885 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2Vtbl* lpVtbl;
1886 };
1887
1888 #ifdef COBJMACROS
1889 #ifndef WIDL_C_INLINE_WRAPPERS
1890 /*** IUnknown methods ***/
1891 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1892 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_AddRef(This) (This)->lpVtbl->AddRef(This)
1893 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_Release(This) (This)->lpVtbl->Release(This)
1894 /*** IInspectable methods ***/
1895 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1896 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1897 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1898 /*** IGameControllerFactoryManagerStatics2 methods ***/
1899 #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_TryGetFactoryControllerFromGameController(This,factory,controller,value) (This)->lpVtbl->TryGetFactoryControllerFromGameController(This,factory,controller,value)
1900 #else
1901 /*** IUnknown methods ***/
1902 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This,REFIID riid,void **ppvObject) {
1903 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1904 }
1905 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This) {
1906 return This->lpVtbl->AddRef(This);
1907 }
1908 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This) {
1909 return This->lpVtbl->Release(This);
1910 }
1911 /*** IInspectable methods ***/
1912 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This,ULONG *iidCount,IID **iids) {
1913 return This->lpVtbl->GetIids(This,iidCount,iids);
1914 }
1915 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This,HSTRING *className) {
1916 return This->lpVtbl->GetRuntimeClassName(This,className);
1917 }
1918 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This,TrustLevel *trustLevel) {
1919 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1920 }
1921 /*** IGameControllerFactoryManagerStatics2 methods ***/
1922 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_TryGetFactoryControllerFromGameController(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,__x_ABI_CWindows_CGaming_CInput_CIGameController *controller,__x_ABI_CWindows_CGaming_CInput_CIGameController **value) {
1923 return This->lpVtbl->TryGetFactoryControllerFromGameController(This,factory,controller,value);
1924 }
1925 #endif
1926 #ifdef WIDL_using_Windows_Gaming_Input_Custom
1927 #define IID_IGameControllerFactoryManagerStatics2 IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2
1928 #define IGameControllerFactoryManagerStatics2Vtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2Vtbl
1929 #define IGameControllerFactoryManagerStatics2 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2
1930 #define IGameControllerFactoryManagerStatics2_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_QueryInterface
1931 #define IGameControllerFactoryManagerStatics2_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_AddRef
1932 #define IGameControllerFactoryManagerStatics2_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_Release
1933 #define IGameControllerFactoryManagerStatics2_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetIids
1934 #define IGameControllerFactoryManagerStatics2_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetRuntimeClassName
1935 #define IGameControllerFactoryManagerStatics2_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetTrustLevel
1936 #define IGameControllerFactoryManagerStatics2_TryGetFactoryControllerFromGameController __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_TryGetFactoryControllerFromGameController
1937 #endif /* WIDL_using_Windows_Gaming_Input_Custom */
1938 #endif
1939
1940 #endif
1941
1942 #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_INTERFACE_DEFINED__ */
1943 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
1944
1945 /*
1946 * Class Windows.Gaming.Input.Custom.GameControllerFactoryManager
1947 */
1948 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1949 #ifndef RUNTIMECLASS_Windows_Gaming_Input_Custom_GameControllerFactoryManager_DEFINED
1950 #define RUNTIMECLASS_Windows_Gaming_Input_Custom_GameControllerFactoryManager_DEFINED
1951 #if !defined(_MSC_VER) && !defined(__MINGW32__)
1952 static const WCHAR RuntimeClass_Windows_Gaming_Input_Custom_GameControllerFactoryManager[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','G','a','m','e','C','o','n','t','r','o','l','l','e','r','F','a','c','t','o','r','y','M','a','n','a','g','e','r',0};
1953 #elif defined(__GNUC__) && !defined(__cplusplus)
1954 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_GameControllerFactoryManager[] = L"Windows.Gaming.Input.Custom.GameControllerFactoryManager";
1955 #else
1956 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_GameControllerFactoryManager[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','G','a','m','e','C','o','n','t','r','o','l','l','e','r','F','a','c','t','o','r','y','M','a','n','a','g','e','r',0};
1957 #endif
1958 #endif /* RUNTIMECLASS_Windows_Gaming_Input_Custom_GameControllerFactoryManager_DEFINED */
1959 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1960
1961 /*
1962 * Class Windows.Gaming.Input.Custom.HidGameControllerProvider
1963 */
1964 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
1965 #ifndef RUNTIMECLASS_Windows_Gaming_Input_Custom_HidGameControllerProvider_DEFINED
1966 #define RUNTIMECLASS_Windows_Gaming_Input_Custom_HidGameControllerProvider_DEFINED
1967 #if !defined(_MSC_VER) && !defined(__MINGW32__)
1968 static const WCHAR RuntimeClass_Windows_Gaming_Input_Custom_HidGameControllerProvider[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','H','i','d','G','a','m','e','C','o','n','t','r','o','l','l','e','r','P','r','o','v','i','d','e','r',0};
1969 #elif defined(__GNUC__) && !defined(__cplusplus)
1970 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_HidGameControllerProvider[] = L"Windows.Gaming.Input.Custom.HidGameControllerProvider";
1971 #else
1972 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_HidGameControllerProvider[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','H','i','d','G','a','m','e','C','o','n','t','r','o','l','l','e','r','P','r','o','v','i','d','e','r',0};
1973 #endif
1974 #endif /* RUNTIMECLASS_Windows_Gaming_Input_Custom_HidGameControllerProvider_DEFINED */
1975 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
1976
1977 /*
1978 * Class Windows.Gaming.Input.Custom.XusbGameControllerProvider
1979 */
1980 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1981 #ifndef RUNTIMECLASS_Windows_Gaming_Input_Custom_XusbGameControllerProvider_DEFINED
1982 #define RUNTIMECLASS_Windows_Gaming_Input_Custom_XusbGameControllerProvider_DEFINED
1983 #if !defined(_MSC_VER) && !defined(__MINGW32__)
1984 static const WCHAR RuntimeClass_Windows_Gaming_Input_Custom_XusbGameControllerProvider[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','X','u','s','b','G','a','m','e','C','o','n','t','r','o','l','l','e','r','P','r','o','v','i','d','e','r',0};
1985 #elif defined(__GNUC__) && !defined(__cplusplus)
1986 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_XusbGameControllerProvider[] = L"Windows.Gaming.Input.Custom.XusbGameControllerProvider";
1987 #else
1988 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_XusbGameControllerProvider[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','X','u','s','b','G','a','m','e','C','o','n','t','r','o','l','l','e','r','P','r','o','v','i','d','e','r',0};
1989 #endif
1990 #endif /* RUNTIMECLASS_Windows_Gaming_Input_Custom_XusbGameControllerProvider_DEFINED */
1991 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1992
1993 /* Begin additional prototypes for all interfaces */
1994
1995
1996 /* End additional prototypes */
1997
1998 #ifdef __cplusplus
1999 }
2000 #endif
2001
2002 #endif /* __windows_gaming_input_custom_h__ */