Debian Codegraph @

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

raw
1 /*** Autogenerated by WIDL 11.5 from include/windows.gaming.input.forcefeedback.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_forcefeedback_h__
17 #define __windows_gaming_input_forcefeedback_h__
18
19 /* Forward declarations */
20
21 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_FWD_DEFINED__
22 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_FWD_DEFINED__
23 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect;
24 #ifdef __cplusplus
25 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect
26 namespace ABI {
27 namespace Windows {
28 namespace Gaming {
29 namespace Input {
30 namespace ForceFeedback {
31 interface IForceFeedbackEffect;
32 }
33 }
34 }
35 }
36 }
37 #endif /* __cplusplus */
38 #endif
39
40 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_FWD_DEFINED__
41 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_FWD_DEFINED__
42 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor;
43 #ifdef __cplusplus
44 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor
45 namespace ABI {
46 namespace Windows {
47 namespace Gaming {
48 namespace Input {
49 namespace ForceFeedback {
50 interface IForceFeedbackMotor;
51 }
52 }
53 }
54 }
55 }
56 #endif /* __cplusplus */
57 #endif
58
59 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_FWD_DEFINED__
60 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_FWD_DEFINED__
61 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect;
62 #ifdef __cplusplus
63 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect ABI::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffect
64 namespace ABI {
65 namespace Windows {
66 namespace Gaming {
67 namespace Input {
68 namespace ForceFeedback {
69 interface IPeriodicForceEffect;
70 }
71 }
72 }
73 }
74 }
75 #endif /* __cplusplus */
76 #endif
77
78 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_FWD_DEFINED__
79 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_FWD_DEFINED__
80 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory;
81 #ifdef __cplusplus
82 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory ABI::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffectFactory
83 namespace ABI {
84 namespace Windows {
85 namespace Gaming {
86 namespace Input {
87 namespace ForceFeedback {
88 interface IPeriodicForceEffectFactory;
89 }
90 }
91 }
92 }
93 }
94 #endif /* __cplusplus */
95 #endif
96
97 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_FWD_DEFINED__
98 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_FWD_DEFINED__
99 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect;
100 #ifdef __cplusplus
101 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect ABI::Windows::Gaming::Input::ForceFeedback::IConditionForceEffect
102 namespace ABI {
103 namespace Windows {
104 namespace Gaming {
105 namespace Input {
106 namespace ForceFeedback {
107 interface IConditionForceEffect;
108 }
109 }
110 }
111 }
112 }
113 #endif /* __cplusplus */
114 #endif
115
116 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_FWD_DEFINED__
117 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_FWD_DEFINED__
118 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory;
119 #ifdef __cplusplus
120 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory ABI::Windows::Gaming::Input::ForceFeedback::IConditionForceEffectFactory
121 namespace ABI {
122 namespace Windows {
123 namespace Gaming {
124 namespace Input {
125 namespace ForceFeedback {
126 interface IConditionForceEffectFactory;
127 }
128 }
129 }
130 }
131 }
132 #endif /* __cplusplus */
133 #endif
134
135 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_FWD_DEFINED__
136 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_FWD_DEFINED__
137 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect;
138 #ifdef __cplusplus
139 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect ABI::Windows::Gaming::Input::ForceFeedback::IConstantForceEffect
140 namespace ABI {
141 namespace Windows {
142 namespace Gaming {
143 namespace Input {
144 namespace ForceFeedback {
145 interface IConstantForceEffect;
146 }
147 }
148 }
149 }
150 }
151 #endif /* __cplusplus */
152 #endif
153
154 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_FWD_DEFINED__
155 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_FWD_DEFINED__
156 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect;
157 #ifdef __cplusplus
158 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect ABI::Windows::Gaming::Input::ForceFeedback::IRampForceEffect
159 namespace ABI {
160 namespace Windows {
161 namespace Gaming {
162 namespace Input {
163 namespace ForceFeedback {
164 interface IRampForceEffect;
165 }
166 }
167 }
168 }
169 }
170 #endif /* __cplusplus */
171 #endif
172
173 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackMotor_FWD_DEFINED__
174 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackMotor_FWD_DEFINED__
175 #ifdef __cplusplus
176 namespace ABI {
177 namespace Windows {
178 namespace Gaming {
179 namespace Input {
180 namespace ForceFeedback {
181 class ForceFeedbackMotor;
182 }
183 }
184 }
185 }
186 }
187 #else
188 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackMotor __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackMotor;
189 #endif /* defined __cplusplus */
190 #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackMotor_FWD_DEFINED__ */
191
192 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffect_FWD_DEFINED__
193 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffect_FWD_DEFINED__
194 #ifdef __cplusplus
195 namespace ABI {
196 namespace Windows {
197 namespace Gaming {
198 namespace Input {
199 namespace ForceFeedback {
200 class PeriodicForceEffect;
201 }
202 }
203 }
204 }
205 }
206 #else
207 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffect;
208 #endif /* defined __cplusplus */
209 #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffect_FWD_DEFINED__ */
210
211 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffect_FWD_DEFINED__
212 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffect_FWD_DEFINED__
213 #ifdef __cplusplus
214 namespace ABI {
215 namespace Windows {
216 namespace Gaming {
217 namespace Input {
218 namespace ForceFeedback {
219 class ConditionForceEffect;
220 }
221 }
222 }
223 }
224 }
225 #else
226 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffect;
227 #endif /* defined __cplusplus */
228 #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffect_FWD_DEFINED__ */
229
230 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConstantForceEffect_FWD_DEFINED__
231 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConstantForceEffect_FWD_DEFINED__
232 #ifdef __cplusplus
233 namespace ABI {
234 namespace Windows {
235 namespace Gaming {
236 namespace Input {
237 namespace ForceFeedback {
238 class ConstantForceEffect;
239 }
240 }
241 }
242 }
243 }
244 #else
245 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConstantForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConstantForceEffect;
246 #endif /* defined __cplusplus */
247 #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConstantForceEffect_FWD_DEFINED__ */
248
249 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CRampForceEffect_FWD_DEFINED__
250 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CRampForceEffect_FWD_DEFINED__
251 #ifdef __cplusplus
252 namespace ABI {
253 namespace Windows {
254 namespace Gaming {
255 namespace Input {
256 namespace ForceFeedback {
257 class RampForceEffect;
258 }
259 }
260 }
261 }
262 }
263 #else
264 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CRampForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CRampForceEffect;
265 #endif /* defined __cplusplus */
266 #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CRampForceEffect_FWD_DEFINED__ */
267
268 #ifndef ____FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_FWD_DEFINED__
269 #define ____FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_FWD_DEFINED__
270 typedef interface __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult;
271 #ifdef __cplusplus
272 #define __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult ABI::Windows::Foundation::IAsyncOperationCompletedHandler<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult >
273 #endif /* __cplusplus */
274 #endif
275
276 #ifndef ____FIAsyncOperation_1_ForceFeedbackLoadEffectResult_FWD_DEFINED__
277 #define ____FIAsyncOperation_1_ForceFeedbackLoadEffectResult_FWD_DEFINED__
278 typedef interface __FIAsyncOperation_1_ForceFeedbackLoadEffectResult __FIAsyncOperation_1_ForceFeedbackLoadEffectResult;
279 #ifdef __cplusplus
280 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult >
281 #endif /* __cplusplus */
282 #endif
283
284 #ifndef ____FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
285 #define ____FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
286 typedef interface __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor;
287 #ifdef __cplusplus
288 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* >
289 #endif /* __cplusplus */
290 #endif
291
292 #ifndef ____FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
293 #define ____FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
294 typedef interface __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor;
295 #ifdef __cplusplus
296 #define __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* >
297 #endif /* __cplusplus */
298 #endif
299
300 #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
301 #define ____FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
302 typedef interface __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor;
303 #ifdef __cplusplus
304 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* >
305 #endif /* __cplusplus */
306 #endif
307
308 #ifndef ____FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
309 #define ____FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
310 typedef interface __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor;
311 #ifdef __cplusplus
312 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor ABI::Windows::Foundation::Collections::IVector<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* >
313 #endif /* __cplusplus */
314 #endif
315
316 /* Headers for imported files */
317
318 #include <inspectable.h>
319 #include <asyncinfo.h>
320 #include <eventtoken.h>
321 #include <windowscontracts.h>
322 #include <windows.foundation.h>
323 #include <windows.foundation.numerics.h>
324
325 #ifdef __cplusplus
326 extern "C" {
327 #endif
328
329 #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
330 #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000
331 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
332
333 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
334 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectAxes_ENUM_DEFINED__
335 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectAxes_ENUM_DEFINED__
336 #ifdef __cplusplus
337 } /* extern "C" */
338 namespace ABI {
339 namespace Windows {
340 namespace Gaming {
341 namespace Input {
342 namespace ForceFeedback {
343 enum ForceFeedbackEffectAxes {
344 ForceFeedbackEffectAxes_None = 0x0,
345 ForceFeedbackEffectAxes_X = 0x1,
346 ForceFeedbackEffectAxes_Y = 0x2,
347 ForceFeedbackEffectAxes_Z = 0x4
348 };
349 }
350 }
351 }
352 }
353 }
354 extern "C" {
355 #else
356 enum __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectAxes {
357 ForceFeedbackEffectAxes_None = 0x0,
358 ForceFeedbackEffectAxes_X = 0x1,
359 ForceFeedbackEffectAxes_Y = 0x2,
360 ForceFeedbackEffectAxes_Z = 0x4
361 };
362 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
363 #define ForceFeedbackEffectAxes __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectAxes
364 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
365 #endif
366
367 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectAxes_ENUM_DEFINED__ */
368 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
369 #ifndef __cplusplus
370 typedef enum __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectAxes __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectAxes;
371 #endif /* __cplusplus */
372
373 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
374 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectState_ENUM_DEFINED__
375 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectState_ENUM_DEFINED__
376 #ifdef __cplusplus
377 } /* extern "C" */
378 namespace ABI {
379 namespace Windows {
380 namespace Gaming {
381 namespace Input {
382 namespace ForceFeedback {
383 enum ForceFeedbackEffectState {
384 ForceFeedbackEffectState_Stopped = 0,
385 ForceFeedbackEffectState_Running = 1,
386 ForceFeedbackEffectState_Paused = 2,
387 ForceFeedbackEffectState_Faulted = 3
388 };
389 }
390 }
391 }
392 }
393 }
394 extern "C" {
395 #else
396 enum __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectState {
397 ForceFeedbackEffectState_Stopped = 0,
398 ForceFeedbackEffectState_Running = 1,
399 ForceFeedbackEffectState_Paused = 2,
400 ForceFeedbackEffectState_Faulted = 3
401 };
402 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
403 #define ForceFeedbackEffectState __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectState
404 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
405 #endif
406
407 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectState_ENUM_DEFINED__ */
408 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
409 #ifndef __cplusplus
410 typedef enum __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectState __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectState;
411 #endif /* __cplusplus */
412
413 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
414 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackLoadEffectResult_ENUM_DEFINED__
415 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackLoadEffectResult_ENUM_DEFINED__
416 #ifdef __cplusplus
417 } /* extern "C" */
418 namespace ABI {
419 namespace Windows {
420 namespace Gaming {
421 namespace Input {
422 namespace ForceFeedback {
423 enum ForceFeedbackLoadEffectResult {
424 ForceFeedbackLoadEffectResult_Succeeded = 0,
425 ForceFeedbackLoadEffectResult_EffectStorageFull = 1,
426 ForceFeedbackLoadEffectResult_EffectNotSupported = 2
427 };
428 }
429 }
430 }
431 }
432 }
433 extern "C" {
434 #else
435 enum __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackLoadEffectResult {
436 ForceFeedbackLoadEffectResult_Succeeded = 0,
437 ForceFeedbackLoadEffectResult_EffectStorageFull = 1,
438 ForceFeedbackLoadEffectResult_EffectNotSupported = 2
439 };
440 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
441 #define ForceFeedbackLoadEffectResult __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackLoadEffectResult
442 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
443 #endif
444
445 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackLoadEffectResult_ENUM_DEFINED__ */
446 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
447 #ifndef __cplusplus
448 typedef enum __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackLoadEffectResult __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackLoadEffectResult;
449 #endif /* __cplusplus */
450
451 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
452 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind_ENUM_DEFINED__
453 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind_ENUM_DEFINED__
454 #ifdef __cplusplus
455 } /* extern "C" */
456 namespace ABI {
457 namespace Windows {
458 namespace Gaming {
459 namespace Input {
460 namespace ForceFeedback {
461 enum PeriodicForceEffectKind {
462 PeriodicForceEffectKind_SquareWave = 0,
463 PeriodicForceEffectKind_SineWave = 1,
464 PeriodicForceEffectKind_TriangleWave = 2,
465 PeriodicForceEffectKind_SawtoothWaveUp = 3,
466 PeriodicForceEffectKind_SawtoothWaveDown = 4
467 };
468 }
469 }
470 }
471 }
472 }
473 extern "C" {
474 #else
475 enum __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind {
476 PeriodicForceEffectKind_SquareWave = 0,
477 PeriodicForceEffectKind_SineWave = 1,
478 PeriodicForceEffectKind_TriangleWave = 2,
479 PeriodicForceEffectKind_SawtoothWaveUp = 3,
480 PeriodicForceEffectKind_SawtoothWaveDown = 4
481 };
482 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
483 #define PeriodicForceEffectKind __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind
484 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
485 #endif
486
487 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind_ENUM_DEFINED__ */
488 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
489 #ifndef __cplusplus
490 typedef enum __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind;
491 #endif /* __cplusplus */
492
493 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
494 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind_ENUM_DEFINED__
495 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind_ENUM_DEFINED__
496 #ifdef __cplusplus
497 } /* extern "C" */
498 namespace ABI {
499 namespace Windows {
500 namespace Gaming {
501 namespace Input {
502 namespace ForceFeedback {
503 enum ConditionForceEffectKind {
504 ConditionForceEffectKind_Spring = 0,
505 ConditionForceEffectKind_Damper = 1,
506 ConditionForceEffectKind_Inertia = 2,
507 ConditionForceEffectKind_Friction = 3
508 };
509 }
510 }
511 }
512 }
513 }
514 extern "C" {
515 #else
516 enum __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind {
517 ConditionForceEffectKind_Spring = 0,
518 ConditionForceEffectKind_Damper = 1,
519 ConditionForceEffectKind_Inertia = 2,
520 ConditionForceEffectKind_Friction = 3
521 };
522 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
523 #define ConditionForceEffectKind __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind
524 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
525 #endif
526
527 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind_ENUM_DEFINED__ */
528 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
529 #ifndef __cplusplus
530 typedef enum __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind;
531 #endif /* __cplusplus */
532
533 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_FWD_DEFINED__
534 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_FWD_DEFINED__
535 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect;
536 #ifdef __cplusplus
537 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect
538 namespace ABI {
539 namespace Windows {
540 namespace Gaming {
541 namespace Input {
542 namespace ForceFeedback {
543 interface IForceFeedbackEffect;
544 }
545 }
546 }
547 }
548 }
549 #endif /* __cplusplus */
550 #endif
551
552 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_FWD_DEFINED__
553 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_FWD_DEFINED__
554 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect;
555 #ifdef __cplusplus
556 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect ABI::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffect
557 namespace ABI {
558 namespace Windows {
559 namespace Gaming {
560 namespace Input {
561 namespace ForceFeedback {
562 interface IPeriodicForceEffect;
563 }
564 }
565 }
566 }
567 }
568 #endif /* __cplusplus */
569 #endif
570
571 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_FWD_DEFINED__
572 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_FWD_DEFINED__
573 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory;
574 #ifdef __cplusplus
575 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory ABI::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffectFactory
576 namespace ABI {
577 namespace Windows {
578 namespace Gaming {
579 namespace Input {
580 namespace ForceFeedback {
581 interface IPeriodicForceEffectFactory;
582 }
583 }
584 }
585 }
586 }
587 #endif /* __cplusplus */
588 #endif
589
590 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_FWD_DEFINED__
591 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_FWD_DEFINED__
592 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect;
593 #ifdef __cplusplus
594 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect ABI::Windows::Gaming::Input::ForceFeedback::IConditionForceEffect
595 namespace ABI {
596 namespace Windows {
597 namespace Gaming {
598 namespace Input {
599 namespace ForceFeedback {
600 interface IConditionForceEffect;
601 }
602 }
603 }
604 }
605 }
606 #endif /* __cplusplus */
607 #endif
608
609 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_FWD_DEFINED__
610 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_FWD_DEFINED__
611 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory;
612 #ifdef __cplusplus
613 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory ABI::Windows::Gaming::Input::ForceFeedback::IConditionForceEffectFactory
614 namespace ABI {
615 namespace Windows {
616 namespace Gaming {
617 namespace Input {
618 namespace ForceFeedback {
619 interface IConditionForceEffectFactory;
620 }
621 }
622 }
623 }
624 }
625 #endif /* __cplusplus */
626 #endif
627
628 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_FWD_DEFINED__
629 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_FWD_DEFINED__
630 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect;
631 #ifdef __cplusplus
632 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect ABI::Windows::Gaming::Input::ForceFeedback::IConstantForceEffect
633 namespace ABI {
634 namespace Windows {
635 namespace Gaming {
636 namespace Input {
637 namespace ForceFeedback {
638 interface IConstantForceEffect;
639 }
640 }
641 }
642 }
643 }
644 #endif /* __cplusplus */
645 #endif
646
647 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_FWD_DEFINED__
648 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_FWD_DEFINED__
649 typedef interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect;
650 #ifdef __cplusplus
651 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect ABI::Windows::Gaming::Input::ForceFeedback::IRampForceEffect
652 namespace ABI {
653 namespace Windows {
654 namespace Gaming {
655 namespace Input {
656 namespace ForceFeedback {
657 interface IRampForceEffect;
658 }
659 }
660 }
661 }
662 }
663 #endif /* __cplusplus */
664 #endif
665
666 #ifndef ____FIAsyncOperation_1_ForceFeedbackLoadEffectResult_FWD_DEFINED__
667 #define ____FIAsyncOperation_1_ForceFeedbackLoadEffectResult_FWD_DEFINED__
668 typedef interface __FIAsyncOperation_1_ForceFeedbackLoadEffectResult __FIAsyncOperation_1_ForceFeedbackLoadEffectResult;
669 #ifdef __cplusplus
670 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult >
671 #endif /* __cplusplus */
672 #endif
673
674 #ifndef ____FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
675 #define ____FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
676 typedef interface __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor;
677 #ifdef __cplusplus
678 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* >
679 #endif /* __cplusplus */
680 #endif
681
682 #ifndef ____FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
683 #define ____FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
684 typedef interface __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor;
685 #ifdef __cplusplus
686 #define __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* >
687 #endif /* __cplusplus */
688 #endif
689
690 #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
691 #define ____FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
692 typedef interface __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor;
693 #ifdef __cplusplus
694 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* >
695 #endif /* __cplusplus */
696 #endif
697
698 #ifndef ____FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
699 #define ____FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_FWD_DEFINED__
700 typedef interface __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor;
701 #ifdef __cplusplus
702 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor ABI::Windows::Foundation::Collections::IVector<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* >
703 #endif /* __cplusplus */
704 #endif
705
706 /*****************************************************************************
707 * IForceFeedbackEffect interface
708 */
709 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
710 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_INTERFACE_DEFINED__
711 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_INTERFACE_DEFINED__
712
713 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect, 0xa17fba0c, 0x2ae4, 0x48c2, 0x80,0x63, 0xea,0xbd,0x07,0x77,0xcb,0x89);
714 #if defined(__cplusplus) && !defined(CINTERFACE)
715 } /* extern "C" */
716 namespace ABI {
717 namespace Windows {
718 namespace Gaming {
719 namespace Input {
720 namespace ForceFeedback {
721 MIDL_INTERFACE("a17fba0c-2ae4-48c2-8063-eabd0777cb89")
722 IForceFeedbackEffect : public IInspectable
723 {
724 virtual HRESULT STDMETHODCALLTYPE get_Gain(
725 DOUBLE *value) = 0;
726
727 virtual HRESULT STDMETHODCALLTYPE put_Gain(
728 DOUBLE value) = 0;
729
730 virtual HRESULT STDMETHODCALLTYPE get_State(
731 ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectState *value) = 0;
732
733 virtual HRESULT STDMETHODCALLTYPE Start(
734 ) = 0;
735
736 virtual HRESULT STDMETHODCALLTYPE Stop(
737 ) = 0;
738
739 };
740 }
741 }
742 }
743 }
744 }
745 extern "C" {
746 #ifdef __CRT_UUID_DECL
747 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect, 0xa17fba0c, 0x2ae4, 0x48c2, 0x80,0x63, 0xea,0xbd,0x07,0x77,0xcb,0x89)
748 #endif
749 #else
750 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffectVtbl {
751 BEGIN_INTERFACE
752
753 /*** IUnknown methods ***/
754 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
755 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This,
756 REFIID riid,
757 void **ppvObject);
758
759 ULONG (STDMETHODCALLTYPE *AddRef)(
760 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This);
761
762 ULONG (STDMETHODCALLTYPE *Release)(
763 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This);
764
765 /*** IInspectable methods ***/
766 HRESULT (STDMETHODCALLTYPE *GetIids)(
767 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This,
768 ULONG *iidCount,
769 IID **iids);
770
771 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
772 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This,
773 HSTRING *className);
774
775 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
776 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This,
777 TrustLevel *trustLevel);
778
779 /*** IForceFeedbackEffect methods ***/
780 HRESULT (STDMETHODCALLTYPE *get_Gain)(
781 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This,
782 DOUBLE *value);
783
784 HRESULT (STDMETHODCALLTYPE *put_Gain)(
785 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This,
786 DOUBLE value);
787
788 HRESULT (STDMETHODCALLTYPE *get_State)(
789 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This,
790 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectState *value);
791
792 HRESULT (STDMETHODCALLTYPE *Start)(
793 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This);
794
795 HRESULT (STDMETHODCALLTYPE *Stop)(
796 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *This);
797
798 END_INTERFACE
799 } __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffectVtbl;
800
801 interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect {
802 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffectVtbl* lpVtbl;
803 };
804
805 #ifdef COBJMACROS
806 #ifndef WIDL_C_INLINE_WRAPPERS
807 /*** IUnknown methods ***/
808 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
809 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_AddRef(This) (This)->lpVtbl->AddRef(This)
810 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_Release(This) (This)->lpVtbl->Release(This)
811 /*** IInspectable methods ***/
812 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
813 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
814 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
815 /*** IForceFeedbackEffect methods ***/
816 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_get_Gain(This,value) (This)->lpVtbl->get_Gain(This,value)
817 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_put_Gain(This,value) (This)->lpVtbl->put_Gain(This,value)
818 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_get_State(This,value) (This)->lpVtbl->get_State(This,value)
819 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_Start(This) (This)->lpVtbl->Start(This)
820 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_Stop(This) (This)->lpVtbl->Stop(This)
821 #else
822 /*** IUnknown methods ***/
823 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This,REFIID riid,void **ppvObject) {
824 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
825 }
826 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_AddRef(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This) {
827 return This->lpVtbl->AddRef(This);
828 }
829 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_Release(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This) {
830 return This->lpVtbl->Release(This);
831 }
832 /*** IInspectable methods ***/
833 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_GetIids(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This,ULONG *iidCount,IID **iids) {
834 return This->lpVtbl->GetIids(This,iidCount,iids);
835 }
836 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This,HSTRING *className) {
837 return This->lpVtbl->GetRuntimeClassName(This,className);
838 }
839 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This,TrustLevel *trustLevel) {
840 return This->lpVtbl->GetTrustLevel(This,trustLevel);
841 }
842 /*** IForceFeedbackEffect methods ***/
843 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_get_Gain(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This,DOUBLE *value) {
844 return This->lpVtbl->get_Gain(This,value);
845 }
846 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_put_Gain(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This,DOUBLE value) {
847 return This->lpVtbl->put_Gain(This,value);
848 }
849 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_get_State(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectState *value) {
850 return This->lpVtbl->get_State(This,value);
851 }
852 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_Start(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This) {
853 return This->lpVtbl->Start(This);
854 }
855 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_Stop(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect* This) {
856 return This->lpVtbl->Stop(This);
857 }
858 #endif
859 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
860 #define IID_IForceFeedbackEffect IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect
861 #define IForceFeedbackEffectVtbl __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffectVtbl
862 #define IForceFeedbackEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect
863 #define IForceFeedbackEffect_QueryInterface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_QueryInterface
864 #define IForceFeedbackEffect_AddRef __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_AddRef
865 #define IForceFeedbackEffect_Release __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_Release
866 #define IForceFeedbackEffect_GetIids __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_GetIids
867 #define IForceFeedbackEffect_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_GetRuntimeClassName
868 #define IForceFeedbackEffect_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_GetTrustLevel
869 #define IForceFeedbackEffect_get_Gain __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_get_Gain
870 #define IForceFeedbackEffect_put_Gain __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_put_Gain
871 #define IForceFeedbackEffect_get_State __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_get_State
872 #define IForceFeedbackEffect_Start __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_Start
873 #define IForceFeedbackEffect_Stop __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_Stop
874 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
875 #endif
876
877 #endif
878
879 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect_INTERFACE_DEFINED__ */
880 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
881
882 /*****************************************************************************
883 * IForceFeedbackMotor interface
884 */
885 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
886 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_INTERFACE_DEFINED__
887 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_INTERFACE_DEFINED__
888
889 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor, 0x8d3d417c, 0xa5ea, 0x4516, 0x80,0x26, 0x2b,0x00,0xf7,0x4e,0xf6,0xe5);
890 #if defined(__cplusplus) && !defined(CINTERFACE)
891 } /* extern "C" */
892 namespace ABI {
893 namespace Windows {
894 namespace Gaming {
895 namespace Input {
896 namespace ForceFeedback {
897 MIDL_INTERFACE("8d3d417c-a5ea-4516-8026-2b00f74ef6e5")
898 IForceFeedbackMotor : public IInspectable
899 {
900 virtual HRESULT STDMETHODCALLTYPE get_AreEffectsPaused(
901 boolean *value) = 0;
902
903 virtual HRESULT STDMETHODCALLTYPE get_MasterGain(
904 DOUBLE *value) = 0;
905
906 virtual HRESULT STDMETHODCALLTYPE put_MasterGain(
907 DOUBLE value) = 0;
908
909 virtual HRESULT STDMETHODCALLTYPE get_IsEnabled(
910 boolean *value) = 0;
911
912 virtual HRESULT STDMETHODCALLTYPE get_SupportedAxes(
913 ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectAxes *value) = 0;
914
915 virtual HRESULT STDMETHODCALLTYPE LoadEffectAsync(
916 ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect *effect,
917 ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > **async_op) = 0;
918
919 virtual HRESULT STDMETHODCALLTYPE PauseAllEffects(
920 ) = 0;
921
922 virtual HRESULT STDMETHODCALLTYPE ResumeAllEffects(
923 ) = 0;
924
925 virtual HRESULT STDMETHODCALLTYPE StopAllEffects(
926 ) = 0;
927
928 virtual HRESULT STDMETHODCALLTYPE TryDisableAsync(
929 ABI::Windows::Foundation::IAsyncOperation<boolean > **async_op) = 0;
930
931 virtual HRESULT STDMETHODCALLTYPE TryEnableAsync(
932 ABI::Windows::Foundation::IAsyncOperation<boolean > **async_op) = 0;
933
934 virtual HRESULT STDMETHODCALLTYPE TryResetAsync(
935 ABI::Windows::Foundation::IAsyncOperation<boolean > **async_op) = 0;
936
937 virtual HRESULT STDMETHODCALLTYPE TryUnloadEffectAsync(
938 ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect *effect,
939 ABI::Windows::Foundation::IAsyncOperation<boolean > **async_op) = 0;
940
941 };
942 }
943 }
944 }
945 }
946 }
947 extern "C" {
948 #ifdef __CRT_UUID_DECL
949 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor, 0x8d3d417c, 0xa5ea, 0x4516, 0x80,0x26, 0x2b,0x00,0xf7,0x4e,0xf6,0xe5)
950 #endif
951 #else
952 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotorVtbl {
953 BEGIN_INTERFACE
954
955 /*** IUnknown methods ***/
956 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
957 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
958 REFIID riid,
959 void **ppvObject);
960
961 ULONG (STDMETHODCALLTYPE *AddRef)(
962 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This);
963
964 ULONG (STDMETHODCALLTYPE *Release)(
965 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This);
966
967 /*** IInspectable methods ***/
968 HRESULT (STDMETHODCALLTYPE *GetIids)(
969 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
970 ULONG *iidCount,
971 IID **iids);
972
973 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
974 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
975 HSTRING *className);
976
977 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
978 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
979 TrustLevel *trustLevel);
980
981 /*** IForceFeedbackMotor methods ***/
982 HRESULT (STDMETHODCALLTYPE *get_AreEffectsPaused)(
983 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
984 boolean *value);
985
986 HRESULT (STDMETHODCALLTYPE *get_MasterGain)(
987 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
988 DOUBLE *value);
989
990 HRESULT (STDMETHODCALLTYPE *put_MasterGain)(
991 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
992 DOUBLE value);
993
994 HRESULT (STDMETHODCALLTYPE *get_IsEnabled)(
995 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
996 boolean *value);
997
998 HRESULT (STDMETHODCALLTYPE *get_SupportedAxes)(
999 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
1000 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectAxes *value);
1001
1002 HRESULT (STDMETHODCALLTYPE *LoadEffectAsync)(
1003 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
1004 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *effect,
1005 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult **async_op);
1006
1007 HRESULT (STDMETHODCALLTYPE *PauseAllEffects)(
1008 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This);
1009
1010 HRESULT (STDMETHODCALLTYPE *ResumeAllEffects)(
1011 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This);
1012
1013 HRESULT (STDMETHODCALLTYPE *StopAllEffects)(
1014 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This);
1015
1016 HRESULT (STDMETHODCALLTYPE *TryDisableAsync)(
1017 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
1018 __FIAsyncOperation_1_boolean **async_op);
1019
1020 HRESULT (STDMETHODCALLTYPE *TryEnableAsync)(
1021 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
1022 __FIAsyncOperation_1_boolean **async_op);
1023
1024 HRESULT (STDMETHODCALLTYPE *TryResetAsync)(
1025 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
1026 __FIAsyncOperation_1_boolean **async_op);
1027
1028 HRESULT (STDMETHODCALLTYPE *TryUnloadEffectAsync)(
1029 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *This,
1030 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *effect,
1031 __FIAsyncOperation_1_boolean **async_op);
1032
1033 END_INTERFACE
1034 } __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotorVtbl;
1035
1036 interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor {
1037 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotorVtbl* lpVtbl;
1038 };
1039
1040 #ifdef COBJMACROS
1041 #ifndef WIDL_C_INLINE_WRAPPERS
1042 /*** IUnknown methods ***/
1043 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1044 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_AddRef(This) (This)->lpVtbl->AddRef(This)
1045 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_Release(This) (This)->lpVtbl->Release(This)
1046 /*** IInspectable methods ***/
1047 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1048 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1049 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1050 /*** IForceFeedbackMotor methods ***/
1051 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_AreEffectsPaused(This,value) (This)->lpVtbl->get_AreEffectsPaused(This,value)
1052 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_MasterGain(This,value) (This)->lpVtbl->get_MasterGain(This,value)
1053 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_put_MasterGain(This,value) (This)->lpVtbl->put_MasterGain(This,value)
1054 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_IsEnabled(This,value) (This)->lpVtbl->get_IsEnabled(This,value)
1055 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_SupportedAxes(This,value) (This)->lpVtbl->get_SupportedAxes(This,value)
1056 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_LoadEffectAsync(This,effect,async_op) (This)->lpVtbl->LoadEffectAsync(This,effect,async_op)
1057 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_PauseAllEffects(This) (This)->lpVtbl->PauseAllEffects(This)
1058 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_ResumeAllEffects(This) (This)->lpVtbl->ResumeAllEffects(This)
1059 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_StopAllEffects(This) (This)->lpVtbl->StopAllEffects(This)
1060 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryDisableAsync(This,async_op) (This)->lpVtbl->TryDisableAsync(This,async_op)
1061 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryEnableAsync(This,async_op) (This)->lpVtbl->TryEnableAsync(This,async_op)
1062 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryResetAsync(This,async_op) (This)->lpVtbl->TryResetAsync(This,async_op)
1063 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryUnloadEffectAsync(This,effect,async_op) (This)->lpVtbl->TryUnloadEffectAsync(This,effect,async_op)
1064 #else
1065 /*** IUnknown methods ***/
1066 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,REFIID riid,void **ppvObject) {
1067 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1068 }
1069 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_AddRef(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This) {
1070 return This->lpVtbl->AddRef(This);
1071 }
1072 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_Release(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This) {
1073 return This->lpVtbl->Release(This);
1074 }
1075 /*** IInspectable methods ***/
1076 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_GetIids(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,ULONG *iidCount,IID **iids) {
1077 return This->lpVtbl->GetIids(This,iidCount,iids);
1078 }
1079 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,HSTRING *className) {
1080 return This->lpVtbl->GetRuntimeClassName(This,className);
1081 }
1082 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,TrustLevel *trustLevel) {
1083 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1084 }
1085 /*** IForceFeedbackMotor methods ***/
1086 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_AreEffectsPaused(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,boolean *value) {
1087 return This->lpVtbl->get_AreEffectsPaused(This,value);
1088 }
1089 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_MasterGain(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,DOUBLE *value) {
1090 return This->lpVtbl->get_MasterGain(This,value);
1091 }
1092 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_put_MasterGain(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,DOUBLE value) {
1093 return This->lpVtbl->put_MasterGain(This,value);
1094 }
1095 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_IsEnabled(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,boolean *value) {
1096 return This->lpVtbl->get_IsEnabled(This,value);
1097 }
1098 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_SupportedAxes(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackEffectAxes *value) {
1099 return This->lpVtbl->get_SupportedAxes(This,value);
1100 }
1101 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_LoadEffectAsync(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *effect,__FIAsyncOperation_1_ForceFeedbackLoadEffectResult **async_op) {
1102 return This->lpVtbl->LoadEffectAsync(This,effect,async_op);
1103 }
1104 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_PauseAllEffects(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This) {
1105 return This->lpVtbl->PauseAllEffects(This);
1106 }
1107 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_ResumeAllEffects(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This) {
1108 return This->lpVtbl->ResumeAllEffects(This);
1109 }
1110 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_StopAllEffects(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This) {
1111 return This->lpVtbl->StopAllEffects(This);
1112 }
1113 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryDisableAsync(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,__FIAsyncOperation_1_boolean **async_op) {
1114 return This->lpVtbl->TryDisableAsync(This,async_op);
1115 }
1116 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryEnableAsync(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,__FIAsyncOperation_1_boolean **async_op) {
1117 return This->lpVtbl->TryEnableAsync(This,async_op);
1118 }
1119 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryResetAsync(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,__FIAsyncOperation_1_boolean **async_op) {
1120 return This->lpVtbl->TryResetAsync(This,async_op);
1121 }
1122 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryUnloadEffectAsync(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect *effect,__FIAsyncOperation_1_boolean **async_op) {
1123 return This->lpVtbl->TryUnloadEffectAsync(This,effect,async_op);
1124 }
1125 #endif
1126 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
1127 #define IID_IForceFeedbackMotor IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor
1128 #define IForceFeedbackMotorVtbl __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotorVtbl
1129 #define IForceFeedbackMotor __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor
1130 #define IForceFeedbackMotor_QueryInterface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_QueryInterface
1131 #define IForceFeedbackMotor_AddRef __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_AddRef
1132 #define IForceFeedbackMotor_Release __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_Release
1133 #define IForceFeedbackMotor_GetIids __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_GetIids
1134 #define IForceFeedbackMotor_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_GetRuntimeClassName
1135 #define IForceFeedbackMotor_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_GetTrustLevel
1136 #define IForceFeedbackMotor_get_AreEffectsPaused __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_AreEffectsPaused
1137 #define IForceFeedbackMotor_get_MasterGain __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_MasterGain
1138 #define IForceFeedbackMotor_put_MasterGain __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_put_MasterGain
1139 #define IForceFeedbackMotor_get_IsEnabled __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_IsEnabled
1140 #define IForceFeedbackMotor_get_SupportedAxes __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_get_SupportedAxes
1141 #define IForceFeedbackMotor_LoadEffectAsync __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_LoadEffectAsync
1142 #define IForceFeedbackMotor_PauseAllEffects __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_PauseAllEffects
1143 #define IForceFeedbackMotor_ResumeAllEffects __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_ResumeAllEffects
1144 #define IForceFeedbackMotor_StopAllEffects __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_StopAllEffects
1145 #define IForceFeedbackMotor_TryDisableAsync __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryDisableAsync
1146 #define IForceFeedbackMotor_TryEnableAsync __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryEnableAsync
1147 #define IForceFeedbackMotor_TryResetAsync __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryResetAsync
1148 #define IForceFeedbackMotor_TryUnloadEffectAsync __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_TryUnloadEffectAsync
1149 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
1150 #endif
1151
1152 #endif
1153
1154 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor_INTERFACE_DEFINED__ */
1155 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1156
1157 /*****************************************************************************
1158 * IPeriodicForceEffect interface
1159 */
1160 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1161 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_INTERFACE_DEFINED__
1162 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_INTERFACE_DEFINED__
1163
1164 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect, 0x5c5138d7, 0xfc75, 0x4d52, 0x9a,0x0a, 0xef,0xe4,0xca,0xb5,0xfe,0x64);
1165 #if defined(__cplusplus) && !defined(CINTERFACE)
1166 } /* extern "C" */
1167 namespace ABI {
1168 namespace Windows {
1169 namespace Gaming {
1170 namespace Input {
1171 namespace ForceFeedback {
1172 MIDL_INTERFACE("5c5138d7-fc75-4d52-9a0a-efe4cab5fe64")
1173 IPeriodicForceEffect : public IInspectable
1174 {
1175 virtual HRESULT STDMETHODCALLTYPE get_Kind(
1176 ABI::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind *value) = 0;
1177
1178 virtual HRESULT STDMETHODCALLTYPE SetParameters(
1179 ABI::Windows::Foundation::Numerics::Vector3 vector,
1180 FLOAT frequency,
1181 FLOAT phase,
1182 FLOAT bias,
1183 ABI::Windows::Foundation::TimeSpan duration) = 0;
1184
1185 virtual HRESULT STDMETHODCALLTYPE SetParametersWithEnvelope(
1186 ABI::Windows::Foundation::Numerics::Vector3 vector,
1187 FLOAT frequency,
1188 FLOAT phase,
1189 FLOAT bias,
1190 FLOAT attack_gain,
1191 FLOAT sustain_gain,
1192 FLOAT release_gain,
1193 ABI::Windows::Foundation::TimeSpan start_delay,
1194 ABI::Windows::Foundation::TimeSpan attack_duration,
1195 ABI::Windows::Foundation::TimeSpan sustain_duration,
1196 ABI::Windows::Foundation::TimeSpan release_duration,
1197 UINT32 repeat_count) = 0;
1198
1199 };
1200 }
1201 }
1202 }
1203 }
1204 }
1205 extern "C" {
1206 #ifdef __CRT_UUID_DECL
1207 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect, 0x5c5138d7, 0xfc75, 0x4d52, 0x9a,0x0a, 0xef,0xe4,0xca,0xb5,0xfe,0x64)
1208 #endif
1209 #else
1210 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectVtbl {
1211 BEGIN_INTERFACE
1212
1213 /*** IUnknown methods ***/
1214 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1215 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect *This,
1216 REFIID riid,
1217 void **ppvObject);
1218
1219 ULONG (STDMETHODCALLTYPE *AddRef)(
1220 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect *This);
1221
1222 ULONG (STDMETHODCALLTYPE *Release)(
1223 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect *This);
1224
1225 /*** IInspectable methods ***/
1226 HRESULT (STDMETHODCALLTYPE *GetIids)(
1227 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect *This,
1228 ULONG *iidCount,
1229 IID **iids);
1230
1231 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1232 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect *This,
1233 HSTRING *className);
1234
1235 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1236 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect *This,
1237 TrustLevel *trustLevel);
1238
1239 /*** IPeriodicForceEffect methods ***/
1240 HRESULT (STDMETHODCALLTYPE *get_Kind)(
1241 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect *This,
1242 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind *value);
1243
1244 HRESULT (STDMETHODCALLTYPE *SetParameters)(
1245 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect *This,
1246 __x_ABI_CWindows_CFoundation_CNumerics_CVector3 vector,
1247 FLOAT frequency,
1248 FLOAT phase,
1249 FLOAT bias,
1250 __x_ABI_CWindows_CFoundation_CTimeSpan duration);
1251
1252 HRESULT (STDMETHODCALLTYPE *SetParametersWithEnvelope)(
1253 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect *This,
1254 __x_ABI_CWindows_CFoundation_CNumerics_CVector3 vector,
1255 FLOAT frequency,
1256 FLOAT phase,
1257 FLOAT bias,
1258 FLOAT attack_gain,
1259 FLOAT sustain_gain,
1260 FLOAT release_gain,
1261 __x_ABI_CWindows_CFoundation_CTimeSpan start_delay,
1262 __x_ABI_CWindows_CFoundation_CTimeSpan attack_duration,
1263 __x_ABI_CWindows_CFoundation_CTimeSpan sustain_duration,
1264 __x_ABI_CWindows_CFoundation_CTimeSpan release_duration,
1265 UINT32 repeat_count);
1266
1267 END_INTERFACE
1268 } __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectVtbl;
1269
1270 interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect {
1271 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectVtbl* lpVtbl;
1272 };
1273
1274 #ifdef COBJMACROS
1275 #ifndef WIDL_C_INLINE_WRAPPERS
1276 /*** IUnknown methods ***/
1277 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1278 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_AddRef(This) (This)->lpVtbl->AddRef(This)
1279 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_Release(This) (This)->lpVtbl->Release(This)
1280 /*** IInspectable methods ***/
1281 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1282 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1283 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1284 /*** IPeriodicForceEffect methods ***/
1285 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_get_Kind(This,value) (This)->lpVtbl->get_Kind(This,value)
1286 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_SetParameters(This,vector,frequency,phase,bias,duration) (This)->lpVtbl->SetParameters(This,vector,frequency,phase,bias,duration)
1287 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_SetParametersWithEnvelope(This,vector,frequency,phase,bias,attack_gain,sustain_gain,release_gain,start_delay,attack_duration,sustain_duration,release_duration,repeat_count) (This)->lpVtbl->SetParametersWithEnvelope(This,vector,frequency,phase,bias,attack_gain,sustain_gain,release_gain,start_delay,attack_duration,sustain_duration,release_duration,repeat_count)
1288 #else
1289 /*** IUnknown methods ***/
1290 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect* This,REFIID riid,void **ppvObject) {
1291 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1292 }
1293 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_AddRef(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect* This) {
1294 return This->lpVtbl->AddRef(This);
1295 }
1296 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_Release(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect* This) {
1297 return This->lpVtbl->Release(This);
1298 }
1299 /*** IInspectable methods ***/
1300 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_GetIids(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect* This,ULONG *iidCount,IID **iids) {
1301 return This->lpVtbl->GetIids(This,iidCount,iids);
1302 }
1303 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect* This,HSTRING *className) {
1304 return This->lpVtbl->GetRuntimeClassName(This,className);
1305 }
1306 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect* This,TrustLevel *trustLevel) {
1307 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1308 }
1309 /*** IPeriodicForceEffect methods ***/
1310 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_get_Kind(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind *value) {
1311 return This->lpVtbl->get_Kind(This,value);
1312 }
1313 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_SetParameters(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect* This,__x_ABI_CWindows_CFoundation_CNumerics_CVector3 vector,FLOAT frequency,FLOAT phase,FLOAT bias,__x_ABI_CWindows_CFoundation_CTimeSpan duration) {
1314 return This->lpVtbl->SetParameters(This,vector,frequency,phase,bias,duration);
1315 }
1316 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_SetParametersWithEnvelope(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect* This,__x_ABI_CWindows_CFoundation_CNumerics_CVector3 vector,FLOAT frequency,FLOAT phase,FLOAT bias,FLOAT attack_gain,FLOAT sustain_gain,FLOAT release_gain,__x_ABI_CWindows_CFoundation_CTimeSpan start_delay,__x_ABI_CWindows_CFoundation_CTimeSpan attack_duration,__x_ABI_CWindows_CFoundation_CTimeSpan sustain_duration,__x_ABI_CWindows_CFoundation_CTimeSpan release_duration,UINT32 repeat_count) {
1317 return This->lpVtbl->SetParametersWithEnvelope(This,vector,frequency,phase,bias,attack_gain,sustain_gain,release_gain,start_delay,attack_duration,sustain_duration,release_duration,repeat_count);
1318 }
1319 #endif
1320 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
1321 #define IID_IPeriodicForceEffect IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect
1322 #define IPeriodicForceEffectVtbl __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectVtbl
1323 #define IPeriodicForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect
1324 #define IPeriodicForceEffect_QueryInterface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_QueryInterface
1325 #define IPeriodicForceEffect_AddRef __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_AddRef
1326 #define IPeriodicForceEffect_Release __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_Release
1327 #define IPeriodicForceEffect_GetIids __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_GetIids
1328 #define IPeriodicForceEffect_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_GetRuntimeClassName
1329 #define IPeriodicForceEffect_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_GetTrustLevel
1330 #define IPeriodicForceEffect_get_Kind __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_get_Kind
1331 #define IPeriodicForceEffect_SetParameters __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_SetParameters
1332 #define IPeriodicForceEffect_SetParametersWithEnvelope __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_SetParametersWithEnvelope
1333 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
1334 #endif
1335
1336 #endif
1337
1338 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffect_INTERFACE_DEFINED__ */
1339 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1340
1341 /*****************************************************************************
1342 * IPeriodicForceEffectFactory interface
1343 */
1344 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1345 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_INTERFACE_DEFINED__
1346 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_INTERFACE_DEFINED__
1347
1348 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory, 0x6f62eb1a, 0x9851, 0x477b, 0xb3,0x18, 0x35,0xec,0xaa,0x15,0x07,0x0f);
1349 #if defined(__cplusplus) && !defined(CINTERFACE)
1350 } /* extern "C" */
1351 namespace ABI {
1352 namespace Windows {
1353 namespace Gaming {
1354 namespace Input {
1355 namespace ForceFeedback {
1356 MIDL_INTERFACE("6f62eb1a-9851-477b-b318-35ecaa15070f")
1357 IPeriodicForceEffectFactory : public IInspectable
1358 {
1359 virtual HRESULT STDMETHODCALLTYPE CreateInstance(
1360 ABI::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind kind,
1361 ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect **value) = 0;
1362
1363 };
1364 }
1365 }
1366 }
1367 }
1368 }
1369 extern "C" {
1370 #ifdef __CRT_UUID_DECL
1371 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory, 0x6f62eb1a, 0x9851, 0x477b, 0xb3,0x18, 0x35,0xec,0xaa,0x15,0x07,0x0f)
1372 #endif
1373 #else
1374 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactoryVtbl {
1375 BEGIN_INTERFACE
1376
1377 /*** IUnknown methods ***/
1378 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1379 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory *This,
1380 REFIID riid,
1381 void **ppvObject);
1382
1383 ULONG (STDMETHODCALLTYPE *AddRef)(
1384 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory *This);
1385
1386 ULONG (STDMETHODCALLTYPE *Release)(
1387 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory *This);
1388
1389 /*** IInspectable methods ***/
1390 HRESULT (STDMETHODCALLTYPE *GetIids)(
1391 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory *This,
1392 ULONG *iidCount,
1393 IID **iids);
1394
1395 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1396 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory *This,
1397 HSTRING *className);
1398
1399 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1400 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory *This,
1401 TrustLevel *trustLevel);
1402
1403 /*** IPeriodicForceEffectFactory methods ***/
1404 HRESULT (STDMETHODCALLTYPE *CreateInstance)(
1405 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory *This,
1406 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind kind,
1407 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect **value);
1408
1409 END_INTERFACE
1410 } __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactoryVtbl;
1411
1412 interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory {
1413 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactoryVtbl* lpVtbl;
1414 };
1415
1416 #ifdef COBJMACROS
1417 #ifndef WIDL_C_INLINE_WRAPPERS
1418 /*** IUnknown methods ***/
1419 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1420 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
1421 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_Release(This) (This)->lpVtbl->Release(This)
1422 /*** IInspectable methods ***/
1423 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1424 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1425 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1426 /*** IPeriodicForceEffectFactory methods ***/
1427 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_CreateInstance(This,kind,value) (This)->lpVtbl->CreateInstance(This,kind,value)
1428 #else
1429 /*** IUnknown methods ***/
1430 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory* This,REFIID riid,void **ppvObject) {
1431 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1432 }
1433 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_AddRef(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory* This) {
1434 return This->lpVtbl->AddRef(This);
1435 }
1436 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_Release(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory* This) {
1437 return This->lpVtbl->Release(This);
1438 }
1439 /*** IInspectable methods ***/
1440 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_GetIids(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory* This,ULONG *iidCount,IID **iids) {
1441 return This->lpVtbl->GetIids(This,iidCount,iids);
1442 }
1443 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory* This,HSTRING *className) {
1444 return This->lpVtbl->GetRuntimeClassName(This,className);
1445 }
1446 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory* This,TrustLevel *trustLevel) {
1447 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1448 }
1449 /*** IPeriodicForceEffectFactory methods ***/
1450 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_CreateInstance(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CPeriodicForceEffectKind kind,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect **value) {
1451 return This->lpVtbl->CreateInstance(This,kind,value);
1452 }
1453 #endif
1454 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
1455 #define IID_IPeriodicForceEffectFactory IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory
1456 #define IPeriodicForceEffectFactoryVtbl __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactoryVtbl
1457 #define IPeriodicForceEffectFactory __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory
1458 #define IPeriodicForceEffectFactory_QueryInterface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_QueryInterface
1459 #define IPeriodicForceEffectFactory_AddRef __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_AddRef
1460 #define IPeriodicForceEffectFactory_Release __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_Release
1461 #define IPeriodicForceEffectFactory_GetIids __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_GetIids
1462 #define IPeriodicForceEffectFactory_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_GetRuntimeClassName
1463 #define IPeriodicForceEffectFactory_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_GetTrustLevel
1464 #define IPeriodicForceEffectFactory_CreateInstance __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_CreateInstance
1465 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
1466 #endif
1467
1468 #endif
1469
1470 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIPeriodicForceEffectFactory_INTERFACE_DEFINED__ */
1471 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1472
1473 /*****************************************************************************
1474 * IConditionForceEffect interface
1475 */
1476 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1477 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_INTERFACE_DEFINED__
1478 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_INTERFACE_DEFINED__
1479
1480 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect, 0x32d1ea68, 0x3695, 0x4e69, 0x85,0xc0, 0xcd,0x19,0x44,0x18,0x91,0x40);
1481 #if defined(__cplusplus) && !defined(CINTERFACE)
1482 } /* extern "C" */
1483 namespace ABI {
1484 namespace Windows {
1485 namespace Gaming {
1486 namespace Input {
1487 namespace ForceFeedback {
1488 MIDL_INTERFACE("32d1ea68-3695-4e69-85c0-cd1944189140")
1489 IConditionForceEffect : public IInspectable
1490 {
1491 virtual HRESULT STDMETHODCALLTYPE get_Kind(
1492 ABI::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind *value) = 0;
1493
1494 virtual HRESULT STDMETHODCALLTYPE SetParameters(
1495 ABI::Windows::Foundation::Numerics::Vector3 direction,
1496 FLOAT positive_coeff,
1497 FLOAT negative_coeff,
1498 FLOAT max_positive_magnitude,
1499 FLOAT max_negative_magnitude,
1500 FLOAT deadzone,
1501 FLOAT bias) = 0;
1502
1503 };
1504 }
1505 }
1506 }
1507 }
1508 }
1509 extern "C" {
1510 #ifdef __CRT_UUID_DECL
1511 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect, 0x32d1ea68, 0x3695, 0x4e69, 0x85,0xc0, 0xcd,0x19,0x44,0x18,0x91,0x40)
1512 #endif
1513 #else
1514 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectVtbl {
1515 BEGIN_INTERFACE
1516
1517 /*** IUnknown methods ***/
1518 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1519 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect *This,
1520 REFIID riid,
1521 void **ppvObject);
1522
1523 ULONG (STDMETHODCALLTYPE *AddRef)(
1524 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect *This);
1525
1526 ULONG (STDMETHODCALLTYPE *Release)(
1527 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect *This);
1528
1529 /*** IInspectable methods ***/
1530 HRESULT (STDMETHODCALLTYPE *GetIids)(
1531 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect *This,
1532 ULONG *iidCount,
1533 IID **iids);
1534
1535 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1536 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect *This,
1537 HSTRING *className);
1538
1539 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1540 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect *This,
1541 TrustLevel *trustLevel);
1542
1543 /*** IConditionForceEffect methods ***/
1544 HRESULT (STDMETHODCALLTYPE *get_Kind)(
1545 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect *This,
1546 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind *value);
1547
1548 HRESULT (STDMETHODCALLTYPE *SetParameters)(
1549 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect *This,
1550 __x_ABI_CWindows_CFoundation_CNumerics_CVector3 direction,
1551 FLOAT positive_coeff,
1552 FLOAT negative_coeff,
1553 FLOAT max_positive_magnitude,
1554 FLOAT max_negative_magnitude,
1555 FLOAT deadzone,
1556 FLOAT bias);
1557
1558 END_INTERFACE
1559 } __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectVtbl;
1560
1561 interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect {
1562 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectVtbl* lpVtbl;
1563 };
1564
1565 #ifdef COBJMACROS
1566 #ifndef WIDL_C_INLINE_WRAPPERS
1567 /*** IUnknown methods ***/
1568 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1569 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_AddRef(This) (This)->lpVtbl->AddRef(This)
1570 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_Release(This) (This)->lpVtbl->Release(This)
1571 /*** IInspectable methods ***/
1572 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1573 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1574 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1575 /*** IConditionForceEffect methods ***/
1576 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_get_Kind(This,value) (This)->lpVtbl->get_Kind(This,value)
1577 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_SetParameters(This,direction,positive_coeff,negative_coeff,max_positive_magnitude,max_negative_magnitude,deadzone,bias) (This)->lpVtbl->SetParameters(This,direction,positive_coeff,negative_coeff,max_positive_magnitude,max_negative_magnitude,deadzone,bias)
1578 #else
1579 /*** IUnknown methods ***/
1580 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect* This,REFIID riid,void **ppvObject) {
1581 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1582 }
1583 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_AddRef(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect* This) {
1584 return This->lpVtbl->AddRef(This);
1585 }
1586 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_Release(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect* This) {
1587 return This->lpVtbl->Release(This);
1588 }
1589 /*** IInspectable methods ***/
1590 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_GetIids(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect* This,ULONG *iidCount,IID **iids) {
1591 return This->lpVtbl->GetIids(This,iidCount,iids);
1592 }
1593 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect* This,HSTRING *className) {
1594 return This->lpVtbl->GetRuntimeClassName(This,className);
1595 }
1596 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect* This,TrustLevel *trustLevel) {
1597 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1598 }
1599 /*** IConditionForceEffect methods ***/
1600 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_get_Kind(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind *value) {
1601 return This->lpVtbl->get_Kind(This,value);
1602 }
1603 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_SetParameters(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect* This,__x_ABI_CWindows_CFoundation_CNumerics_CVector3 direction,FLOAT positive_coeff,FLOAT negative_coeff,FLOAT max_positive_magnitude,FLOAT max_negative_magnitude,FLOAT deadzone,FLOAT bias) {
1604 return This->lpVtbl->SetParameters(This,direction,positive_coeff,negative_coeff,max_positive_magnitude,max_negative_magnitude,deadzone,bias);
1605 }
1606 #endif
1607 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
1608 #define IID_IConditionForceEffect IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect
1609 #define IConditionForceEffectVtbl __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectVtbl
1610 #define IConditionForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect
1611 #define IConditionForceEffect_QueryInterface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_QueryInterface
1612 #define IConditionForceEffect_AddRef __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_AddRef
1613 #define IConditionForceEffect_Release __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_Release
1614 #define IConditionForceEffect_GetIids __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_GetIids
1615 #define IConditionForceEffect_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_GetRuntimeClassName
1616 #define IConditionForceEffect_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_GetTrustLevel
1617 #define IConditionForceEffect_get_Kind __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_get_Kind
1618 #define IConditionForceEffect_SetParameters __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_SetParameters
1619 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
1620 #endif
1621
1622 #endif
1623
1624 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffect_INTERFACE_DEFINED__ */
1625 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1626
1627 /*****************************************************************************
1628 * IConditionForceEffectFactory interface
1629 */
1630 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1631 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_INTERFACE_DEFINED__
1632 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_INTERFACE_DEFINED__
1633
1634 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory, 0x91a99264, 0x1810, 0x4eb6, 0xa7,0x73, 0xbf,0xd3,0xb8,0xcd,0xdb,0xab);
1635 #if defined(__cplusplus) && !defined(CINTERFACE)
1636 } /* extern "C" */
1637 namespace ABI {
1638 namespace Windows {
1639 namespace Gaming {
1640 namespace Input {
1641 namespace ForceFeedback {
1642 MIDL_INTERFACE("91a99264-1810-4eb6-a773-bfd3b8cddbab")
1643 IConditionForceEffectFactory : public IInspectable
1644 {
1645 virtual HRESULT STDMETHODCALLTYPE CreateInstance(
1646 ABI::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind kind,
1647 ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect **value) = 0;
1648
1649 };
1650 }
1651 }
1652 }
1653 }
1654 }
1655 extern "C" {
1656 #ifdef __CRT_UUID_DECL
1657 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory, 0x91a99264, 0x1810, 0x4eb6, 0xa7,0x73, 0xbf,0xd3,0xb8,0xcd,0xdb,0xab)
1658 #endif
1659 #else
1660 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactoryVtbl {
1661 BEGIN_INTERFACE
1662
1663 /*** IUnknown methods ***/
1664 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1665 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory *This,
1666 REFIID riid,
1667 void **ppvObject);
1668
1669 ULONG (STDMETHODCALLTYPE *AddRef)(
1670 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory *This);
1671
1672 ULONG (STDMETHODCALLTYPE *Release)(
1673 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory *This);
1674
1675 /*** IInspectable methods ***/
1676 HRESULT (STDMETHODCALLTYPE *GetIids)(
1677 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory *This,
1678 ULONG *iidCount,
1679 IID **iids);
1680
1681 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1682 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory *This,
1683 HSTRING *className);
1684
1685 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1686 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory *This,
1687 TrustLevel *trustLevel);
1688
1689 /*** IConditionForceEffectFactory methods ***/
1690 HRESULT (STDMETHODCALLTYPE *CreateInstance)(
1691 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory *This,
1692 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind kind,
1693 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect **value);
1694
1695 END_INTERFACE
1696 } __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactoryVtbl;
1697
1698 interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory {
1699 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactoryVtbl* lpVtbl;
1700 };
1701
1702 #ifdef COBJMACROS
1703 #ifndef WIDL_C_INLINE_WRAPPERS
1704 /*** IUnknown methods ***/
1705 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1706 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
1707 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_Release(This) (This)->lpVtbl->Release(This)
1708 /*** IInspectable methods ***/
1709 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1710 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1711 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1712 /*** IConditionForceEffectFactory methods ***/
1713 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_CreateInstance(This,kind,value) (This)->lpVtbl->CreateInstance(This,kind,value)
1714 #else
1715 /*** IUnknown methods ***/
1716 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory* This,REFIID riid,void **ppvObject) {
1717 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1718 }
1719 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_AddRef(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory* This) {
1720 return This->lpVtbl->AddRef(This);
1721 }
1722 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_Release(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory* This) {
1723 return This->lpVtbl->Release(This);
1724 }
1725 /*** IInspectable methods ***/
1726 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_GetIids(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory* This,ULONG *iidCount,IID **iids) {
1727 return This->lpVtbl->GetIids(This,iidCount,iids);
1728 }
1729 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory* This,HSTRING *className) {
1730 return This->lpVtbl->GetRuntimeClassName(This,className);
1731 }
1732 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory* This,TrustLevel *trustLevel) {
1733 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1734 }
1735 /*** IConditionForceEffectFactory methods ***/
1736 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_CreateInstance(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CConditionForceEffectKind kind,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackEffect **value) {
1737 return This->lpVtbl->CreateInstance(This,kind,value);
1738 }
1739 #endif
1740 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
1741 #define IID_IConditionForceEffectFactory IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory
1742 #define IConditionForceEffectFactoryVtbl __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactoryVtbl
1743 #define IConditionForceEffectFactory __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory
1744 #define IConditionForceEffectFactory_QueryInterface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_QueryInterface
1745 #define IConditionForceEffectFactory_AddRef __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_AddRef
1746 #define IConditionForceEffectFactory_Release __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_Release
1747 #define IConditionForceEffectFactory_GetIids __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_GetIids
1748 #define IConditionForceEffectFactory_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_GetRuntimeClassName
1749 #define IConditionForceEffectFactory_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_GetTrustLevel
1750 #define IConditionForceEffectFactory_CreateInstance __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_CreateInstance
1751 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
1752 #endif
1753
1754 #endif
1755
1756 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConditionForceEffectFactory_INTERFACE_DEFINED__ */
1757 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1758
1759 /*****************************************************************************
1760 * IConstantForceEffect interface
1761 */
1762 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1763 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_INTERFACE_DEFINED__
1764 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_INTERFACE_DEFINED__
1765
1766 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect, 0x9bfa0140, 0xf3c7, 0x415c, 0xb0,0x68, 0x0f,0x06,0x87,0x34,0xbc,0xe0);
1767 #if defined(__cplusplus) && !defined(CINTERFACE)
1768 } /* extern "C" */
1769 namespace ABI {
1770 namespace Windows {
1771 namespace Gaming {
1772 namespace Input {
1773 namespace ForceFeedback {
1774 MIDL_INTERFACE("9bfa0140-f3c7-415c-b068-0f068734bce0")
1775 IConstantForceEffect : public IInspectable
1776 {
1777 virtual HRESULT STDMETHODCALLTYPE SetParameters(
1778 ABI::Windows::Foundation::Numerics::Vector3 vector,
1779 ABI::Windows::Foundation::TimeSpan duration) = 0;
1780
1781 virtual HRESULT STDMETHODCALLTYPE SetParametersWithEnvelope(
1782 ABI::Windows::Foundation::Numerics::Vector3 vector,
1783 FLOAT attack_gain,
1784 FLOAT sustain_gain,
1785 FLOAT release_gain,
1786 ABI::Windows::Foundation::TimeSpan start_delay,
1787 ABI::Windows::Foundation::TimeSpan attack_duration,
1788 ABI::Windows::Foundation::TimeSpan sustain_duration,
1789 ABI::Windows::Foundation::TimeSpan release_duration,
1790 UINT32 repeat_count) = 0;
1791
1792 };
1793 }
1794 }
1795 }
1796 }
1797 }
1798 extern "C" {
1799 #ifdef __CRT_UUID_DECL
1800 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect, 0x9bfa0140, 0xf3c7, 0x415c, 0xb0,0x68, 0x0f,0x06,0x87,0x34,0xbc,0xe0)
1801 #endif
1802 #else
1803 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffectVtbl {
1804 BEGIN_INTERFACE
1805
1806 /*** IUnknown methods ***/
1807 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1808 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect *This,
1809 REFIID riid,
1810 void **ppvObject);
1811
1812 ULONG (STDMETHODCALLTYPE *AddRef)(
1813 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect *This);
1814
1815 ULONG (STDMETHODCALLTYPE *Release)(
1816 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect *This);
1817
1818 /*** IInspectable methods ***/
1819 HRESULT (STDMETHODCALLTYPE *GetIids)(
1820 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect *This,
1821 ULONG *iidCount,
1822 IID **iids);
1823
1824 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1825 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect *This,
1826 HSTRING *className);
1827
1828 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1829 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect *This,
1830 TrustLevel *trustLevel);
1831
1832 /*** IConstantForceEffect methods ***/
1833 HRESULT (STDMETHODCALLTYPE *SetParameters)(
1834 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect *This,
1835 __x_ABI_CWindows_CFoundation_CNumerics_CVector3 vector,
1836 __x_ABI_CWindows_CFoundation_CTimeSpan duration);
1837
1838 HRESULT (STDMETHODCALLTYPE *SetParametersWithEnvelope)(
1839 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect *This,
1840 __x_ABI_CWindows_CFoundation_CNumerics_CVector3 vector,
1841 FLOAT attack_gain,
1842 FLOAT sustain_gain,
1843 FLOAT release_gain,
1844 __x_ABI_CWindows_CFoundation_CTimeSpan start_delay,
1845 __x_ABI_CWindows_CFoundation_CTimeSpan attack_duration,
1846 __x_ABI_CWindows_CFoundation_CTimeSpan sustain_duration,
1847 __x_ABI_CWindows_CFoundation_CTimeSpan release_duration,
1848 UINT32 repeat_count);
1849
1850 END_INTERFACE
1851 } __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffectVtbl;
1852
1853 interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect {
1854 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffectVtbl* lpVtbl;
1855 };
1856
1857 #ifdef COBJMACROS
1858 #ifndef WIDL_C_INLINE_WRAPPERS
1859 /*** IUnknown methods ***/
1860 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1861 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_AddRef(This) (This)->lpVtbl->AddRef(This)
1862 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_Release(This) (This)->lpVtbl->Release(This)
1863 /*** IInspectable methods ***/
1864 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1865 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1866 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1867 /*** IConstantForceEffect methods ***/
1868 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_SetParameters(This,vector,duration) (This)->lpVtbl->SetParameters(This,vector,duration)
1869 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_SetParametersWithEnvelope(This,vector,attack_gain,sustain_gain,release_gain,start_delay,attack_duration,sustain_duration,release_duration,repeat_count) (This)->lpVtbl->SetParametersWithEnvelope(This,vector,attack_gain,sustain_gain,release_gain,start_delay,attack_duration,sustain_duration,release_duration,repeat_count)
1870 #else
1871 /*** IUnknown methods ***/
1872 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect* This,REFIID riid,void **ppvObject) {
1873 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1874 }
1875 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_AddRef(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect* This) {
1876 return This->lpVtbl->AddRef(This);
1877 }
1878 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_Release(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect* This) {
1879 return This->lpVtbl->Release(This);
1880 }
1881 /*** IInspectable methods ***/
1882 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_GetIids(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect* This,ULONG *iidCount,IID **iids) {
1883 return This->lpVtbl->GetIids(This,iidCount,iids);
1884 }
1885 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect* This,HSTRING *className) {
1886 return This->lpVtbl->GetRuntimeClassName(This,className);
1887 }
1888 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect* This,TrustLevel *trustLevel) {
1889 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1890 }
1891 /*** IConstantForceEffect methods ***/
1892 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_SetParameters(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect* This,__x_ABI_CWindows_CFoundation_CNumerics_CVector3 vector,__x_ABI_CWindows_CFoundation_CTimeSpan duration) {
1893 return This->lpVtbl->SetParameters(This,vector,duration);
1894 }
1895 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_SetParametersWithEnvelope(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect* This,__x_ABI_CWindows_CFoundation_CNumerics_CVector3 vector,FLOAT attack_gain,FLOAT sustain_gain,FLOAT release_gain,__x_ABI_CWindows_CFoundation_CTimeSpan start_delay,__x_ABI_CWindows_CFoundation_CTimeSpan attack_duration,__x_ABI_CWindows_CFoundation_CTimeSpan sustain_duration,__x_ABI_CWindows_CFoundation_CTimeSpan release_duration,UINT32 repeat_count) {
1896 return This->lpVtbl->SetParametersWithEnvelope(This,vector,attack_gain,sustain_gain,release_gain,start_delay,attack_duration,sustain_duration,release_duration,repeat_count);
1897 }
1898 #endif
1899 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
1900 #define IID_IConstantForceEffect IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect
1901 #define IConstantForceEffectVtbl __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffectVtbl
1902 #define IConstantForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect
1903 #define IConstantForceEffect_QueryInterface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_QueryInterface
1904 #define IConstantForceEffect_AddRef __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_AddRef
1905 #define IConstantForceEffect_Release __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_Release
1906 #define IConstantForceEffect_GetIids __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_GetIids
1907 #define IConstantForceEffect_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_GetRuntimeClassName
1908 #define IConstantForceEffect_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_GetTrustLevel
1909 #define IConstantForceEffect_SetParameters __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_SetParameters
1910 #define IConstantForceEffect_SetParametersWithEnvelope __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_SetParametersWithEnvelope
1911 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
1912 #endif
1913
1914 #endif
1915
1916 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIConstantForceEffect_INTERFACE_DEFINED__ */
1917 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1918
1919 /*****************************************************************************
1920 * IRampForceEffect interface
1921 */
1922 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1923 #ifndef ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_INTERFACE_DEFINED__
1924 #define ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_INTERFACE_DEFINED__
1925
1926 DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect, 0xf1f81259, 0x1ca6, 0x4080, 0xb5,0x6d, 0xb4,0x3f,0x33,0x54,0xd0,0x52);
1927 #if defined(__cplusplus) && !defined(CINTERFACE)
1928 } /* extern "C" */
1929 namespace ABI {
1930 namespace Windows {
1931 namespace Gaming {
1932 namespace Input {
1933 namespace ForceFeedback {
1934 MIDL_INTERFACE("f1f81259-1ca6-4080-b56d-b43f3354d052")
1935 IRampForceEffect : public IInspectable
1936 {
1937 virtual HRESULT STDMETHODCALLTYPE SetParameters(
1938 ABI::Windows::Foundation::Numerics::Vector3 start_vector,
1939 ABI::Windows::Foundation::Numerics::Vector3 end_vector,
1940 ABI::Windows::Foundation::TimeSpan duration) = 0;
1941
1942 virtual HRESULT STDMETHODCALLTYPE SetParametersWithEnvelope(
1943 ABI::Windows::Foundation::Numerics::Vector3 start_vector,
1944 ABI::Windows::Foundation::Numerics::Vector3 end_vector,
1945 FLOAT attack_gain,
1946 FLOAT sustain_gain,
1947 FLOAT release_gain,
1948 ABI::Windows::Foundation::TimeSpan start_delay,
1949 ABI::Windows::Foundation::TimeSpan attack_duration,
1950 ABI::Windows::Foundation::TimeSpan sustain_duration,
1951 ABI::Windows::Foundation::TimeSpan release_duration,
1952 UINT32 repeat_count) = 0;
1953
1954 };
1955 }
1956 }
1957 }
1958 }
1959 }
1960 extern "C" {
1961 #ifdef __CRT_UUID_DECL
1962 __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect, 0xf1f81259, 0x1ca6, 0x4080, 0xb5,0x6d, 0xb4,0x3f,0x33,0x54,0xd0,0x52)
1963 #endif
1964 #else
1965 typedef struct __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffectVtbl {
1966 BEGIN_INTERFACE
1967
1968 /*** IUnknown methods ***/
1969 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1970 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect *This,
1971 REFIID riid,
1972 void **ppvObject);
1973
1974 ULONG (STDMETHODCALLTYPE *AddRef)(
1975 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect *This);
1976
1977 ULONG (STDMETHODCALLTYPE *Release)(
1978 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect *This);
1979
1980 /*** IInspectable methods ***/
1981 HRESULT (STDMETHODCALLTYPE *GetIids)(
1982 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect *This,
1983 ULONG *iidCount,
1984 IID **iids);
1985
1986 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1987 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect *This,
1988 HSTRING *className);
1989
1990 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1991 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect *This,
1992 TrustLevel *trustLevel);
1993
1994 /*** IRampForceEffect methods ***/
1995 HRESULT (STDMETHODCALLTYPE *SetParameters)(
1996 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect *This,
1997 __x_ABI_CWindows_CFoundation_CNumerics_CVector3 start_vector,
1998 __x_ABI_CWindows_CFoundation_CNumerics_CVector3 end_vector,
1999 __x_ABI_CWindows_CFoundation_CTimeSpan duration);
2000
2001 HRESULT (STDMETHODCALLTYPE *SetParametersWithEnvelope)(
2002 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect *This,
2003 __x_ABI_CWindows_CFoundation_CNumerics_CVector3 start_vector,
2004 __x_ABI_CWindows_CFoundation_CNumerics_CVector3 end_vector,
2005 FLOAT attack_gain,
2006 FLOAT sustain_gain,
2007 FLOAT release_gain,
2008 __x_ABI_CWindows_CFoundation_CTimeSpan start_delay,
2009 __x_ABI_CWindows_CFoundation_CTimeSpan attack_duration,
2010 __x_ABI_CWindows_CFoundation_CTimeSpan sustain_duration,
2011 __x_ABI_CWindows_CFoundation_CTimeSpan release_duration,
2012 UINT32 repeat_count);
2013
2014 END_INTERFACE
2015 } __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffectVtbl;
2016
2017 interface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect {
2018 CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffectVtbl* lpVtbl;
2019 };
2020
2021 #ifdef COBJMACROS
2022 #ifndef WIDL_C_INLINE_WRAPPERS
2023 /*** IUnknown methods ***/
2024 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2025 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_AddRef(This) (This)->lpVtbl->AddRef(This)
2026 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_Release(This) (This)->lpVtbl->Release(This)
2027 /*** IInspectable methods ***/
2028 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2029 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2030 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2031 /*** IRampForceEffect methods ***/
2032 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_SetParameters(This,start_vector,end_vector,duration) (This)->lpVtbl->SetParameters(This,start_vector,end_vector,duration)
2033 #define __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_SetParametersWithEnvelope(This,start_vector,end_vector,attack_gain,sustain_gain,release_gain,start_delay,attack_duration,sustain_duration,release_duration,repeat_count) (This)->lpVtbl->SetParametersWithEnvelope(This,start_vector,end_vector,attack_gain,sustain_gain,release_gain,start_delay,attack_duration,sustain_duration,release_duration,repeat_count)
2034 #else
2035 /*** IUnknown methods ***/
2036 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect* This,REFIID riid,void **ppvObject) {
2037 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2038 }
2039 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_AddRef(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect* This) {
2040 return This->lpVtbl->AddRef(This);
2041 }
2042 static inline ULONG __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_Release(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect* This) {
2043 return This->lpVtbl->Release(This);
2044 }
2045 /*** IInspectable methods ***/
2046 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_GetIids(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect* This,ULONG *iidCount,IID **iids) {
2047 return This->lpVtbl->GetIids(This,iidCount,iids);
2048 }
2049 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect* This,HSTRING *className) {
2050 return This->lpVtbl->GetRuntimeClassName(This,className);
2051 }
2052 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect* This,TrustLevel *trustLevel) {
2053 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2054 }
2055 /*** IRampForceEffect methods ***/
2056 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_SetParameters(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect* This,__x_ABI_CWindows_CFoundation_CNumerics_CVector3 start_vector,__x_ABI_CWindows_CFoundation_CNumerics_CVector3 end_vector,__x_ABI_CWindows_CFoundation_CTimeSpan duration) {
2057 return This->lpVtbl->SetParameters(This,start_vector,end_vector,duration);
2058 }
2059 static inline HRESULT __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_SetParametersWithEnvelope(__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect* This,__x_ABI_CWindows_CFoundation_CNumerics_CVector3 start_vector,__x_ABI_CWindows_CFoundation_CNumerics_CVector3 end_vector,FLOAT attack_gain,FLOAT sustain_gain,FLOAT release_gain,__x_ABI_CWindows_CFoundation_CTimeSpan start_delay,__x_ABI_CWindows_CFoundation_CTimeSpan attack_duration,__x_ABI_CWindows_CFoundation_CTimeSpan sustain_duration,__x_ABI_CWindows_CFoundation_CTimeSpan release_duration,UINT32 repeat_count) {
2060 return This->lpVtbl->SetParametersWithEnvelope(This,start_vector,end_vector,attack_gain,sustain_gain,release_gain,start_delay,attack_duration,sustain_duration,release_duration,repeat_count);
2061 }
2062 #endif
2063 #ifdef WIDL_using_Windows_Gaming_Input_ForceFeedback
2064 #define IID_IRampForceEffect IID___x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect
2065 #define IRampForceEffectVtbl __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffectVtbl
2066 #define IRampForceEffect __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect
2067 #define IRampForceEffect_QueryInterface __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_QueryInterface
2068 #define IRampForceEffect_AddRef __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_AddRef
2069 #define IRampForceEffect_Release __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_Release
2070 #define IRampForceEffect_GetIids __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_GetIids
2071 #define IRampForceEffect_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_GetRuntimeClassName
2072 #define IRampForceEffect_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_GetTrustLevel
2073 #define IRampForceEffect_SetParameters __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_SetParameters
2074 #define IRampForceEffect_SetParametersWithEnvelope __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_SetParametersWithEnvelope
2075 #endif /* WIDL_using_Windows_Gaming_Input_ForceFeedback */
2076 #endif
2077
2078 #endif
2079
2080 #endif /* ____x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIRampForceEffect_INTERFACE_DEFINED__ */
2081 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
2082
2083 /*
2084 * Class Windows.Gaming.Input.ForceFeedback.ForceFeedbackMotor
2085 */
2086 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
2087 #ifndef RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_ForceFeedbackMotor_DEFINED
2088 #define RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_ForceFeedbackMotor_DEFINED
2089 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2090 static const WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_ForceFeedbackMotor[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','o','r','c','e','F','e','e','d','b','a','c','k','.','F','o','r','c','e','F','e','e','d','b','a','c','k','M','o','t','o','r',0};
2091 #elif defined(__GNUC__) && !defined(__cplusplus)
2092 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_ForceFeedbackMotor[] = L"Windows.Gaming.Input.ForceFeedback.ForceFeedbackMotor";
2093 #else
2094 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_ForceFeedbackMotor[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','o','r','c','e','F','e','e','d','b','a','c','k','.','F','o','r','c','e','F','e','e','d','b','a','c','k','M','o','t','o','r',0};
2095 #endif
2096 #endif /* RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_ForceFeedbackMotor_DEFINED */
2097 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
2098
2099 /*
2100 * Class Windows.Gaming.Input.ForceFeedback.PeriodicForceEffect
2101 */
2102 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
2103 #ifndef RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_PeriodicForceEffect_DEFINED
2104 #define RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_PeriodicForceEffect_DEFINED
2105 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2106 static const WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_PeriodicForceEffect[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','o','r','c','e','F','e','e','d','b','a','c','k','.','P','e','r','i','o','d','i','c','F','o','r','c','e','E','f','f','e','c','t',0};
2107 #elif defined(__GNUC__) && !defined(__cplusplus)
2108 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_PeriodicForceEffect[] = L"Windows.Gaming.Input.ForceFeedback.PeriodicForceEffect";
2109 #else
2110 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_PeriodicForceEffect[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','o','r','c','e','F','e','e','d','b','a','c','k','.','P','e','r','i','o','d','i','c','F','o','r','c','e','E','f','f','e','c','t',0};
2111 #endif
2112 #endif /* RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_PeriodicForceEffect_DEFINED */
2113 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
2114
2115 /*
2116 * Class Windows.Gaming.Input.ForceFeedback.ConditionForceEffect
2117 */
2118 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
2119 #ifndef RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_ConditionForceEffect_DEFINED
2120 #define RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_ConditionForceEffect_DEFINED
2121 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2122 static const WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_ConditionForceEffect[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','o','r','c','e','F','e','e','d','b','a','c','k','.','C','o','n','d','i','t','i','o','n','F','o','r','c','e','E','f','f','e','c','t',0};
2123 #elif defined(__GNUC__) && !defined(__cplusplus)
2124 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_ConditionForceEffect[] = L"Windows.Gaming.Input.ForceFeedback.ConditionForceEffect";
2125 #else
2126 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_ConditionForceEffect[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','o','r','c','e','F','e','e','d','b','a','c','k','.','C','o','n','d','i','t','i','o','n','F','o','r','c','e','E','f','f','e','c','t',0};
2127 #endif
2128 #endif /* RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_ConditionForceEffect_DEFINED */
2129 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
2130
2131 /*
2132 * Class Windows.Gaming.Input.ForceFeedback.ConstantForceEffect
2133 */
2134 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
2135 #ifndef RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_ConstantForceEffect_DEFINED
2136 #define RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_ConstantForceEffect_DEFINED
2137 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2138 static const WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_ConstantForceEffect[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','o','r','c','e','F','e','e','d','b','a','c','k','.','C','o','n','s','t','a','n','t','F','o','r','c','e','E','f','f','e','c','t',0};
2139 #elif defined(__GNUC__) && !defined(__cplusplus)
2140 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_ConstantForceEffect[] = L"Windows.Gaming.Input.ForceFeedback.ConstantForceEffect";
2141 #else
2142 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_ConstantForceEffect[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','o','r','c','e','F','e','e','d','b','a','c','k','.','C','o','n','s','t','a','n','t','F','o','r','c','e','E','f','f','e','c','t',0};
2143 #endif
2144 #endif /* RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_ConstantForceEffect_DEFINED */
2145 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
2146
2147 /*
2148 * Class Windows.Gaming.Input.ForceFeedback.RampForceEffect
2149 */
2150 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
2151 #ifndef RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_RampForceEffect_DEFINED
2152 #define RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_RampForceEffect_DEFINED
2153 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2154 static const WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_RampForceEffect[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','o','r','c','e','F','e','e','d','b','a','c','k','.','R','a','m','p','F','o','r','c','e','E','f','f','e','c','t',0};
2155 #elif defined(__GNUC__) && !defined(__cplusplus)
2156 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_RampForceEffect[] = L"Windows.Gaming.Input.ForceFeedback.RampForceEffect";
2157 #else
2158 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ForceFeedback_RampForceEffect[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','o','r','c','e','F','e','e','d','b','a','c','k','.','R','a','m','p','F','o','r','c','e','E','f','f','e','c','t',0};
2159 #endif
2160 #endif /* RUNTIMECLASS_Windows_Gaming_Input_ForceFeedback_RampForceEffect_DEFINED */
2161 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
2162
2163 /*****************************************************************************
2164 * IAsyncOperationCompletedHandler<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > interface
2165 */
2166 #ifndef ____FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_INTERFACE_DEFINED__
2167 #define ____FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_INTERFACE_DEFINED__
2168
2169 DEFINE_GUID(IID___FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult, 0xf8220a41, 0xf738, 0x51e8, 0x89,0xba, 0x76,0xbb,0xd6,0x61,0x58,0xcb);
2170 #if defined(__cplusplus) && !defined(CINTERFACE)
2171 } /* extern "C" */
2172 namespace ABI {
2173 namespace Windows {
2174 namespace Foundation {
2175 template<>
2176 MIDL_INTERFACE("f8220a41-f738-51e8-89ba-76bbd66158cb")
2177 IAsyncOperationCompletedHandler<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > : IAsyncOperationCompletedHandler_impl<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult >
2178 {
2179 };
2180 }
2181 }
2182 }
2183 extern "C" {
2184 #ifdef __CRT_UUID_DECL
2185 __CRT_UUID_DECL(__FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult, 0xf8220a41, 0xf738, 0x51e8, 0x89,0xba, 0x76,0xbb,0xd6,0x61,0x58,0xcb)
2186 #endif
2187 #else
2188 typedef struct __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResultVtbl {
2189 BEGIN_INTERFACE
2190
2191 /*** IUnknown methods ***/
2192 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2193 __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult *This,
2194 REFIID riid,
2195 void **ppvObject);
2196
2197 ULONG (STDMETHODCALLTYPE *AddRef)(
2198 __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult *This);
2199
2200 ULONG (STDMETHODCALLTYPE *Release)(
2201 __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult *This);
2202
2203 /*** IAsyncOperationCompletedHandler<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > methods ***/
2204 HRESULT (STDMETHODCALLTYPE *Invoke)(
2205 __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult *This,
2206 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult *info,
2207 AsyncStatus status);
2208
2209 END_INTERFACE
2210 } __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResultVtbl;
2211
2212 interface __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult {
2213 CONST_VTBL __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResultVtbl* lpVtbl;
2214 };
2215
2216 #ifdef COBJMACROS
2217 #ifndef WIDL_C_INLINE_WRAPPERS
2218 /*** IUnknown methods ***/
2219 #define __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2220 #define __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_AddRef(This) (This)->lpVtbl->AddRef(This)
2221 #define __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_Release(This) (This)->lpVtbl->Release(This)
2222 /*** IAsyncOperationCompletedHandler<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > methods ***/
2223 #define __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_Invoke(This,info,status) (This)->lpVtbl->Invoke(This,info,status)
2224 #else
2225 /*** IUnknown methods ***/
2226 static inline HRESULT __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_QueryInterface(__FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult* This,REFIID riid,void **ppvObject) {
2227 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2228 }
2229 static inline ULONG __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_AddRef(__FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult* This) {
2230 return This->lpVtbl->AddRef(This);
2231 }
2232 static inline ULONG __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_Release(__FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult* This) {
2233 return This->lpVtbl->Release(This);
2234 }
2235 /*** IAsyncOperationCompletedHandler<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > methods ***/
2236 static inline HRESULT __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_Invoke(__FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult* This,__FIAsyncOperation_1_ForceFeedbackLoadEffectResult *info,AsyncStatus status) {
2237 return This->lpVtbl->Invoke(This,info,status);
2238 }
2239 #endif
2240 #ifdef WIDL_using_Windows_Foundation
2241 #define IID_IAsyncOperationCompletedHandler_ForceFeedbackLoadEffectResult IID___FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult
2242 #define IAsyncOperationCompletedHandler_ForceFeedbackLoadEffectResultVtbl __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResultVtbl
2243 #define IAsyncOperationCompletedHandler_ForceFeedbackLoadEffectResult __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult
2244 #define IAsyncOperationCompletedHandler_ForceFeedbackLoadEffectResult_QueryInterface __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_QueryInterface
2245 #define IAsyncOperationCompletedHandler_ForceFeedbackLoadEffectResult_AddRef __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_AddRef
2246 #define IAsyncOperationCompletedHandler_ForceFeedbackLoadEffectResult_Release __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_Release
2247 #define IAsyncOperationCompletedHandler_ForceFeedbackLoadEffectResult_Invoke __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_Invoke
2248 #endif /* WIDL_using_Windows_Foundation */
2249 #endif
2250
2251 #endif
2252
2253 #endif /* ____FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult_INTERFACE_DEFINED__ */
2254
2255 /*****************************************************************************
2256 * IAsyncOperation<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > interface
2257 */
2258 #ifndef ____FIAsyncOperation_1_ForceFeedbackLoadEffectResult_INTERFACE_DEFINED__
2259 #define ____FIAsyncOperation_1_ForceFeedbackLoadEffectResult_INTERFACE_DEFINED__
2260
2261 DEFINE_GUID(IID___FIAsyncOperation_1_ForceFeedbackLoadEffectResult, 0x21f834fc, 0xe845, 0x5ab9, 0xbf,0x85, 0x95,0x34,0xe2,0x39,0x77,0x98);
2262 #if defined(__cplusplus) && !defined(CINTERFACE)
2263 } /* extern "C" */
2264 namespace ABI {
2265 namespace Windows {
2266 namespace Foundation {
2267 template<>
2268 MIDL_INTERFACE("21f834fc-e845-5ab9-bf85-9534e2397798")
2269 IAsyncOperation<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > : IAsyncOperation_impl<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult >
2270 {
2271 };
2272 }
2273 }
2274 }
2275 extern "C" {
2276 #ifdef __CRT_UUID_DECL
2277 __CRT_UUID_DECL(__FIAsyncOperation_1_ForceFeedbackLoadEffectResult, 0x21f834fc, 0xe845, 0x5ab9, 0xbf,0x85, 0x95,0x34,0xe2,0x39,0x77,0x98)
2278 #endif
2279 #else
2280 typedef struct __FIAsyncOperation_1_ForceFeedbackLoadEffectResultVtbl {
2281 BEGIN_INTERFACE
2282
2283 /*** IUnknown methods ***/
2284 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2285 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult *This,
2286 REFIID riid,
2287 void **ppvObject);
2288
2289 ULONG (STDMETHODCALLTYPE *AddRef)(
2290 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult *This);
2291
2292 ULONG (STDMETHODCALLTYPE *Release)(
2293 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult *This);
2294
2295 /*** IInspectable methods ***/
2296 HRESULT (STDMETHODCALLTYPE *GetIids)(
2297 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult *This,
2298 ULONG *iidCount,
2299 IID **iids);
2300
2301 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2302 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult *This,
2303 HSTRING *className);
2304
2305 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2306 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult *This,
2307 TrustLevel *trustLevel);
2308
2309 /*** IAsyncOperation<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > methods ***/
2310 HRESULT (STDMETHODCALLTYPE *put_Completed)(
2311 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult *This,
2312 __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult *handler);
2313
2314 HRESULT (STDMETHODCALLTYPE *get_Completed)(
2315 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult *This,
2316 __FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult **handler);
2317
2318 HRESULT (STDMETHODCALLTYPE *GetResults)(
2319 __FIAsyncOperation_1_ForceFeedbackLoadEffectResult *This,
2320 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackLoadEffectResult *results);
2321
2322 END_INTERFACE
2323 } __FIAsyncOperation_1_ForceFeedbackLoadEffectResultVtbl;
2324
2325 interface __FIAsyncOperation_1_ForceFeedbackLoadEffectResult {
2326 CONST_VTBL __FIAsyncOperation_1_ForceFeedbackLoadEffectResultVtbl* lpVtbl;
2327 };
2328
2329 #ifdef COBJMACROS
2330 #ifndef WIDL_C_INLINE_WRAPPERS
2331 /*** IUnknown methods ***/
2332 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2333 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_AddRef(This) (This)->lpVtbl->AddRef(This)
2334 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_Release(This) (This)->lpVtbl->Release(This)
2335 /*** IInspectable methods ***/
2336 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2337 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2338 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2339 /*** IAsyncOperation<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > methods ***/
2340 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_put_Completed(This,handler) (This)->lpVtbl->put_Completed(This,handler)
2341 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_get_Completed(This,handler) (This)->lpVtbl->get_Completed(This,handler)
2342 #define __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetResults(This,results) (This)->lpVtbl->GetResults(This,results)
2343 #else
2344 /*** IUnknown methods ***/
2345 static inline HRESULT __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_QueryInterface(__FIAsyncOperation_1_ForceFeedbackLoadEffectResult* This,REFIID riid,void **ppvObject) {
2346 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2347 }
2348 static inline ULONG __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_AddRef(__FIAsyncOperation_1_ForceFeedbackLoadEffectResult* This) {
2349 return This->lpVtbl->AddRef(This);
2350 }
2351 static inline ULONG __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_Release(__FIAsyncOperation_1_ForceFeedbackLoadEffectResult* This) {
2352 return This->lpVtbl->Release(This);
2353 }
2354 /*** IInspectable methods ***/
2355 static inline HRESULT __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetIids(__FIAsyncOperation_1_ForceFeedbackLoadEffectResult* This,ULONG *iidCount,IID **iids) {
2356 return This->lpVtbl->GetIids(This,iidCount,iids);
2357 }
2358 static inline HRESULT __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetRuntimeClassName(__FIAsyncOperation_1_ForceFeedbackLoadEffectResult* This,HSTRING *className) {
2359 return This->lpVtbl->GetRuntimeClassName(This,className);
2360 }
2361 static inline HRESULT __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetTrustLevel(__FIAsyncOperation_1_ForceFeedbackLoadEffectResult* This,TrustLevel *trustLevel) {
2362 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2363 }
2364 /*** IAsyncOperation<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult > methods ***/
2365 static inline HRESULT __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_put_Completed(__FIAsyncOperation_1_ForceFeedbackLoadEffectResult* This,__FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult *handler) {
2366 return This->lpVtbl->put_Completed(This,handler);
2367 }
2368 static inline HRESULT __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_get_Completed(__FIAsyncOperation_1_ForceFeedbackLoadEffectResult* This,__FIAsyncOperationCompletedHandler_1_ForceFeedbackLoadEffectResult **handler) {
2369 return This->lpVtbl->get_Completed(This,handler);
2370 }
2371 static inline HRESULT __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetResults(__FIAsyncOperation_1_ForceFeedbackLoadEffectResult* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CForceFeedbackLoadEffectResult *results) {
2372 return This->lpVtbl->GetResults(This,results);
2373 }
2374 #endif
2375 #ifdef WIDL_using_Windows_Foundation
2376 #define IID_IAsyncOperation_ForceFeedbackLoadEffectResult IID___FIAsyncOperation_1_ForceFeedbackLoadEffectResult
2377 #define IAsyncOperation_ForceFeedbackLoadEffectResultVtbl __FIAsyncOperation_1_ForceFeedbackLoadEffectResultVtbl
2378 #define IAsyncOperation_ForceFeedbackLoadEffectResult __FIAsyncOperation_1_ForceFeedbackLoadEffectResult
2379 #define IAsyncOperation_ForceFeedbackLoadEffectResult_QueryInterface __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_QueryInterface
2380 #define IAsyncOperation_ForceFeedbackLoadEffectResult_AddRef __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_AddRef
2381 #define IAsyncOperation_ForceFeedbackLoadEffectResult_Release __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_Release
2382 #define IAsyncOperation_ForceFeedbackLoadEffectResult_GetIids __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetIids
2383 #define IAsyncOperation_ForceFeedbackLoadEffectResult_GetRuntimeClassName __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetRuntimeClassName
2384 #define IAsyncOperation_ForceFeedbackLoadEffectResult_GetTrustLevel __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetTrustLevel
2385 #define IAsyncOperation_ForceFeedbackLoadEffectResult_put_Completed __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_put_Completed
2386 #define IAsyncOperation_ForceFeedbackLoadEffectResult_get_Completed __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_get_Completed
2387 #define IAsyncOperation_ForceFeedbackLoadEffectResult_GetResults __FIAsyncOperation_1_ForceFeedbackLoadEffectResult_GetResults
2388 #endif /* WIDL_using_Windows_Foundation */
2389 #endif
2390
2391 #endif
2392
2393 #endif /* ____FIAsyncOperation_1_ForceFeedbackLoadEffectResult_INTERFACE_DEFINED__ */
2394
2395 /*****************************************************************************
2396 * IIterator<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > interface
2397 */
2398 #ifndef ____FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__
2399 #define ____FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__
2400
2401 DEFINE_GUID(IID___FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor, 0x64cf69e0, 0x5464, 0x5b72, 0xbd,0x4b, 0x82,0xf7,0xc3,0xd0,0x38,0x6d);
2402 #if defined(__cplusplus) && !defined(CINTERFACE)
2403 } /* extern "C" */
2404 namespace ABI {
2405 namespace Windows {
2406 namespace Foundation {
2407 namespace Collections {
2408 template<>
2409 MIDL_INTERFACE("64cf69e0-5464-5b72-bd4b-82f7c3d0386d")
2410 IIterator<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > : IIterator_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor*, ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor* > >
2411 {
2412 };
2413 }
2414 }
2415 }
2416 }
2417 extern "C" {
2418 #ifdef __CRT_UUID_DECL
2419 __CRT_UUID_DECL(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor, 0x64cf69e0, 0x5464, 0x5b72, 0xbd,0x4b, 0x82,0xf7,0xc3,0xd0,0x38,0x6d)
2420 #endif
2421 #else
2422 typedef struct __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl {
2423 BEGIN_INTERFACE
2424
2425 /*** IUnknown methods ***/
2426 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2427 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2428 REFIID riid,
2429 void **ppvObject);
2430
2431 ULONG (STDMETHODCALLTYPE *AddRef)(
2432 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This);
2433
2434 ULONG (STDMETHODCALLTYPE *Release)(
2435 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This);
2436
2437 /*** IInspectable methods ***/
2438 HRESULT (STDMETHODCALLTYPE *GetIids)(
2439 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2440 ULONG *iidCount,
2441 IID **iids);
2442
2443 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2444 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2445 HSTRING *className);
2446
2447 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2448 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2449 TrustLevel *trustLevel);
2450
2451 /*** IIterator<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2452 HRESULT (STDMETHODCALLTYPE *get_Current)(
2453 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2454 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **value);
2455
2456 HRESULT (STDMETHODCALLTYPE *get_HasCurrent)(
2457 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2458 boolean *value);
2459
2460 HRESULT (STDMETHODCALLTYPE *MoveNext)(
2461 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2462 boolean *value);
2463
2464 HRESULT (STDMETHODCALLTYPE *GetMany)(
2465 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2466 UINT32 items_size,
2467 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **items,
2468 UINT32 *value);
2469
2470 END_INTERFACE
2471 } __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl;
2472
2473 interface __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor {
2474 CONST_VTBL __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl* lpVtbl;
2475 };
2476
2477 #ifdef COBJMACROS
2478 #ifndef WIDL_C_INLINE_WRAPPERS
2479 /*** IUnknown methods ***/
2480 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2481 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef(This) (This)->lpVtbl->AddRef(This)
2482 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release(This) (This)->lpVtbl->Release(This)
2483 /*** IInspectable methods ***/
2484 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2485 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2486 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2487 /*** IIterator<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2488 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_Current(This,value) (This)->lpVtbl->get_Current(This,value)
2489 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_HasCurrent(This,value) (This)->lpVtbl->get_HasCurrent(This,value)
2490 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_MoveNext(This,value) (This)->lpVtbl->MoveNext(This,value)
2491 #define __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetMany(This,items_size,items,value) (This)->lpVtbl->GetMany(This,items_size,items,value)
2492 #else
2493 /*** IUnknown methods ***/
2494 static inline HRESULT __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,REFIID riid,void **ppvObject) {
2495 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2496 }
2497 static inline ULONG __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This) {
2498 return This->lpVtbl->AddRef(This);
2499 }
2500 static inline ULONG __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This) {
2501 return This->lpVtbl->Release(This);
2502 }
2503 /*** IInspectable methods ***/
2504 static inline HRESULT __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,ULONG *iidCount,IID **iids) {
2505 return This->lpVtbl->GetIids(This,iidCount,iids);
2506 }
2507 static inline HRESULT __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,HSTRING *className) {
2508 return This->lpVtbl->GetRuntimeClassName(This,className);
2509 }
2510 static inline HRESULT __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,TrustLevel *trustLevel) {
2511 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2512 }
2513 /*** IIterator<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2514 static inline HRESULT __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_Current(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **value) {
2515 return This->lpVtbl->get_Current(This,value);
2516 }
2517 static inline HRESULT __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_HasCurrent(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,boolean *value) {
2518 return This->lpVtbl->get_HasCurrent(This,value);
2519 }
2520 static inline HRESULT __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_MoveNext(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,boolean *value) {
2521 return This->lpVtbl->MoveNext(This,value);
2522 }
2523 static inline HRESULT __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetMany(__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **items,UINT32 *value) {
2524 return This->lpVtbl->GetMany(This,items_size,items,value);
2525 }
2526 #endif
2527 #ifdef WIDL_using_Windows_Foundation_Collections
2528 #define IID_IIterator_ForceFeedbackMotor IID___FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor
2529 #define IIterator_ForceFeedbackMotorVtbl __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl
2530 #define IIterator_ForceFeedbackMotor __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor
2531 #define IIterator_ForceFeedbackMotor_QueryInterface __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface
2532 #define IIterator_ForceFeedbackMotor_AddRef __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef
2533 #define IIterator_ForceFeedbackMotor_Release __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release
2534 #define IIterator_ForceFeedbackMotor_GetIids __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids
2535 #define IIterator_ForceFeedbackMotor_GetRuntimeClassName __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName
2536 #define IIterator_ForceFeedbackMotor_GetTrustLevel __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel
2537 #define IIterator_ForceFeedbackMotor_get_Current __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_Current
2538 #define IIterator_ForceFeedbackMotor_get_HasCurrent __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_HasCurrent
2539 #define IIterator_ForceFeedbackMotor_MoveNext __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_MoveNext
2540 #define IIterator_ForceFeedbackMotor_GetMany __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetMany
2541 #endif /* WIDL_using_Windows_Foundation_Collections */
2542 #endif
2543
2544 #endif
2545
2546 #endif /* ____FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__ */
2547
2548 /*****************************************************************************
2549 * IIterable<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > interface
2550 */
2551 #ifndef ____FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__
2552 #define ____FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__
2553
2554 DEFINE_GUID(IID___FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor, 0xc14440d1, 0xfea0, 0x5147, 0xae,0xd8, 0x9b,0x85,0x23,0x9d,0xa8,0x82);
2555 #if defined(__cplusplus) && !defined(CINTERFACE)
2556 } /* extern "C" */
2557 namespace ABI {
2558 namespace Windows {
2559 namespace Foundation {
2560 namespace Collections {
2561 template<>
2562 MIDL_INTERFACE("c14440d1-fea0-5147-aed8-9b85239da882")
2563 IIterable<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > : IIterable_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor*, ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor* > >
2564 {
2565 };
2566 }
2567 }
2568 }
2569 }
2570 extern "C" {
2571 #ifdef __CRT_UUID_DECL
2572 __CRT_UUID_DECL(__FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor, 0xc14440d1, 0xfea0, 0x5147, 0xae,0xd8, 0x9b,0x85,0x23,0x9d,0xa8,0x82)
2573 #endif
2574 #else
2575 typedef struct __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl {
2576 BEGIN_INTERFACE
2577
2578 /*** IUnknown methods ***/
2579 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2580 __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2581 REFIID riid,
2582 void **ppvObject);
2583
2584 ULONG (STDMETHODCALLTYPE *AddRef)(
2585 __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This);
2586
2587 ULONG (STDMETHODCALLTYPE *Release)(
2588 __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This);
2589
2590 /*** IInspectable methods ***/
2591 HRESULT (STDMETHODCALLTYPE *GetIids)(
2592 __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2593 ULONG *iidCount,
2594 IID **iids);
2595
2596 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2597 __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2598 HSTRING *className);
2599
2600 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2601 __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2602 TrustLevel *trustLevel);
2603
2604 /*** IIterable<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2605 HRESULT (STDMETHODCALLTYPE *First)(
2606 __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2607 __FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor **value);
2608
2609 END_INTERFACE
2610 } __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl;
2611
2612 interface __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor {
2613 CONST_VTBL __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl* lpVtbl;
2614 };
2615
2616 #ifdef COBJMACROS
2617 #ifndef WIDL_C_INLINE_WRAPPERS
2618 /*** IUnknown methods ***/
2619 #define __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2620 #define __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef(This) (This)->lpVtbl->AddRef(This)
2621 #define __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release(This) (This)->lpVtbl->Release(This)
2622 /*** IInspectable methods ***/
2623 #define __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2624 #define __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2625 #define __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2626 /*** IIterable<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2627 #define __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_First(This,value) (This)->lpVtbl->First(This,value)
2628 #else
2629 /*** IUnknown methods ***/
2630 static inline HRESULT __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface(__FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,REFIID riid,void **ppvObject) {
2631 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2632 }
2633 static inline ULONG __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef(__FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This) {
2634 return This->lpVtbl->AddRef(This);
2635 }
2636 static inline ULONG __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release(__FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This) {
2637 return This->lpVtbl->Release(This);
2638 }
2639 /*** IInspectable methods ***/
2640 static inline HRESULT __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids(__FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,ULONG *iidCount,IID **iids) {
2641 return This->lpVtbl->GetIids(This,iidCount,iids);
2642 }
2643 static inline HRESULT __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName(__FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,HSTRING *className) {
2644 return This->lpVtbl->GetRuntimeClassName(This,className);
2645 }
2646 static inline HRESULT __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel(__FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,TrustLevel *trustLevel) {
2647 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2648 }
2649 /*** IIterable<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2650 static inline HRESULT __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_First(__FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,__FIIterator_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor **value) {
2651 return This->lpVtbl->First(This,value);
2652 }
2653 #endif
2654 #ifdef WIDL_using_Windows_Foundation_Collections
2655 #define IID_IIterable_ForceFeedbackMotor IID___FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor
2656 #define IIterable_ForceFeedbackMotorVtbl __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl
2657 #define IIterable_ForceFeedbackMotor __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor
2658 #define IIterable_ForceFeedbackMotor_QueryInterface __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface
2659 #define IIterable_ForceFeedbackMotor_AddRef __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef
2660 #define IIterable_ForceFeedbackMotor_Release __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release
2661 #define IIterable_ForceFeedbackMotor_GetIids __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids
2662 #define IIterable_ForceFeedbackMotor_GetRuntimeClassName __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName
2663 #define IIterable_ForceFeedbackMotor_GetTrustLevel __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel
2664 #define IIterable_ForceFeedbackMotor_First __FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_First
2665 #endif /* WIDL_using_Windows_Foundation_Collections */
2666 #endif
2667
2668 #endif
2669
2670 #endif /* ____FIIterable_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__ */
2671
2672 /*****************************************************************************
2673 * IVectorView<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > interface
2674 */
2675 #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__
2676 #define ____FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__
2677
2678 DEFINE_GUID(IID___FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor, 0x5bfc5070, 0x101d, 0x5fbb, 0x8d,0x5f, 0xce,0x5c,0x23,0xbe,0xcd,0xd9);
2679 #if defined(__cplusplus) && !defined(CINTERFACE)
2680 } /* extern "C" */
2681 namespace ABI {
2682 namespace Windows {
2683 namespace Foundation {
2684 namespace Collections {
2685 template<>
2686 MIDL_INTERFACE("5bfc5070-101d-5fbb-8d5f-ce5c23becdd9")
2687 IVectorView<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor*, ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor* > >
2688 {
2689 };
2690 }
2691 }
2692 }
2693 }
2694 extern "C" {
2695 #ifdef __CRT_UUID_DECL
2696 __CRT_UUID_DECL(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor, 0x5bfc5070, 0x101d, 0x5fbb, 0x8d,0x5f, 0xce,0x5c,0x23,0xbe,0xcd,0xd9)
2697 #endif
2698 #else
2699 typedef struct __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl {
2700 BEGIN_INTERFACE
2701
2702 /*** IUnknown methods ***/
2703 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2704 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2705 REFIID riid,
2706 void **ppvObject);
2707
2708 ULONG (STDMETHODCALLTYPE *AddRef)(
2709 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This);
2710
2711 ULONG (STDMETHODCALLTYPE *Release)(
2712 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This);
2713
2714 /*** IInspectable methods ***/
2715 HRESULT (STDMETHODCALLTYPE *GetIids)(
2716 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2717 ULONG *iidCount,
2718 IID **iids);
2719
2720 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2721 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2722 HSTRING *className);
2723
2724 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2725 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2726 TrustLevel *trustLevel);
2727
2728 /*** IVectorView<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2729 HRESULT (STDMETHODCALLTYPE *GetAt)(
2730 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2731 UINT32 index,
2732 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **value);
2733
2734 HRESULT (STDMETHODCALLTYPE *get_Size)(
2735 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2736 UINT32 *value);
2737
2738 HRESULT (STDMETHODCALLTYPE *IndexOf)(
2739 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2740 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *element,
2741 UINT32 *index,
2742 BOOLEAN *value);
2743
2744 HRESULT (STDMETHODCALLTYPE *GetMany)(
2745 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2746 UINT32 start_index,
2747 UINT32 items_size,
2748 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **items,
2749 UINT32 *value);
2750
2751 END_INTERFACE
2752 } __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl;
2753
2754 interface __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor {
2755 CONST_VTBL __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl* lpVtbl;
2756 };
2757
2758 #ifdef COBJMACROS
2759 #ifndef WIDL_C_INLINE_WRAPPERS
2760 /*** IUnknown methods ***/
2761 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2762 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef(This) (This)->lpVtbl->AddRef(This)
2763 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release(This) (This)->lpVtbl->Release(This)
2764 /*** IInspectable methods ***/
2765 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2766 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2767 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2768 /*** IVectorView<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2769 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
2770 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
2771 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
2772 #define __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
2773 #else
2774 /*** IUnknown methods ***/
2775 static inline HRESULT __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,REFIID riid,void **ppvObject) {
2776 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2777 }
2778 static inline ULONG __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This) {
2779 return This->lpVtbl->AddRef(This);
2780 }
2781 static inline ULONG __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This) {
2782 return This->lpVtbl->Release(This);
2783 }
2784 /*** IInspectable methods ***/
2785 static inline HRESULT __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,ULONG *iidCount,IID **iids) {
2786 return This->lpVtbl->GetIids(This,iidCount,iids);
2787 }
2788 static inline HRESULT __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,HSTRING *className) {
2789 return This->lpVtbl->GetRuntimeClassName(This,className);
2790 }
2791 static inline HRESULT __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,TrustLevel *trustLevel) {
2792 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2793 }
2794 /*** IVectorView<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2795 static inline HRESULT __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetAt(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **value) {
2796 return This->lpVtbl->GetAt(This,index,value);
2797 }
2798 static inline HRESULT __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_Size(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 *value) {
2799 return This->lpVtbl->get_Size(This,value);
2800 }
2801 static inline HRESULT __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_IndexOf(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *element,UINT32 *index,BOOLEAN *value) {
2802 return This->lpVtbl->IndexOf(This,element,index,value);
2803 }
2804 static inline HRESULT __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetMany(__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **items,UINT32 *value) {
2805 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
2806 }
2807 #endif
2808 #ifdef WIDL_using_Windows_Foundation_Collections
2809 #define IID_IVectorView_ForceFeedbackMotor IID___FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor
2810 #define IVectorView_ForceFeedbackMotorVtbl __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl
2811 #define IVectorView_ForceFeedbackMotor __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor
2812 #define IVectorView_ForceFeedbackMotor_QueryInterface __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface
2813 #define IVectorView_ForceFeedbackMotor_AddRef __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef
2814 #define IVectorView_ForceFeedbackMotor_Release __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release
2815 #define IVectorView_ForceFeedbackMotor_GetIids __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids
2816 #define IVectorView_ForceFeedbackMotor_GetRuntimeClassName __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName
2817 #define IVectorView_ForceFeedbackMotor_GetTrustLevel __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel
2818 #define IVectorView_ForceFeedbackMotor_GetAt __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetAt
2819 #define IVectorView_ForceFeedbackMotor_get_Size __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_Size
2820 #define IVectorView_ForceFeedbackMotor_IndexOf __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_IndexOf
2821 #define IVectorView_ForceFeedbackMotor_GetMany __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetMany
2822 #endif /* WIDL_using_Windows_Foundation_Collections */
2823 #endif
2824
2825 #endif
2826
2827 #endif /* ____FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__ */
2828
2829 /*****************************************************************************
2830 * IVector<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > interface
2831 */
2832 #ifndef ____FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__
2833 #define ____FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__
2834
2835 DEFINE_GUID(IID___FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor, 0xb695f739, 0x4ebe, 0x5fd0, 0xa1,0xff, 0x5b,0xa3,0x23,0xb1,0x63,0x55);
2836 #if defined(__cplusplus) && !defined(CINTERFACE)
2837 } /* extern "C" */
2838 namespace ABI {
2839 namespace Windows {
2840 namespace Foundation {
2841 namespace Collections {
2842 template<>
2843 MIDL_INTERFACE("b695f739-4ebe-5fd0-a1ff-5ba323b16355")
2844 IVector<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > : IVector_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor*, ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor* > >
2845 {
2846 };
2847 }
2848 }
2849 }
2850 }
2851 extern "C" {
2852 #ifdef __CRT_UUID_DECL
2853 __CRT_UUID_DECL(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor, 0xb695f739, 0x4ebe, 0x5fd0, 0xa1,0xff, 0x5b,0xa3,0x23,0xb1,0x63,0x55)
2854 #endif
2855 #else
2856 typedef struct __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl {
2857 BEGIN_INTERFACE
2858
2859 /*** IUnknown methods ***/
2860 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2861 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2862 REFIID riid,
2863 void **ppvObject);
2864
2865 ULONG (STDMETHODCALLTYPE *AddRef)(
2866 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This);
2867
2868 ULONG (STDMETHODCALLTYPE *Release)(
2869 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This);
2870
2871 /*** IInspectable methods ***/
2872 HRESULT (STDMETHODCALLTYPE *GetIids)(
2873 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2874 ULONG *iidCount,
2875 IID **iids);
2876
2877 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2878 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2879 HSTRING *className);
2880
2881 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2882 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2883 TrustLevel *trustLevel);
2884
2885 /*** IVector<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2886 HRESULT (STDMETHODCALLTYPE *GetAt)(
2887 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2888 UINT32 index,
2889 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **value);
2890
2891 HRESULT (STDMETHODCALLTYPE *get_Size)(
2892 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2893 UINT32 *value);
2894
2895 HRESULT (STDMETHODCALLTYPE *GetView)(
2896 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2897 __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor **value);
2898
2899 HRESULT (STDMETHODCALLTYPE *IndexOf)(
2900 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2901 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *element,
2902 UINT32 *index,
2903 BOOLEAN *value);
2904
2905 HRESULT (STDMETHODCALLTYPE *SetAt)(
2906 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2907 UINT32 index,
2908 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *value);
2909
2910 HRESULT (STDMETHODCALLTYPE *InsertAt)(
2911 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2912 UINT32 index,
2913 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *value);
2914
2915 HRESULT (STDMETHODCALLTYPE *RemoveAt)(
2916 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2917 UINT32 index);
2918
2919 HRESULT (STDMETHODCALLTYPE *Append)(
2920 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2921 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *value);
2922
2923 HRESULT (STDMETHODCALLTYPE *RemoveAtEnd)(
2924 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This);
2925
2926 HRESULT (STDMETHODCALLTYPE *Clear)(
2927 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This);
2928
2929 HRESULT (STDMETHODCALLTYPE *GetMany)(
2930 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2931 UINT32 start_index,
2932 UINT32 items_size,
2933 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **items,
2934 UINT32 *value);
2935
2936 HRESULT (STDMETHODCALLTYPE *ReplaceAll)(
2937 __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor *This,
2938 UINT32 count,
2939 __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **items);
2940
2941 END_INTERFACE
2942 } __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl;
2943
2944 interface __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor {
2945 CONST_VTBL __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl* lpVtbl;
2946 };
2947
2948 #ifdef COBJMACROS
2949 #ifndef WIDL_C_INLINE_WRAPPERS
2950 /*** IUnknown methods ***/
2951 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2952 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef(This) (This)->lpVtbl->AddRef(This)
2953 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release(This) (This)->lpVtbl->Release(This)
2954 /*** IInspectable methods ***/
2955 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2956 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2957 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2958 /*** IVector<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2959 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
2960 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
2961 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetView(This,value) (This)->lpVtbl->GetView(This,value)
2962 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
2963 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_SetAt(This,index,value) (This)->lpVtbl->SetAt(This,index,value)
2964 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_InsertAt(This,index,value) (This)->lpVtbl->InsertAt(This,index,value)
2965 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
2966 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Append(This,value) (This)->lpVtbl->Append(This,value)
2967 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_RemoveAtEnd(This) (This)->lpVtbl->RemoveAtEnd(This)
2968 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Clear(This) (This)->lpVtbl->Clear(This)
2969 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
2970 #define __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_ReplaceAll(This,count,items) (This)->lpVtbl->ReplaceAll(This,count,items)
2971 #else
2972 /*** IUnknown methods ***/
2973 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,REFIID riid,void **ppvObject) {
2974 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2975 }
2976 static inline ULONG __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This) {
2977 return This->lpVtbl->AddRef(This);
2978 }
2979 static inline ULONG __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This) {
2980 return This->lpVtbl->Release(This);
2981 }
2982 /*** IInspectable methods ***/
2983 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,ULONG *iidCount,IID **iids) {
2984 return This->lpVtbl->GetIids(This,iidCount,iids);
2985 }
2986 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,HSTRING *className) {
2987 return This->lpVtbl->GetRuntimeClassName(This,className);
2988 }
2989 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,TrustLevel *trustLevel) {
2990 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2991 }
2992 /*** IVector<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > methods ***/
2993 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetAt(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **value) {
2994 return This->lpVtbl->GetAt(This,index,value);
2995 }
2996 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_Size(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 *value) {
2997 return This->lpVtbl->get_Size(This,value);
2998 }
2999 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetView(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor **value) {
3000 return This->lpVtbl->GetView(This,value);
3001 }
3002 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_IndexOf(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *element,UINT32 *index,BOOLEAN *value) {
3003 return This->lpVtbl->IndexOf(This,element,index,value);
3004 }
3005 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_SetAt(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *value) {
3006 return This->lpVtbl->SetAt(This,index,value);
3007 }
3008 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_InsertAt(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *value) {
3009 return This->lpVtbl->InsertAt(This,index,value);
3010 }
3011 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_RemoveAt(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 index) {
3012 return This->lpVtbl->RemoveAt(This,index);
3013 }
3014 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Append(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor *value) {
3015 return This->lpVtbl->Append(This,value);
3016 }
3017 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_RemoveAtEnd(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This) {
3018 return This->lpVtbl->RemoveAtEnd(This);
3019 }
3020 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Clear(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This) {
3021 return This->lpVtbl->Clear(This);
3022 }
3023 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetMany(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **items,UINT32 *value) {
3024 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
3025 }
3026 static inline HRESULT __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_ReplaceAll(__FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor* This,UINT32 count,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **items) {
3027 return This->lpVtbl->ReplaceAll(This,count,items);
3028 }
3029 #endif
3030 #ifdef WIDL_using_Windows_Foundation_Collections
3031 #define IID_IVector_ForceFeedbackMotor IID___FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor
3032 #define IVector_ForceFeedbackMotorVtbl __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotorVtbl
3033 #define IVector_ForceFeedbackMotor __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor
3034 #define IVector_ForceFeedbackMotor_QueryInterface __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_QueryInterface
3035 #define IVector_ForceFeedbackMotor_AddRef __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_AddRef
3036 #define IVector_ForceFeedbackMotor_Release __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Release
3037 #define IVector_ForceFeedbackMotor_GetIids __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetIids
3038 #define IVector_ForceFeedbackMotor_GetRuntimeClassName __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetRuntimeClassName
3039 #define IVector_ForceFeedbackMotor_GetTrustLevel __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetTrustLevel
3040 #define IVector_ForceFeedbackMotor_GetAt __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetAt
3041 #define IVector_ForceFeedbackMotor_get_Size __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_get_Size
3042 #define IVector_ForceFeedbackMotor_GetView __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetView
3043 #define IVector_ForceFeedbackMotor_IndexOf __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_IndexOf
3044 #define IVector_ForceFeedbackMotor_SetAt __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_SetAt
3045 #define IVector_ForceFeedbackMotor_InsertAt __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_InsertAt
3046 #define IVector_ForceFeedbackMotor_RemoveAt __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_RemoveAt
3047 #define IVector_ForceFeedbackMotor_Append __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Append
3048 #define IVector_ForceFeedbackMotor_RemoveAtEnd __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_RemoveAtEnd
3049 #define IVector_ForceFeedbackMotor_Clear __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_Clear
3050 #define IVector_ForceFeedbackMotor_GetMany __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_GetMany
3051 #define IVector_ForceFeedbackMotor_ReplaceAll __FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_ReplaceAll
3052 #endif /* WIDL_using_Windows_Foundation_Collections */
3053 #endif
3054
3055 #endif
3056
3057 #endif /* ____FIVector_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor_INTERFACE_DEFINED__ */
3058
3059 /* Begin additional prototypes for all interfaces */
3060
3061
3062 /* End additional prototypes */
3063
3064 #ifdef __cplusplus
3065 }
3066 #endif
3067
3068 #endif /* __windows_gaming_input_forcefeedback_h__ */