Debian Codegraph @

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

raw
1 /*** Autogenerated by WIDL 11.5 from include/windows.devices.usb.idl - Do not edit ***/
2
3 #ifdef _WIN32
4 #ifndef __REQUIRED_RPCNDR_H_VERSION__
5 #define __REQUIRED_RPCNDR_H_VERSION__ 475
6 #endif
7 #include <rpc.h>
8 #include <rpcndr.h>
9 #endif
10
11 #ifndef COM_NO_WINDOWS_H
12 #include <windows.h>
13 #include <ole2.h>
14 #endif
15
16 #ifndef __windows_devices_usb_h__
17 #define __windows_devices_usb_h__
18
19 /* Forward declarations */
20
21 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_FWD_DEFINED__
22 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_FWD_DEFINED__
23 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor;
24 #ifdef __cplusplus
25 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor ABI::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor
26 namespace ABI {
27 namespace Windows {
28 namespace Devices {
29 namespace Usb {
30 interface IUsbBulkInEndpointDescriptor;
31 }
32 }
33 }
34 }
35 #endif /* __cplusplus */
36 #endif
37
38 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_FWD_DEFINED__
39 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_FWD_DEFINED__
40 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe;
41 #ifdef __cplusplus
42 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe ABI::Windows::Devices::Usb::IUsbBulkInPipe
43 namespace ABI {
44 namespace Windows {
45 namespace Devices {
46 namespace Usb {
47 interface IUsbBulkInPipe;
48 }
49 }
50 }
51 }
52 #endif /* __cplusplus */
53 #endif
54
55 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_FWD_DEFINED__
56 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_FWD_DEFINED__
57 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor;
58 #ifdef __cplusplus
59 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor ABI::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor
60 namespace ABI {
61 namespace Windows {
62 namespace Devices {
63 namespace Usb {
64 interface IUsbBulkOutEndpointDescriptor;
65 }
66 }
67 }
68 }
69 #endif /* __cplusplus */
70 #endif
71
72 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_FWD_DEFINED__
73 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_FWD_DEFINED__
74 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe;
75 #ifdef __cplusplus
76 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe ABI::Windows::Devices::Usb::IUsbBulkOutPipe
77 namespace ABI {
78 namespace Windows {
79 namespace Devices {
80 namespace Usb {
81 interface IUsbBulkOutPipe;
82 }
83 }
84 }
85 }
86 #endif /* __cplusplus */
87 #endif
88
89 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_FWD_DEFINED__
90 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_FWD_DEFINED__
91 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration;
92 #ifdef __cplusplus
93 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration ABI::Windows::Devices::Usb::IUsbConfiguration
94 namespace ABI {
95 namespace Windows {
96 namespace Devices {
97 namespace Usb {
98 interface IUsbConfiguration;
99 }
100 }
101 }
102 }
103 #endif /* __cplusplus */
104 #endif
105
106 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_FWD_DEFINED__
107 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_FWD_DEFINED__
108 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor;
109 #ifdef __cplusplus
110 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor ABI::Windows::Devices::Usb::IUsbConfigurationDescriptor
111 namespace ABI {
112 namespace Windows {
113 namespace Devices {
114 namespace Usb {
115 interface IUsbConfigurationDescriptor;
116 }
117 }
118 }
119 }
120 #endif /* __cplusplus */
121 #endif
122
123 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_FWD_DEFINED__
124 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_FWD_DEFINED__
125 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics;
126 #ifdef __cplusplus
127 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics ABI::Windows::Devices::Usb::IUsbConfigurationDescriptorStatics
128 namespace ABI {
129 namespace Windows {
130 namespace Devices {
131 namespace Usb {
132 interface IUsbConfigurationDescriptorStatics;
133 }
134 }
135 }
136 }
137 #endif /* __cplusplus */
138 #endif
139
140 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_FWD_DEFINED__
141 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_FWD_DEFINED__
142 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType;
143 #ifdef __cplusplus
144 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType ABI::Windows::Devices::Usb::IUsbControlRequestType
145 namespace ABI {
146 namespace Windows {
147 namespace Devices {
148 namespace Usb {
149 interface IUsbControlRequestType;
150 }
151 }
152 }
153 }
154 #endif /* __cplusplus */
155 #endif
156
157 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_FWD_DEFINED__
158 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_FWD_DEFINED__
159 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor;
160 #ifdef __cplusplus
161 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor ABI::Windows::Devices::Usb::IUsbDescriptor
162 namespace ABI {
163 namespace Windows {
164 namespace Devices {
165 namespace Usb {
166 interface IUsbDescriptor;
167 }
168 }
169 }
170 }
171 #endif /* __cplusplus */
172 #endif
173
174 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_FWD_DEFINED__
175 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_FWD_DEFINED__
176 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice;
177 #ifdef __cplusplus
178 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice ABI::Windows::Devices::Usb::IUsbDevice
179 namespace ABI {
180 namespace Windows {
181 namespace Devices {
182 namespace Usb {
183 interface IUsbDevice;
184 }
185 }
186 }
187 }
188 #endif /* __cplusplus */
189 #endif
190
191 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_FWD_DEFINED__
192 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_FWD_DEFINED__
193 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass;
194 #ifdef __cplusplus
195 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass ABI::Windows::Devices::Usb::IUsbDeviceClass
196 namespace ABI {
197 namespace Windows {
198 namespace Devices {
199 namespace Usb {
200 interface IUsbDeviceClass;
201 }
202 }
203 }
204 }
205 #endif /* __cplusplus */
206 #endif
207
208 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_FWD_DEFINED__
209 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_FWD_DEFINED__
210 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor;
211 #ifdef __cplusplus
212 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor ABI::Windows::Devices::Usb::IUsbDeviceDescriptor
213 namespace ABI {
214 namespace Windows {
215 namespace Devices {
216 namespace Usb {
217 interface IUsbDeviceDescriptor;
218 }
219 }
220 }
221 }
222 #endif /* __cplusplus */
223 #endif
224
225 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_FWD_DEFINED__
226 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_FWD_DEFINED__
227 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics;
228 #ifdef __cplusplus
229 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics ABI::Windows::Devices::Usb::IUsbDeviceStatics
230 namespace ABI {
231 namespace Windows {
232 namespace Devices {
233 namespace Usb {
234 interface IUsbDeviceStatics;
235 }
236 }
237 }
238 }
239 #endif /* __cplusplus */
240 #endif
241
242 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_FWD_DEFINED__
243 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_FWD_DEFINED__
244 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface;
245 #ifdef __cplusplus
246 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface ABI::Windows::Devices::Usb::IUsbInterface
247 namespace ABI {
248 namespace Windows {
249 namespace Devices {
250 namespace Usb {
251 interface IUsbInterface;
252 }
253 }
254 }
255 }
256 #endif /* __cplusplus */
257 #endif
258
259 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_FWD_DEFINED__
260 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_FWD_DEFINED__
261 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor;
262 #ifdef __cplusplus
263 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor ABI::Windows::Devices::Usb::IUsbInterfaceDescriptor
264 namespace ABI {
265 namespace Windows {
266 namespace Devices {
267 namespace Usb {
268 interface IUsbInterfaceDescriptor;
269 }
270 }
271 }
272 }
273 #endif /* __cplusplus */
274 #endif
275
276 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_FWD_DEFINED__
277 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_FWD_DEFINED__
278 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics;
279 #ifdef __cplusplus
280 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics ABI::Windows::Devices::Usb::IUsbInterfaceDescriptorStatics
281 namespace ABI {
282 namespace Windows {
283 namespace Devices {
284 namespace Usb {
285 interface IUsbInterfaceDescriptorStatics;
286 }
287 }
288 }
289 }
290 #endif /* __cplusplus */
291 #endif
292
293 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_FWD_DEFINED__
294 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_FWD_DEFINED__
295 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting;
296 #ifdef __cplusplus
297 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting ABI::Windows::Devices::Usb::IUsbInterfaceSetting
298 namespace ABI {
299 namespace Windows {
300 namespace Devices {
301 namespace Usb {
302 interface IUsbInterfaceSetting;
303 }
304 }
305 }
306 }
307 #endif /* __cplusplus */
308 #endif
309
310 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_FWD_DEFINED__
311 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_FWD_DEFINED__
312 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor;
313 #ifdef __cplusplus
314 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor ABI::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor
315 namespace ABI {
316 namespace Windows {
317 namespace Devices {
318 namespace Usb {
319 interface IUsbInterruptInEndpointDescriptor;
320 }
321 }
322 }
323 }
324 #endif /* __cplusplus */
325 #endif
326
327 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_FWD_DEFINED__
328 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_FWD_DEFINED__
329 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs;
330 #ifdef __cplusplus
331 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs ABI::Windows::Devices::Usb::IUsbInterruptInEventArgs
332 namespace ABI {
333 namespace Windows {
334 namespace Devices {
335 namespace Usb {
336 interface IUsbInterruptInEventArgs;
337 }
338 }
339 }
340 }
341 #endif /* __cplusplus */
342 #endif
343
344 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_FWD_DEFINED__
345 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_FWD_DEFINED__
346 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe;
347 #ifdef __cplusplus
348 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe ABI::Windows::Devices::Usb::IUsbInterruptInPipe
349 namespace ABI {
350 namespace Windows {
351 namespace Devices {
352 namespace Usb {
353 interface IUsbInterruptInPipe;
354 }
355 }
356 }
357 }
358 #endif /* __cplusplus */
359 #endif
360
361 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_FWD_DEFINED__
362 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_FWD_DEFINED__
363 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor;
364 #ifdef __cplusplus
365 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor ABI::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor
366 namespace ABI {
367 namespace Windows {
368 namespace Devices {
369 namespace Usb {
370 interface IUsbInterruptOutEndpointDescriptor;
371 }
372 }
373 }
374 }
375 #endif /* __cplusplus */
376 #endif
377
378 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_FWD_DEFINED__
379 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_FWD_DEFINED__
380 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe;
381 #ifdef __cplusplus
382 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe ABI::Windows::Devices::Usb::IUsbInterruptOutPipe
383 namespace ABI {
384 namespace Windows {
385 namespace Devices {
386 namespace Usb {
387 interface IUsbInterruptOutPipe;
388 }
389 }
390 }
391 }
392 #endif /* __cplusplus */
393 #endif
394
395 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_FWD_DEFINED__
396 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_FWD_DEFINED__
397 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket;
398 #ifdef __cplusplus
399 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket ABI::Windows::Devices::Usb::IUsbSetupPacket
400 namespace ABI {
401 namespace Windows {
402 namespace Devices {
403 namespace Usb {
404 interface IUsbSetupPacket;
405 }
406 }
407 }
408 }
409 #endif /* __cplusplus */
410 #endif
411
412 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkInEndpointDescriptor_FWD_DEFINED__
413 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkInEndpointDescriptor_FWD_DEFINED__
414 #ifdef __cplusplus
415 namespace ABI {
416 namespace Windows {
417 namespace Devices {
418 namespace Usb {
419 class UsbBulkInEndpointDescriptor;
420 }
421 }
422 }
423 }
424 #else
425 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbBulkInEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CUsbBulkInEndpointDescriptor;
426 #endif /* defined __cplusplus */
427 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkInEndpointDescriptor_FWD_DEFINED__ */
428
429 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkInPipe_FWD_DEFINED__
430 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkInPipe_FWD_DEFINED__
431 #ifdef __cplusplus
432 namespace ABI {
433 namespace Windows {
434 namespace Devices {
435 namespace Usb {
436 class UsbBulkInPipe;
437 }
438 }
439 }
440 }
441 #else
442 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbBulkInPipe __x_ABI_CWindows_CDevices_CUsb_CUsbBulkInPipe;
443 #endif /* defined __cplusplus */
444 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkInPipe_FWD_DEFINED__ */
445
446 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkOutEndpointDescriptor_FWD_DEFINED__
447 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkOutEndpointDescriptor_FWD_DEFINED__
448 #ifdef __cplusplus
449 namespace ABI {
450 namespace Windows {
451 namespace Devices {
452 namespace Usb {
453 class UsbBulkOutEndpointDescriptor;
454 }
455 }
456 }
457 }
458 #else
459 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbBulkOutEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CUsbBulkOutEndpointDescriptor;
460 #endif /* defined __cplusplus */
461 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkOutEndpointDescriptor_FWD_DEFINED__ */
462
463 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkOutPipe_FWD_DEFINED__
464 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkOutPipe_FWD_DEFINED__
465 #ifdef __cplusplus
466 namespace ABI {
467 namespace Windows {
468 namespace Devices {
469 namespace Usb {
470 class UsbBulkOutPipe;
471 }
472 }
473 }
474 }
475 #else
476 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbBulkOutPipe __x_ABI_CWindows_CDevices_CUsb_CUsbBulkOutPipe;
477 #endif /* defined __cplusplus */
478 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbBulkOutPipe_FWD_DEFINED__ */
479
480 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbConfiguration_FWD_DEFINED__
481 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbConfiguration_FWD_DEFINED__
482 #ifdef __cplusplus
483 namespace ABI {
484 namespace Windows {
485 namespace Devices {
486 namespace Usb {
487 class UsbConfiguration;
488 }
489 }
490 }
491 }
492 #else
493 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbConfiguration __x_ABI_CWindows_CDevices_CUsb_CUsbConfiguration;
494 #endif /* defined __cplusplus */
495 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbConfiguration_FWD_DEFINED__ */
496
497 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbConfigurationDescriptor_FWD_DEFINED__
498 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbConfigurationDescriptor_FWD_DEFINED__
499 #ifdef __cplusplus
500 namespace ABI {
501 namespace Windows {
502 namespace Devices {
503 namespace Usb {
504 class UsbConfigurationDescriptor;
505 }
506 }
507 }
508 }
509 #else
510 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbConfigurationDescriptor __x_ABI_CWindows_CDevices_CUsb_CUsbConfigurationDescriptor;
511 #endif /* defined __cplusplus */
512 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbConfigurationDescriptor_FWD_DEFINED__ */
513
514 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbControlRequestType_FWD_DEFINED__
515 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbControlRequestType_FWD_DEFINED__
516 #ifdef __cplusplus
517 namespace ABI {
518 namespace Windows {
519 namespace Devices {
520 namespace Usb {
521 class UsbControlRequestType;
522 }
523 }
524 }
525 }
526 #else
527 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbControlRequestType __x_ABI_CWindows_CDevices_CUsb_CUsbControlRequestType;
528 #endif /* defined __cplusplus */
529 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbControlRequestType_FWD_DEFINED__ */
530
531 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbDescriptor_FWD_DEFINED__
532 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbDescriptor_FWD_DEFINED__
533 #ifdef __cplusplus
534 namespace ABI {
535 namespace Windows {
536 namespace Devices {
537 namespace Usb {
538 class UsbDescriptor;
539 }
540 }
541 }
542 }
543 #else
544 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbDescriptor __x_ABI_CWindows_CDevices_CUsb_CUsbDescriptor;
545 #endif /* defined __cplusplus */
546 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbDescriptor_FWD_DEFINED__ */
547
548 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbDevice_FWD_DEFINED__
549 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbDevice_FWD_DEFINED__
550 #ifdef __cplusplus
551 namespace ABI {
552 namespace Windows {
553 namespace Devices {
554 namespace Usb {
555 class UsbDevice;
556 }
557 }
558 }
559 }
560 #else
561 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbDevice __x_ABI_CWindows_CDevices_CUsb_CUsbDevice;
562 #endif /* defined __cplusplus */
563 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbDevice_FWD_DEFINED__ */
564
565 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbDeviceClass_FWD_DEFINED__
566 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbDeviceClass_FWD_DEFINED__
567 #ifdef __cplusplus
568 namespace ABI {
569 namespace Windows {
570 namespace Devices {
571 namespace Usb {
572 class UsbDeviceClass;
573 }
574 }
575 }
576 }
577 #else
578 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbDeviceClass __x_ABI_CWindows_CDevices_CUsb_CUsbDeviceClass;
579 #endif /* defined __cplusplus */
580 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbDeviceClass_FWD_DEFINED__ */
581
582 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbDeviceDescriptor_FWD_DEFINED__
583 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbDeviceDescriptor_FWD_DEFINED__
584 #ifdef __cplusplus
585 namespace ABI {
586 namespace Windows {
587 namespace Devices {
588 namespace Usb {
589 class UsbDeviceDescriptor;
590 }
591 }
592 }
593 }
594 #else
595 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbDeviceDescriptor __x_ABI_CWindows_CDevices_CUsb_CUsbDeviceDescriptor;
596 #endif /* defined __cplusplus */
597 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbDeviceDescriptor_FWD_DEFINED__ */
598
599 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbInterface_FWD_DEFINED__
600 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbInterface_FWD_DEFINED__
601 #ifdef __cplusplus
602 namespace ABI {
603 namespace Windows {
604 namespace Devices {
605 namespace Usb {
606 class UsbInterface;
607 }
608 }
609 }
610 }
611 #else
612 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbInterface __x_ABI_CWindows_CDevices_CUsb_CUsbInterface;
613 #endif /* defined __cplusplus */
614 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbInterface_FWD_DEFINED__ */
615
616 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbInterfaceDescriptor_FWD_DEFINED__
617 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbInterfaceDescriptor_FWD_DEFINED__
618 #ifdef __cplusplus
619 namespace ABI {
620 namespace Windows {
621 namespace Devices {
622 namespace Usb {
623 class UsbInterfaceDescriptor;
624 }
625 }
626 }
627 }
628 #else
629 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbInterfaceDescriptor __x_ABI_CWindows_CDevices_CUsb_CUsbInterfaceDescriptor;
630 #endif /* defined __cplusplus */
631 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbInterfaceDescriptor_FWD_DEFINED__ */
632
633 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbInterfaceSetting_FWD_DEFINED__
634 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbInterfaceSetting_FWD_DEFINED__
635 #ifdef __cplusplus
636 namespace ABI {
637 namespace Windows {
638 namespace Devices {
639 namespace Usb {
640 class UsbInterfaceSetting;
641 }
642 }
643 }
644 }
645 #else
646 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbInterfaceSetting __x_ABI_CWindows_CDevices_CUsb_CUsbInterfaceSetting;
647 #endif /* defined __cplusplus */
648 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbInterfaceSetting_FWD_DEFINED__ */
649
650 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInEventArgs_FWD_DEFINED__
651 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInEventArgs_FWD_DEFINED__
652 #ifdef __cplusplus
653 namespace ABI {
654 namespace Windows {
655 namespace Devices {
656 namespace Usb {
657 class UsbInterruptInEventArgs;
658 }
659 }
660 }
661 }
662 #else
663 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInEventArgs __x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInEventArgs;
664 #endif /* defined __cplusplus */
665 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInEventArgs_FWD_DEFINED__ */
666
667 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInEndpointDescriptor_FWD_DEFINED__
668 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInEndpointDescriptor_FWD_DEFINED__
669 #ifdef __cplusplus
670 namespace ABI {
671 namespace Windows {
672 namespace Devices {
673 namespace Usb {
674 class UsbInterruptInEndpointDescriptor;
675 }
676 }
677 }
678 }
679 #else
680 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInEndpointDescriptor;
681 #endif /* defined __cplusplus */
682 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInEndpointDescriptor_FWD_DEFINED__ */
683
684 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInPipe_FWD_DEFINED__
685 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInPipe_FWD_DEFINED__
686 #ifdef __cplusplus
687 namespace ABI {
688 namespace Windows {
689 namespace Devices {
690 namespace Usb {
691 class UsbInterruptInPipe;
692 }
693 }
694 }
695 }
696 #else
697 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInPipe __x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInPipe;
698 #endif /* defined __cplusplus */
699 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptInPipe_FWD_DEFINED__ */
700
701 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptOutEndpointDescriptor_FWD_DEFINED__
702 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptOutEndpointDescriptor_FWD_DEFINED__
703 #ifdef __cplusplus
704 namespace ABI {
705 namespace Windows {
706 namespace Devices {
707 namespace Usb {
708 class UsbInterruptOutEndpointDescriptor;
709 }
710 }
711 }
712 }
713 #else
714 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbInterruptOutEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CUsbInterruptOutEndpointDescriptor;
715 #endif /* defined __cplusplus */
716 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptOutEndpointDescriptor_FWD_DEFINED__ */
717
718 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptOutPipe_FWD_DEFINED__
719 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptOutPipe_FWD_DEFINED__
720 #ifdef __cplusplus
721 namespace ABI {
722 namespace Windows {
723 namespace Devices {
724 namespace Usb {
725 class UsbInterruptOutPipe;
726 }
727 }
728 }
729 }
730 #else
731 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbInterruptOutPipe __x_ABI_CWindows_CDevices_CUsb_CUsbInterruptOutPipe;
732 #endif /* defined __cplusplus */
733 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbInterruptOutPipe_FWD_DEFINED__ */
734
735 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbSetupPacket_FWD_DEFINED__
736 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbSetupPacket_FWD_DEFINED__
737 #ifdef __cplusplus
738 namespace ABI {
739 namespace Windows {
740 namespace Devices {
741 namespace Usb {
742 class UsbSetupPacket;
743 }
744 }
745 }
746 }
747 #else
748 typedef struct __x_ABI_CWindows_CDevices_CUsb_CUsbSetupPacket __x_ABI_CWindows_CDevices_CUsb_CUsbSetupPacket;
749 #endif /* defined __cplusplus */
750 #endif /* defined ____x_ABI_CWindows_CDevices_CUsb_CUsbSetupPacket_FWD_DEFINED__ */
751
752 #ifndef ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_FWD_DEFINED__
753 #define ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_FWD_DEFINED__
754 typedef interface __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice;
755 #ifdef __cplusplus
756 #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice ABI::Windows::Foundation::IAsyncOperationCompletedHandler<ABI::Windows::Devices::Usb::UsbDevice* >
757 #endif /* __cplusplus */
758 #endif
759
760 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_FWD_DEFINED__
761 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_FWD_DEFINED__
762 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor;
763 #ifdef __cplusplus
764 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkInEndpointDescriptor* >
765 #endif /* __cplusplus */
766 #endif
767
768 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_FWD_DEFINED__
769 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_FWD_DEFINED__
770 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe;
771 #ifdef __cplusplus
772 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkInPipe* >
773 #endif /* __cplusplus */
774 #endif
775
776 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_FWD_DEFINED__
777 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_FWD_DEFINED__
778 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor;
779 #ifdef __cplusplus
780 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor* >
781 #endif /* __cplusplus */
782 #endif
783
784 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_FWD_DEFINED__
785 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_FWD_DEFINED__
786 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe;
787 #ifdef __cplusplus
788 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutPipe* >
789 #endif /* __cplusplus */
790 #endif
791
792 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_FWD_DEFINED__
793 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_FWD_DEFINED__
794 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor;
795 #ifdef __cplusplus
796 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbDescriptor* >
797 #endif /* __cplusplus */
798 #endif
799
800 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_FWD_DEFINED__
801 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_FWD_DEFINED__
802 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface;
803 #ifdef __cplusplus
804 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterface* >
805 #endif /* __cplusplus */
806 #endif
807
808 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_FWD_DEFINED__
809 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_FWD_DEFINED__
810 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting;
811 #ifdef __cplusplus
812 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterfaceSetting* >
813 #endif /* __cplusplus */
814 #endif
815
816 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_FWD_DEFINED__
817 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_FWD_DEFINED__
818 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor;
819 #ifdef __cplusplus
820 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor* >
821 #endif /* __cplusplus */
822 #endif
823
824 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_FWD_DEFINED__
825 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_FWD_DEFINED__
826 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe;
827 #ifdef __cplusplus
828 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInPipe* >
829 #endif /* __cplusplus */
830 #endif
831
832 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_FWD_DEFINED__
833 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_FWD_DEFINED__
834 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor;
835 #ifdef __cplusplus
836 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor* >
837 #endif /* __cplusplus */
838 #endif
839
840 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_FWD_DEFINED__
841 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_FWD_DEFINED__
842 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe;
843 #ifdef __cplusplus
844 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutPipe* >
845 #endif /* __cplusplus */
846 #endif
847
848 #ifndef ____FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_FWD_DEFINED__
849 #define ____FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_FWD_DEFINED__
850 typedef interface __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice;
851 #ifdef __cplusplus
852 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Usb::UsbDevice* >
853 #endif /* __cplusplus */
854 #endif
855
856 #ifndef ____FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_FWD_DEFINED__
857 #define ____FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_FWD_DEFINED__
858 typedef interface __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs;
859 #ifdef __cplusplus
860 #define __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Usb::UsbInterruptInPipe*,ABI::Windows::Devices::Usb::UsbInterruptInEventArgs* >
861 #endif /* __cplusplus */
862 #endif
863
864 /* Headers for imported files */
865
866 #include <inspectable.h>
867 #include <asyncinfo.h>
868 #include <eventtoken.h>
869 #include <windowscontracts.h>
870 #include <windows.foundation.h>
871 #include <windows.storage.streams.h>
872
873 #ifdef __cplusplus
874 extern "C" {
875 #endif
876
877 #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
878 #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000
879 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
880
881 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
882 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient_ENUM_DEFINED__
883 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient_ENUM_DEFINED__
884 #ifdef __cplusplus
885 } /* extern "C" */
886 namespace ABI {
887 namespace Windows {
888 namespace Devices {
889 namespace Usb {
890 enum UsbControlRecipient {
891 UsbControlRecipient_Device = 0,
892 UsbControlRecipient_SpecifiedInterface = 1,
893 UsbControlRecipient_Endpoint = 2,
894 UsbControlRecipient_Other = 3,
895 UsbControlRecipient_DefaultInterface = 4
896 };
897 }
898 }
899 }
900 }
901 extern "C" {
902 #else
903 enum __x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient {
904 UsbControlRecipient_Device = 0,
905 UsbControlRecipient_SpecifiedInterface = 1,
906 UsbControlRecipient_Endpoint = 2,
907 UsbControlRecipient_Other = 3,
908 UsbControlRecipient_DefaultInterface = 4
909 };
910 #ifdef WIDL_using_Windows_Devices_Usb
911 #define UsbControlRecipient __x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient
912 #endif /* WIDL_using_Windows_Devices_Usb */
913 #endif
914
915 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient_ENUM_DEFINED__ */
916 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
917 #ifndef __cplusplus
918 typedef enum __x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient __x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient;
919 #endif /* __cplusplus */
920
921 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
922 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType_ENUM_DEFINED__
923 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType_ENUM_DEFINED__
924 #ifdef __cplusplus
925 } /* extern "C" */
926 namespace ABI {
927 namespace Windows {
928 namespace Devices {
929 namespace Usb {
930 enum UsbControlTransferType {
931 UsbControlTransferType_Standard = 0,
932 UsbControlTransferType_Class = 1,
933 UsbControlTransferType_Vendor = 2
934 };
935 }
936 }
937 }
938 }
939 extern "C" {
940 #else
941 enum __x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType {
942 UsbControlTransferType_Standard = 0,
943 UsbControlTransferType_Class = 1,
944 UsbControlTransferType_Vendor = 2
945 };
946 #ifdef WIDL_using_Windows_Devices_Usb
947 #define UsbControlTransferType __x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType
948 #endif /* WIDL_using_Windows_Devices_Usb */
949 #endif
950
951 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType_ENUM_DEFINED__ */
952 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
953 #ifndef __cplusplus
954 typedef enum __x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType __x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType;
955 #endif /* __cplusplus */
956
957 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
958 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions_ENUM_DEFINED__
959 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions_ENUM_DEFINED__
960 #ifdef __cplusplus
961 } /* extern "C" */
962 namespace ABI {
963 namespace Windows {
964 namespace Devices {
965 namespace Usb {
966 enum UsbReadOptions {
967 UsbReadOptions_None = 0x0,
968 UsbReadOptions_AutoClearStall = 0x1,
969 UsbReadOptions_OverrideAutomaticBufferManagement = 0x2,
970 UsbReadOptions_IgnoreShortPacket = 0x4,
971 UsbReadOptions_AllowPartialReads = 0x8
972 };
973 }
974 }
975 }
976 }
977 extern "C" {
978 #else
979 enum __x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions {
980 UsbReadOptions_None = 0x0,
981 UsbReadOptions_AutoClearStall = 0x1,
982 UsbReadOptions_OverrideAutomaticBufferManagement = 0x2,
983 UsbReadOptions_IgnoreShortPacket = 0x4,
984 UsbReadOptions_AllowPartialReads = 0x8
985 };
986 #ifdef WIDL_using_Windows_Devices_Usb
987 #define UsbReadOptions __x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions
988 #endif /* WIDL_using_Windows_Devices_Usb */
989 #endif
990
991 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions_ENUM_DEFINED__ */
992 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
993 #ifndef __cplusplus
994 typedef enum __x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions __x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions;
995 #endif /* __cplusplus */
996
997 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
998 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection_ENUM_DEFINED__
999 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection_ENUM_DEFINED__
1000 #ifdef __cplusplus
1001 } /* extern "C" */
1002 namespace ABI {
1003 namespace Windows {
1004 namespace Devices {
1005 namespace Usb {
1006 enum UsbTransferDirection {
1007 UsbTransferDirection_Out = 0,
1008 UsbTransferDirection_In = 1
1009 };
1010 }
1011 }
1012 }
1013 }
1014 extern "C" {
1015 #else
1016 enum __x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection {
1017 UsbTransferDirection_Out = 0,
1018 UsbTransferDirection_In = 1
1019 };
1020 #ifdef WIDL_using_Windows_Devices_Usb
1021 #define UsbTransferDirection __x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection
1022 #endif /* WIDL_using_Windows_Devices_Usb */
1023 #endif
1024
1025 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection_ENUM_DEFINED__ */
1026 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1027 #ifndef __cplusplus
1028 typedef enum __x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection __x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection;
1029 #endif /* __cplusplus */
1030
1031 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
1032 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions_ENUM_DEFINED__
1033 #define ____x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions_ENUM_DEFINED__
1034 #ifdef __cplusplus
1035 } /* extern "C" */
1036 namespace ABI {
1037 namespace Windows {
1038 namespace Devices {
1039 namespace Usb {
1040 enum UsbWriteOptions {
1041 UsbWriteOptions_None = 0x0,
1042 UsbWriteOptions_AutoClearStall = 0x1,
1043 UsbWriteOptions_ShortPacketTerminate = 0x2
1044 };
1045 }
1046 }
1047 }
1048 }
1049 extern "C" {
1050 #else
1051 enum __x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions {
1052 UsbWriteOptions_None = 0x0,
1053 UsbWriteOptions_AutoClearStall = 0x1,
1054 UsbWriteOptions_ShortPacketTerminate = 0x2
1055 };
1056 #ifdef WIDL_using_Windows_Devices_Usb
1057 #define UsbWriteOptions __x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions
1058 #endif /* WIDL_using_Windows_Devices_Usb */
1059 #endif
1060
1061 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions_ENUM_DEFINED__ */
1062 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1063 #ifndef __cplusplus
1064 typedef enum __x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions __x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions;
1065 #endif /* __cplusplus */
1066
1067 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_FWD_DEFINED__
1068 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_FWD_DEFINED__
1069 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor;
1070 #ifdef __cplusplus
1071 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor ABI::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor
1072 namespace ABI {
1073 namespace Windows {
1074 namespace Devices {
1075 namespace Usb {
1076 interface IUsbBulkInEndpointDescriptor;
1077 }
1078 }
1079 }
1080 }
1081 #endif /* __cplusplus */
1082 #endif
1083
1084 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_FWD_DEFINED__
1085 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_FWD_DEFINED__
1086 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe;
1087 #ifdef __cplusplus
1088 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe ABI::Windows::Devices::Usb::IUsbBulkInPipe
1089 namespace ABI {
1090 namespace Windows {
1091 namespace Devices {
1092 namespace Usb {
1093 interface IUsbBulkInPipe;
1094 }
1095 }
1096 }
1097 }
1098 #endif /* __cplusplus */
1099 #endif
1100
1101 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_FWD_DEFINED__
1102 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_FWD_DEFINED__
1103 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice;
1104 #ifdef __cplusplus
1105 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice ABI::Windows::Devices::Usb::IUsbDevice
1106 namespace ABI {
1107 namespace Windows {
1108 namespace Devices {
1109 namespace Usb {
1110 interface IUsbDevice;
1111 }
1112 }
1113 }
1114 }
1115 #endif /* __cplusplus */
1116 #endif
1117
1118 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_FWD_DEFINED__
1119 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_FWD_DEFINED__
1120 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass;
1121 #ifdef __cplusplus
1122 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass ABI::Windows::Devices::Usb::IUsbDeviceClass
1123 namespace ABI {
1124 namespace Windows {
1125 namespace Devices {
1126 namespace Usb {
1127 interface IUsbDeviceClass;
1128 }
1129 }
1130 }
1131 }
1132 #endif /* __cplusplus */
1133 #endif
1134
1135 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_FWD_DEFINED__
1136 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_FWD_DEFINED__
1137 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration;
1138 #ifdef __cplusplus
1139 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration ABI::Windows::Devices::Usb::IUsbConfiguration
1140 namespace ABI {
1141 namespace Windows {
1142 namespace Devices {
1143 namespace Usb {
1144 interface IUsbConfiguration;
1145 }
1146 }
1147 }
1148 }
1149 #endif /* __cplusplus */
1150 #endif
1151
1152 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_FWD_DEFINED__
1153 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_FWD_DEFINED__
1154 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor;
1155 #ifdef __cplusplus
1156 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor ABI::Windows::Devices::Usb::IUsbConfigurationDescriptor
1157 namespace ABI {
1158 namespace Windows {
1159 namespace Devices {
1160 namespace Usb {
1161 interface IUsbConfigurationDescriptor;
1162 }
1163 }
1164 }
1165 }
1166 #endif /* __cplusplus */
1167 #endif
1168
1169 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_FWD_DEFINED__
1170 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_FWD_DEFINED__
1171 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics;
1172 #ifdef __cplusplus
1173 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics ABI::Windows::Devices::Usb::IUsbConfigurationDescriptorStatics
1174 namespace ABI {
1175 namespace Windows {
1176 namespace Devices {
1177 namespace Usb {
1178 interface IUsbConfigurationDescriptorStatics;
1179 }
1180 }
1181 }
1182 }
1183 #endif /* __cplusplus */
1184 #endif
1185
1186 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_FWD_DEFINED__
1187 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_FWD_DEFINED__
1188 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType;
1189 #ifdef __cplusplus
1190 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType ABI::Windows::Devices::Usb::IUsbControlRequestType
1191 namespace ABI {
1192 namespace Windows {
1193 namespace Devices {
1194 namespace Usb {
1195 interface IUsbControlRequestType;
1196 }
1197 }
1198 }
1199 }
1200 #endif /* __cplusplus */
1201 #endif
1202
1203 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_FWD_DEFINED__
1204 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_FWD_DEFINED__
1205 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor;
1206 #ifdef __cplusplus
1207 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor ABI::Windows::Devices::Usb::IUsbDeviceDescriptor
1208 namespace ABI {
1209 namespace Windows {
1210 namespace Devices {
1211 namespace Usb {
1212 interface IUsbDeviceDescriptor;
1213 }
1214 }
1215 }
1216 }
1217 #endif /* __cplusplus */
1218 #endif
1219
1220 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_FWD_DEFINED__
1221 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_FWD_DEFINED__
1222 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics;
1223 #ifdef __cplusplus
1224 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics ABI::Windows::Devices::Usb::IUsbDeviceStatics
1225 namespace ABI {
1226 namespace Windows {
1227 namespace Devices {
1228 namespace Usb {
1229 interface IUsbDeviceStatics;
1230 }
1231 }
1232 }
1233 }
1234 #endif /* __cplusplus */
1235 #endif
1236
1237 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_FWD_DEFINED__
1238 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_FWD_DEFINED__
1239 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface;
1240 #ifdef __cplusplus
1241 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface ABI::Windows::Devices::Usb::IUsbInterface
1242 namespace ABI {
1243 namespace Windows {
1244 namespace Devices {
1245 namespace Usb {
1246 interface IUsbInterface;
1247 }
1248 }
1249 }
1250 }
1251 #endif /* __cplusplus */
1252 #endif
1253
1254 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_FWD_DEFINED__
1255 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_FWD_DEFINED__
1256 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor;
1257 #ifdef __cplusplus
1258 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor ABI::Windows::Devices::Usb::IUsbInterfaceDescriptor
1259 namespace ABI {
1260 namespace Windows {
1261 namespace Devices {
1262 namespace Usb {
1263 interface IUsbInterfaceDescriptor;
1264 }
1265 }
1266 }
1267 }
1268 #endif /* __cplusplus */
1269 #endif
1270
1271 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_FWD_DEFINED__
1272 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_FWD_DEFINED__
1273 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics;
1274 #ifdef __cplusplus
1275 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics ABI::Windows::Devices::Usb::IUsbInterfaceDescriptorStatics
1276 namespace ABI {
1277 namespace Windows {
1278 namespace Devices {
1279 namespace Usb {
1280 interface IUsbInterfaceDescriptorStatics;
1281 }
1282 }
1283 }
1284 }
1285 #endif /* __cplusplus */
1286 #endif
1287
1288 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_FWD_DEFINED__
1289 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_FWD_DEFINED__
1290 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor;
1291 #ifdef __cplusplus
1292 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor ABI::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor
1293 namespace ABI {
1294 namespace Windows {
1295 namespace Devices {
1296 namespace Usb {
1297 interface IUsbInterruptInEndpointDescriptor;
1298 }
1299 }
1300 }
1301 }
1302 #endif /* __cplusplus */
1303 #endif
1304
1305 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_FWD_DEFINED__
1306 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_FWD_DEFINED__
1307 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs;
1308 #ifdef __cplusplus
1309 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs ABI::Windows::Devices::Usb::IUsbInterruptInEventArgs
1310 namespace ABI {
1311 namespace Windows {
1312 namespace Devices {
1313 namespace Usb {
1314 interface IUsbInterruptInEventArgs;
1315 }
1316 }
1317 }
1318 }
1319 #endif /* __cplusplus */
1320 #endif
1321
1322 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_FWD_DEFINED__
1323 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_FWD_DEFINED__
1324 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe;
1325 #ifdef __cplusplus
1326 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe ABI::Windows::Devices::Usb::IUsbInterruptInPipe
1327 namespace ABI {
1328 namespace Windows {
1329 namespace Devices {
1330 namespace Usb {
1331 interface IUsbInterruptInPipe;
1332 }
1333 }
1334 }
1335 }
1336 #endif /* __cplusplus */
1337 #endif
1338
1339 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_FWD_DEFINED__
1340 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_FWD_DEFINED__
1341 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor;
1342 #ifdef __cplusplus
1343 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor ABI::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor
1344 namespace ABI {
1345 namespace Windows {
1346 namespace Devices {
1347 namespace Usb {
1348 interface IUsbInterruptOutEndpointDescriptor;
1349 }
1350 }
1351 }
1352 }
1353 #endif /* __cplusplus */
1354 #endif
1355
1356 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_FWD_DEFINED__
1357 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_FWD_DEFINED__
1358 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe;
1359 #ifdef __cplusplus
1360 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe ABI::Windows::Devices::Usb::IUsbInterruptOutPipe
1361 namespace ABI {
1362 namespace Windows {
1363 namespace Devices {
1364 namespace Usb {
1365 interface IUsbInterruptOutPipe;
1366 }
1367 }
1368 }
1369 }
1370 #endif /* __cplusplus */
1371 #endif
1372
1373 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_FWD_DEFINED__
1374 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_FWD_DEFINED__
1375 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket;
1376 #ifdef __cplusplus
1377 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket ABI::Windows::Devices::Usb::IUsbSetupPacket
1378 namespace ABI {
1379 namespace Windows {
1380 namespace Devices {
1381 namespace Usb {
1382 interface IUsbSetupPacket;
1383 }
1384 }
1385 }
1386 }
1387 #endif /* __cplusplus */
1388 #endif
1389
1390 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacketFactory_FWD_DEFINED__
1391 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacketFactory_FWD_DEFINED__
1392 typedef interface __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacketFactory __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacketFactory;
1393 #ifdef __cplusplus
1394 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacketFactory ABI::Windows::Devices::Usb::IUsbSetupPacketFactory
1395 namespace ABI {
1396 namespace Windows {
1397 namespace Devices {
1398 namespace Usb {
1399 interface IUsbSetupPacketFactory;
1400 }
1401 }
1402 }
1403 }
1404 #endif /* __cplusplus */
1405 #endif
1406
1407 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_FWD_DEFINED__
1408 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_FWD_DEFINED__
1409 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor;
1410 #ifdef __cplusplus
1411 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkInEndpointDescriptor* >
1412 #endif /* __cplusplus */
1413 #endif
1414
1415 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_FWD_DEFINED__
1416 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_FWD_DEFINED__
1417 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe;
1418 #ifdef __cplusplus
1419 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkInPipe* >
1420 #endif /* __cplusplus */
1421 #endif
1422
1423 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_FWD_DEFINED__
1424 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_FWD_DEFINED__
1425 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor;
1426 #ifdef __cplusplus
1427 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor* >
1428 #endif /* __cplusplus */
1429 #endif
1430
1431 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_FWD_DEFINED__
1432 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_FWD_DEFINED__
1433 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe;
1434 #ifdef __cplusplus
1435 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutPipe* >
1436 #endif /* __cplusplus */
1437 #endif
1438
1439 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_FWD_DEFINED__
1440 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_FWD_DEFINED__
1441 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor;
1442 #ifdef __cplusplus
1443 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbDescriptor* >
1444 #endif /* __cplusplus */
1445 #endif
1446
1447 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_FWD_DEFINED__
1448 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_FWD_DEFINED__
1449 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface;
1450 #ifdef __cplusplus
1451 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterface* >
1452 #endif /* __cplusplus */
1453 #endif
1454
1455 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_FWD_DEFINED__
1456 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_FWD_DEFINED__
1457 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting;
1458 #ifdef __cplusplus
1459 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterfaceSetting* >
1460 #endif /* __cplusplus */
1461 #endif
1462
1463 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_FWD_DEFINED__
1464 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_FWD_DEFINED__
1465 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor;
1466 #ifdef __cplusplus
1467 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor* >
1468 #endif /* __cplusplus */
1469 #endif
1470
1471 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_FWD_DEFINED__
1472 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_FWD_DEFINED__
1473 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe;
1474 #ifdef __cplusplus
1475 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInPipe* >
1476 #endif /* __cplusplus */
1477 #endif
1478
1479 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_FWD_DEFINED__
1480 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_FWD_DEFINED__
1481 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor;
1482 #ifdef __cplusplus
1483 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor* >
1484 #endif /* __cplusplus */
1485 #endif
1486
1487 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_FWD_DEFINED__
1488 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_FWD_DEFINED__
1489 typedef interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe;
1490 #ifdef __cplusplus
1491 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutPipe* >
1492 #endif /* __cplusplus */
1493 #endif
1494
1495 #ifndef ____FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_FWD_DEFINED__
1496 #define ____FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_FWD_DEFINED__
1497 typedef interface __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice;
1498 #ifdef __cplusplus
1499 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Usb::UsbDevice* >
1500 #endif /* __cplusplus */
1501 #endif
1502
1503 /*****************************************************************************
1504 * IUsbBulkInEndpointDescriptor interface
1505 */
1506 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
1507 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_INTERFACE_DEFINED__
1508 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_INTERFACE_DEFINED__
1509
1510 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor, 0x3c6e4846, 0x06cf, 0x42a9, 0x9d,0xc2, 0x97,0x1c,0x1b,0x14,0xb6,0xe3);
1511 #if defined(__cplusplus) && !defined(CINTERFACE)
1512 } /* extern "C" */
1513 namespace ABI {
1514 namespace Windows {
1515 namespace Devices {
1516 namespace Usb {
1517 MIDL_INTERFACE("3c6e4846-06cf-42a9-9dc2-971c1b14b6e3")
1518 IUsbBulkInEndpointDescriptor : public IInspectable
1519 {
1520 virtual HRESULT STDMETHODCALLTYPE get_MaxPacketSize(
1521 UINT32 *value) = 0;
1522
1523 virtual HRESULT STDMETHODCALLTYPE get_EndpointNumber(
1524 BYTE *value) = 0;
1525
1526 virtual HRESULT STDMETHODCALLTYPE get_Pipe(
1527 ABI::Windows::Devices::Usb::IUsbBulkInPipe **value) = 0;
1528
1529 };
1530 }
1531 }
1532 }
1533 }
1534 extern "C" {
1535 #ifdef __CRT_UUID_DECL
1536 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor, 0x3c6e4846, 0x06cf, 0x42a9, 0x9d,0xc2, 0x97,0x1c,0x1b,0x14,0xb6,0xe3)
1537 #endif
1538 #else
1539 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptorVtbl {
1540 BEGIN_INTERFACE
1541
1542 /*** IUnknown methods ***/
1543 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1544 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *This,
1545 REFIID riid,
1546 void **ppvObject);
1547
1548 ULONG (STDMETHODCALLTYPE *AddRef)(
1549 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *This);
1550
1551 ULONG (STDMETHODCALLTYPE *Release)(
1552 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *This);
1553
1554 /*** IInspectable methods ***/
1555 HRESULT (STDMETHODCALLTYPE *GetIids)(
1556 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *This,
1557 ULONG *iidCount,
1558 IID **iids);
1559
1560 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1561 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *This,
1562 HSTRING *className);
1563
1564 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1565 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *This,
1566 TrustLevel *trustLevel);
1567
1568 /*** IUsbBulkInEndpointDescriptor methods ***/
1569 HRESULT (STDMETHODCALLTYPE *get_MaxPacketSize)(
1570 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *This,
1571 UINT32 *value);
1572
1573 HRESULT (STDMETHODCALLTYPE *get_EndpointNumber)(
1574 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *This,
1575 BYTE *value);
1576
1577 HRESULT (STDMETHODCALLTYPE *get_Pipe)(
1578 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *This,
1579 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe **value);
1580
1581 END_INTERFACE
1582 } __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptorVtbl;
1583
1584 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor {
1585 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptorVtbl* lpVtbl;
1586 };
1587
1588 #ifdef COBJMACROS
1589 #ifndef WIDL_C_INLINE_WRAPPERS
1590 /*** IUnknown methods ***/
1591 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1592 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
1593 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_Release(This) (This)->lpVtbl->Release(This)
1594 /*** IInspectable methods ***/
1595 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1596 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1597 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1598 /*** IUsbBulkInEndpointDescriptor methods ***/
1599 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_get_MaxPacketSize(This,value) (This)->lpVtbl->get_MaxPacketSize(This,value)
1600 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_get_EndpointNumber(This,value) (This)->lpVtbl->get_EndpointNumber(This,value)
1601 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_get_Pipe(This,value) (This)->lpVtbl->get_Pipe(This,value)
1602 #else
1603 /*** IUnknown methods ***/
1604 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor* This,REFIID riid,void **ppvObject) {
1605 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1606 }
1607 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor* This) {
1608 return This->lpVtbl->AddRef(This);
1609 }
1610 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor* This) {
1611 return This->lpVtbl->Release(This);
1612 }
1613 /*** IInspectable methods ***/
1614 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor* This,ULONG *iidCount,IID **iids) {
1615 return This->lpVtbl->GetIids(This,iidCount,iids);
1616 }
1617 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor* This,HSTRING *className) {
1618 return This->lpVtbl->GetRuntimeClassName(This,className);
1619 }
1620 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor* This,TrustLevel *trustLevel) {
1621 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1622 }
1623 /*** IUsbBulkInEndpointDescriptor methods ***/
1624 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_get_MaxPacketSize(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor* This,UINT32 *value) {
1625 return This->lpVtbl->get_MaxPacketSize(This,value);
1626 }
1627 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_get_EndpointNumber(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor* This,BYTE *value) {
1628 return This->lpVtbl->get_EndpointNumber(This,value);
1629 }
1630 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_get_Pipe(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe **value) {
1631 return This->lpVtbl->get_Pipe(This,value);
1632 }
1633 #endif
1634 #ifdef WIDL_using_Windows_Devices_Usb
1635 #define IID_IUsbBulkInEndpointDescriptor IID___x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor
1636 #define IUsbBulkInEndpointDescriptorVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptorVtbl
1637 #define IUsbBulkInEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor
1638 #define IUsbBulkInEndpointDescriptor_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_QueryInterface
1639 #define IUsbBulkInEndpointDescriptor_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_AddRef
1640 #define IUsbBulkInEndpointDescriptor_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_Release
1641 #define IUsbBulkInEndpointDescriptor_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_GetIids
1642 #define IUsbBulkInEndpointDescriptor_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_GetRuntimeClassName
1643 #define IUsbBulkInEndpointDescriptor_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_GetTrustLevel
1644 #define IUsbBulkInEndpointDescriptor_get_MaxPacketSize __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_get_MaxPacketSize
1645 #define IUsbBulkInEndpointDescriptor_get_EndpointNumber __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_get_EndpointNumber
1646 #define IUsbBulkInEndpointDescriptor_get_Pipe __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_get_Pipe
1647 #endif /* WIDL_using_Windows_Devices_Usb */
1648 #endif
1649
1650 #endif
1651
1652 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor_INTERFACE_DEFINED__ */
1653 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1654
1655 /*****************************************************************************
1656 * IUsbBulkInPipe interface
1657 */
1658 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
1659 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_INTERFACE_DEFINED__
1660 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_INTERFACE_DEFINED__
1661
1662 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe, 0xf01d2d3b, 0x4548, 0x4d50, 0xb3,0x26, 0xd8,0x2c,0xda,0xbe,0x12,0x20);
1663 #if defined(__cplusplus) && !defined(CINTERFACE)
1664 } /* extern "C" */
1665 namespace ABI {
1666 namespace Windows {
1667 namespace Devices {
1668 namespace Usb {
1669 MIDL_INTERFACE("f01d2d3b-4548-4d50-b326-d82cdabe1220")
1670 IUsbBulkInPipe : public IInspectable
1671 {
1672 virtual HRESULT STDMETHODCALLTYPE get_MaxTransferSizeBytes(
1673 UINT32 *value) = 0;
1674
1675 virtual HRESULT STDMETHODCALLTYPE get_EndpointDescriptor(
1676 ABI::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor **value) = 0;
1677
1678 virtual HRESULT STDMETHODCALLTYPE ClearStallAsync(
1679 ABI::Windows::Foundation::IAsyncAction **operation) = 0;
1680
1681 virtual HRESULT STDMETHODCALLTYPE put_ReadOptions(
1682 ABI::Windows::Devices::Usb::UsbReadOptions value) = 0;
1683
1684 virtual HRESULT STDMETHODCALLTYPE get_ReadOptions(
1685 ABI::Windows::Devices::Usb::UsbReadOptions *value) = 0;
1686
1687 virtual HRESULT STDMETHODCALLTYPE FlushBuffer(
1688 ) = 0;
1689
1690 virtual HRESULT STDMETHODCALLTYPE get_InputStream(
1691 ABI::Windows::Storage::Streams::IInputStream **value) = 0;
1692
1693 };
1694 }
1695 }
1696 }
1697 }
1698 extern "C" {
1699 #ifdef __CRT_UUID_DECL
1700 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe, 0xf01d2d3b, 0x4548, 0x4d50, 0xb3,0x26, 0xd8,0x2c,0xda,0xbe,0x12,0x20)
1701 #endif
1702 #else
1703 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipeVtbl {
1704 BEGIN_INTERFACE
1705
1706 /*** IUnknown methods ***/
1707 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1708 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This,
1709 REFIID riid,
1710 void **ppvObject);
1711
1712 ULONG (STDMETHODCALLTYPE *AddRef)(
1713 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This);
1714
1715 ULONG (STDMETHODCALLTYPE *Release)(
1716 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This);
1717
1718 /*** IInspectable methods ***/
1719 HRESULT (STDMETHODCALLTYPE *GetIids)(
1720 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This,
1721 ULONG *iidCount,
1722 IID **iids);
1723
1724 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1725 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This,
1726 HSTRING *className);
1727
1728 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1729 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This,
1730 TrustLevel *trustLevel);
1731
1732 /*** IUsbBulkInPipe methods ***/
1733 HRESULT (STDMETHODCALLTYPE *get_MaxTransferSizeBytes)(
1734 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This,
1735 UINT32 *value);
1736
1737 HRESULT (STDMETHODCALLTYPE *get_EndpointDescriptor)(
1738 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This,
1739 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor **value);
1740
1741 HRESULT (STDMETHODCALLTYPE *ClearStallAsync)(
1742 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This,
1743 __x_ABI_CWindows_CFoundation_CIAsyncAction **operation);
1744
1745 HRESULT (STDMETHODCALLTYPE *put_ReadOptions)(
1746 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This,
1747 __x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions value);
1748
1749 HRESULT (STDMETHODCALLTYPE *get_ReadOptions)(
1750 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This,
1751 __x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions *value);
1752
1753 HRESULT (STDMETHODCALLTYPE *FlushBuffer)(
1754 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This);
1755
1756 HRESULT (STDMETHODCALLTYPE *get_InputStream)(
1757 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *This,
1758 __x_ABI_CWindows_CStorage_CStreams_CIInputStream **value);
1759
1760 END_INTERFACE
1761 } __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipeVtbl;
1762
1763 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe {
1764 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipeVtbl* lpVtbl;
1765 };
1766
1767 #ifdef COBJMACROS
1768 #ifndef WIDL_C_INLINE_WRAPPERS
1769 /*** IUnknown methods ***/
1770 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1771 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_AddRef(This) (This)->lpVtbl->AddRef(This)
1772 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_Release(This) (This)->lpVtbl->Release(This)
1773 /*** IInspectable methods ***/
1774 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1775 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1776 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1777 /*** IUsbBulkInPipe methods ***/
1778 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_MaxTransferSizeBytes(This,value) (This)->lpVtbl->get_MaxTransferSizeBytes(This,value)
1779 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_EndpointDescriptor(This,value) (This)->lpVtbl->get_EndpointDescriptor(This,value)
1780 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_ClearStallAsync(This,operation) (This)->lpVtbl->ClearStallAsync(This,operation)
1781 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_put_ReadOptions(This,value) (This)->lpVtbl->put_ReadOptions(This,value)
1782 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_ReadOptions(This,value) (This)->lpVtbl->get_ReadOptions(This,value)
1783 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_FlushBuffer(This) (This)->lpVtbl->FlushBuffer(This)
1784 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_InputStream(This,value) (This)->lpVtbl->get_InputStream(This,value)
1785 #else
1786 /*** IUnknown methods ***/
1787 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This,REFIID riid,void **ppvObject) {
1788 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1789 }
1790 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This) {
1791 return This->lpVtbl->AddRef(This);
1792 }
1793 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This) {
1794 return This->lpVtbl->Release(This);
1795 }
1796 /*** IInspectable methods ***/
1797 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This,ULONG *iidCount,IID **iids) {
1798 return This->lpVtbl->GetIids(This,iidCount,iids);
1799 }
1800 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This,HSTRING *className) {
1801 return This->lpVtbl->GetRuntimeClassName(This,className);
1802 }
1803 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This,TrustLevel *trustLevel) {
1804 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1805 }
1806 /*** IUsbBulkInPipe methods ***/
1807 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_MaxTransferSizeBytes(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This,UINT32 *value) {
1808 return This->lpVtbl->get_MaxTransferSizeBytes(This,value);
1809 }
1810 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_EndpointDescriptor(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor **value) {
1811 return This->lpVtbl->get_EndpointDescriptor(This,value);
1812 }
1813 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_ClearStallAsync(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This,__x_ABI_CWindows_CFoundation_CIAsyncAction **operation) {
1814 return This->lpVtbl->ClearStallAsync(This,operation);
1815 }
1816 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_put_ReadOptions(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This,__x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions value) {
1817 return This->lpVtbl->put_ReadOptions(This,value);
1818 }
1819 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_ReadOptions(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This,__x_ABI_CWindows_CDevices_CUsb_CUsbReadOptions *value) {
1820 return This->lpVtbl->get_ReadOptions(This,value);
1821 }
1822 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_FlushBuffer(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This) {
1823 return This->lpVtbl->FlushBuffer(This);
1824 }
1825 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_InputStream(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe* This,__x_ABI_CWindows_CStorage_CStreams_CIInputStream **value) {
1826 return This->lpVtbl->get_InputStream(This,value);
1827 }
1828 #endif
1829 #ifdef WIDL_using_Windows_Devices_Usb
1830 #define IID_IUsbBulkInPipe IID___x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe
1831 #define IUsbBulkInPipeVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipeVtbl
1832 #define IUsbBulkInPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe
1833 #define IUsbBulkInPipe_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_QueryInterface
1834 #define IUsbBulkInPipe_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_AddRef
1835 #define IUsbBulkInPipe_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_Release
1836 #define IUsbBulkInPipe_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_GetIids
1837 #define IUsbBulkInPipe_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_GetRuntimeClassName
1838 #define IUsbBulkInPipe_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_GetTrustLevel
1839 #define IUsbBulkInPipe_get_MaxTransferSizeBytes __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_MaxTransferSizeBytes
1840 #define IUsbBulkInPipe_get_EndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_EndpointDescriptor
1841 #define IUsbBulkInPipe_ClearStallAsync __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_ClearStallAsync
1842 #define IUsbBulkInPipe_put_ReadOptions __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_put_ReadOptions
1843 #define IUsbBulkInPipe_get_ReadOptions __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_ReadOptions
1844 #define IUsbBulkInPipe_FlushBuffer __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_FlushBuffer
1845 #define IUsbBulkInPipe_get_InputStream __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_get_InputStream
1846 #endif /* WIDL_using_Windows_Devices_Usb */
1847 #endif
1848
1849 #endif
1850
1851 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe_INTERFACE_DEFINED__ */
1852 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1853
1854 /*****************************************************************************
1855 * IUsbBulkOutEndpointDescriptor interface
1856 */
1857 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
1858 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_INTERFACE_DEFINED__
1859 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_INTERFACE_DEFINED__
1860
1861 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor, 0x2820847a, 0xffee, 0x4f60, 0x9b,0xe1, 0x95,0x6c,0xac,0x3e,0xcb,0x65);
1862 #if defined(__cplusplus) && !defined(CINTERFACE)
1863 } /* extern "C" */
1864 namespace ABI {
1865 namespace Windows {
1866 namespace Devices {
1867 namespace Usb {
1868 MIDL_INTERFACE("2820847a-ffee-4f60-9be1-956cac3ecb65")
1869 IUsbBulkOutEndpointDescriptor : public IInspectable
1870 {
1871 virtual HRESULT STDMETHODCALLTYPE get_MaxPacketSize(
1872 UINT32 *value) = 0;
1873
1874 virtual HRESULT STDMETHODCALLTYPE get_EndpointNumber(
1875 BYTE *value) = 0;
1876
1877 virtual HRESULT STDMETHODCALLTYPE get_Pipe(
1878 ABI::Windows::Devices::Usb::IUsbBulkOutPipe **value) = 0;
1879
1880 };
1881 }
1882 }
1883 }
1884 }
1885 extern "C" {
1886 #ifdef __CRT_UUID_DECL
1887 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor, 0x2820847a, 0xffee, 0x4f60, 0x9b,0xe1, 0x95,0x6c,0xac,0x3e,0xcb,0x65)
1888 #endif
1889 #else
1890 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptorVtbl {
1891 BEGIN_INTERFACE
1892
1893 /*** IUnknown methods ***/
1894 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1895 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *This,
1896 REFIID riid,
1897 void **ppvObject);
1898
1899 ULONG (STDMETHODCALLTYPE *AddRef)(
1900 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *This);
1901
1902 ULONG (STDMETHODCALLTYPE *Release)(
1903 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *This);
1904
1905 /*** IInspectable methods ***/
1906 HRESULT (STDMETHODCALLTYPE *GetIids)(
1907 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *This,
1908 ULONG *iidCount,
1909 IID **iids);
1910
1911 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1912 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *This,
1913 HSTRING *className);
1914
1915 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1916 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *This,
1917 TrustLevel *trustLevel);
1918
1919 /*** IUsbBulkOutEndpointDescriptor methods ***/
1920 HRESULT (STDMETHODCALLTYPE *get_MaxPacketSize)(
1921 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *This,
1922 UINT32 *value);
1923
1924 HRESULT (STDMETHODCALLTYPE *get_EndpointNumber)(
1925 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *This,
1926 BYTE *value);
1927
1928 HRESULT (STDMETHODCALLTYPE *get_Pipe)(
1929 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *This,
1930 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe **value);
1931
1932 END_INTERFACE
1933 } __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptorVtbl;
1934
1935 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor {
1936 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptorVtbl* lpVtbl;
1937 };
1938
1939 #ifdef COBJMACROS
1940 #ifndef WIDL_C_INLINE_WRAPPERS
1941 /*** IUnknown methods ***/
1942 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1943 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
1944 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_Release(This) (This)->lpVtbl->Release(This)
1945 /*** IInspectable methods ***/
1946 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1947 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1948 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1949 /*** IUsbBulkOutEndpointDescriptor methods ***/
1950 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_get_MaxPacketSize(This,value) (This)->lpVtbl->get_MaxPacketSize(This,value)
1951 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_get_EndpointNumber(This,value) (This)->lpVtbl->get_EndpointNumber(This,value)
1952 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_get_Pipe(This,value) (This)->lpVtbl->get_Pipe(This,value)
1953 #else
1954 /*** IUnknown methods ***/
1955 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor* This,REFIID riid,void **ppvObject) {
1956 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1957 }
1958 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor* This) {
1959 return This->lpVtbl->AddRef(This);
1960 }
1961 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor* This) {
1962 return This->lpVtbl->Release(This);
1963 }
1964 /*** IInspectable methods ***/
1965 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor* This,ULONG *iidCount,IID **iids) {
1966 return This->lpVtbl->GetIids(This,iidCount,iids);
1967 }
1968 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor* This,HSTRING *className) {
1969 return This->lpVtbl->GetRuntimeClassName(This,className);
1970 }
1971 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor* This,TrustLevel *trustLevel) {
1972 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1973 }
1974 /*** IUsbBulkOutEndpointDescriptor methods ***/
1975 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_get_MaxPacketSize(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor* This,UINT32 *value) {
1976 return This->lpVtbl->get_MaxPacketSize(This,value);
1977 }
1978 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_get_EndpointNumber(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor* This,BYTE *value) {
1979 return This->lpVtbl->get_EndpointNumber(This,value);
1980 }
1981 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_get_Pipe(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe **value) {
1982 return This->lpVtbl->get_Pipe(This,value);
1983 }
1984 #endif
1985 #ifdef WIDL_using_Windows_Devices_Usb
1986 #define IID_IUsbBulkOutEndpointDescriptor IID___x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor
1987 #define IUsbBulkOutEndpointDescriptorVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptorVtbl
1988 #define IUsbBulkOutEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor
1989 #define IUsbBulkOutEndpointDescriptor_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_QueryInterface
1990 #define IUsbBulkOutEndpointDescriptor_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_AddRef
1991 #define IUsbBulkOutEndpointDescriptor_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_Release
1992 #define IUsbBulkOutEndpointDescriptor_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_GetIids
1993 #define IUsbBulkOutEndpointDescriptor_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_GetRuntimeClassName
1994 #define IUsbBulkOutEndpointDescriptor_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_GetTrustLevel
1995 #define IUsbBulkOutEndpointDescriptor_get_MaxPacketSize __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_get_MaxPacketSize
1996 #define IUsbBulkOutEndpointDescriptor_get_EndpointNumber __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_get_EndpointNumber
1997 #define IUsbBulkOutEndpointDescriptor_get_Pipe __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_get_Pipe
1998 #endif /* WIDL_using_Windows_Devices_Usb */
1999 #endif
2000
2001 #endif
2002
2003 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor_INTERFACE_DEFINED__ */
2004 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2005
2006 /*****************************************************************************
2007 * IUsbBulkOutPipe interface
2008 */
2009 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2010 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_INTERFACE_DEFINED__
2011 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_INTERFACE_DEFINED__
2012
2013 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe, 0xa8e9ee6e, 0x0115, 0x45aa, 0x8b,0x21, 0x37,0xb2,0x25,0xbc,0xce,0xe7);
2014 #if defined(__cplusplus) && !defined(CINTERFACE)
2015 } /* extern "C" */
2016 namespace ABI {
2017 namespace Windows {
2018 namespace Devices {
2019 namespace Usb {
2020 MIDL_INTERFACE("a8e9ee6e-0115-45aa-8b21-37b225bccee7")
2021 IUsbBulkOutPipe : public IInspectable
2022 {
2023 virtual HRESULT STDMETHODCALLTYPE get_EndpointDescriptor(
2024 ABI::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor **value) = 0;
2025
2026 virtual HRESULT STDMETHODCALLTYPE ClearStallAsync(
2027 ABI::Windows::Foundation::IAsyncAction **operation) = 0;
2028
2029 virtual HRESULT STDMETHODCALLTYPE put_WriteOptions(
2030 ABI::Windows::Devices::Usb::UsbWriteOptions value) = 0;
2031
2032 virtual HRESULT STDMETHODCALLTYPE get_WriteOptions(
2033 ABI::Windows::Devices::Usb::UsbWriteOptions *value) = 0;
2034
2035 virtual HRESULT STDMETHODCALLTYPE get_OutputStream(
2036 ABI::Windows::Storage::Streams::IOutputStream **value) = 0;
2037
2038 };
2039 }
2040 }
2041 }
2042 }
2043 extern "C" {
2044 #ifdef __CRT_UUID_DECL
2045 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe, 0xa8e9ee6e, 0x0115, 0x45aa, 0x8b,0x21, 0x37,0xb2,0x25,0xbc,0xce,0xe7)
2046 #endif
2047 #else
2048 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipeVtbl {
2049 BEGIN_INTERFACE
2050
2051 /*** IUnknown methods ***/
2052 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2053 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This,
2054 REFIID riid,
2055 void **ppvObject);
2056
2057 ULONG (STDMETHODCALLTYPE *AddRef)(
2058 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This);
2059
2060 ULONG (STDMETHODCALLTYPE *Release)(
2061 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This);
2062
2063 /*** IInspectable methods ***/
2064 HRESULT (STDMETHODCALLTYPE *GetIids)(
2065 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This,
2066 ULONG *iidCount,
2067 IID **iids);
2068
2069 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2070 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This,
2071 HSTRING *className);
2072
2073 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2074 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This,
2075 TrustLevel *trustLevel);
2076
2077 /*** IUsbBulkOutPipe methods ***/
2078 HRESULT (STDMETHODCALLTYPE *get_EndpointDescriptor)(
2079 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This,
2080 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor **value);
2081
2082 HRESULT (STDMETHODCALLTYPE *ClearStallAsync)(
2083 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This,
2084 __x_ABI_CWindows_CFoundation_CIAsyncAction **operation);
2085
2086 HRESULT (STDMETHODCALLTYPE *put_WriteOptions)(
2087 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This,
2088 __x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions value);
2089
2090 HRESULT (STDMETHODCALLTYPE *get_WriteOptions)(
2091 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This,
2092 __x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions *value);
2093
2094 HRESULT (STDMETHODCALLTYPE *get_OutputStream)(
2095 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *This,
2096 __x_ABI_CWindows_CStorage_CStreams_CIOutputStream **value);
2097
2098 END_INTERFACE
2099 } __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipeVtbl;
2100
2101 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe {
2102 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipeVtbl* lpVtbl;
2103 };
2104
2105 #ifdef COBJMACROS
2106 #ifndef WIDL_C_INLINE_WRAPPERS
2107 /*** IUnknown methods ***/
2108 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2109 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_AddRef(This) (This)->lpVtbl->AddRef(This)
2110 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_Release(This) (This)->lpVtbl->Release(This)
2111 /*** IInspectable methods ***/
2112 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2113 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2114 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2115 /*** IUsbBulkOutPipe methods ***/
2116 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_get_EndpointDescriptor(This,value) (This)->lpVtbl->get_EndpointDescriptor(This,value)
2117 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_ClearStallAsync(This,operation) (This)->lpVtbl->ClearStallAsync(This,operation)
2118 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_put_WriteOptions(This,value) (This)->lpVtbl->put_WriteOptions(This,value)
2119 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_get_WriteOptions(This,value) (This)->lpVtbl->get_WriteOptions(This,value)
2120 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_get_OutputStream(This,value) (This)->lpVtbl->get_OutputStream(This,value)
2121 #else
2122 /*** IUnknown methods ***/
2123 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This,REFIID riid,void **ppvObject) {
2124 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2125 }
2126 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This) {
2127 return This->lpVtbl->AddRef(This);
2128 }
2129 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This) {
2130 return This->lpVtbl->Release(This);
2131 }
2132 /*** IInspectable methods ***/
2133 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This,ULONG *iidCount,IID **iids) {
2134 return This->lpVtbl->GetIids(This,iidCount,iids);
2135 }
2136 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This,HSTRING *className) {
2137 return This->lpVtbl->GetRuntimeClassName(This,className);
2138 }
2139 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This,TrustLevel *trustLevel) {
2140 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2141 }
2142 /*** IUsbBulkOutPipe methods ***/
2143 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_get_EndpointDescriptor(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor **value) {
2144 return This->lpVtbl->get_EndpointDescriptor(This,value);
2145 }
2146 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_ClearStallAsync(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This,__x_ABI_CWindows_CFoundation_CIAsyncAction **operation) {
2147 return This->lpVtbl->ClearStallAsync(This,operation);
2148 }
2149 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_put_WriteOptions(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This,__x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions value) {
2150 return This->lpVtbl->put_WriteOptions(This,value);
2151 }
2152 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_get_WriteOptions(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This,__x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions *value) {
2153 return This->lpVtbl->get_WriteOptions(This,value);
2154 }
2155 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_get_OutputStream(__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe* This,__x_ABI_CWindows_CStorage_CStreams_CIOutputStream **value) {
2156 return This->lpVtbl->get_OutputStream(This,value);
2157 }
2158 #endif
2159 #ifdef WIDL_using_Windows_Devices_Usb
2160 #define IID_IUsbBulkOutPipe IID___x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe
2161 #define IUsbBulkOutPipeVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipeVtbl
2162 #define IUsbBulkOutPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe
2163 #define IUsbBulkOutPipe_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_QueryInterface
2164 #define IUsbBulkOutPipe_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_AddRef
2165 #define IUsbBulkOutPipe_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_Release
2166 #define IUsbBulkOutPipe_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_GetIids
2167 #define IUsbBulkOutPipe_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_GetRuntimeClassName
2168 #define IUsbBulkOutPipe_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_GetTrustLevel
2169 #define IUsbBulkOutPipe_get_EndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_get_EndpointDescriptor
2170 #define IUsbBulkOutPipe_ClearStallAsync __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_ClearStallAsync
2171 #define IUsbBulkOutPipe_put_WriteOptions __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_put_WriteOptions
2172 #define IUsbBulkOutPipe_get_WriteOptions __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_get_WriteOptions
2173 #define IUsbBulkOutPipe_get_OutputStream __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_get_OutputStream
2174 #endif /* WIDL_using_Windows_Devices_Usb */
2175 #endif
2176
2177 #endif
2178
2179 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe_INTERFACE_DEFINED__ */
2180 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2181
2182 /*****************************************************************************
2183 * IUsbConfiguration interface
2184 */
2185 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2186 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_INTERFACE_DEFINED__
2187 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_INTERFACE_DEFINED__
2188
2189 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration, 0x68177429, 0x36a9, 0x46d7, 0xb8,0x73, 0xfc,0x68,0x92,0x51,0xec,0x30);
2190 #if defined(__cplusplus) && !defined(CINTERFACE)
2191 } /* extern "C" */
2192 namespace ABI {
2193 namespace Windows {
2194 namespace Devices {
2195 namespace Usb {
2196 MIDL_INTERFACE("68177429-36a9-46d7-b873-fc689251ec30")
2197 IUsbConfiguration : public IInspectable
2198 {
2199 virtual HRESULT STDMETHODCALLTYPE get_UsbInterfaces(
2200 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterface* > **value) = 0;
2201
2202 virtual HRESULT STDMETHODCALLTYPE get_ConfigurationDescriptor(
2203 ABI::Windows::Devices::Usb::IUsbConfigurationDescriptor **value) = 0;
2204
2205 virtual HRESULT STDMETHODCALLTYPE get_Descriptors(
2206 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbDescriptor* > **value) = 0;
2207
2208 };
2209 }
2210 }
2211 }
2212 }
2213 extern "C" {
2214 #ifdef __CRT_UUID_DECL
2215 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration, 0x68177429, 0x36a9, 0x46d7, 0xb8,0x73, 0xfc,0x68,0x92,0x51,0xec,0x30)
2216 #endif
2217 #else
2218 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationVtbl {
2219 BEGIN_INTERFACE
2220
2221 /*** IUnknown methods ***/
2222 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2223 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration *This,
2224 REFIID riid,
2225 void **ppvObject);
2226
2227 ULONG (STDMETHODCALLTYPE *AddRef)(
2228 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration *This);
2229
2230 ULONG (STDMETHODCALLTYPE *Release)(
2231 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration *This);
2232
2233 /*** IInspectable methods ***/
2234 HRESULT (STDMETHODCALLTYPE *GetIids)(
2235 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration *This,
2236 ULONG *iidCount,
2237 IID **iids);
2238
2239 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2240 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration *This,
2241 HSTRING *className);
2242
2243 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2244 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration *This,
2245 TrustLevel *trustLevel);
2246
2247 /*** IUsbConfiguration methods ***/
2248 HRESULT (STDMETHODCALLTYPE *get_UsbInterfaces)(
2249 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration *This,
2250 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface **value);
2251
2252 HRESULT (STDMETHODCALLTYPE *get_ConfigurationDescriptor)(
2253 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration *This,
2254 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor **value);
2255
2256 HRESULT (STDMETHODCALLTYPE *get_Descriptors)(
2257 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration *This,
2258 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor **value);
2259
2260 END_INTERFACE
2261 } __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationVtbl;
2262
2263 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration {
2264 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationVtbl* lpVtbl;
2265 };
2266
2267 #ifdef COBJMACROS
2268 #ifndef WIDL_C_INLINE_WRAPPERS
2269 /*** IUnknown methods ***/
2270 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2271 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_AddRef(This) (This)->lpVtbl->AddRef(This)
2272 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_Release(This) (This)->lpVtbl->Release(This)
2273 /*** IInspectable methods ***/
2274 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2275 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2276 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2277 /*** IUsbConfiguration methods ***/
2278 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_get_UsbInterfaces(This,value) (This)->lpVtbl->get_UsbInterfaces(This,value)
2279 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_get_ConfigurationDescriptor(This,value) (This)->lpVtbl->get_ConfigurationDescriptor(This,value)
2280 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_get_Descriptors(This,value) (This)->lpVtbl->get_Descriptors(This,value)
2281 #else
2282 /*** IUnknown methods ***/
2283 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration* This,REFIID riid,void **ppvObject) {
2284 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2285 }
2286 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration* This) {
2287 return This->lpVtbl->AddRef(This);
2288 }
2289 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration* This) {
2290 return This->lpVtbl->Release(This);
2291 }
2292 /*** IInspectable methods ***/
2293 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration* This,ULONG *iidCount,IID **iids) {
2294 return This->lpVtbl->GetIids(This,iidCount,iids);
2295 }
2296 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration* This,HSTRING *className) {
2297 return This->lpVtbl->GetRuntimeClassName(This,className);
2298 }
2299 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration* This,TrustLevel *trustLevel) {
2300 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2301 }
2302 /*** IUsbConfiguration methods ***/
2303 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_get_UsbInterfaces(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface **value) {
2304 return This->lpVtbl->get_UsbInterfaces(This,value);
2305 }
2306 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_get_ConfigurationDescriptor(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor **value) {
2307 return This->lpVtbl->get_ConfigurationDescriptor(This,value);
2308 }
2309 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_get_Descriptors(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor **value) {
2310 return This->lpVtbl->get_Descriptors(This,value);
2311 }
2312 #endif
2313 #ifdef WIDL_using_Windows_Devices_Usb
2314 #define IID_IUsbConfiguration IID___x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration
2315 #define IUsbConfigurationVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationVtbl
2316 #define IUsbConfiguration __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration
2317 #define IUsbConfiguration_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_QueryInterface
2318 #define IUsbConfiguration_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_AddRef
2319 #define IUsbConfiguration_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_Release
2320 #define IUsbConfiguration_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_GetIids
2321 #define IUsbConfiguration_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_GetRuntimeClassName
2322 #define IUsbConfiguration_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_GetTrustLevel
2323 #define IUsbConfiguration_get_UsbInterfaces __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_get_UsbInterfaces
2324 #define IUsbConfiguration_get_ConfigurationDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_get_ConfigurationDescriptor
2325 #define IUsbConfiguration_get_Descriptors __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_get_Descriptors
2326 #endif /* WIDL_using_Windows_Devices_Usb */
2327 #endif
2328
2329 #endif
2330
2331 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration_INTERFACE_DEFINED__ */
2332 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2333
2334 /*****************************************************************************
2335 * IUsbConfigurationDescriptor interface
2336 */
2337 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2338 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_INTERFACE_DEFINED__
2339 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_INTERFACE_DEFINED__
2340
2341 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor, 0xf2176d92, 0xb442, 0x407a, 0x82,0x07, 0x7d,0x64,0x6c,0x03,0x85,0xf3);
2342 #if defined(__cplusplus) && !defined(CINTERFACE)
2343 } /* extern "C" */
2344 namespace ABI {
2345 namespace Windows {
2346 namespace Devices {
2347 namespace Usb {
2348 MIDL_INTERFACE("f2176d92-b442-407a-8207-7d646c0385f3")
2349 IUsbConfigurationDescriptor : public IInspectable
2350 {
2351 virtual HRESULT STDMETHODCALLTYPE get_ConfigurationValue(
2352 BYTE *value) = 0;
2353
2354 virtual HRESULT STDMETHODCALLTYPE get_MaxPowerMilliamps(
2355 UINT32 *value) = 0;
2356
2357 virtual HRESULT STDMETHODCALLTYPE get_SelfPowered(
2358 boolean *value) = 0;
2359
2360 virtual HRESULT STDMETHODCALLTYPE get_RemoteWakeup(
2361 boolean *value) = 0;
2362
2363 };
2364 }
2365 }
2366 }
2367 }
2368 extern "C" {
2369 #ifdef __CRT_UUID_DECL
2370 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor, 0xf2176d92, 0xb442, 0x407a, 0x82,0x07, 0x7d,0x64,0x6c,0x03,0x85,0xf3)
2371 #endif
2372 #else
2373 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorVtbl {
2374 BEGIN_INTERFACE
2375
2376 /*** IUnknown methods ***/
2377 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2378 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor *This,
2379 REFIID riid,
2380 void **ppvObject);
2381
2382 ULONG (STDMETHODCALLTYPE *AddRef)(
2383 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor *This);
2384
2385 ULONG (STDMETHODCALLTYPE *Release)(
2386 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor *This);
2387
2388 /*** IInspectable methods ***/
2389 HRESULT (STDMETHODCALLTYPE *GetIids)(
2390 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor *This,
2391 ULONG *iidCount,
2392 IID **iids);
2393
2394 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2395 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor *This,
2396 HSTRING *className);
2397
2398 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2399 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor *This,
2400 TrustLevel *trustLevel);
2401
2402 /*** IUsbConfigurationDescriptor methods ***/
2403 HRESULT (STDMETHODCALLTYPE *get_ConfigurationValue)(
2404 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor *This,
2405 BYTE *value);
2406
2407 HRESULT (STDMETHODCALLTYPE *get_MaxPowerMilliamps)(
2408 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor *This,
2409 UINT32 *value);
2410
2411 HRESULT (STDMETHODCALLTYPE *get_SelfPowered)(
2412 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor *This,
2413 boolean *value);
2414
2415 HRESULT (STDMETHODCALLTYPE *get_RemoteWakeup)(
2416 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor *This,
2417 boolean *value);
2418
2419 END_INTERFACE
2420 } __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorVtbl;
2421
2422 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor {
2423 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorVtbl* lpVtbl;
2424 };
2425
2426 #ifdef COBJMACROS
2427 #ifndef WIDL_C_INLINE_WRAPPERS
2428 /*** IUnknown methods ***/
2429 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2430 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
2431 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_Release(This) (This)->lpVtbl->Release(This)
2432 /*** IInspectable methods ***/
2433 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2434 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2435 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2436 /*** IUsbConfigurationDescriptor methods ***/
2437 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_ConfigurationValue(This,value) (This)->lpVtbl->get_ConfigurationValue(This,value)
2438 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_MaxPowerMilliamps(This,value) (This)->lpVtbl->get_MaxPowerMilliamps(This,value)
2439 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_SelfPowered(This,value) (This)->lpVtbl->get_SelfPowered(This,value)
2440 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_RemoteWakeup(This,value) (This)->lpVtbl->get_RemoteWakeup(This,value)
2441 #else
2442 /*** IUnknown methods ***/
2443 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor* This,REFIID riid,void **ppvObject) {
2444 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2445 }
2446 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor* This) {
2447 return This->lpVtbl->AddRef(This);
2448 }
2449 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor* This) {
2450 return This->lpVtbl->Release(This);
2451 }
2452 /*** IInspectable methods ***/
2453 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor* This,ULONG *iidCount,IID **iids) {
2454 return This->lpVtbl->GetIids(This,iidCount,iids);
2455 }
2456 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor* This,HSTRING *className) {
2457 return This->lpVtbl->GetRuntimeClassName(This,className);
2458 }
2459 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor* This,TrustLevel *trustLevel) {
2460 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2461 }
2462 /*** IUsbConfigurationDescriptor methods ***/
2463 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_ConfigurationValue(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor* This,BYTE *value) {
2464 return This->lpVtbl->get_ConfigurationValue(This,value);
2465 }
2466 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_MaxPowerMilliamps(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor* This,UINT32 *value) {
2467 return This->lpVtbl->get_MaxPowerMilliamps(This,value);
2468 }
2469 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_SelfPowered(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor* This,boolean *value) {
2470 return This->lpVtbl->get_SelfPowered(This,value);
2471 }
2472 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_RemoteWakeup(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor* This,boolean *value) {
2473 return This->lpVtbl->get_RemoteWakeup(This,value);
2474 }
2475 #endif
2476 #ifdef WIDL_using_Windows_Devices_Usb
2477 #define IID_IUsbConfigurationDescriptor IID___x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor
2478 #define IUsbConfigurationDescriptorVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorVtbl
2479 #define IUsbConfigurationDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor
2480 #define IUsbConfigurationDescriptor_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_QueryInterface
2481 #define IUsbConfigurationDescriptor_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_AddRef
2482 #define IUsbConfigurationDescriptor_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_Release
2483 #define IUsbConfigurationDescriptor_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_GetIids
2484 #define IUsbConfigurationDescriptor_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_GetRuntimeClassName
2485 #define IUsbConfigurationDescriptor_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_GetTrustLevel
2486 #define IUsbConfigurationDescriptor_get_ConfigurationValue __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_ConfigurationValue
2487 #define IUsbConfigurationDescriptor_get_MaxPowerMilliamps __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_MaxPowerMilliamps
2488 #define IUsbConfigurationDescriptor_get_SelfPowered __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_SelfPowered
2489 #define IUsbConfigurationDescriptor_get_RemoteWakeup __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_get_RemoteWakeup
2490 #endif /* WIDL_using_Windows_Devices_Usb */
2491 #endif
2492
2493 #endif
2494
2495 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor_INTERFACE_DEFINED__ */
2496 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2497
2498 /*****************************************************************************
2499 * IUsbConfigurationDescriptorStatics interface
2500 */
2501 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2502 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_INTERFACE_DEFINED__
2503 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_INTERFACE_DEFINED__
2504
2505 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics, 0x424ced93, 0xe740, 0x40a1, 0x92,0xbd, 0xda,0x12,0x0e,0xa0,0x49,0x14);
2506 #if defined(__cplusplus) && !defined(CINTERFACE)
2507 } /* extern "C" */
2508 namespace ABI {
2509 namespace Windows {
2510 namespace Devices {
2511 namespace Usb {
2512 MIDL_INTERFACE("424ced93-e740-40a1-92bd-da120ea04914")
2513 IUsbConfigurationDescriptorStatics : public IInspectable
2514 {
2515 virtual HRESULT STDMETHODCALLTYPE TryParse(
2516 ABI::Windows::Devices::Usb::IUsbDescriptor *descriptor,
2517 ABI::Windows::Devices::Usb::IUsbConfigurationDescriptor **parsed,
2518 boolean *success) = 0;
2519
2520 virtual HRESULT STDMETHODCALLTYPE Parse(
2521 ABI::Windows::Devices::Usb::IUsbDescriptor *descriptor,
2522 ABI::Windows::Devices::Usb::IUsbConfigurationDescriptor **parsed) = 0;
2523
2524 };
2525 }
2526 }
2527 }
2528 }
2529 extern "C" {
2530 #ifdef __CRT_UUID_DECL
2531 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics, 0x424ced93, 0xe740, 0x40a1, 0x92,0xbd, 0xda,0x12,0x0e,0xa0,0x49,0x14)
2532 #endif
2533 #else
2534 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStaticsVtbl {
2535 BEGIN_INTERFACE
2536
2537 /*** IUnknown methods ***/
2538 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2539 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics *This,
2540 REFIID riid,
2541 void **ppvObject);
2542
2543 ULONG (STDMETHODCALLTYPE *AddRef)(
2544 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics *This);
2545
2546 ULONG (STDMETHODCALLTYPE *Release)(
2547 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics *This);
2548
2549 /*** IInspectable methods ***/
2550 HRESULT (STDMETHODCALLTYPE *GetIids)(
2551 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics *This,
2552 ULONG *iidCount,
2553 IID **iids);
2554
2555 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2556 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics *This,
2557 HSTRING *className);
2558
2559 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2560 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics *This,
2561 TrustLevel *trustLevel);
2562
2563 /*** IUsbConfigurationDescriptorStatics methods ***/
2564 HRESULT (STDMETHODCALLTYPE *TryParse)(
2565 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics *This,
2566 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *descriptor,
2567 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor **parsed,
2568 boolean *success);
2569
2570 HRESULT (STDMETHODCALLTYPE *Parse)(
2571 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics *This,
2572 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *descriptor,
2573 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor **parsed);
2574
2575 END_INTERFACE
2576 } __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStaticsVtbl;
2577
2578 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics {
2579 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStaticsVtbl* lpVtbl;
2580 };
2581
2582 #ifdef COBJMACROS
2583 #ifndef WIDL_C_INLINE_WRAPPERS
2584 /*** IUnknown methods ***/
2585 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2586 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
2587 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_Release(This) (This)->lpVtbl->Release(This)
2588 /*** IInspectable methods ***/
2589 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2590 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2591 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2592 /*** IUsbConfigurationDescriptorStatics methods ***/
2593 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_TryParse(This,descriptor,parsed,success) (This)->lpVtbl->TryParse(This,descriptor,parsed,success)
2594 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_Parse(This,descriptor,parsed) (This)->lpVtbl->Parse(This,descriptor,parsed)
2595 #else
2596 /*** IUnknown methods ***/
2597 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics* This,REFIID riid,void **ppvObject) {
2598 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2599 }
2600 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics* This) {
2601 return This->lpVtbl->AddRef(This);
2602 }
2603 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics* This) {
2604 return This->lpVtbl->Release(This);
2605 }
2606 /*** IInspectable methods ***/
2607 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics* This,ULONG *iidCount,IID **iids) {
2608 return This->lpVtbl->GetIids(This,iidCount,iids);
2609 }
2610 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics* This,HSTRING *className) {
2611 return This->lpVtbl->GetRuntimeClassName(This,className);
2612 }
2613 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics* This,TrustLevel *trustLevel) {
2614 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2615 }
2616 /*** IUsbConfigurationDescriptorStatics methods ***/
2617 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_TryParse(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *descriptor,__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor **parsed,boolean *success) {
2618 return This->lpVtbl->TryParse(This,descriptor,parsed,success);
2619 }
2620 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_Parse(__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *descriptor,__x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptor **parsed) {
2621 return This->lpVtbl->Parse(This,descriptor,parsed);
2622 }
2623 #endif
2624 #ifdef WIDL_using_Windows_Devices_Usb
2625 #define IID_IUsbConfigurationDescriptorStatics IID___x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics
2626 #define IUsbConfigurationDescriptorStaticsVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStaticsVtbl
2627 #define IUsbConfigurationDescriptorStatics __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics
2628 #define IUsbConfigurationDescriptorStatics_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_QueryInterface
2629 #define IUsbConfigurationDescriptorStatics_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_AddRef
2630 #define IUsbConfigurationDescriptorStatics_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_Release
2631 #define IUsbConfigurationDescriptorStatics_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_GetIids
2632 #define IUsbConfigurationDescriptorStatics_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_GetRuntimeClassName
2633 #define IUsbConfigurationDescriptorStatics_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_GetTrustLevel
2634 #define IUsbConfigurationDescriptorStatics_TryParse __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_TryParse
2635 #define IUsbConfigurationDescriptorStatics_Parse __x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_Parse
2636 #endif /* WIDL_using_Windows_Devices_Usb */
2637 #endif
2638
2639 #endif
2640
2641 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbConfigurationDescriptorStatics_INTERFACE_DEFINED__ */
2642 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2643
2644 /*****************************************************************************
2645 * IUsbControlRequestType interface
2646 */
2647 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2648 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_INTERFACE_DEFINED__
2649 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_INTERFACE_DEFINED__
2650
2651 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType, 0x8e9465a6, 0xd73d, 0x46de, 0x94,0xbe, 0xaa,0xe7,0xf0,0x7c,0x0f,0x5c);
2652 #if defined(__cplusplus) && !defined(CINTERFACE)
2653 } /* extern "C" */
2654 namespace ABI {
2655 namespace Windows {
2656 namespace Devices {
2657 namespace Usb {
2658 MIDL_INTERFACE("8e9465a6-d73d-46de-94be-aae7f07c0f5c")
2659 IUsbControlRequestType : public IInspectable
2660 {
2661 virtual HRESULT STDMETHODCALLTYPE get_Direction(
2662 ABI::Windows::Devices::Usb::UsbTransferDirection *value) = 0;
2663
2664 virtual HRESULT STDMETHODCALLTYPE put_Direction(
2665 ABI::Windows::Devices::Usb::UsbTransferDirection value) = 0;
2666
2667 virtual HRESULT STDMETHODCALLTYPE get_ControlTransferType(
2668 ABI::Windows::Devices::Usb::UsbControlTransferType *value) = 0;
2669
2670 virtual HRESULT STDMETHODCALLTYPE put_ControlTransferType(
2671 ABI::Windows::Devices::Usb::UsbControlTransferType value) = 0;
2672
2673 virtual HRESULT STDMETHODCALLTYPE get_Recipient(
2674 ABI::Windows::Devices::Usb::UsbControlRecipient *value) = 0;
2675
2676 virtual HRESULT STDMETHODCALLTYPE put_Recipient(
2677 ABI::Windows::Devices::Usb::UsbControlRecipient value) = 0;
2678
2679 virtual HRESULT STDMETHODCALLTYPE get_AsByte(
2680 BYTE *value) = 0;
2681
2682 virtual HRESULT STDMETHODCALLTYPE put_AsByte(
2683 BYTE value) = 0;
2684
2685 };
2686 }
2687 }
2688 }
2689 }
2690 extern "C" {
2691 #ifdef __CRT_UUID_DECL
2692 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType, 0x8e9465a6, 0xd73d, 0x46de, 0x94,0xbe, 0xaa,0xe7,0xf0,0x7c,0x0f,0x5c)
2693 #endif
2694 #else
2695 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestTypeVtbl {
2696 BEGIN_INTERFACE
2697
2698 /*** IUnknown methods ***/
2699 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2700 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2701 REFIID riid,
2702 void **ppvObject);
2703
2704 ULONG (STDMETHODCALLTYPE *AddRef)(
2705 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This);
2706
2707 ULONG (STDMETHODCALLTYPE *Release)(
2708 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This);
2709
2710 /*** IInspectable methods ***/
2711 HRESULT (STDMETHODCALLTYPE *GetIids)(
2712 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2713 ULONG *iidCount,
2714 IID **iids);
2715
2716 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2717 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2718 HSTRING *className);
2719
2720 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2721 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2722 TrustLevel *trustLevel);
2723
2724 /*** IUsbControlRequestType methods ***/
2725 HRESULT (STDMETHODCALLTYPE *get_Direction)(
2726 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2727 __x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection *value);
2728
2729 HRESULT (STDMETHODCALLTYPE *put_Direction)(
2730 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2731 __x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection value);
2732
2733 HRESULT (STDMETHODCALLTYPE *get_ControlTransferType)(
2734 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2735 __x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType *value);
2736
2737 HRESULT (STDMETHODCALLTYPE *put_ControlTransferType)(
2738 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2739 __x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType value);
2740
2741 HRESULT (STDMETHODCALLTYPE *get_Recipient)(
2742 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2743 __x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient *value);
2744
2745 HRESULT (STDMETHODCALLTYPE *put_Recipient)(
2746 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2747 __x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient value);
2748
2749 HRESULT (STDMETHODCALLTYPE *get_AsByte)(
2750 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2751 BYTE *value);
2752
2753 HRESULT (STDMETHODCALLTYPE *put_AsByte)(
2754 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *This,
2755 BYTE value);
2756
2757 END_INTERFACE
2758 } __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestTypeVtbl;
2759
2760 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType {
2761 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestTypeVtbl* lpVtbl;
2762 };
2763
2764 #ifdef COBJMACROS
2765 #ifndef WIDL_C_INLINE_WRAPPERS
2766 /*** IUnknown methods ***/
2767 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2768 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_AddRef(This) (This)->lpVtbl->AddRef(This)
2769 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_Release(This) (This)->lpVtbl->Release(This)
2770 /*** IInspectable methods ***/
2771 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2772 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2773 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2774 /*** IUsbControlRequestType methods ***/
2775 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_Direction(This,value) (This)->lpVtbl->get_Direction(This,value)
2776 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_Direction(This,value) (This)->lpVtbl->put_Direction(This,value)
2777 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_ControlTransferType(This,value) (This)->lpVtbl->get_ControlTransferType(This,value)
2778 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_ControlTransferType(This,value) (This)->lpVtbl->put_ControlTransferType(This,value)
2779 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_Recipient(This,value) (This)->lpVtbl->get_Recipient(This,value)
2780 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_Recipient(This,value) (This)->lpVtbl->put_Recipient(This,value)
2781 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_AsByte(This,value) (This)->lpVtbl->get_AsByte(This,value)
2782 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_AsByte(This,value) (This)->lpVtbl->put_AsByte(This,value)
2783 #else
2784 /*** IUnknown methods ***/
2785 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,REFIID riid,void **ppvObject) {
2786 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2787 }
2788 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This) {
2789 return This->lpVtbl->AddRef(This);
2790 }
2791 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This) {
2792 return This->lpVtbl->Release(This);
2793 }
2794 /*** IInspectable methods ***/
2795 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,ULONG *iidCount,IID **iids) {
2796 return This->lpVtbl->GetIids(This,iidCount,iids);
2797 }
2798 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,HSTRING *className) {
2799 return This->lpVtbl->GetRuntimeClassName(This,className);
2800 }
2801 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,TrustLevel *trustLevel) {
2802 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2803 }
2804 /*** IUsbControlRequestType methods ***/
2805 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_Direction(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,__x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection *value) {
2806 return This->lpVtbl->get_Direction(This,value);
2807 }
2808 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_Direction(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,__x_ABI_CWindows_CDevices_CUsb_CUsbTransferDirection value) {
2809 return This->lpVtbl->put_Direction(This,value);
2810 }
2811 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_ControlTransferType(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,__x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType *value) {
2812 return This->lpVtbl->get_ControlTransferType(This,value);
2813 }
2814 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_ControlTransferType(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,__x_ABI_CWindows_CDevices_CUsb_CUsbControlTransferType value) {
2815 return This->lpVtbl->put_ControlTransferType(This,value);
2816 }
2817 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_Recipient(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,__x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient *value) {
2818 return This->lpVtbl->get_Recipient(This,value);
2819 }
2820 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_Recipient(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,__x_ABI_CWindows_CDevices_CUsb_CUsbControlRecipient value) {
2821 return This->lpVtbl->put_Recipient(This,value);
2822 }
2823 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_AsByte(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,BYTE *value) {
2824 return This->lpVtbl->get_AsByte(This,value);
2825 }
2826 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_AsByte(__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType* This,BYTE value) {
2827 return This->lpVtbl->put_AsByte(This,value);
2828 }
2829 #endif
2830 #ifdef WIDL_using_Windows_Devices_Usb
2831 #define IID_IUsbControlRequestType IID___x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType
2832 #define IUsbControlRequestTypeVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestTypeVtbl
2833 #define IUsbControlRequestType __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType
2834 #define IUsbControlRequestType_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_QueryInterface
2835 #define IUsbControlRequestType_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_AddRef
2836 #define IUsbControlRequestType_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_Release
2837 #define IUsbControlRequestType_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_GetIids
2838 #define IUsbControlRequestType_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_GetRuntimeClassName
2839 #define IUsbControlRequestType_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_GetTrustLevel
2840 #define IUsbControlRequestType_get_Direction __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_Direction
2841 #define IUsbControlRequestType_put_Direction __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_Direction
2842 #define IUsbControlRequestType_get_ControlTransferType __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_ControlTransferType
2843 #define IUsbControlRequestType_put_ControlTransferType __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_ControlTransferType
2844 #define IUsbControlRequestType_get_Recipient __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_Recipient
2845 #define IUsbControlRequestType_put_Recipient __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_Recipient
2846 #define IUsbControlRequestType_get_AsByte __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_get_AsByte
2847 #define IUsbControlRequestType_put_AsByte __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_put_AsByte
2848 #endif /* WIDL_using_Windows_Devices_Usb */
2849 #endif
2850
2851 #endif
2852
2853 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType_INTERFACE_DEFINED__ */
2854 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2855
2856 /*****************************************************************************
2857 * IUsbDescriptor interface
2858 */
2859 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2860 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_INTERFACE_DEFINED__
2861 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_INTERFACE_DEFINED__
2862
2863 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor, 0x0a89f216, 0x5f9d, 0x4874, 0x89,0x04, 0xda,0x9a,0xd3,0xf5,0x52,0x8f);
2864 #if defined(__cplusplus) && !defined(CINTERFACE)
2865 } /* extern "C" */
2866 namespace ABI {
2867 namespace Windows {
2868 namespace Devices {
2869 namespace Usb {
2870 MIDL_INTERFACE("0a89f216-5f9d-4874-8904-da9ad3f5528f")
2871 IUsbDescriptor : public IInspectable
2872 {
2873 virtual HRESULT STDMETHODCALLTYPE get_Length(
2874 BYTE *value) = 0;
2875
2876 virtual HRESULT STDMETHODCALLTYPE get_DescriptorType(
2877 BYTE *value) = 0;
2878
2879 virtual HRESULT STDMETHODCALLTYPE ReadDescriptorBuffer(
2880 ABI::Windows::Storage::Streams::IBuffer *buffer) = 0;
2881
2882 };
2883 }
2884 }
2885 }
2886 }
2887 extern "C" {
2888 #ifdef __CRT_UUID_DECL
2889 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor, 0x0a89f216, 0x5f9d, 0x4874, 0x89,0x04, 0xda,0x9a,0xd3,0xf5,0x52,0x8f)
2890 #endif
2891 #else
2892 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptorVtbl {
2893 BEGIN_INTERFACE
2894
2895 /*** IUnknown methods ***/
2896 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2897 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *This,
2898 REFIID riid,
2899 void **ppvObject);
2900
2901 ULONG (STDMETHODCALLTYPE *AddRef)(
2902 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *This);
2903
2904 ULONG (STDMETHODCALLTYPE *Release)(
2905 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *This);
2906
2907 /*** IInspectable methods ***/
2908 HRESULT (STDMETHODCALLTYPE *GetIids)(
2909 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *This,
2910 ULONG *iidCount,
2911 IID **iids);
2912
2913 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2914 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *This,
2915 HSTRING *className);
2916
2917 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2918 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *This,
2919 TrustLevel *trustLevel);
2920
2921 /*** IUsbDescriptor methods ***/
2922 HRESULT (STDMETHODCALLTYPE *get_Length)(
2923 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *This,
2924 BYTE *value);
2925
2926 HRESULT (STDMETHODCALLTYPE *get_DescriptorType)(
2927 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *This,
2928 BYTE *value);
2929
2930 HRESULT (STDMETHODCALLTYPE *ReadDescriptorBuffer)(
2931 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *This,
2932 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer);
2933
2934 END_INTERFACE
2935 } __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptorVtbl;
2936
2937 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor {
2938 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptorVtbl* lpVtbl;
2939 };
2940
2941 #ifdef COBJMACROS
2942 #ifndef WIDL_C_INLINE_WRAPPERS
2943 /*** IUnknown methods ***/
2944 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2945 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
2946 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_Release(This) (This)->lpVtbl->Release(This)
2947 /*** IInspectable methods ***/
2948 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2949 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2950 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2951 /*** IUsbDescriptor methods ***/
2952 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_get_Length(This,value) (This)->lpVtbl->get_Length(This,value)
2953 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_get_DescriptorType(This,value) (This)->lpVtbl->get_DescriptorType(This,value)
2954 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_ReadDescriptorBuffer(This,buffer) (This)->lpVtbl->ReadDescriptorBuffer(This,buffer)
2955 #else
2956 /*** IUnknown methods ***/
2957 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor* This,REFIID riid,void **ppvObject) {
2958 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2959 }
2960 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor* This) {
2961 return This->lpVtbl->AddRef(This);
2962 }
2963 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor* This) {
2964 return This->lpVtbl->Release(This);
2965 }
2966 /*** IInspectable methods ***/
2967 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor* This,ULONG *iidCount,IID **iids) {
2968 return This->lpVtbl->GetIids(This,iidCount,iids);
2969 }
2970 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor* This,HSTRING *className) {
2971 return This->lpVtbl->GetRuntimeClassName(This,className);
2972 }
2973 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor* This,TrustLevel *trustLevel) {
2974 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2975 }
2976 /*** IUsbDescriptor methods ***/
2977 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_get_Length(__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor* This,BYTE *value) {
2978 return This->lpVtbl->get_Length(This,value);
2979 }
2980 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_get_DescriptorType(__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor* This,BYTE *value) {
2981 return This->lpVtbl->get_DescriptorType(This,value);
2982 }
2983 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_ReadDescriptorBuffer(__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor* This,__x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer) {
2984 return This->lpVtbl->ReadDescriptorBuffer(This,buffer);
2985 }
2986 #endif
2987 #ifdef WIDL_using_Windows_Devices_Usb
2988 #define IID_IUsbDescriptor IID___x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor
2989 #define IUsbDescriptorVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptorVtbl
2990 #define IUsbDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor
2991 #define IUsbDescriptor_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_QueryInterface
2992 #define IUsbDescriptor_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_AddRef
2993 #define IUsbDescriptor_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_Release
2994 #define IUsbDescriptor_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_GetIids
2995 #define IUsbDescriptor_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_GetRuntimeClassName
2996 #define IUsbDescriptor_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_GetTrustLevel
2997 #define IUsbDescriptor_get_Length __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_get_Length
2998 #define IUsbDescriptor_get_DescriptorType __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_get_DescriptorType
2999 #define IUsbDescriptor_ReadDescriptorBuffer __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_ReadDescriptorBuffer
3000 #endif /* WIDL_using_Windows_Devices_Usb */
3001 #endif
3002
3003 #endif
3004
3005 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor_INTERFACE_DEFINED__ */
3006 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
3007
3008 /*****************************************************************************
3009 * IUsbDevice interface
3010 */
3011 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
3012 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_INTERFACE_DEFINED__
3013 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_INTERFACE_DEFINED__
3014
3015 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbDevice, 0x5249b992, 0xc456, 0x44d5, 0xad,0x5e, 0x24,0xf5,0xa0,0x89,0xf6,0x3b);
3016 #if defined(__cplusplus) && !defined(CINTERFACE)
3017 } /* extern "C" */
3018 namespace ABI {
3019 namespace Windows {
3020 namespace Devices {
3021 namespace Usb {
3022 MIDL_INTERFACE("5249b992-c456-44d5-ad5e-24f5a089f63b")
3023 IUsbDevice : public IInspectable
3024 {
3025 virtual HRESULT STDMETHODCALLTYPE SendControlOutTransferAsync(
3026 ABI::Windows::Devices::Usb::IUsbSetupPacket *packet,
3027 ABI::Windows::Storage::Streams::IBuffer *buffer,
3028 ABI::Windows::Foundation::IAsyncOperation<UINT32 > **operation) = 0;
3029
3030 virtual HRESULT STDMETHODCALLTYPE SendControlOutTransferAsyncNoBuffer(
3031 ABI::Windows::Devices::Usb::IUsbSetupPacket *packet,
3032 ABI::Windows::Foundation::IAsyncOperation<UINT32 > **operation) = 0;
3033
3034 virtual HRESULT STDMETHODCALLTYPE SendControlInTransferAsync(
3035 ABI::Windows::Devices::Usb::IUsbSetupPacket *packet,
3036 ABI::Windows::Storage::Streams::IBuffer *buffer,
3037 ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Storage::Streams::IBuffer* > **operation) = 0;
3038
3039 virtual HRESULT STDMETHODCALLTYPE SendControlInTransferAsyncNoBuffer(
3040 ABI::Windows::Devices::Usb::IUsbSetupPacket *packet,
3041 ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Storage::Streams::IBuffer* > **operation) = 0;
3042
3043 virtual HRESULT STDMETHODCALLTYPE get_DefaultInterface(
3044 ABI::Windows::Devices::Usb::IUsbInterface **value) = 0;
3045
3046 virtual HRESULT STDMETHODCALLTYPE get_DeviceDescriptor(
3047 ABI::Windows::Devices::Usb::IUsbDeviceDescriptor **value) = 0;
3048
3049 virtual HRESULT STDMETHODCALLTYPE get_Configuration(
3050 ABI::Windows::Devices::Usb::IUsbConfiguration **value) = 0;
3051
3052 };
3053 }
3054 }
3055 }
3056 }
3057 extern "C" {
3058 #ifdef __CRT_UUID_DECL
3059 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice, 0x5249b992, 0xc456, 0x44d5, 0xad,0x5e, 0x24,0xf5,0xa0,0x89,0xf6,0x3b)
3060 #endif
3061 #else
3062 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceVtbl {
3063 BEGIN_INTERFACE
3064
3065 /*** IUnknown methods ***/
3066 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3067 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3068 REFIID riid,
3069 void **ppvObject);
3070
3071 ULONG (STDMETHODCALLTYPE *AddRef)(
3072 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This);
3073
3074 ULONG (STDMETHODCALLTYPE *Release)(
3075 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This);
3076
3077 /*** IInspectable methods ***/
3078 HRESULT (STDMETHODCALLTYPE *GetIids)(
3079 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3080 ULONG *iidCount,
3081 IID **iids);
3082
3083 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
3084 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3085 HSTRING *className);
3086
3087 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
3088 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3089 TrustLevel *trustLevel);
3090
3091 /*** IUsbDevice methods ***/
3092 HRESULT (STDMETHODCALLTYPE *SendControlOutTransferAsync)(
3093 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3094 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *packet,
3095 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,
3096 __FIAsyncOperation_1_UINT32 **operation);
3097
3098 HRESULT (STDMETHODCALLTYPE *SendControlOutTransferAsyncNoBuffer)(
3099 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3100 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *packet,
3101 __FIAsyncOperation_1_UINT32 **operation);
3102
3103 HRESULT (STDMETHODCALLTYPE *SendControlInTransferAsync)(
3104 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3105 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *packet,
3106 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,
3107 __FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer **operation);
3108
3109 HRESULT (STDMETHODCALLTYPE *SendControlInTransferAsyncNoBuffer)(
3110 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3111 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *packet,
3112 __FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer **operation);
3113
3114 HRESULT (STDMETHODCALLTYPE *get_DefaultInterface)(
3115 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3116 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface **value);
3117
3118 HRESULT (STDMETHODCALLTYPE *get_DeviceDescriptor)(
3119 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3120 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor **value);
3121
3122 HRESULT (STDMETHODCALLTYPE *get_Configuration)(
3123 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice *This,
3124 __x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration **value);
3125
3126 END_INTERFACE
3127 } __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceVtbl;
3128
3129 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice {
3130 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceVtbl* lpVtbl;
3131 };
3132
3133 #ifdef COBJMACROS
3134 #ifndef WIDL_C_INLINE_WRAPPERS
3135 /*** IUnknown methods ***/
3136 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3137 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_AddRef(This) (This)->lpVtbl->AddRef(This)
3138 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_Release(This) (This)->lpVtbl->Release(This)
3139 /*** IInspectable methods ***/
3140 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
3141 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
3142 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
3143 /*** IUsbDevice methods ***/
3144 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlOutTransferAsync(This,packet,buffer,operation) (This)->lpVtbl->SendControlOutTransferAsync(This,packet,buffer,operation)
3145 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlOutTransferAsyncNoBuffer(This,packet,operation) (This)->lpVtbl->SendControlOutTransferAsyncNoBuffer(This,packet,operation)
3146 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlInTransferAsync(This,packet,buffer,operation) (This)->lpVtbl->SendControlInTransferAsync(This,packet,buffer,operation)
3147 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlInTransferAsyncNoBuffer(This,packet,operation) (This)->lpVtbl->SendControlInTransferAsyncNoBuffer(This,packet,operation)
3148 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_get_DefaultInterface(This,value) (This)->lpVtbl->get_DefaultInterface(This,value)
3149 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_get_DeviceDescriptor(This,value) (This)->lpVtbl->get_DeviceDescriptor(This,value)
3150 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_get_Configuration(This,value) (This)->lpVtbl->get_Configuration(This,value)
3151 #else
3152 /*** IUnknown methods ***/
3153 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,REFIID riid,void **ppvObject) {
3154 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3155 }
3156 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This) {
3157 return This->lpVtbl->AddRef(This);
3158 }
3159 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This) {
3160 return This->lpVtbl->Release(This);
3161 }
3162 /*** IInspectable methods ***/
3163 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,ULONG *iidCount,IID **iids) {
3164 return This->lpVtbl->GetIids(This,iidCount,iids);
3165 }
3166 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,HSTRING *className) {
3167 return This->lpVtbl->GetRuntimeClassName(This,className);
3168 }
3169 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,TrustLevel *trustLevel) {
3170 return This->lpVtbl->GetTrustLevel(This,trustLevel);
3171 }
3172 /*** IUsbDevice methods ***/
3173 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlOutTransferAsync(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *packet,__x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,__FIAsyncOperation_1_UINT32 **operation) {
3174 return This->lpVtbl->SendControlOutTransferAsync(This,packet,buffer,operation);
3175 }
3176 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlOutTransferAsyncNoBuffer(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *packet,__FIAsyncOperation_1_UINT32 **operation) {
3177 return This->lpVtbl->SendControlOutTransferAsyncNoBuffer(This,packet,operation);
3178 }
3179 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlInTransferAsync(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *packet,__x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer **operation) {
3180 return This->lpVtbl->SendControlInTransferAsync(This,packet,buffer,operation);
3181 }
3182 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlInTransferAsyncNoBuffer(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *packet,__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer **operation) {
3183 return This->lpVtbl->SendControlInTransferAsyncNoBuffer(This,packet,operation);
3184 }
3185 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_get_DefaultInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface **value) {
3186 return This->lpVtbl->get_DefaultInterface(This,value);
3187 }
3188 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_get_DeviceDescriptor(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor **value) {
3189 return This->lpVtbl->get_DeviceDescriptor(This,value);
3190 }
3191 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_get_Configuration(__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbConfiguration **value) {
3192 return This->lpVtbl->get_Configuration(This,value);
3193 }
3194 #endif
3195 #ifdef WIDL_using_Windows_Devices_Usb
3196 #define IID_IUsbDevice IID___x_ABI_CWindows_CDevices_CUsb_CIUsbDevice
3197 #define IUsbDeviceVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceVtbl
3198 #define IUsbDevice __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice
3199 #define IUsbDevice_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_QueryInterface
3200 #define IUsbDevice_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_AddRef
3201 #define IUsbDevice_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_Release
3202 #define IUsbDevice_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_GetIids
3203 #define IUsbDevice_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_GetRuntimeClassName
3204 #define IUsbDevice_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_GetTrustLevel
3205 #define IUsbDevice_SendControlOutTransferAsync __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlOutTransferAsync
3206 #define IUsbDevice_SendControlOutTransferAsyncNoBuffer __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlOutTransferAsyncNoBuffer
3207 #define IUsbDevice_SendControlInTransferAsync __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlInTransferAsync
3208 #define IUsbDevice_SendControlInTransferAsyncNoBuffer __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_SendControlInTransferAsyncNoBuffer
3209 #define IUsbDevice_get_DefaultInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_get_DefaultInterface
3210 #define IUsbDevice_get_DeviceDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_get_DeviceDescriptor
3211 #define IUsbDevice_get_Configuration __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_get_Configuration
3212 #endif /* WIDL_using_Windows_Devices_Usb */
3213 #endif
3214
3215 #endif
3216
3217 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbDevice_INTERFACE_DEFINED__ */
3218 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
3219
3220 /*****************************************************************************
3221 * IUsbDeviceClass interface
3222 */
3223 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
3224 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_INTERFACE_DEFINED__
3225 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_INTERFACE_DEFINED__
3226
3227 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass, 0x051942f9, 0x845e, 0x47eb, 0xb1,0x2a, 0x38,0xf2,0xf6,0x17,0xaf,0xe7);
3228 #if defined(__cplusplus) && !defined(CINTERFACE)
3229 } /* extern "C" */
3230 namespace ABI {
3231 namespace Windows {
3232 namespace Devices {
3233 namespace Usb {
3234 MIDL_INTERFACE("051942f9-845e-47eb-b12a-38f2f617afe7")
3235 IUsbDeviceClass : public IInspectable
3236 {
3237 virtual HRESULT STDMETHODCALLTYPE get_ClassCode(
3238 BYTE *value) = 0;
3239
3240 virtual HRESULT STDMETHODCALLTYPE put_ClassCode(
3241 BYTE value) = 0;
3242
3243 virtual HRESULT STDMETHODCALLTYPE get_SubclassCode(
3244 ABI::Windows::Foundation::IReference<BYTE > **value) = 0;
3245
3246 virtual HRESULT STDMETHODCALLTYPE put_SubclassCode(
3247 ABI::Windows::Foundation::IReference<BYTE > *value) = 0;
3248
3249 virtual HRESULT STDMETHODCALLTYPE get_ProtocolCode(
3250 ABI::Windows::Foundation::IReference<BYTE > **value) = 0;
3251
3252 virtual HRESULT STDMETHODCALLTYPE put_ProtocolCode(
3253 ABI::Windows::Foundation::IReference<BYTE > *value) = 0;
3254
3255 };
3256 }
3257 }
3258 }
3259 }
3260 extern "C" {
3261 #ifdef __CRT_UUID_DECL
3262 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass, 0x051942f9, 0x845e, 0x47eb, 0xb1,0x2a, 0x38,0xf2,0xf6,0x17,0xaf,0xe7)
3263 #endif
3264 #else
3265 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClassVtbl {
3266 BEGIN_INTERFACE
3267
3268 /*** IUnknown methods ***/
3269 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3270 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This,
3271 REFIID riid,
3272 void **ppvObject);
3273
3274 ULONG (STDMETHODCALLTYPE *AddRef)(
3275 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This);
3276
3277 ULONG (STDMETHODCALLTYPE *Release)(
3278 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This);
3279
3280 /*** IInspectable methods ***/
3281 HRESULT (STDMETHODCALLTYPE *GetIids)(
3282 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This,
3283 ULONG *iidCount,
3284 IID **iids);
3285
3286 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
3287 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This,
3288 HSTRING *className);
3289
3290 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
3291 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This,
3292 TrustLevel *trustLevel);
3293
3294 /*** IUsbDeviceClass methods ***/
3295 HRESULT (STDMETHODCALLTYPE *get_ClassCode)(
3296 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This,
3297 BYTE *value);
3298
3299 HRESULT (STDMETHODCALLTYPE *put_ClassCode)(
3300 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This,
3301 BYTE value);
3302
3303 HRESULT (STDMETHODCALLTYPE *get_SubclassCode)(
3304 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This,
3305 __FIReference_1_BYTE **value);
3306
3307 HRESULT (STDMETHODCALLTYPE *put_SubclassCode)(
3308 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This,
3309 __FIReference_1_BYTE *value);
3310
3311 HRESULT (STDMETHODCALLTYPE *get_ProtocolCode)(
3312 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This,
3313 __FIReference_1_BYTE **value);
3314
3315 HRESULT (STDMETHODCALLTYPE *put_ProtocolCode)(
3316 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *This,
3317 __FIReference_1_BYTE *value);
3318
3319 END_INTERFACE
3320 } __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClassVtbl;
3321
3322 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass {
3323 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClassVtbl* lpVtbl;
3324 };
3325
3326 #ifdef COBJMACROS
3327 #ifndef WIDL_C_INLINE_WRAPPERS
3328 /*** IUnknown methods ***/
3329 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3330 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_AddRef(This) (This)->lpVtbl->AddRef(This)
3331 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_Release(This) (This)->lpVtbl->Release(This)
3332 /*** IInspectable methods ***/
3333 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
3334 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
3335 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
3336 /*** IUsbDeviceClass methods ***/
3337 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_get_ClassCode(This,value) (This)->lpVtbl->get_ClassCode(This,value)
3338 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_put_ClassCode(This,value) (This)->lpVtbl->put_ClassCode(This,value)
3339 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_get_SubclassCode(This,value) (This)->lpVtbl->get_SubclassCode(This,value)
3340 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_put_SubclassCode(This,value) (This)->lpVtbl->put_SubclassCode(This,value)
3341 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_get_ProtocolCode(This,value) (This)->lpVtbl->get_ProtocolCode(This,value)
3342 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_put_ProtocolCode(This,value) (This)->lpVtbl->put_ProtocolCode(This,value)
3343 #else
3344 /*** IUnknown methods ***/
3345 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This,REFIID riid,void **ppvObject) {
3346 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3347 }
3348 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This) {
3349 return This->lpVtbl->AddRef(This);
3350 }
3351 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This) {
3352 return This->lpVtbl->Release(This);
3353 }
3354 /*** IInspectable methods ***/
3355 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This,ULONG *iidCount,IID **iids) {
3356 return This->lpVtbl->GetIids(This,iidCount,iids);
3357 }
3358 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This,HSTRING *className) {
3359 return This->lpVtbl->GetRuntimeClassName(This,className);
3360 }
3361 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This,TrustLevel *trustLevel) {
3362 return This->lpVtbl->GetTrustLevel(This,trustLevel);
3363 }
3364 /*** IUsbDeviceClass methods ***/
3365 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_get_ClassCode(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This,BYTE *value) {
3366 return This->lpVtbl->get_ClassCode(This,value);
3367 }
3368 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_put_ClassCode(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This,BYTE value) {
3369 return This->lpVtbl->put_ClassCode(This,value);
3370 }
3371 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_get_SubclassCode(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This,__FIReference_1_BYTE **value) {
3372 return This->lpVtbl->get_SubclassCode(This,value);
3373 }
3374 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_put_SubclassCode(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This,__FIReference_1_BYTE *value) {
3375 return This->lpVtbl->put_SubclassCode(This,value);
3376 }
3377 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_get_ProtocolCode(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This,__FIReference_1_BYTE **value) {
3378 return This->lpVtbl->get_ProtocolCode(This,value);
3379 }
3380 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_put_ProtocolCode(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass* This,__FIReference_1_BYTE *value) {
3381 return This->lpVtbl->put_ProtocolCode(This,value);
3382 }
3383 #endif
3384 #ifdef WIDL_using_Windows_Devices_Usb
3385 #define IID_IUsbDeviceClass IID___x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass
3386 #define IUsbDeviceClassVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClassVtbl
3387 #define IUsbDeviceClass __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass
3388 #define IUsbDeviceClass_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_QueryInterface
3389 #define IUsbDeviceClass_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_AddRef
3390 #define IUsbDeviceClass_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_Release
3391 #define IUsbDeviceClass_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_GetIids
3392 #define IUsbDeviceClass_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_GetRuntimeClassName
3393 #define IUsbDeviceClass_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_GetTrustLevel
3394 #define IUsbDeviceClass_get_ClassCode __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_get_ClassCode
3395 #define IUsbDeviceClass_put_ClassCode __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_put_ClassCode
3396 #define IUsbDeviceClass_get_SubclassCode __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_get_SubclassCode
3397 #define IUsbDeviceClass_put_SubclassCode __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_put_SubclassCode
3398 #define IUsbDeviceClass_get_ProtocolCode __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_get_ProtocolCode
3399 #define IUsbDeviceClass_put_ProtocolCode __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_put_ProtocolCode
3400 #endif /* WIDL_using_Windows_Devices_Usb */
3401 #endif
3402
3403 #endif
3404
3405 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass_INTERFACE_DEFINED__ */
3406 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
3407
3408 /*****************************************************************************
3409 * IUsbDeviceDescriptor interface
3410 */
3411 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
3412 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_INTERFACE_DEFINED__
3413 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_INTERFACE_DEFINED__
3414
3415 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor, 0x1f48d1f6, 0xba97, 0x4322, 0xb9,0x2c, 0xb5,0xb1,0x89,0x21,0x65,0x88);
3416 #if defined(__cplusplus) && !defined(CINTERFACE)
3417 } /* extern "C" */
3418 namespace ABI {
3419 namespace Windows {
3420 namespace Devices {
3421 namespace Usb {
3422 MIDL_INTERFACE("1f48d1f6-ba97-4322-b92c-b5b189216588")
3423 IUsbDeviceDescriptor : public IInspectable
3424 {
3425 virtual HRESULT STDMETHODCALLTYPE get_BcdUsb(
3426 UINT32 *value) = 0;
3427
3428 virtual HRESULT STDMETHODCALLTYPE get_MaxPacketSize0(
3429 BYTE *value) = 0;
3430
3431 virtual HRESULT STDMETHODCALLTYPE get_VendorId(
3432 UINT32 *value) = 0;
3433
3434 virtual HRESULT STDMETHODCALLTYPE get_ProductId(
3435 UINT32 *value) = 0;
3436
3437 virtual HRESULT STDMETHODCALLTYPE get_BcdDeviceRevision(
3438 UINT32 *value) = 0;
3439
3440 virtual HRESULT STDMETHODCALLTYPE get_NumberOfConfigurations(
3441 BYTE *value) = 0;
3442
3443 };
3444 }
3445 }
3446 }
3447 }
3448 extern "C" {
3449 #ifdef __CRT_UUID_DECL
3450 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor, 0x1f48d1f6, 0xba97, 0x4322, 0xb9,0x2c, 0xb5,0xb1,0x89,0x21,0x65,0x88)
3451 #endif
3452 #else
3453 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptorVtbl {
3454 BEGIN_INTERFACE
3455
3456 /*** IUnknown methods ***/
3457 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3458 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This,
3459 REFIID riid,
3460 void **ppvObject);
3461
3462 ULONG (STDMETHODCALLTYPE *AddRef)(
3463 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This);
3464
3465 ULONG (STDMETHODCALLTYPE *Release)(
3466 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This);
3467
3468 /*** IInspectable methods ***/
3469 HRESULT (STDMETHODCALLTYPE *GetIids)(
3470 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This,
3471 ULONG *iidCount,
3472 IID **iids);
3473
3474 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
3475 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This,
3476 HSTRING *className);
3477
3478 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
3479 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This,
3480 TrustLevel *trustLevel);
3481
3482 /*** IUsbDeviceDescriptor methods ***/
3483 HRESULT (STDMETHODCALLTYPE *get_BcdUsb)(
3484 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This,
3485 UINT32 *value);
3486
3487 HRESULT (STDMETHODCALLTYPE *get_MaxPacketSize0)(
3488 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This,
3489 BYTE *value);
3490
3491 HRESULT (STDMETHODCALLTYPE *get_VendorId)(
3492 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This,
3493 UINT32 *value);
3494
3495 HRESULT (STDMETHODCALLTYPE *get_ProductId)(
3496 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This,
3497 UINT32 *value);
3498
3499 HRESULT (STDMETHODCALLTYPE *get_BcdDeviceRevision)(
3500 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This,
3501 UINT32 *value);
3502
3503 HRESULT (STDMETHODCALLTYPE *get_NumberOfConfigurations)(
3504 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor *This,
3505 BYTE *value);
3506
3507 END_INTERFACE
3508 } __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptorVtbl;
3509
3510 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor {
3511 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptorVtbl* lpVtbl;
3512 };
3513
3514 #ifdef COBJMACROS
3515 #ifndef WIDL_C_INLINE_WRAPPERS
3516 /*** IUnknown methods ***/
3517 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3518 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
3519 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_Release(This) (This)->lpVtbl->Release(This)
3520 /*** IInspectable methods ***/
3521 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
3522 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
3523 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
3524 /*** IUsbDeviceDescriptor methods ***/
3525 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_BcdUsb(This,value) (This)->lpVtbl->get_BcdUsb(This,value)
3526 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_MaxPacketSize0(This,value) (This)->lpVtbl->get_MaxPacketSize0(This,value)
3527 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_VendorId(This,value) (This)->lpVtbl->get_VendorId(This,value)
3528 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_ProductId(This,value) (This)->lpVtbl->get_ProductId(This,value)
3529 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_BcdDeviceRevision(This,value) (This)->lpVtbl->get_BcdDeviceRevision(This,value)
3530 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_NumberOfConfigurations(This,value) (This)->lpVtbl->get_NumberOfConfigurations(This,value)
3531 #else
3532 /*** IUnknown methods ***/
3533 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This,REFIID riid,void **ppvObject) {
3534 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3535 }
3536 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This) {
3537 return This->lpVtbl->AddRef(This);
3538 }
3539 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This) {
3540 return This->lpVtbl->Release(This);
3541 }
3542 /*** IInspectable methods ***/
3543 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This,ULONG *iidCount,IID **iids) {
3544 return This->lpVtbl->GetIids(This,iidCount,iids);
3545 }
3546 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This,HSTRING *className) {
3547 return This->lpVtbl->GetRuntimeClassName(This,className);
3548 }
3549 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This,TrustLevel *trustLevel) {
3550 return This->lpVtbl->GetTrustLevel(This,trustLevel);
3551 }
3552 /*** IUsbDeviceDescriptor methods ***/
3553 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_BcdUsb(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This,UINT32 *value) {
3554 return This->lpVtbl->get_BcdUsb(This,value);
3555 }
3556 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_MaxPacketSize0(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This,BYTE *value) {
3557 return This->lpVtbl->get_MaxPacketSize0(This,value);
3558 }
3559 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_VendorId(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This,UINT32 *value) {
3560 return This->lpVtbl->get_VendorId(This,value);
3561 }
3562 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_ProductId(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This,UINT32 *value) {
3563 return This->lpVtbl->get_ProductId(This,value);
3564 }
3565 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_BcdDeviceRevision(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This,UINT32 *value) {
3566 return This->lpVtbl->get_BcdDeviceRevision(This,value);
3567 }
3568 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_NumberOfConfigurations(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor* This,BYTE *value) {
3569 return This->lpVtbl->get_NumberOfConfigurations(This,value);
3570 }
3571 #endif
3572 #ifdef WIDL_using_Windows_Devices_Usb
3573 #define IID_IUsbDeviceDescriptor IID___x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor
3574 #define IUsbDeviceDescriptorVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptorVtbl
3575 #define IUsbDeviceDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor
3576 #define IUsbDeviceDescriptor_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_QueryInterface
3577 #define IUsbDeviceDescriptor_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_AddRef
3578 #define IUsbDeviceDescriptor_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_Release
3579 #define IUsbDeviceDescriptor_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_GetIids
3580 #define IUsbDeviceDescriptor_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_GetRuntimeClassName
3581 #define IUsbDeviceDescriptor_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_GetTrustLevel
3582 #define IUsbDeviceDescriptor_get_BcdUsb __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_BcdUsb
3583 #define IUsbDeviceDescriptor_get_MaxPacketSize0 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_MaxPacketSize0
3584 #define IUsbDeviceDescriptor_get_VendorId __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_VendorId
3585 #define IUsbDeviceDescriptor_get_ProductId __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_ProductId
3586 #define IUsbDeviceDescriptor_get_BcdDeviceRevision __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_BcdDeviceRevision
3587 #define IUsbDeviceDescriptor_get_NumberOfConfigurations __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_get_NumberOfConfigurations
3588 #endif /* WIDL_using_Windows_Devices_Usb */
3589 #endif
3590
3591 #endif
3592
3593 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceDescriptor_INTERFACE_DEFINED__ */
3594 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
3595
3596 /*****************************************************************************
3597 * IUsbDeviceStatics interface
3598 */
3599 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
3600 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_INTERFACE_DEFINED__
3601 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_INTERFACE_DEFINED__
3602
3603 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics, 0x066b85a2, 0x09b7, 0x4446, 0x85,0x02, 0x6f,0xe6,0xdc,0xaa,0x73,0x09);
3604 #if defined(__cplusplus) && !defined(CINTERFACE)
3605 } /* extern "C" */
3606 namespace ABI {
3607 namespace Windows {
3608 namespace Devices {
3609 namespace Usb {
3610 MIDL_INTERFACE("066b85a2-09b7-4446-8502-6fe6dcaa7309")
3611 IUsbDeviceStatics : public IInspectable
3612 {
3613 virtual HRESULT STDMETHODCALLTYPE GetDeviceSelector(
3614 UINT32 vendor,
3615 UINT32 product,
3616 GUID class,
3617 HSTRING *value) = 0;
3618
3619 virtual HRESULT STDMETHODCALLTYPE GetDeviceSelectorGuidOnly(
3620 GUID class,
3621 HSTRING *value) = 0;
3622
3623 virtual HRESULT STDMETHODCALLTYPE GetDeviceSelectorVidPidOnly(
3624 UINT32 vendor,
3625 UINT32 product,
3626 HSTRING *value) = 0;
3627
3628 virtual HRESULT STDMETHODCALLTYPE GetDeviceClassSelector(
3629 ABI::Windows::Devices::Usb::IUsbDeviceClass *class,
3630 HSTRING *value) = 0;
3631
3632 virtual HRESULT STDMETHODCALLTYPE FromIdAsync(
3633 HSTRING id,
3634 ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Usb::UsbDevice* > **operation) = 0;
3635
3636 };
3637 }
3638 }
3639 }
3640 }
3641 extern "C" {
3642 #ifdef __CRT_UUID_DECL
3643 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics, 0x066b85a2, 0x09b7, 0x4446, 0x85,0x02, 0x6f,0xe6,0xdc,0xaa,0x73,0x09)
3644 #endif
3645 #else
3646 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStaticsVtbl {
3647 BEGIN_INTERFACE
3648
3649 /*** IUnknown methods ***/
3650 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3651 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This,
3652 REFIID riid,
3653 void **ppvObject);
3654
3655 ULONG (STDMETHODCALLTYPE *AddRef)(
3656 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This);
3657
3658 ULONG (STDMETHODCALLTYPE *Release)(
3659 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This);
3660
3661 /*** IInspectable methods ***/
3662 HRESULT (STDMETHODCALLTYPE *GetIids)(
3663 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This,
3664 ULONG *iidCount,
3665 IID **iids);
3666
3667 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
3668 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This,
3669 HSTRING *className);
3670
3671 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
3672 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This,
3673 TrustLevel *trustLevel);
3674
3675 /*** IUsbDeviceStatics methods ***/
3676 HRESULT (STDMETHODCALLTYPE *GetDeviceSelector)(
3677 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This,
3678 UINT32 vendor,
3679 UINT32 product,
3680 GUID class,
3681 HSTRING *value);
3682
3683 HRESULT (STDMETHODCALLTYPE *GetDeviceSelectorGuidOnly)(
3684 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This,
3685 GUID class,
3686 HSTRING *value);
3687
3688 HRESULT (STDMETHODCALLTYPE *GetDeviceSelectorVidPidOnly)(
3689 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This,
3690 UINT32 vendor,
3691 UINT32 product,
3692 HSTRING *value);
3693
3694 HRESULT (STDMETHODCALLTYPE *GetDeviceClassSelector)(
3695 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This,
3696 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *class,
3697 HSTRING *value);
3698
3699 HRESULT (STDMETHODCALLTYPE *FromIdAsync)(
3700 __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics *This,
3701 HSTRING id,
3702 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice **operation);
3703
3704 END_INTERFACE
3705 } __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStaticsVtbl;
3706
3707 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics {
3708 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStaticsVtbl* lpVtbl;
3709 };
3710
3711 #ifdef COBJMACROS
3712 #ifndef WIDL_C_INLINE_WRAPPERS
3713 /*** IUnknown methods ***/
3714 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3715 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
3716 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_Release(This) (This)->lpVtbl->Release(This)
3717 /*** IInspectable methods ***/
3718 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
3719 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
3720 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
3721 /*** IUsbDeviceStatics methods ***/
3722 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceSelector(This,vendor,product,class,value) (This)->lpVtbl->GetDeviceSelector(This,vendor,product,class,value)
3723 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceSelectorGuidOnly(This,class,value) (This)->lpVtbl->GetDeviceSelectorGuidOnly(This,class,value)
3724 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceSelectorVidPidOnly(This,vendor,product,value) (This)->lpVtbl->GetDeviceSelectorVidPidOnly(This,vendor,product,value)
3725 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceClassSelector(This,class,value) (This)->lpVtbl->GetDeviceClassSelector(This,class,value)
3726 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_FromIdAsync(This,id,operation) (This)->lpVtbl->FromIdAsync(This,id,operation)
3727 #else
3728 /*** IUnknown methods ***/
3729 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This,REFIID riid,void **ppvObject) {
3730 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3731 }
3732 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This) {
3733 return This->lpVtbl->AddRef(This);
3734 }
3735 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This) {
3736 return This->lpVtbl->Release(This);
3737 }
3738 /*** IInspectable methods ***/
3739 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This,ULONG *iidCount,IID **iids) {
3740 return This->lpVtbl->GetIids(This,iidCount,iids);
3741 }
3742 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This,HSTRING *className) {
3743 return This->lpVtbl->GetRuntimeClassName(This,className);
3744 }
3745 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This,TrustLevel *trustLevel) {
3746 return This->lpVtbl->GetTrustLevel(This,trustLevel);
3747 }
3748 /*** IUsbDeviceStatics methods ***/
3749 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceSelector(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This,UINT32 vendor,UINT32 product,GUID class,HSTRING *value) {
3750 return This->lpVtbl->GetDeviceSelector(This,vendor,product,class,value);
3751 }
3752 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceSelectorGuidOnly(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This,GUID class,HSTRING *value) {
3753 return This->lpVtbl->GetDeviceSelectorGuidOnly(This,class,value);
3754 }
3755 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceSelectorVidPidOnly(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This,UINT32 vendor,UINT32 product,HSTRING *value) {
3756 return This->lpVtbl->GetDeviceSelectorVidPidOnly(This,vendor,product,value);
3757 }
3758 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceClassSelector(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceClass *class,HSTRING *value) {
3759 return This->lpVtbl->GetDeviceClassSelector(This,class,value);
3760 }
3761 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_FromIdAsync(__x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics* This,HSTRING id,__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice **operation) {
3762 return This->lpVtbl->FromIdAsync(This,id,operation);
3763 }
3764 #endif
3765 #ifdef WIDL_using_Windows_Devices_Usb
3766 #define IID_IUsbDeviceStatics IID___x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics
3767 #define IUsbDeviceStaticsVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStaticsVtbl
3768 #define IUsbDeviceStatics __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics
3769 #define IUsbDeviceStatics_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_QueryInterface
3770 #define IUsbDeviceStatics_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_AddRef
3771 #define IUsbDeviceStatics_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_Release
3772 #define IUsbDeviceStatics_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetIids
3773 #define IUsbDeviceStatics_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetRuntimeClassName
3774 #define IUsbDeviceStatics_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetTrustLevel
3775 #define IUsbDeviceStatics_GetDeviceSelector __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceSelector
3776 #define IUsbDeviceStatics_GetDeviceSelectorGuidOnly __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceSelectorGuidOnly
3777 #define IUsbDeviceStatics_GetDeviceSelectorVidPidOnly __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceSelectorVidPidOnly
3778 #define IUsbDeviceStatics_GetDeviceClassSelector __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_GetDeviceClassSelector
3779 #define IUsbDeviceStatics_FromIdAsync __x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_FromIdAsync
3780 #endif /* WIDL_using_Windows_Devices_Usb */
3781 #endif
3782
3783 #endif
3784
3785 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbDeviceStatics_INTERFACE_DEFINED__ */
3786 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
3787
3788 /*****************************************************************************
3789 * IUsbInterface interface
3790 */
3791 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
3792 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_INTERFACE_DEFINED__
3793 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_INTERFACE_DEFINED__
3794
3795 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterface, 0xa0322b95, 0x7f47, 0x48ab, 0xa7,0x27, 0x67,0x8c,0x25,0xbe,0x21,0x12);
3796 #if defined(__cplusplus) && !defined(CINTERFACE)
3797 } /* extern "C" */
3798 namespace ABI {
3799 namespace Windows {
3800 namespace Devices {
3801 namespace Usb {
3802 MIDL_INTERFACE("a0322b95-7f47-48ab-a727-678c25be2112")
3803 IUsbInterface : public IInspectable
3804 {
3805 virtual HRESULT STDMETHODCALLTYPE get_BulkInPipes(
3806 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkInPipe* > **value) = 0;
3807
3808 virtual HRESULT STDMETHODCALLTYPE get_InterruptInPipes(
3809 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInPipe* > **value) = 0;
3810
3811 virtual HRESULT STDMETHODCALLTYPE get_BulkOutPipes(
3812 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutPipe* > **value) = 0;
3813
3814 virtual HRESULT STDMETHODCALLTYPE get_InterruptOutPipes(
3815 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutPipe* > **value) = 0;
3816
3817 virtual HRESULT STDMETHODCALLTYPE get_InterfaceSettings(
3818 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterfaceSetting* > **value) = 0;
3819
3820 virtual HRESULT STDMETHODCALLTYPE get_InterfaceNumber(
3821 BYTE *value) = 0;
3822
3823 virtual HRESULT STDMETHODCALLTYPE get_Descriptors(
3824 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbDescriptor* > **value) = 0;
3825
3826 };
3827 }
3828 }
3829 }
3830 }
3831 extern "C" {
3832 #ifdef __CRT_UUID_DECL
3833 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface, 0xa0322b95, 0x7f47, 0x48ab, 0xa7,0x27, 0x67,0x8c,0x25,0xbe,0x21,0x12)
3834 #endif
3835 #else
3836 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceVtbl {
3837 BEGIN_INTERFACE
3838
3839 /*** IUnknown methods ***/
3840 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3841 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3842 REFIID riid,
3843 void **ppvObject);
3844
3845 ULONG (STDMETHODCALLTYPE *AddRef)(
3846 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This);
3847
3848 ULONG (STDMETHODCALLTYPE *Release)(
3849 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This);
3850
3851 /*** IInspectable methods ***/
3852 HRESULT (STDMETHODCALLTYPE *GetIids)(
3853 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3854 ULONG *iidCount,
3855 IID **iids);
3856
3857 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
3858 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3859 HSTRING *className);
3860
3861 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
3862 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3863 TrustLevel *trustLevel);
3864
3865 /*** IUsbInterface methods ***/
3866 HRESULT (STDMETHODCALLTYPE *get_BulkInPipes)(
3867 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3868 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe **value);
3869
3870 HRESULT (STDMETHODCALLTYPE *get_InterruptInPipes)(
3871 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3872 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe **value);
3873
3874 HRESULT (STDMETHODCALLTYPE *get_BulkOutPipes)(
3875 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3876 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe **value);
3877
3878 HRESULT (STDMETHODCALLTYPE *get_InterruptOutPipes)(
3879 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3880 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe **value);
3881
3882 HRESULT (STDMETHODCALLTYPE *get_InterfaceSettings)(
3883 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3884 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting **value);
3885
3886 HRESULT (STDMETHODCALLTYPE *get_InterfaceNumber)(
3887 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3888 BYTE *value);
3889
3890 HRESULT (STDMETHODCALLTYPE *get_Descriptors)(
3891 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *This,
3892 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor **value);
3893
3894 END_INTERFACE
3895 } __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceVtbl;
3896
3897 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface {
3898 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceVtbl* lpVtbl;
3899 };
3900
3901 #ifdef COBJMACROS
3902 #ifndef WIDL_C_INLINE_WRAPPERS
3903 /*** IUnknown methods ***/
3904 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3905 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_AddRef(This) (This)->lpVtbl->AddRef(This)
3906 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_Release(This) (This)->lpVtbl->Release(This)
3907 /*** IInspectable methods ***/
3908 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
3909 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
3910 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
3911 /*** IUsbInterface methods ***/
3912 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_BulkInPipes(This,value) (This)->lpVtbl->get_BulkInPipes(This,value)
3913 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterruptInPipes(This,value) (This)->lpVtbl->get_InterruptInPipes(This,value)
3914 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_BulkOutPipes(This,value) (This)->lpVtbl->get_BulkOutPipes(This,value)
3915 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterruptOutPipes(This,value) (This)->lpVtbl->get_InterruptOutPipes(This,value)
3916 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterfaceSettings(This,value) (This)->lpVtbl->get_InterfaceSettings(This,value)
3917 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterfaceNumber(This,value) (This)->lpVtbl->get_InterfaceNumber(This,value)
3918 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_Descriptors(This,value) (This)->lpVtbl->get_Descriptors(This,value)
3919 #else
3920 /*** IUnknown methods ***/
3921 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,REFIID riid,void **ppvObject) {
3922 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3923 }
3924 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This) {
3925 return This->lpVtbl->AddRef(This);
3926 }
3927 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This) {
3928 return This->lpVtbl->Release(This);
3929 }
3930 /*** IInspectable methods ***/
3931 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,ULONG *iidCount,IID **iids) {
3932 return This->lpVtbl->GetIids(This,iidCount,iids);
3933 }
3934 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,HSTRING *className) {
3935 return This->lpVtbl->GetRuntimeClassName(This,className);
3936 }
3937 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,TrustLevel *trustLevel) {
3938 return This->lpVtbl->GetTrustLevel(This,trustLevel);
3939 }
3940 /*** IUsbInterface methods ***/
3941 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_BulkInPipes(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe **value) {
3942 return This->lpVtbl->get_BulkInPipes(This,value);
3943 }
3944 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterruptInPipes(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe **value) {
3945 return This->lpVtbl->get_InterruptInPipes(This,value);
3946 }
3947 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_BulkOutPipes(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe **value) {
3948 return This->lpVtbl->get_BulkOutPipes(This,value);
3949 }
3950 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterruptOutPipes(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe **value) {
3951 return This->lpVtbl->get_InterruptOutPipes(This,value);
3952 }
3953 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterfaceSettings(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting **value) {
3954 return This->lpVtbl->get_InterfaceSettings(This,value);
3955 }
3956 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterfaceNumber(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,BYTE *value) {
3957 return This->lpVtbl->get_InterfaceNumber(This,value);
3958 }
3959 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_Descriptors(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor **value) {
3960 return This->lpVtbl->get_Descriptors(This,value);
3961 }
3962 #endif
3963 #ifdef WIDL_using_Windows_Devices_Usb
3964 #define IID_IUsbInterface IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterface
3965 #define IUsbInterfaceVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceVtbl
3966 #define IUsbInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface
3967 #define IUsbInterface_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_QueryInterface
3968 #define IUsbInterface_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_AddRef
3969 #define IUsbInterface_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_Release
3970 #define IUsbInterface_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_GetIids
3971 #define IUsbInterface_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_GetRuntimeClassName
3972 #define IUsbInterface_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_GetTrustLevel
3973 #define IUsbInterface_get_BulkInPipes __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_BulkInPipes
3974 #define IUsbInterface_get_InterruptInPipes __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterruptInPipes
3975 #define IUsbInterface_get_BulkOutPipes __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_BulkOutPipes
3976 #define IUsbInterface_get_InterruptOutPipes __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterruptOutPipes
3977 #define IUsbInterface_get_InterfaceSettings __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterfaceSettings
3978 #define IUsbInterface_get_InterfaceNumber __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_InterfaceNumber
3979 #define IUsbInterface_get_Descriptors __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_get_Descriptors
3980 #endif /* WIDL_using_Windows_Devices_Usb */
3981 #endif
3982
3983 #endif
3984
3985 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterface_INTERFACE_DEFINED__ */
3986 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
3987
3988 /*****************************************************************************
3989 * IUsbInterfaceDescriptor interface
3990 */
3991 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
3992 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_INTERFACE_DEFINED__
3993 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_INTERFACE_DEFINED__
3994
3995 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor, 0x199670c7, 0xb7ee, 0x4f90, 0x8c,0xd5, 0x94,0xa2,0xe2,0x57,0x59,0x8a);
3996 #if defined(__cplusplus) && !defined(CINTERFACE)
3997 } /* extern "C" */
3998 namespace ABI {
3999 namespace Windows {
4000 namespace Devices {
4001 namespace Usb {
4002 MIDL_INTERFACE("199670c7-b7ee-4f90-8cd5-94a2e257598a")
4003 IUsbInterfaceDescriptor : public IInspectable
4004 {
4005 virtual HRESULT STDMETHODCALLTYPE get_ClassCode(
4006 BYTE *value) = 0;
4007
4008 virtual HRESULT STDMETHODCALLTYPE get_SubclassCode(
4009 BYTE *value) = 0;
4010
4011 virtual HRESULT STDMETHODCALLTYPE get_ProtocolCode(
4012 BYTE *value) = 0;
4013
4014 virtual HRESULT STDMETHODCALLTYPE get_AlternateSettingNumber(
4015 BYTE *value) = 0;
4016
4017 virtual HRESULT STDMETHODCALLTYPE get_InterfaceNumber(
4018 BYTE *value) = 0;
4019
4020 };
4021 }
4022 }
4023 }
4024 }
4025 extern "C" {
4026 #ifdef __CRT_UUID_DECL
4027 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor, 0x199670c7, 0xb7ee, 0x4f90, 0x8c,0xd5, 0x94,0xa2,0xe2,0x57,0x59,0x8a)
4028 #endif
4029 #else
4030 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorVtbl {
4031 BEGIN_INTERFACE
4032
4033 /*** IUnknown methods ***/
4034 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4035 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This,
4036 REFIID riid,
4037 void **ppvObject);
4038
4039 ULONG (STDMETHODCALLTYPE *AddRef)(
4040 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This);
4041
4042 ULONG (STDMETHODCALLTYPE *Release)(
4043 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This);
4044
4045 /*** IInspectable methods ***/
4046 HRESULT (STDMETHODCALLTYPE *GetIids)(
4047 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This,
4048 ULONG *iidCount,
4049 IID **iids);
4050
4051 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
4052 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This,
4053 HSTRING *className);
4054
4055 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
4056 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This,
4057 TrustLevel *trustLevel);
4058
4059 /*** IUsbInterfaceDescriptor methods ***/
4060 HRESULT (STDMETHODCALLTYPE *get_ClassCode)(
4061 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This,
4062 BYTE *value);
4063
4064 HRESULT (STDMETHODCALLTYPE *get_SubclassCode)(
4065 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This,
4066 BYTE *value);
4067
4068 HRESULT (STDMETHODCALLTYPE *get_ProtocolCode)(
4069 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This,
4070 BYTE *value);
4071
4072 HRESULT (STDMETHODCALLTYPE *get_AlternateSettingNumber)(
4073 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This,
4074 BYTE *value);
4075
4076 HRESULT (STDMETHODCALLTYPE *get_InterfaceNumber)(
4077 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor *This,
4078 BYTE *value);
4079
4080 END_INTERFACE
4081 } __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorVtbl;
4082
4083 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor {
4084 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorVtbl* lpVtbl;
4085 };
4086
4087 #ifdef COBJMACROS
4088 #ifndef WIDL_C_INLINE_WRAPPERS
4089 /*** IUnknown methods ***/
4090 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4091 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
4092 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_Release(This) (This)->lpVtbl->Release(This)
4093 /*** IInspectable methods ***/
4094 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
4095 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
4096 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
4097 /*** IUsbInterfaceDescriptor methods ***/
4098 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_ClassCode(This,value) (This)->lpVtbl->get_ClassCode(This,value)
4099 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_SubclassCode(This,value) (This)->lpVtbl->get_SubclassCode(This,value)
4100 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_ProtocolCode(This,value) (This)->lpVtbl->get_ProtocolCode(This,value)
4101 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_AlternateSettingNumber(This,value) (This)->lpVtbl->get_AlternateSettingNumber(This,value)
4102 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_InterfaceNumber(This,value) (This)->lpVtbl->get_InterfaceNumber(This,value)
4103 #else
4104 /*** IUnknown methods ***/
4105 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This,REFIID riid,void **ppvObject) {
4106 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
4107 }
4108 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This) {
4109 return This->lpVtbl->AddRef(This);
4110 }
4111 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This) {
4112 return This->lpVtbl->Release(This);
4113 }
4114 /*** IInspectable methods ***/
4115 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This,ULONG *iidCount,IID **iids) {
4116 return This->lpVtbl->GetIids(This,iidCount,iids);
4117 }
4118 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This,HSTRING *className) {
4119 return This->lpVtbl->GetRuntimeClassName(This,className);
4120 }
4121 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This,TrustLevel *trustLevel) {
4122 return This->lpVtbl->GetTrustLevel(This,trustLevel);
4123 }
4124 /*** IUsbInterfaceDescriptor methods ***/
4125 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_ClassCode(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This,BYTE *value) {
4126 return This->lpVtbl->get_ClassCode(This,value);
4127 }
4128 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_SubclassCode(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This,BYTE *value) {
4129 return This->lpVtbl->get_SubclassCode(This,value);
4130 }
4131 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_ProtocolCode(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This,BYTE *value) {
4132 return This->lpVtbl->get_ProtocolCode(This,value);
4133 }
4134 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_AlternateSettingNumber(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This,BYTE *value) {
4135 return This->lpVtbl->get_AlternateSettingNumber(This,value);
4136 }
4137 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_InterfaceNumber(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor* This,BYTE *value) {
4138 return This->lpVtbl->get_InterfaceNumber(This,value);
4139 }
4140 #endif
4141 #ifdef WIDL_using_Windows_Devices_Usb
4142 #define IID_IUsbInterfaceDescriptor IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor
4143 #define IUsbInterfaceDescriptorVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorVtbl
4144 #define IUsbInterfaceDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor
4145 #define IUsbInterfaceDescriptor_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_QueryInterface
4146 #define IUsbInterfaceDescriptor_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_AddRef
4147 #define IUsbInterfaceDescriptor_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_Release
4148 #define IUsbInterfaceDescriptor_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_GetIids
4149 #define IUsbInterfaceDescriptor_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_GetRuntimeClassName
4150 #define IUsbInterfaceDescriptor_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_GetTrustLevel
4151 #define IUsbInterfaceDescriptor_get_ClassCode __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_ClassCode
4152 #define IUsbInterfaceDescriptor_get_SubclassCode __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_SubclassCode
4153 #define IUsbInterfaceDescriptor_get_ProtocolCode __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_ProtocolCode
4154 #define IUsbInterfaceDescriptor_get_AlternateSettingNumber __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_AlternateSettingNumber
4155 #define IUsbInterfaceDescriptor_get_InterfaceNumber __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_get_InterfaceNumber
4156 #endif /* WIDL_using_Windows_Devices_Usb */
4157 #endif
4158
4159 #endif
4160
4161 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor_INTERFACE_DEFINED__ */
4162 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
4163
4164 /*****************************************************************************
4165 * IUsbInterfaceDescriptorStatics interface
4166 */
4167 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
4168 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_INTERFACE_DEFINED__
4169 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_INTERFACE_DEFINED__
4170
4171 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics, 0xe34a9ff5, 0x77d6, 0x48b6, 0xb0,0xbe, 0x16,0xc6,0x42,0x23,0x16,0xfe);
4172 #if defined(__cplusplus) && !defined(CINTERFACE)
4173 } /* extern "C" */
4174 namespace ABI {
4175 namespace Windows {
4176 namespace Devices {
4177 namespace Usb {
4178 MIDL_INTERFACE("e34a9ff5-77d6-48b6-b0be-16c6422316fe")
4179 IUsbInterfaceDescriptorStatics : public IInspectable
4180 {
4181 virtual HRESULT STDMETHODCALLTYPE TryParse(
4182 ABI::Windows::Devices::Usb::IUsbDescriptor *descriptor,
4183 ABI::Windows::Devices::Usb::IUsbInterfaceDescriptor **parsed,
4184 boolean *success) = 0;
4185
4186 virtual HRESULT STDMETHODCALLTYPE Parse(
4187 ABI::Windows::Devices::Usb::IUsbDescriptor *descriptor,
4188 ABI::Windows::Devices::Usb::IUsbInterfaceDescriptor **parsed) = 0;
4189
4190 };
4191 }
4192 }
4193 }
4194 }
4195 extern "C" {
4196 #ifdef __CRT_UUID_DECL
4197 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics, 0xe34a9ff5, 0x77d6, 0x48b6, 0xb0,0xbe, 0x16,0xc6,0x42,0x23,0x16,0xfe)
4198 #endif
4199 #else
4200 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStaticsVtbl {
4201 BEGIN_INTERFACE
4202
4203 /*** IUnknown methods ***/
4204 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4205 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics *This,
4206 REFIID riid,
4207 void **ppvObject);
4208
4209 ULONG (STDMETHODCALLTYPE *AddRef)(
4210 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics *This);
4211
4212 ULONG (STDMETHODCALLTYPE *Release)(
4213 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics *This);
4214
4215 /*** IInspectable methods ***/
4216 HRESULT (STDMETHODCALLTYPE *GetIids)(
4217 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics *This,
4218 ULONG *iidCount,
4219 IID **iids);
4220
4221 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
4222 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics *This,
4223 HSTRING *className);
4224
4225 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
4226 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics *This,
4227 TrustLevel *trustLevel);
4228
4229 /*** IUsbInterfaceDescriptorStatics methods ***/
4230 HRESULT (STDMETHODCALLTYPE *TryParse)(
4231 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics *This,
4232 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *descriptor,
4233 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor **parsed,
4234 boolean *success);
4235
4236 HRESULT (STDMETHODCALLTYPE *Parse)(
4237 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics *This,
4238 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *descriptor,
4239 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor **parsed);
4240
4241 END_INTERFACE
4242 } __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStaticsVtbl;
4243
4244 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics {
4245 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStaticsVtbl* lpVtbl;
4246 };
4247
4248 #ifdef COBJMACROS
4249 #ifndef WIDL_C_INLINE_WRAPPERS
4250 /*** IUnknown methods ***/
4251 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4252 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
4253 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_Release(This) (This)->lpVtbl->Release(This)
4254 /*** IInspectable methods ***/
4255 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
4256 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
4257 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
4258 /*** IUsbInterfaceDescriptorStatics methods ***/
4259 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_TryParse(This,descriptor,parsed,success) (This)->lpVtbl->TryParse(This,descriptor,parsed,success)
4260 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_Parse(This,descriptor,parsed) (This)->lpVtbl->Parse(This,descriptor,parsed)
4261 #else
4262 /*** IUnknown methods ***/
4263 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics* This,REFIID riid,void **ppvObject) {
4264 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
4265 }
4266 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics* This) {
4267 return This->lpVtbl->AddRef(This);
4268 }
4269 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics* This) {
4270 return This->lpVtbl->Release(This);
4271 }
4272 /*** IInspectable methods ***/
4273 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics* This,ULONG *iidCount,IID **iids) {
4274 return This->lpVtbl->GetIids(This,iidCount,iids);
4275 }
4276 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics* This,HSTRING *className) {
4277 return This->lpVtbl->GetRuntimeClassName(This,className);
4278 }
4279 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics* This,TrustLevel *trustLevel) {
4280 return This->lpVtbl->GetTrustLevel(This,trustLevel);
4281 }
4282 /*** IUsbInterfaceDescriptorStatics methods ***/
4283 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_TryParse(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *descriptor,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor **parsed,boolean *success) {
4284 return This->lpVtbl->TryParse(This,descriptor,parsed,success);
4285 }
4286 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_Parse(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *descriptor,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor **parsed) {
4287 return This->lpVtbl->Parse(This,descriptor,parsed);
4288 }
4289 #endif
4290 #ifdef WIDL_using_Windows_Devices_Usb
4291 #define IID_IUsbInterfaceDescriptorStatics IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics
4292 #define IUsbInterfaceDescriptorStaticsVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStaticsVtbl
4293 #define IUsbInterfaceDescriptorStatics __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics
4294 #define IUsbInterfaceDescriptorStatics_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_QueryInterface
4295 #define IUsbInterfaceDescriptorStatics_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_AddRef
4296 #define IUsbInterfaceDescriptorStatics_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_Release
4297 #define IUsbInterfaceDescriptorStatics_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_GetIids
4298 #define IUsbInterfaceDescriptorStatics_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_GetRuntimeClassName
4299 #define IUsbInterfaceDescriptorStatics_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_GetTrustLevel
4300 #define IUsbInterfaceDescriptorStatics_TryParse __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_TryParse
4301 #define IUsbInterfaceDescriptorStatics_Parse __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_Parse
4302 #endif /* WIDL_using_Windows_Devices_Usb */
4303 #endif
4304
4305 #endif
4306
4307 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptorStatics_INTERFACE_DEFINED__ */
4308 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
4309
4310 /*****************************************************************************
4311 * IUsbInterfaceSetting interface
4312 */
4313 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
4314 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_INTERFACE_DEFINED__
4315 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_INTERFACE_DEFINED__
4316
4317 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting, 0x1827bba7, 0x8da7, 0x4af7, 0x8f,0x4c, 0x7f,0x30,0x32,0xe7,0x81,0xf5);
4318 #if defined(__cplusplus) && !defined(CINTERFACE)
4319 } /* extern "C" */
4320 namespace ABI {
4321 namespace Windows {
4322 namespace Devices {
4323 namespace Usb {
4324 MIDL_INTERFACE("1827bba7-8da7-4af7-8f4c-7f3032e781f5")
4325 IUsbInterfaceSetting : public IInspectable
4326 {
4327 virtual HRESULT STDMETHODCALLTYPE get_BulkInEndpoints(
4328 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkInEndpointDescriptor* > **value) = 0;
4329
4330 virtual HRESULT STDMETHODCALLTYPE get_InterruptInEndpoints(
4331 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor* > **value) = 0;
4332
4333 virtual HRESULT STDMETHODCALLTYPE get_BulkOutEndpoints(
4334 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor* > **value) = 0;
4335
4336 virtual HRESULT STDMETHODCALLTYPE get_InterruptOutEndpoints(
4337 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor* > **value) = 0;
4338
4339 virtual HRESULT STDMETHODCALLTYPE get_Selected(
4340 boolean *value) = 0;
4341
4342 virtual HRESULT STDMETHODCALLTYPE SelectSettingAsync(
4343 ABI::Windows::Foundation::IAsyncAction **operation) = 0;
4344
4345 virtual HRESULT STDMETHODCALLTYPE get_InterfaceDescriptor(
4346 ABI::Windows::Devices::Usb::IUsbInterfaceDescriptor **value) = 0;
4347
4348 virtual HRESULT STDMETHODCALLTYPE get_Descriptors(
4349 ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Usb::UsbDescriptor* > **value) = 0;
4350
4351 };
4352 }
4353 }
4354 }
4355 }
4356 extern "C" {
4357 #ifdef __CRT_UUID_DECL
4358 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting, 0x1827bba7, 0x8da7, 0x4af7, 0x8f,0x4c, 0x7f,0x30,0x32,0xe7,0x81,0xf5)
4359 #endif
4360 #else
4361 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSettingVtbl {
4362 BEGIN_INTERFACE
4363
4364 /*** IUnknown methods ***/
4365 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4366 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4367 REFIID riid,
4368 void **ppvObject);
4369
4370 ULONG (STDMETHODCALLTYPE *AddRef)(
4371 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This);
4372
4373 ULONG (STDMETHODCALLTYPE *Release)(
4374 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This);
4375
4376 /*** IInspectable methods ***/
4377 HRESULT (STDMETHODCALLTYPE *GetIids)(
4378 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4379 ULONG *iidCount,
4380 IID **iids);
4381
4382 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
4383 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4384 HSTRING *className);
4385
4386 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
4387 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4388 TrustLevel *trustLevel);
4389
4390 /*** IUsbInterfaceSetting methods ***/
4391 HRESULT (STDMETHODCALLTYPE *get_BulkInEndpoints)(
4392 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4393 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor **value);
4394
4395 HRESULT (STDMETHODCALLTYPE *get_InterruptInEndpoints)(
4396 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4397 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor **value);
4398
4399 HRESULT (STDMETHODCALLTYPE *get_BulkOutEndpoints)(
4400 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4401 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor **value);
4402
4403 HRESULT (STDMETHODCALLTYPE *get_InterruptOutEndpoints)(
4404 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4405 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor **value);
4406
4407 HRESULT (STDMETHODCALLTYPE *get_Selected)(
4408 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4409 boolean *value);
4410
4411 HRESULT (STDMETHODCALLTYPE *SelectSettingAsync)(
4412 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4413 __x_ABI_CWindows_CFoundation_CIAsyncAction **operation);
4414
4415 HRESULT (STDMETHODCALLTYPE *get_InterfaceDescriptor)(
4416 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4417 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor **value);
4418
4419 HRESULT (STDMETHODCALLTYPE *get_Descriptors)(
4420 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *This,
4421 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor **value);
4422
4423 END_INTERFACE
4424 } __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSettingVtbl;
4425
4426 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting {
4427 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSettingVtbl* lpVtbl;
4428 };
4429
4430 #ifdef COBJMACROS
4431 #ifndef WIDL_C_INLINE_WRAPPERS
4432 /*** IUnknown methods ***/
4433 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4434 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_AddRef(This) (This)->lpVtbl->AddRef(This)
4435 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_Release(This) (This)->lpVtbl->Release(This)
4436 /*** IInspectable methods ***/
4437 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
4438 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
4439 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
4440 /*** IUsbInterfaceSetting methods ***/
4441 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_BulkInEndpoints(This,value) (This)->lpVtbl->get_BulkInEndpoints(This,value)
4442 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_InterruptInEndpoints(This,value) (This)->lpVtbl->get_InterruptInEndpoints(This,value)
4443 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_BulkOutEndpoints(This,value) (This)->lpVtbl->get_BulkOutEndpoints(This,value)
4444 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_InterruptOutEndpoints(This,value) (This)->lpVtbl->get_InterruptOutEndpoints(This,value)
4445 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_Selected(This,value) (This)->lpVtbl->get_Selected(This,value)
4446 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_SelectSettingAsync(This,operation) (This)->lpVtbl->SelectSettingAsync(This,operation)
4447 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_InterfaceDescriptor(This,value) (This)->lpVtbl->get_InterfaceDescriptor(This,value)
4448 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_Descriptors(This,value) (This)->lpVtbl->get_Descriptors(This,value)
4449 #else
4450 /*** IUnknown methods ***/
4451 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,REFIID riid,void **ppvObject) {
4452 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
4453 }
4454 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This) {
4455 return This->lpVtbl->AddRef(This);
4456 }
4457 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This) {
4458 return This->lpVtbl->Release(This);
4459 }
4460 /*** IInspectable methods ***/
4461 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,ULONG *iidCount,IID **iids) {
4462 return This->lpVtbl->GetIids(This,iidCount,iids);
4463 }
4464 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,HSTRING *className) {
4465 return This->lpVtbl->GetRuntimeClassName(This,className);
4466 }
4467 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,TrustLevel *trustLevel) {
4468 return This->lpVtbl->GetTrustLevel(This,trustLevel);
4469 }
4470 /*** IUsbInterfaceSetting methods ***/
4471 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_BulkInEndpoints(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor **value) {
4472 return This->lpVtbl->get_BulkInEndpoints(This,value);
4473 }
4474 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_InterruptInEndpoints(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor **value) {
4475 return This->lpVtbl->get_InterruptInEndpoints(This,value);
4476 }
4477 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_BulkOutEndpoints(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor **value) {
4478 return This->lpVtbl->get_BulkOutEndpoints(This,value);
4479 }
4480 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_InterruptOutEndpoints(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor **value) {
4481 return This->lpVtbl->get_InterruptOutEndpoints(This,value);
4482 }
4483 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_Selected(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,boolean *value) {
4484 return This->lpVtbl->get_Selected(This,value);
4485 }
4486 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_SelectSettingAsync(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,__x_ABI_CWindows_CFoundation_CIAsyncAction **operation) {
4487 return This->lpVtbl->SelectSettingAsync(This,operation);
4488 }
4489 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_InterfaceDescriptor(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceDescriptor **value) {
4490 return This->lpVtbl->get_InterfaceDescriptor(This,value);
4491 }
4492 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_Descriptors(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting* This,__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor **value) {
4493 return This->lpVtbl->get_Descriptors(This,value);
4494 }
4495 #endif
4496 #ifdef WIDL_using_Windows_Devices_Usb
4497 #define IID_IUsbInterfaceSetting IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting
4498 #define IUsbInterfaceSettingVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSettingVtbl
4499 #define IUsbInterfaceSetting __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting
4500 #define IUsbInterfaceSetting_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_QueryInterface
4501 #define IUsbInterfaceSetting_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_AddRef
4502 #define IUsbInterfaceSetting_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_Release
4503 #define IUsbInterfaceSetting_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_GetIids
4504 #define IUsbInterfaceSetting_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_GetRuntimeClassName
4505 #define IUsbInterfaceSetting_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_GetTrustLevel
4506 #define IUsbInterfaceSetting_get_BulkInEndpoints __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_BulkInEndpoints
4507 #define IUsbInterfaceSetting_get_InterruptInEndpoints __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_InterruptInEndpoints
4508 #define IUsbInterfaceSetting_get_BulkOutEndpoints __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_BulkOutEndpoints
4509 #define IUsbInterfaceSetting_get_InterruptOutEndpoints __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_InterruptOutEndpoints
4510 #define IUsbInterfaceSetting_get_Selected __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_Selected
4511 #define IUsbInterfaceSetting_SelectSettingAsync __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_SelectSettingAsync
4512 #define IUsbInterfaceSetting_get_InterfaceDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_InterfaceDescriptor
4513 #define IUsbInterfaceSetting_get_Descriptors __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_get_Descriptors
4514 #endif /* WIDL_using_Windows_Devices_Usb */
4515 #endif
4516
4517 #endif
4518
4519 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting_INTERFACE_DEFINED__ */
4520 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
4521
4522 /*****************************************************************************
4523 * IUsbInterruptInEndpointDescriptor interface
4524 */
4525 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
4526 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_INTERFACE_DEFINED__
4527 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_INTERFACE_DEFINED__
4528
4529 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor, 0xc0528967, 0xc911, 0x4c3a, 0x86,0xb2, 0x41,0x9c,0x2d,0xa8,0x90,0x39);
4530 #if defined(__cplusplus) && !defined(CINTERFACE)
4531 } /* extern "C" */
4532 namespace ABI {
4533 namespace Windows {
4534 namespace Devices {
4535 namespace Usb {
4536 MIDL_INTERFACE("c0528967-c911-4c3a-86b2-419c2da89039")
4537 IUsbInterruptInEndpointDescriptor : public IInspectable
4538 {
4539 virtual HRESULT STDMETHODCALLTYPE get_MaxPacketSize(
4540 UINT32 *value) = 0;
4541
4542 virtual HRESULT STDMETHODCALLTYPE get_EndpointNumber(
4543 BYTE *value) = 0;
4544
4545 virtual HRESULT STDMETHODCALLTYPE get_Interval(
4546 ABI::Windows::Foundation::TimeSpan *value) = 0;
4547
4548 virtual HRESULT STDMETHODCALLTYPE get_Pipe(
4549 ABI::Windows::Devices::Usb::IUsbInterruptInPipe **value) = 0;
4550
4551 };
4552 }
4553 }
4554 }
4555 }
4556 extern "C" {
4557 #ifdef __CRT_UUID_DECL
4558 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor, 0xc0528967, 0xc911, 0x4c3a, 0x86,0xb2, 0x41,0x9c,0x2d,0xa8,0x90,0x39)
4559 #endif
4560 #else
4561 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptorVtbl {
4562 BEGIN_INTERFACE
4563
4564 /*** IUnknown methods ***/
4565 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4566 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *This,
4567 REFIID riid,
4568 void **ppvObject);
4569
4570 ULONG (STDMETHODCALLTYPE *AddRef)(
4571 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *This);
4572
4573 ULONG (STDMETHODCALLTYPE *Release)(
4574 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *This);
4575
4576 /*** IInspectable methods ***/
4577 HRESULT (STDMETHODCALLTYPE *GetIids)(
4578 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *This,
4579 ULONG *iidCount,
4580 IID **iids);
4581
4582 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
4583 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *This,
4584 HSTRING *className);
4585
4586 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
4587 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *This,
4588 TrustLevel *trustLevel);
4589
4590 /*** IUsbInterruptInEndpointDescriptor methods ***/
4591 HRESULT (STDMETHODCALLTYPE *get_MaxPacketSize)(
4592 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *This,
4593 UINT32 *value);
4594
4595 HRESULT (STDMETHODCALLTYPE *get_EndpointNumber)(
4596 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *This,
4597 BYTE *value);
4598
4599 HRESULT (STDMETHODCALLTYPE *get_Interval)(
4600 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *This,
4601 __x_ABI_CWindows_CFoundation_CTimeSpan *value);
4602
4603 HRESULT (STDMETHODCALLTYPE *get_Pipe)(
4604 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *This,
4605 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe **value);
4606
4607 END_INTERFACE
4608 } __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptorVtbl;
4609
4610 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor {
4611 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptorVtbl* lpVtbl;
4612 };
4613
4614 #ifdef COBJMACROS
4615 #ifndef WIDL_C_INLINE_WRAPPERS
4616 /*** IUnknown methods ***/
4617 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4618 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
4619 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_Release(This) (This)->lpVtbl->Release(This)
4620 /*** IInspectable methods ***/
4621 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
4622 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
4623 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
4624 /*** IUsbInterruptInEndpointDescriptor methods ***/
4625 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_MaxPacketSize(This,value) (This)->lpVtbl->get_MaxPacketSize(This,value)
4626 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_EndpointNumber(This,value) (This)->lpVtbl->get_EndpointNumber(This,value)
4627 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_Interval(This,value) (This)->lpVtbl->get_Interval(This,value)
4628 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_Pipe(This,value) (This)->lpVtbl->get_Pipe(This,value)
4629 #else
4630 /*** IUnknown methods ***/
4631 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor* This,REFIID riid,void **ppvObject) {
4632 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
4633 }
4634 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor* This) {
4635 return This->lpVtbl->AddRef(This);
4636 }
4637 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor* This) {
4638 return This->lpVtbl->Release(This);
4639 }
4640 /*** IInspectable methods ***/
4641 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor* This,ULONG *iidCount,IID **iids) {
4642 return This->lpVtbl->GetIids(This,iidCount,iids);
4643 }
4644 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor* This,HSTRING *className) {
4645 return This->lpVtbl->GetRuntimeClassName(This,className);
4646 }
4647 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor* This,TrustLevel *trustLevel) {
4648 return This->lpVtbl->GetTrustLevel(This,trustLevel);
4649 }
4650 /*** IUsbInterruptInEndpointDescriptor methods ***/
4651 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_MaxPacketSize(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor* This,UINT32 *value) {
4652 return This->lpVtbl->get_MaxPacketSize(This,value);
4653 }
4654 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_EndpointNumber(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor* This,BYTE *value) {
4655 return This->lpVtbl->get_EndpointNumber(This,value);
4656 }
4657 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_Interval(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor* This,__x_ABI_CWindows_CFoundation_CTimeSpan *value) {
4658 return This->lpVtbl->get_Interval(This,value);
4659 }
4660 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_Pipe(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe **value) {
4661 return This->lpVtbl->get_Pipe(This,value);
4662 }
4663 #endif
4664 #ifdef WIDL_using_Windows_Devices_Usb
4665 #define IID_IUsbInterruptInEndpointDescriptor IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor
4666 #define IUsbInterruptInEndpointDescriptorVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptorVtbl
4667 #define IUsbInterruptInEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor
4668 #define IUsbInterruptInEndpointDescriptor_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_QueryInterface
4669 #define IUsbInterruptInEndpointDescriptor_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_AddRef
4670 #define IUsbInterruptInEndpointDescriptor_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_Release
4671 #define IUsbInterruptInEndpointDescriptor_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_GetIids
4672 #define IUsbInterruptInEndpointDescriptor_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_GetRuntimeClassName
4673 #define IUsbInterruptInEndpointDescriptor_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_GetTrustLevel
4674 #define IUsbInterruptInEndpointDescriptor_get_MaxPacketSize __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_MaxPacketSize
4675 #define IUsbInterruptInEndpointDescriptor_get_EndpointNumber __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_EndpointNumber
4676 #define IUsbInterruptInEndpointDescriptor_get_Interval __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_Interval
4677 #define IUsbInterruptInEndpointDescriptor_get_Pipe __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_get_Pipe
4678 #endif /* WIDL_using_Windows_Devices_Usb */
4679 #endif
4680
4681 #endif
4682
4683 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor_INTERFACE_DEFINED__ */
4684 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
4685
4686 /*****************************************************************************
4687 * IUsbInterruptInEventArgs interface
4688 */
4689 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
4690 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_INTERFACE_DEFINED__
4691 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_INTERFACE_DEFINED__
4692
4693 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs, 0xb7b04092, 0x1418, 0x4936, 0x82,0x09, 0x29,0x9c,0xf5,0x60,0x55,0x83);
4694 #if defined(__cplusplus) && !defined(CINTERFACE)
4695 } /* extern "C" */
4696 namespace ABI {
4697 namespace Windows {
4698 namespace Devices {
4699 namespace Usb {
4700 MIDL_INTERFACE("b7b04092-1418-4936-8209-299cf5605583")
4701 IUsbInterruptInEventArgs : public IInspectable
4702 {
4703 virtual HRESULT STDMETHODCALLTYPE get_InterruptData(
4704 ABI::Windows::Storage::Streams::IBuffer **value) = 0;
4705
4706 };
4707 }
4708 }
4709 }
4710 }
4711 extern "C" {
4712 #ifdef __CRT_UUID_DECL
4713 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs, 0xb7b04092, 0x1418, 0x4936, 0x82,0x09, 0x29,0x9c,0xf5,0x60,0x55,0x83)
4714 #endif
4715 #else
4716 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgsVtbl {
4717 BEGIN_INTERFACE
4718
4719 /*** IUnknown methods ***/
4720 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4721 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs *This,
4722 REFIID riid,
4723 void **ppvObject);
4724
4725 ULONG (STDMETHODCALLTYPE *AddRef)(
4726 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs *This);
4727
4728 ULONG (STDMETHODCALLTYPE *Release)(
4729 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs *This);
4730
4731 /*** IInspectable methods ***/
4732 HRESULT (STDMETHODCALLTYPE *GetIids)(
4733 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs *This,
4734 ULONG *iidCount,
4735 IID **iids);
4736
4737 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
4738 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs *This,
4739 HSTRING *className);
4740
4741 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
4742 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs *This,
4743 TrustLevel *trustLevel);
4744
4745 /*** IUsbInterruptInEventArgs methods ***/
4746 HRESULT (STDMETHODCALLTYPE *get_InterruptData)(
4747 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs *This,
4748 __x_ABI_CWindows_CStorage_CStreams_CIBuffer **value);
4749
4750 END_INTERFACE
4751 } __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgsVtbl;
4752
4753 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs {
4754 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgsVtbl* lpVtbl;
4755 };
4756
4757 #ifdef COBJMACROS
4758 #ifndef WIDL_C_INLINE_WRAPPERS
4759 /*** IUnknown methods ***/
4760 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4761 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
4762 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_Release(This) (This)->lpVtbl->Release(This)
4763 /*** IInspectable methods ***/
4764 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
4765 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
4766 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
4767 /*** IUsbInterruptInEventArgs methods ***/
4768 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_get_InterruptData(This,value) (This)->lpVtbl->get_InterruptData(This,value)
4769 #else
4770 /*** IUnknown methods ***/
4771 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs* This,REFIID riid,void **ppvObject) {
4772 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
4773 }
4774 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs* This) {
4775 return This->lpVtbl->AddRef(This);
4776 }
4777 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs* This) {
4778 return This->lpVtbl->Release(This);
4779 }
4780 /*** IInspectable methods ***/
4781 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs* This,ULONG *iidCount,IID **iids) {
4782 return This->lpVtbl->GetIids(This,iidCount,iids);
4783 }
4784 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs* This,HSTRING *className) {
4785 return This->lpVtbl->GetRuntimeClassName(This,className);
4786 }
4787 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs* This,TrustLevel *trustLevel) {
4788 return This->lpVtbl->GetTrustLevel(This,trustLevel);
4789 }
4790 /*** IUsbInterruptInEventArgs methods ***/
4791 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_get_InterruptData(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs* This,__x_ABI_CWindows_CStorage_CStreams_CIBuffer **value) {
4792 return This->lpVtbl->get_InterruptData(This,value);
4793 }
4794 #endif
4795 #ifdef WIDL_using_Windows_Devices_Usb
4796 #define IID_IUsbInterruptInEventArgs IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs
4797 #define IUsbInterruptInEventArgsVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgsVtbl
4798 #define IUsbInterruptInEventArgs __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs
4799 #define IUsbInterruptInEventArgs_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_QueryInterface
4800 #define IUsbInterruptInEventArgs_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_AddRef
4801 #define IUsbInterruptInEventArgs_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_Release
4802 #define IUsbInterruptInEventArgs_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_GetIids
4803 #define IUsbInterruptInEventArgs_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_GetRuntimeClassName
4804 #define IUsbInterruptInEventArgs_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_GetTrustLevel
4805 #define IUsbInterruptInEventArgs_get_InterruptData __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_get_InterruptData
4806 #endif /* WIDL_using_Windows_Devices_Usb */
4807 #endif
4808
4809 #endif
4810
4811 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs_INTERFACE_DEFINED__ */
4812 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
4813
4814 /*****************************************************************************
4815 * IUsbInterruptInPipe interface
4816 */
4817 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
4818 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_INTERFACE_DEFINED__
4819 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_INTERFACE_DEFINED__
4820
4821 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe, 0xfa007116, 0x84d7, 0x48c7, 0x8a,0x3f, 0x4c,0x0b,0x23,0x5f,0x2e,0xa6);
4822 #if defined(__cplusplus) && !defined(CINTERFACE)
4823 } /* extern "C" */
4824 namespace ABI {
4825 namespace Windows {
4826 namespace Devices {
4827 namespace Usb {
4828 MIDL_INTERFACE("fa007116-84d7-48c7-8a3f-4c0b235f2ea6")
4829 IUsbInterruptInPipe : public IInspectable
4830 {
4831 virtual HRESULT STDMETHODCALLTYPE get_EndpointDescriptor(
4832 ABI::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor **value) = 0;
4833
4834 virtual HRESULT STDMETHODCALLTYPE ClearStallAsync(
4835 ABI::Windows::Foundation::IAsyncAction **operation) = 0;
4836
4837 virtual HRESULT STDMETHODCALLTYPE add_DataReceived(
4838 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Usb::UsbInterruptInPipe*,ABI::Windows::Devices::Usb::UsbInterruptInEventArgs* > *handler,
4839 EventRegistrationToken *token) = 0;
4840
4841 virtual HRESULT STDMETHODCALLTYPE remove_DataReceived(
4842 EventRegistrationToken token) = 0;
4843
4844 };
4845 }
4846 }
4847 }
4848 }
4849 extern "C" {
4850 #ifdef __CRT_UUID_DECL
4851 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe, 0xfa007116, 0x84d7, 0x48c7, 0x8a,0x3f, 0x4c,0x0b,0x23,0x5f,0x2e,0xa6)
4852 #endif
4853 #else
4854 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipeVtbl {
4855 BEGIN_INTERFACE
4856
4857 /*** IUnknown methods ***/
4858 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4859 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *This,
4860 REFIID riid,
4861 void **ppvObject);
4862
4863 ULONG (STDMETHODCALLTYPE *AddRef)(
4864 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *This);
4865
4866 ULONG (STDMETHODCALLTYPE *Release)(
4867 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *This);
4868
4869 /*** IInspectable methods ***/
4870 HRESULT (STDMETHODCALLTYPE *GetIids)(
4871 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *This,
4872 ULONG *iidCount,
4873 IID **iids);
4874
4875 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
4876 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *This,
4877 HSTRING *className);
4878
4879 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
4880 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *This,
4881 TrustLevel *trustLevel);
4882
4883 /*** IUsbInterruptInPipe methods ***/
4884 HRESULT (STDMETHODCALLTYPE *get_EndpointDescriptor)(
4885 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *This,
4886 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor **value);
4887
4888 HRESULT (STDMETHODCALLTYPE *ClearStallAsync)(
4889 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *This,
4890 __x_ABI_CWindows_CFoundation_CIAsyncAction **operation);
4891
4892 HRESULT (STDMETHODCALLTYPE *add_DataReceived)(
4893 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *This,
4894 __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs *handler,
4895 EventRegistrationToken *token);
4896
4897 HRESULT (STDMETHODCALLTYPE *remove_DataReceived)(
4898 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *This,
4899 EventRegistrationToken token);
4900
4901 END_INTERFACE
4902 } __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipeVtbl;
4903
4904 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe {
4905 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipeVtbl* lpVtbl;
4906 };
4907
4908 #ifdef COBJMACROS
4909 #ifndef WIDL_C_INLINE_WRAPPERS
4910 /*** IUnknown methods ***/
4911 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4912 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_AddRef(This) (This)->lpVtbl->AddRef(This)
4913 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_Release(This) (This)->lpVtbl->Release(This)
4914 /*** IInspectable methods ***/
4915 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
4916 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
4917 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
4918 /*** IUsbInterruptInPipe methods ***/
4919 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_get_EndpointDescriptor(This,value) (This)->lpVtbl->get_EndpointDescriptor(This,value)
4920 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_ClearStallAsync(This,operation) (This)->lpVtbl->ClearStallAsync(This,operation)
4921 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_add_DataReceived(This,handler,token) (This)->lpVtbl->add_DataReceived(This,handler,token)
4922 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_remove_DataReceived(This,token) (This)->lpVtbl->remove_DataReceived(This,token)
4923 #else
4924 /*** IUnknown methods ***/
4925 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe* This,REFIID riid,void **ppvObject) {
4926 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
4927 }
4928 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe* This) {
4929 return This->lpVtbl->AddRef(This);
4930 }
4931 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe* This) {
4932 return This->lpVtbl->Release(This);
4933 }
4934 /*** IInspectable methods ***/
4935 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe* This,ULONG *iidCount,IID **iids) {
4936 return This->lpVtbl->GetIids(This,iidCount,iids);
4937 }
4938 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe* This,HSTRING *className) {
4939 return This->lpVtbl->GetRuntimeClassName(This,className);
4940 }
4941 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe* This,TrustLevel *trustLevel) {
4942 return This->lpVtbl->GetTrustLevel(This,trustLevel);
4943 }
4944 /*** IUsbInterruptInPipe methods ***/
4945 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_get_EndpointDescriptor(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor **value) {
4946 return This->lpVtbl->get_EndpointDescriptor(This,value);
4947 }
4948 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_ClearStallAsync(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe* This,__x_ABI_CWindows_CFoundation_CIAsyncAction **operation) {
4949 return This->lpVtbl->ClearStallAsync(This,operation);
4950 }
4951 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_add_DataReceived(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe* This,__FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs *handler,EventRegistrationToken *token) {
4952 return This->lpVtbl->add_DataReceived(This,handler,token);
4953 }
4954 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_remove_DataReceived(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe* This,EventRegistrationToken token) {
4955 return This->lpVtbl->remove_DataReceived(This,token);
4956 }
4957 #endif
4958 #ifdef WIDL_using_Windows_Devices_Usb
4959 #define IID_IUsbInterruptInPipe IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe
4960 #define IUsbInterruptInPipeVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipeVtbl
4961 #define IUsbInterruptInPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe
4962 #define IUsbInterruptInPipe_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_QueryInterface
4963 #define IUsbInterruptInPipe_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_AddRef
4964 #define IUsbInterruptInPipe_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_Release
4965 #define IUsbInterruptInPipe_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_GetIids
4966 #define IUsbInterruptInPipe_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_GetRuntimeClassName
4967 #define IUsbInterruptInPipe_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_GetTrustLevel
4968 #define IUsbInterruptInPipe_get_EndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_get_EndpointDescriptor
4969 #define IUsbInterruptInPipe_ClearStallAsync __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_ClearStallAsync
4970 #define IUsbInterruptInPipe_add_DataReceived __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_add_DataReceived
4971 #define IUsbInterruptInPipe_remove_DataReceived __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_remove_DataReceived
4972 #endif /* WIDL_using_Windows_Devices_Usb */
4973 #endif
4974
4975 #endif
4976
4977 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe_INTERFACE_DEFINED__ */
4978 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
4979
4980 /*****************************************************************************
4981 * IUsbInterruptOutEndpointDescriptor interface
4982 */
4983 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
4984 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_INTERFACE_DEFINED__
4985 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_INTERFACE_DEFINED__
4986
4987 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor, 0xcc9fed81, 0x10ca, 0x4533, 0x95,0x2d, 0x9e,0x27,0x83,0x41,0xe8,0x0f);
4988 #if defined(__cplusplus) && !defined(CINTERFACE)
4989 } /* extern "C" */
4990 namespace ABI {
4991 namespace Windows {
4992 namespace Devices {
4993 namespace Usb {
4994 MIDL_INTERFACE("cc9fed81-10ca-4533-952d-9e278341e80f")
4995 IUsbInterruptOutEndpointDescriptor : public IInspectable
4996 {
4997 virtual HRESULT STDMETHODCALLTYPE get_MaxPacketSize(
4998 UINT32 *value) = 0;
4999
5000 virtual HRESULT STDMETHODCALLTYPE get_EndpointNumber(
5001 BYTE *value) = 0;
5002
5003 virtual HRESULT STDMETHODCALLTYPE get_Interval(
5004 ABI::Windows::Foundation::TimeSpan *value) = 0;
5005
5006 virtual HRESULT STDMETHODCALLTYPE get_Pipe(
5007 ABI::Windows::Devices::Usb::IUsbInterruptOutPipe **value) = 0;
5008
5009 };
5010 }
5011 }
5012 }
5013 }
5014 extern "C" {
5015 #ifdef __CRT_UUID_DECL
5016 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor, 0xcc9fed81, 0x10ca, 0x4533, 0x95,0x2d, 0x9e,0x27,0x83,0x41,0xe8,0x0f)
5017 #endif
5018 #else
5019 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptorVtbl {
5020 BEGIN_INTERFACE
5021
5022 /*** IUnknown methods ***/
5023 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5024 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *This,
5025 REFIID riid,
5026 void **ppvObject);
5027
5028 ULONG (STDMETHODCALLTYPE *AddRef)(
5029 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *This);
5030
5031 ULONG (STDMETHODCALLTYPE *Release)(
5032 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *This);
5033
5034 /*** IInspectable methods ***/
5035 HRESULT (STDMETHODCALLTYPE *GetIids)(
5036 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *This,
5037 ULONG *iidCount,
5038 IID **iids);
5039
5040 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
5041 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *This,
5042 HSTRING *className);
5043
5044 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
5045 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *This,
5046 TrustLevel *trustLevel);
5047
5048 /*** IUsbInterruptOutEndpointDescriptor methods ***/
5049 HRESULT (STDMETHODCALLTYPE *get_MaxPacketSize)(
5050 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *This,
5051 UINT32 *value);
5052
5053 HRESULT (STDMETHODCALLTYPE *get_EndpointNumber)(
5054 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *This,
5055 BYTE *value);
5056
5057 HRESULT (STDMETHODCALLTYPE *get_Interval)(
5058 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *This,
5059 __x_ABI_CWindows_CFoundation_CTimeSpan *value);
5060
5061 HRESULT (STDMETHODCALLTYPE *get_Pipe)(
5062 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *This,
5063 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe **value);
5064
5065 END_INTERFACE
5066 } __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptorVtbl;
5067
5068 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor {
5069 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptorVtbl* lpVtbl;
5070 };
5071
5072 #ifdef COBJMACROS
5073 #ifndef WIDL_C_INLINE_WRAPPERS
5074 /*** IUnknown methods ***/
5075 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5076 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
5077 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_Release(This) (This)->lpVtbl->Release(This)
5078 /*** IInspectable methods ***/
5079 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
5080 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
5081 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
5082 /*** IUsbInterruptOutEndpointDescriptor methods ***/
5083 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_MaxPacketSize(This,value) (This)->lpVtbl->get_MaxPacketSize(This,value)
5084 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_EndpointNumber(This,value) (This)->lpVtbl->get_EndpointNumber(This,value)
5085 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_Interval(This,value) (This)->lpVtbl->get_Interval(This,value)
5086 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_Pipe(This,value) (This)->lpVtbl->get_Pipe(This,value)
5087 #else
5088 /*** IUnknown methods ***/
5089 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor* This,REFIID riid,void **ppvObject) {
5090 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
5091 }
5092 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor* This) {
5093 return This->lpVtbl->AddRef(This);
5094 }
5095 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor* This) {
5096 return This->lpVtbl->Release(This);
5097 }
5098 /*** IInspectable methods ***/
5099 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor* This,ULONG *iidCount,IID **iids) {
5100 return This->lpVtbl->GetIids(This,iidCount,iids);
5101 }
5102 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor* This,HSTRING *className) {
5103 return This->lpVtbl->GetRuntimeClassName(This,className);
5104 }
5105 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor* This,TrustLevel *trustLevel) {
5106 return This->lpVtbl->GetTrustLevel(This,trustLevel);
5107 }
5108 /*** IUsbInterruptOutEndpointDescriptor methods ***/
5109 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_MaxPacketSize(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor* This,UINT32 *value) {
5110 return This->lpVtbl->get_MaxPacketSize(This,value);
5111 }
5112 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_EndpointNumber(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor* This,BYTE *value) {
5113 return This->lpVtbl->get_EndpointNumber(This,value);
5114 }
5115 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_Interval(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor* This,__x_ABI_CWindows_CFoundation_CTimeSpan *value) {
5116 return This->lpVtbl->get_Interval(This,value);
5117 }
5118 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_Pipe(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe **value) {
5119 return This->lpVtbl->get_Pipe(This,value);
5120 }
5121 #endif
5122 #ifdef WIDL_using_Windows_Devices_Usb
5123 #define IID_IUsbInterruptOutEndpointDescriptor IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor
5124 #define IUsbInterruptOutEndpointDescriptorVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptorVtbl
5125 #define IUsbInterruptOutEndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor
5126 #define IUsbInterruptOutEndpointDescriptor_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_QueryInterface
5127 #define IUsbInterruptOutEndpointDescriptor_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_AddRef
5128 #define IUsbInterruptOutEndpointDescriptor_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_Release
5129 #define IUsbInterruptOutEndpointDescriptor_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_GetIids
5130 #define IUsbInterruptOutEndpointDescriptor_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_GetRuntimeClassName
5131 #define IUsbInterruptOutEndpointDescriptor_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_GetTrustLevel
5132 #define IUsbInterruptOutEndpointDescriptor_get_MaxPacketSize __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_MaxPacketSize
5133 #define IUsbInterruptOutEndpointDescriptor_get_EndpointNumber __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_EndpointNumber
5134 #define IUsbInterruptOutEndpointDescriptor_get_Interval __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_Interval
5135 #define IUsbInterruptOutEndpointDescriptor_get_Pipe __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_get_Pipe
5136 #endif /* WIDL_using_Windows_Devices_Usb */
5137 #endif
5138
5139 #endif
5140
5141 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor_INTERFACE_DEFINED__ */
5142 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5143
5144 /*****************************************************************************
5145 * IUsbInterruptOutPipe interface
5146 */
5147 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5148 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_INTERFACE_DEFINED__
5149 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_INTERFACE_DEFINED__
5150
5151 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe, 0xe984c8a9, 0xaaf9, 0x49d0, 0xb9,0x6c, 0xf6,0x61,0xab,0x4a,0x7f,0x95);
5152 #if defined(__cplusplus) && !defined(CINTERFACE)
5153 } /* extern "C" */
5154 namespace ABI {
5155 namespace Windows {
5156 namespace Devices {
5157 namespace Usb {
5158 MIDL_INTERFACE("e984c8a9-aaf9-49d0-b96c-f661ab4a7f95")
5159 IUsbInterruptOutPipe : public IInspectable
5160 {
5161 virtual HRESULT STDMETHODCALLTYPE get_EndpointDescriptor(
5162 ABI::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor **value) = 0;
5163
5164 virtual HRESULT STDMETHODCALLTYPE ClearStallAsync(
5165 ABI::Windows::Foundation::IAsyncAction **operation) = 0;
5166
5167 virtual HRESULT STDMETHODCALLTYPE put_WriteOptions(
5168 ABI::Windows::Devices::Usb::UsbWriteOptions value) = 0;
5169
5170 virtual HRESULT STDMETHODCALLTYPE get_WriteOptions(
5171 ABI::Windows::Devices::Usb::UsbWriteOptions *value) = 0;
5172
5173 virtual HRESULT STDMETHODCALLTYPE get_OutputStream(
5174 ABI::Windows::Storage::Streams::IOutputStream **value) = 0;
5175
5176 };
5177 }
5178 }
5179 }
5180 }
5181 extern "C" {
5182 #ifdef __CRT_UUID_DECL
5183 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe, 0xe984c8a9, 0xaaf9, 0x49d0, 0xb9,0x6c, 0xf6,0x61,0xab,0x4a,0x7f,0x95)
5184 #endif
5185 #else
5186 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipeVtbl {
5187 BEGIN_INTERFACE
5188
5189 /*** IUnknown methods ***/
5190 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5191 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This,
5192 REFIID riid,
5193 void **ppvObject);
5194
5195 ULONG (STDMETHODCALLTYPE *AddRef)(
5196 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This);
5197
5198 ULONG (STDMETHODCALLTYPE *Release)(
5199 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This);
5200
5201 /*** IInspectable methods ***/
5202 HRESULT (STDMETHODCALLTYPE *GetIids)(
5203 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This,
5204 ULONG *iidCount,
5205 IID **iids);
5206
5207 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
5208 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This,
5209 HSTRING *className);
5210
5211 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
5212 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This,
5213 TrustLevel *trustLevel);
5214
5215 /*** IUsbInterruptOutPipe methods ***/
5216 HRESULT (STDMETHODCALLTYPE *get_EndpointDescriptor)(
5217 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This,
5218 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor **value);
5219
5220 HRESULT (STDMETHODCALLTYPE *ClearStallAsync)(
5221 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This,
5222 __x_ABI_CWindows_CFoundation_CIAsyncAction **operation);
5223
5224 HRESULT (STDMETHODCALLTYPE *put_WriteOptions)(
5225 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This,
5226 __x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions value);
5227
5228 HRESULT (STDMETHODCALLTYPE *get_WriteOptions)(
5229 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This,
5230 __x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions *value);
5231
5232 HRESULT (STDMETHODCALLTYPE *get_OutputStream)(
5233 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *This,
5234 __x_ABI_CWindows_CStorage_CStreams_CIOutputStream **value);
5235
5236 END_INTERFACE
5237 } __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipeVtbl;
5238
5239 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe {
5240 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipeVtbl* lpVtbl;
5241 };
5242
5243 #ifdef COBJMACROS
5244 #ifndef WIDL_C_INLINE_WRAPPERS
5245 /*** IUnknown methods ***/
5246 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5247 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_AddRef(This) (This)->lpVtbl->AddRef(This)
5248 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_Release(This) (This)->lpVtbl->Release(This)
5249 /*** IInspectable methods ***/
5250 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
5251 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
5252 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
5253 /*** IUsbInterruptOutPipe methods ***/
5254 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_get_EndpointDescriptor(This,value) (This)->lpVtbl->get_EndpointDescriptor(This,value)
5255 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_ClearStallAsync(This,operation) (This)->lpVtbl->ClearStallAsync(This,operation)
5256 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_put_WriteOptions(This,value) (This)->lpVtbl->put_WriteOptions(This,value)
5257 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_get_WriteOptions(This,value) (This)->lpVtbl->get_WriteOptions(This,value)
5258 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_get_OutputStream(This,value) (This)->lpVtbl->get_OutputStream(This,value)
5259 #else
5260 /*** IUnknown methods ***/
5261 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This,REFIID riid,void **ppvObject) {
5262 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
5263 }
5264 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This) {
5265 return This->lpVtbl->AddRef(This);
5266 }
5267 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This) {
5268 return This->lpVtbl->Release(This);
5269 }
5270 /*** IInspectable methods ***/
5271 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This,ULONG *iidCount,IID **iids) {
5272 return This->lpVtbl->GetIids(This,iidCount,iids);
5273 }
5274 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This,HSTRING *className) {
5275 return This->lpVtbl->GetRuntimeClassName(This,className);
5276 }
5277 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This,TrustLevel *trustLevel) {
5278 return This->lpVtbl->GetTrustLevel(This,trustLevel);
5279 }
5280 /*** IUsbInterruptOutPipe methods ***/
5281 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_get_EndpointDescriptor(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor **value) {
5282 return This->lpVtbl->get_EndpointDescriptor(This,value);
5283 }
5284 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_ClearStallAsync(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This,__x_ABI_CWindows_CFoundation_CIAsyncAction **operation) {
5285 return This->lpVtbl->ClearStallAsync(This,operation);
5286 }
5287 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_put_WriteOptions(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This,__x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions value) {
5288 return This->lpVtbl->put_WriteOptions(This,value);
5289 }
5290 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_get_WriteOptions(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This,__x_ABI_CWindows_CDevices_CUsb_CUsbWriteOptions *value) {
5291 return This->lpVtbl->get_WriteOptions(This,value);
5292 }
5293 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_get_OutputStream(__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe* This,__x_ABI_CWindows_CStorage_CStreams_CIOutputStream **value) {
5294 return This->lpVtbl->get_OutputStream(This,value);
5295 }
5296 #endif
5297 #ifdef WIDL_using_Windows_Devices_Usb
5298 #define IID_IUsbInterruptOutPipe IID___x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe
5299 #define IUsbInterruptOutPipeVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipeVtbl
5300 #define IUsbInterruptOutPipe __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe
5301 #define IUsbInterruptOutPipe_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_QueryInterface
5302 #define IUsbInterruptOutPipe_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_AddRef
5303 #define IUsbInterruptOutPipe_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_Release
5304 #define IUsbInterruptOutPipe_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_GetIids
5305 #define IUsbInterruptOutPipe_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_GetRuntimeClassName
5306 #define IUsbInterruptOutPipe_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_GetTrustLevel
5307 #define IUsbInterruptOutPipe_get_EndpointDescriptor __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_get_EndpointDescriptor
5308 #define IUsbInterruptOutPipe_ClearStallAsync __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_ClearStallAsync
5309 #define IUsbInterruptOutPipe_put_WriteOptions __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_put_WriteOptions
5310 #define IUsbInterruptOutPipe_get_WriteOptions __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_get_WriteOptions
5311 #define IUsbInterruptOutPipe_get_OutputStream __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_get_OutputStream
5312 #endif /* WIDL_using_Windows_Devices_Usb */
5313 #endif
5314
5315 #endif
5316
5317 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe_INTERFACE_DEFINED__ */
5318 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5319
5320 /*****************************************************************************
5321 * IUsbSetupPacket interface
5322 */
5323 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5324 #ifndef ____x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_INTERFACE_DEFINED__
5325 #define ____x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_INTERFACE_DEFINED__
5326
5327 DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket, 0x104ba132, 0xc78f, 0x4c51, 0xb6,0x54, 0xe4,0x9d,0x02,0xf2,0xcb,0x03);
5328 #if defined(__cplusplus) && !defined(CINTERFACE)
5329 } /* extern "C" */
5330 namespace ABI {
5331 namespace Windows {
5332 namespace Devices {
5333 namespace Usb {
5334 MIDL_INTERFACE("104ba132-c78f-4c51-b654-e49d02f2cb03")
5335 IUsbSetupPacket : public IInspectable
5336 {
5337 virtual HRESULT STDMETHODCALLTYPE get_RequestType(
5338 ABI::Windows::Devices::Usb::IUsbControlRequestType **value) = 0;
5339
5340 virtual HRESULT STDMETHODCALLTYPE put_RequestType(
5341 ABI::Windows::Devices::Usb::IUsbControlRequestType *value) = 0;
5342
5343 virtual HRESULT STDMETHODCALLTYPE get_Request(
5344 BYTE *value) = 0;
5345
5346 virtual HRESULT STDMETHODCALLTYPE put_Request(
5347 BYTE value) = 0;
5348
5349 virtual HRESULT STDMETHODCALLTYPE get_Value(
5350 UINT32 *value) = 0;
5351
5352 virtual HRESULT STDMETHODCALLTYPE put_Value(
5353 UINT32 value) = 0;
5354
5355 virtual HRESULT STDMETHODCALLTYPE get_Index(
5356 UINT32 *value) = 0;
5357
5358 virtual HRESULT STDMETHODCALLTYPE put_Index(
5359 UINT32 value) = 0;
5360
5361 virtual HRESULT STDMETHODCALLTYPE get_Length(
5362 UINT32 *value) = 0;
5363
5364 virtual HRESULT STDMETHODCALLTYPE put_Length(
5365 UINT32 value) = 0;
5366
5367 };
5368 }
5369 }
5370 }
5371 }
5372 extern "C" {
5373 #ifdef __CRT_UUID_DECL
5374 __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket, 0x104ba132, 0xc78f, 0x4c51, 0xb6,0x54, 0xe4,0x9d,0x02,0xf2,0xcb,0x03)
5375 #endif
5376 #else
5377 typedef struct __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacketVtbl {
5378 BEGIN_INTERFACE
5379
5380 /*** IUnknown methods ***/
5381 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5382 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5383 REFIID riid,
5384 void **ppvObject);
5385
5386 ULONG (STDMETHODCALLTYPE *AddRef)(
5387 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This);
5388
5389 ULONG (STDMETHODCALLTYPE *Release)(
5390 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This);
5391
5392 /*** IInspectable methods ***/
5393 HRESULT (STDMETHODCALLTYPE *GetIids)(
5394 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5395 ULONG *iidCount,
5396 IID **iids);
5397
5398 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
5399 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5400 HSTRING *className);
5401
5402 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
5403 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5404 TrustLevel *trustLevel);
5405
5406 /*** IUsbSetupPacket methods ***/
5407 HRESULT (STDMETHODCALLTYPE *get_RequestType)(
5408 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5409 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType **value);
5410
5411 HRESULT (STDMETHODCALLTYPE *put_RequestType)(
5412 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5413 __x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *value);
5414
5415 HRESULT (STDMETHODCALLTYPE *get_Request)(
5416 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5417 BYTE *value);
5418
5419 HRESULT (STDMETHODCALLTYPE *put_Request)(
5420 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5421 BYTE value);
5422
5423 HRESULT (STDMETHODCALLTYPE *get_Value)(
5424 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5425 UINT32 *value);
5426
5427 HRESULT (STDMETHODCALLTYPE *put_Value)(
5428 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5429 UINT32 value);
5430
5431 HRESULT (STDMETHODCALLTYPE *get_Index)(
5432 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5433 UINT32 *value);
5434
5435 HRESULT (STDMETHODCALLTYPE *put_Index)(
5436 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5437 UINT32 value);
5438
5439 HRESULT (STDMETHODCALLTYPE *get_Length)(
5440 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5441 UINT32 *value);
5442
5443 HRESULT (STDMETHODCALLTYPE *put_Length)(
5444 __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket *This,
5445 UINT32 value);
5446
5447 END_INTERFACE
5448 } __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacketVtbl;
5449
5450 interface __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket {
5451 CONST_VTBL __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacketVtbl* lpVtbl;
5452 };
5453
5454 #ifdef COBJMACROS
5455 #ifndef WIDL_C_INLINE_WRAPPERS
5456 /*** IUnknown methods ***/
5457 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5458 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_AddRef(This) (This)->lpVtbl->AddRef(This)
5459 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_Release(This) (This)->lpVtbl->Release(This)
5460 /*** IInspectable methods ***/
5461 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
5462 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
5463 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
5464 /*** IUsbSetupPacket methods ***/
5465 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_RequestType(This,value) (This)->lpVtbl->get_RequestType(This,value)
5466 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_RequestType(This,value) (This)->lpVtbl->put_RequestType(This,value)
5467 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Request(This,value) (This)->lpVtbl->get_Request(This,value)
5468 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Request(This,value) (This)->lpVtbl->put_Request(This,value)
5469 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Value(This,value) (This)->lpVtbl->get_Value(This,value)
5470 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Value(This,value) (This)->lpVtbl->put_Value(This,value)
5471 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Index(This,value) (This)->lpVtbl->get_Index(This,value)
5472 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Index(This,value) (This)->lpVtbl->put_Index(This,value)
5473 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Length(This,value) (This)->lpVtbl->get_Length(This,value)
5474 #define __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Length(This,value) (This)->lpVtbl->put_Length(This,value)
5475 #else
5476 /*** IUnknown methods ***/
5477 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_QueryInterface(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,REFIID riid,void **ppvObject) {
5478 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
5479 }
5480 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_AddRef(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This) {
5481 return This->lpVtbl->AddRef(This);
5482 }
5483 static inline ULONG __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_Release(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This) {
5484 return This->lpVtbl->Release(This);
5485 }
5486 /*** IInspectable methods ***/
5487 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_GetIids(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,ULONG *iidCount,IID **iids) {
5488 return This->lpVtbl->GetIids(This,iidCount,iids);
5489 }
5490 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,HSTRING *className) {
5491 return This->lpVtbl->GetRuntimeClassName(This,className);
5492 }
5493 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_GetTrustLevel(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,TrustLevel *trustLevel) {
5494 return This->lpVtbl->GetTrustLevel(This,trustLevel);
5495 }
5496 /*** IUsbSetupPacket methods ***/
5497 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_RequestType(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType **value) {
5498 return This->lpVtbl->get_RequestType(This,value);
5499 }
5500 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_RequestType(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbControlRequestType *value) {
5501 return This->lpVtbl->put_RequestType(This,value);
5502 }
5503 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Request(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,BYTE *value) {
5504 return This->lpVtbl->get_Request(This,value);
5505 }
5506 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Request(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,BYTE value) {
5507 return This->lpVtbl->put_Request(This,value);
5508 }
5509 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Value(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,UINT32 *value) {
5510 return This->lpVtbl->get_Value(This,value);
5511 }
5512 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Value(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,UINT32 value) {
5513 return This->lpVtbl->put_Value(This,value);
5514 }
5515 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Index(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,UINT32 *value) {
5516 return This->lpVtbl->get_Index(This,value);
5517 }
5518 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Index(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,UINT32 value) {
5519 return This->lpVtbl->put_Index(This,value);
5520 }
5521 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Length(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,UINT32 *value) {
5522 return This->lpVtbl->get_Length(This,value);
5523 }
5524 static inline HRESULT __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Length(__x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket* This,UINT32 value) {
5525 return This->lpVtbl->put_Length(This,value);
5526 }
5527 #endif
5528 #ifdef WIDL_using_Windows_Devices_Usb
5529 #define IID_IUsbSetupPacket IID___x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket
5530 #define IUsbSetupPacketVtbl __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacketVtbl
5531 #define IUsbSetupPacket __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket
5532 #define IUsbSetupPacket_QueryInterface __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_QueryInterface
5533 #define IUsbSetupPacket_AddRef __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_AddRef
5534 #define IUsbSetupPacket_Release __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_Release
5535 #define IUsbSetupPacket_GetIids __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_GetIids
5536 #define IUsbSetupPacket_GetRuntimeClassName __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_GetRuntimeClassName
5537 #define IUsbSetupPacket_GetTrustLevel __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_GetTrustLevel
5538 #define IUsbSetupPacket_get_RequestType __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_RequestType
5539 #define IUsbSetupPacket_put_RequestType __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_RequestType
5540 #define IUsbSetupPacket_get_Request __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Request
5541 #define IUsbSetupPacket_put_Request __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Request
5542 #define IUsbSetupPacket_get_Value __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Value
5543 #define IUsbSetupPacket_put_Value __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Value
5544 #define IUsbSetupPacket_get_Index __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Index
5545 #define IUsbSetupPacket_put_Index __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Index
5546 #define IUsbSetupPacket_get_Length __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_get_Length
5547 #define IUsbSetupPacket_put_Length __x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_put_Length
5548 #endif /* WIDL_using_Windows_Devices_Usb */
5549 #endif
5550
5551 #endif
5552
5553 #endif /* ____x_ABI_CWindows_CDevices_CUsb_CIUsbSetupPacket_INTERFACE_DEFINED__ */
5554 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5555
5556 /*
5557 * Class Windows.Devices.Usb.UsbBulkInEndpointDescriptor
5558 */
5559 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5560 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbBulkInEndpointDescriptor_DEFINED
5561 #define RUNTIMECLASS_Windows_Devices_Usb_UsbBulkInEndpointDescriptor_DEFINED
5562 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5563 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkInEndpointDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','B','u','l','k','I','n','E','n','d','p','o','i','n','t','D','e','s','c','r','i','p','t','o','r',0};
5564 #elif defined(__GNUC__) && !defined(__cplusplus)
5565 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkInEndpointDescriptor[] = L"Windows.Devices.Usb.UsbBulkInEndpointDescriptor";
5566 #else
5567 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkInEndpointDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','B','u','l','k','I','n','E','n','d','p','o','i','n','t','D','e','s','c','r','i','p','t','o','r',0};
5568 #endif
5569 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbBulkInEndpointDescriptor_DEFINED */
5570 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5571
5572 /*
5573 * Class Windows.Devices.Usb.UsbBulkInPipe
5574 */
5575 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5576 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbBulkInPipe_DEFINED
5577 #define RUNTIMECLASS_Windows_Devices_Usb_UsbBulkInPipe_DEFINED
5578 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5579 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkInPipe[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','B','u','l','k','I','n','P','i','p','e',0};
5580 #elif defined(__GNUC__) && !defined(__cplusplus)
5581 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkInPipe[] = L"Windows.Devices.Usb.UsbBulkInPipe";
5582 #else
5583 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkInPipe[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','B','u','l','k','I','n','P','i','p','e',0};
5584 #endif
5585 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbBulkInPipe_DEFINED */
5586 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5587
5588 /*
5589 * Class Windows.Devices.Usb.UsbBulkOutEndpointDescriptor
5590 */
5591 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5592 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbBulkOutEndpointDescriptor_DEFINED
5593 #define RUNTIMECLASS_Windows_Devices_Usb_UsbBulkOutEndpointDescriptor_DEFINED
5594 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5595 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkOutEndpointDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','B','u','l','k','O','u','t','E','n','d','p','o','i','n','t','D','e','s','c','r','i','p','t','o','r',0};
5596 #elif defined(__GNUC__) && !defined(__cplusplus)
5597 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkOutEndpointDescriptor[] = L"Windows.Devices.Usb.UsbBulkOutEndpointDescriptor";
5598 #else
5599 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkOutEndpointDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','B','u','l','k','O','u','t','E','n','d','p','o','i','n','t','D','e','s','c','r','i','p','t','o','r',0};
5600 #endif
5601 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbBulkOutEndpointDescriptor_DEFINED */
5602 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5603
5604 /*
5605 * Class Windows.Devices.Usb.UsbBulkOutPipe
5606 */
5607 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5608 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbBulkOutPipe_DEFINED
5609 #define RUNTIMECLASS_Windows_Devices_Usb_UsbBulkOutPipe_DEFINED
5610 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5611 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkOutPipe[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','B','u','l','k','O','u','t','P','i','p','e',0};
5612 #elif defined(__GNUC__) && !defined(__cplusplus)
5613 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkOutPipe[] = L"Windows.Devices.Usb.UsbBulkOutPipe";
5614 #else
5615 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbBulkOutPipe[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','B','u','l','k','O','u','t','P','i','p','e',0};
5616 #endif
5617 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbBulkOutPipe_DEFINED */
5618 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5619
5620 /*
5621 * Class Windows.Devices.Usb.UsbConfiguration
5622 */
5623 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5624 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbConfiguration_DEFINED
5625 #define RUNTIMECLASS_Windows_Devices_Usb_UsbConfiguration_DEFINED
5626 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5627 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbConfiguration[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','C','o','n','f','i','g','u','r','a','t','i','o','n',0};
5628 #elif defined(__GNUC__) && !defined(__cplusplus)
5629 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbConfiguration[] = L"Windows.Devices.Usb.UsbConfiguration";
5630 #else
5631 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbConfiguration[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','C','o','n','f','i','g','u','r','a','t','i','o','n',0};
5632 #endif
5633 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbConfiguration_DEFINED */
5634 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5635
5636 /*
5637 * Class Windows.Devices.Usb.UsbConfigurationDescriptor
5638 */
5639 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5640 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbConfigurationDescriptor_DEFINED
5641 #define RUNTIMECLASS_Windows_Devices_Usb_UsbConfigurationDescriptor_DEFINED
5642 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5643 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbConfigurationDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','C','o','n','f','i','g','u','r','a','t','i','o','n','D','e','s','c','r','i','p','t','o','r',0};
5644 #elif defined(__GNUC__) && !defined(__cplusplus)
5645 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbConfigurationDescriptor[] = L"Windows.Devices.Usb.UsbConfigurationDescriptor";
5646 #else
5647 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbConfigurationDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','C','o','n','f','i','g','u','r','a','t','i','o','n','D','e','s','c','r','i','p','t','o','r',0};
5648 #endif
5649 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbConfigurationDescriptor_DEFINED */
5650 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5651
5652 /*
5653 * Class Windows.Devices.Usb.UsbControlRequestType
5654 */
5655 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5656 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbControlRequestType_DEFINED
5657 #define RUNTIMECLASS_Windows_Devices_Usb_UsbControlRequestType_DEFINED
5658 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5659 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbControlRequestType[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','C','o','n','t','r','o','l','R','e','q','u','e','s','t','T','y','p','e',0};
5660 #elif defined(__GNUC__) && !defined(__cplusplus)
5661 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbControlRequestType[] = L"Windows.Devices.Usb.UsbControlRequestType";
5662 #else
5663 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbControlRequestType[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','C','o','n','t','r','o','l','R','e','q','u','e','s','t','T','y','p','e',0};
5664 #endif
5665 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbControlRequestType_DEFINED */
5666 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5667
5668 /*
5669 * Class Windows.Devices.Usb.UsbDescriptor
5670 */
5671 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5672 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbDescriptor_DEFINED
5673 #define RUNTIMECLASS_Windows_Devices_Usb_UsbDescriptor_DEFINED
5674 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5675 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','D','e','s','c','r','i','p','t','o','r',0};
5676 #elif defined(__GNUC__) && !defined(__cplusplus)
5677 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbDescriptor[] = L"Windows.Devices.Usb.UsbDescriptor";
5678 #else
5679 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','D','e','s','c','r','i','p','t','o','r',0};
5680 #endif
5681 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbDescriptor_DEFINED */
5682 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5683
5684 /*
5685 * Class Windows.Devices.Usb.UsbDevice
5686 */
5687 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5688 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbDevice_DEFINED
5689 #define RUNTIMECLASS_Windows_Devices_Usb_UsbDevice_DEFINED
5690 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5691 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbDevice[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','D','e','v','i','c','e',0};
5692 #elif defined(__GNUC__) && !defined(__cplusplus)
5693 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbDevice[] = L"Windows.Devices.Usb.UsbDevice";
5694 #else
5695 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbDevice[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','D','e','v','i','c','e',0};
5696 #endif
5697 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbDevice_DEFINED */
5698 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5699
5700 /*
5701 * Class Windows.Devices.Usb.UsbDeviceClass
5702 */
5703 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5704 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbDeviceClass_DEFINED
5705 #define RUNTIMECLASS_Windows_Devices_Usb_UsbDeviceClass_DEFINED
5706 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5707 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbDeviceClass[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','D','e','v','i','c','e','C','l','a','s','s',0};
5708 #elif defined(__GNUC__) && !defined(__cplusplus)
5709 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbDeviceClass[] = L"Windows.Devices.Usb.UsbDeviceClass";
5710 #else
5711 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbDeviceClass[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','D','e','v','i','c','e','C','l','a','s','s',0};
5712 #endif
5713 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbDeviceClass_DEFINED */
5714 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5715
5716 /*
5717 * Class Windows.Devices.Usb.UsbDeviceDescriptor
5718 */
5719 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5720 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbDeviceDescriptor_DEFINED
5721 #define RUNTIMECLASS_Windows_Devices_Usb_UsbDeviceDescriptor_DEFINED
5722 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5723 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbDeviceDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','D','e','v','i','c','e','D','e','s','c','r','i','p','t','o','r',0};
5724 #elif defined(__GNUC__) && !defined(__cplusplus)
5725 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbDeviceDescriptor[] = L"Windows.Devices.Usb.UsbDeviceDescriptor";
5726 #else
5727 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbDeviceDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','D','e','v','i','c','e','D','e','s','c','r','i','p','t','o','r',0};
5728 #endif
5729 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbDeviceDescriptor_DEFINED */
5730 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5731
5732 /*
5733 * Class Windows.Devices.Usb.UsbInterface
5734 */
5735 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5736 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbInterface_DEFINED
5737 #define RUNTIMECLASS_Windows_Devices_Usb_UsbInterface_DEFINED
5738 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5739 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterface[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','f','a','c','e',0};
5740 #elif defined(__GNUC__) && !defined(__cplusplus)
5741 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterface[] = L"Windows.Devices.Usb.UsbInterface";
5742 #else
5743 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterface[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','f','a','c','e',0};
5744 #endif
5745 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbInterface_DEFINED */
5746 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5747
5748 /*
5749 * Class Windows.Devices.Usb.UsbInterfaceDescriptor
5750 */
5751 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5752 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbInterfaceDescriptor_DEFINED
5753 #define RUNTIMECLASS_Windows_Devices_Usb_UsbInterfaceDescriptor_DEFINED
5754 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5755 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterfaceDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','f','a','c','e','D','e','s','c','r','i','p','t','o','r',0};
5756 #elif defined(__GNUC__) && !defined(__cplusplus)
5757 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterfaceDescriptor[] = L"Windows.Devices.Usb.UsbInterfaceDescriptor";
5758 #else
5759 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterfaceDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','f','a','c','e','D','e','s','c','r','i','p','t','o','r',0};
5760 #endif
5761 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbInterfaceDescriptor_DEFINED */
5762 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5763
5764 /*
5765 * Class Windows.Devices.Usb.UsbInterfaceSetting
5766 */
5767 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5768 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbInterfaceSetting_DEFINED
5769 #define RUNTIMECLASS_Windows_Devices_Usb_UsbInterfaceSetting_DEFINED
5770 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5771 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterfaceSetting[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','f','a','c','e','S','e','t','t','i','n','g',0};
5772 #elif defined(__GNUC__) && !defined(__cplusplus)
5773 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterfaceSetting[] = L"Windows.Devices.Usb.UsbInterfaceSetting";
5774 #else
5775 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterfaceSetting[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','f','a','c','e','S','e','t','t','i','n','g',0};
5776 #endif
5777 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbInterfaceSetting_DEFINED */
5778 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5779
5780 /*
5781 * Class Windows.Devices.Usb.UsbInterruptInEventArgs
5782 */
5783 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5784 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptInEventArgs_DEFINED
5785 #define RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptInEventArgs_DEFINED
5786 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5787 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptInEventArgs[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','r','u','p','t','I','n','E','v','e','n','t','A','r','g','s',0};
5788 #elif defined(__GNUC__) && !defined(__cplusplus)
5789 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptInEventArgs[] = L"Windows.Devices.Usb.UsbInterruptInEventArgs";
5790 #else
5791 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptInEventArgs[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','r','u','p','t','I','n','E','v','e','n','t','A','r','g','s',0};
5792 #endif
5793 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptInEventArgs_DEFINED */
5794 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5795
5796 /*
5797 * Class Windows.Devices.Usb.UsbInterruptInEndpointDescriptor
5798 */
5799 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5800 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptInEndpointDescriptor_DEFINED
5801 #define RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptInEndpointDescriptor_DEFINED
5802 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5803 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptInEndpointDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','r','u','p','t','I','n','E','n','d','p','o','i','n','t','D','e','s','c','r','i','p','t','o','r',0};
5804 #elif defined(__GNUC__) && !defined(__cplusplus)
5805 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptInEndpointDescriptor[] = L"Windows.Devices.Usb.UsbInterruptInEndpointDescriptor";
5806 #else
5807 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptInEndpointDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','r','u','p','t','I','n','E','n','d','p','o','i','n','t','D','e','s','c','r','i','p','t','o','r',0};
5808 #endif
5809 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptInEndpointDescriptor_DEFINED */
5810 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5811
5812 /*
5813 * Class Windows.Devices.Usb.UsbInterruptInPipe
5814 */
5815 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5816 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptInPipe_DEFINED
5817 #define RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptInPipe_DEFINED
5818 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5819 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptInPipe[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','r','u','p','t','I','n','P','i','p','e',0};
5820 #elif defined(__GNUC__) && !defined(__cplusplus)
5821 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptInPipe[] = L"Windows.Devices.Usb.UsbInterruptInPipe";
5822 #else
5823 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptInPipe[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','r','u','p','t','I','n','P','i','p','e',0};
5824 #endif
5825 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptInPipe_DEFINED */
5826 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5827
5828 /*
5829 * Class Windows.Devices.Usb.UsbInterruptOutEndpointDescriptor
5830 */
5831 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5832 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptOutEndpointDescriptor_DEFINED
5833 #define RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptOutEndpointDescriptor_DEFINED
5834 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5835 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptOutEndpointDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','r','u','p','t','O','u','t','E','n','d','p','o','i','n','t','D','e','s','c','r','i','p','t','o','r',0};
5836 #elif defined(__GNUC__) && !defined(__cplusplus)
5837 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptOutEndpointDescriptor[] = L"Windows.Devices.Usb.UsbInterruptOutEndpointDescriptor";
5838 #else
5839 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptOutEndpointDescriptor[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','r','u','p','t','O','u','t','E','n','d','p','o','i','n','t','D','e','s','c','r','i','p','t','o','r',0};
5840 #endif
5841 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptOutEndpointDescriptor_DEFINED */
5842 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5843
5844 /*
5845 * Class Windows.Devices.Usb.UsbInterruptOutPipe
5846 */
5847 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5848 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptOutPipe_DEFINED
5849 #define RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptOutPipe_DEFINED
5850 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5851 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptOutPipe[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','r','u','p','t','O','u','t','P','i','p','e',0};
5852 #elif defined(__GNUC__) && !defined(__cplusplus)
5853 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptOutPipe[] = L"Windows.Devices.Usb.UsbInterruptOutPipe";
5854 #else
5855 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbInterruptOutPipe[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','I','n','t','e','r','r','u','p','t','O','u','t','P','i','p','e',0};
5856 #endif
5857 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbInterruptOutPipe_DEFINED */
5858 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5859
5860 /*
5861 * Class Windows.Devices.Usb.UsbSetupPacket
5862 */
5863 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
5864 #ifndef RUNTIMECLASS_Windows_Devices_Usb_UsbSetupPacket_DEFINED
5865 #define RUNTIMECLASS_Windows_Devices_Usb_UsbSetupPacket_DEFINED
5866 #if !defined(_MSC_VER) && !defined(__MINGW32__)
5867 static const WCHAR RuntimeClass_Windows_Devices_Usb_UsbSetupPacket[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','S','e','t','u','p','P','a','c','k','e','t',0};
5868 #elif defined(__GNUC__) && !defined(__cplusplus)
5869 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbSetupPacket[] = L"Windows.Devices.Usb.UsbSetupPacket";
5870 #else
5871 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Usb_UsbSetupPacket[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','U','s','b','.','U','s','b','S','e','t','u','p','P','a','c','k','e','t',0};
5872 #endif
5873 #endif /* RUNTIMECLASS_Windows_Devices_Usb_UsbSetupPacket_DEFINED */
5874 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
5875
5876 /*****************************************************************************
5877 * IAsyncOperationCompletedHandler<ABI::Windows::Devices::Usb::UsbDevice* > interface
5878 */
5879 #ifndef ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_INTERFACE_DEFINED__
5880 #define ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_INTERFACE_DEFINED__
5881
5882 DEFINE_GUID(IID___FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice, 0x7331254f, 0x6caf, 0x587d, 0x9c,0x2a, 0x01,0x8c,0x66,0xd3,0x12,0xdb);
5883 #if defined(__cplusplus) && !defined(CINTERFACE)
5884 } /* extern "C" */
5885 namespace ABI {
5886 namespace Windows {
5887 namespace Foundation {
5888 template<>
5889 MIDL_INTERFACE("7331254f-6caf-587d-9c2a-018c66d312db")
5890 IAsyncOperationCompletedHandler<ABI::Windows::Devices::Usb::UsbDevice* > : IAsyncOperationCompletedHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbDevice*, ABI::Windows::Devices::Usb::IUsbDevice* > >
5891 {
5892 };
5893 }
5894 }
5895 }
5896 extern "C" {
5897 #ifdef __CRT_UUID_DECL
5898 __CRT_UUID_DECL(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice, 0x7331254f, 0x6caf, 0x587d, 0x9c,0x2a, 0x01,0x8c,0x66,0xd3,0x12,0xdb)
5899 #endif
5900 #else
5901 typedef struct __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDeviceVtbl {
5902 BEGIN_INTERFACE
5903
5904 /*** IUnknown methods ***/
5905 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5906 __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice *This,
5907 REFIID riid,
5908 void **ppvObject);
5909
5910 ULONG (STDMETHODCALLTYPE *AddRef)(
5911 __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice *This);
5912
5913 ULONG (STDMETHODCALLTYPE *Release)(
5914 __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice *This);
5915
5916 /*** IAsyncOperationCompletedHandler<ABI::Windows::Devices::Usb::UsbDevice* > methods ***/
5917 HRESULT (STDMETHODCALLTYPE *Invoke)(
5918 __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice *This,
5919 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *info,
5920 AsyncStatus status);
5921
5922 END_INTERFACE
5923 } __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDeviceVtbl;
5924
5925 interface __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice {
5926 CONST_VTBL __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDeviceVtbl* lpVtbl;
5927 };
5928
5929 #ifdef COBJMACROS
5930 #ifndef WIDL_C_INLINE_WRAPPERS
5931 /*** IUnknown methods ***/
5932 #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5933 #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_AddRef(This) (This)->lpVtbl->AddRef(This)
5934 #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_Release(This) (This)->lpVtbl->Release(This)
5935 /*** IAsyncOperationCompletedHandler<ABI::Windows::Devices::Usb::UsbDevice* > methods ***/
5936 #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_Invoke(This,info,status) (This)->lpVtbl->Invoke(This,info,status)
5937 #else
5938 /*** IUnknown methods ***/
5939 static inline HRESULT __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_QueryInterface(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice* This,REFIID riid,void **ppvObject) {
5940 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
5941 }
5942 static inline ULONG __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_AddRef(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice* This) {
5943 return This->lpVtbl->AddRef(This);
5944 }
5945 static inline ULONG __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_Release(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice* This) {
5946 return This->lpVtbl->Release(This);
5947 }
5948 /*** IAsyncOperationCompletedHandler<ABI::Windows::Devices::Usb::UsbDevice* > methods ***/
5949 static inline HRESULT __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_Invoke(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice* This,__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *info,AsyncStatus status) {
5950 return This->lpVtbl->Invoke(This,info,status);
5951 }
5952 #endif
5953 #ifdef WIDL_using_Windows_Foundation
5954 #define IID_IAsyncOperationCompletedHandler_UsbDevice IID___FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice
5955 #define IAsyncOperationCompletedHandler_UsbDeviceVtbl __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDeviceVtbl
5956 #define IAsyncOperationCompletedHandler_UsbDevice __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice
5957 #define IAsyncOperationCompletedHandler_UsbDevice_QueryInterface __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_QueryInterface
5958 #define IAsyncOperationCompletedHandler_UsbDevice_AddRef __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_AddRef
5959 #define IAsyncOperationCompletedHandler_UsbDevice_Release __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_Release
5960 #define IAsyncOperationCompletedHandler_UsbDevice_Invoke __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_Invoke
5961 #endif /* WIDL_using_Windows_Foundation */
5962 #endif
5963
5964 #endif
5965
5966 #endif /* ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice_INTERFACE_DEFINED__ */
5967
5968 /*****************************************************************************
5969 * IVectorView<ABI::Windows::Devices::Usb::UsbBulkInEndpointDescriptor* > interface
5970 */
5971 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_INTERFACE_DEFINED__
5972 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_INTERFACE_DEFINED__
5973
5974 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor, 0x9c69ac78, 0x309e, 0x5763, 0xaf,0x26, 0x97,0x06,0xff,0xa4,0x7e,0xc0);
5975 #if defined(__cplusplus) && !defined(CINTERFACE)
5976 } /* extern "C" */
5977 namespace ABI {
5978 namespace Windows {
5979 namespace Foundation {
5980 namespace Collections {
5981 template<>
5982 MIDL_INTERFACE("9c69ac78-309e-5763-af26-9706ffa47ec0")
5983 IVectorView<ABI::Windows::Devices::Usb::UsbBulkInEndpointDescriptor* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbBulkInEndpointDescriptor*, ABI::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor* > >
5984 {
5985 };
5986 }
5987 }
5988 }
5989 }
5990 extern "C" {
5991 #ifdef __CRT_UUID_DECL
5992 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor, 0x9c69ac78, 0x309e, 0x5763, 0xaf,0x26, 0x97,0x06,0xff,0xa4,0x7e,0xc0)
5993 #endif
5994 #else
5995 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptorVtbl {
5996 BEGIN_INTERFACE
5997
5998 /*** IUnknown methods ***/
5999 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6000 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor *This,
6001 REFIID riid,
6002 void **ppvObject);
6003
6004 ULONG (STDMETHODCALLTYPE *AddRef)(
6005 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor *This);
6006
6007 ULONG (STDMETHODCALLTYPE *Release)(
6008 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor *This);
6009
6010 /*** IInspectable methods ***/
6011 HRESULT (STDMETHODCALLTYPE *GetIids)(
6012 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor *This,
6013 ULONG *iidCount,
6014 IID **iids);
6015
6016 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
6017 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor *This,
6018 HSTRING *className);
6019
6020 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
6021 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor *This,
6022 TrustLevel *trustLevel);
6023
6024 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkInEndpointDescriptor* > methods ***/
6025 HRESULT (STDMETHODCALLTYPE *GetAt)(
6026 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor *This,
6027 UINT32 index,
6028 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor **value);
6029
6030 HRESULT (STDMETHODCALLTYPE *get_Size)(
6031 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor *This,
6032 UINT32 *value);
6033
6034 HRESULT (STDMETHODCALLTYPE *IndexOf)(
6035 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor *This,
6036 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *element,
6037 UINT32 *index,
6038 BOOLEAN *value);
6039
6040 HRESULT (STDMETHODCALLTYPE *GetMany)(
6041 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor *This,
6042 UINT32 start_index,
6043 UINT32 items_size,
6044 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor **items,
6045 UINT32 *value);
6046
6047 END_INTERFACE
6048 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptorVtbl;
6049
6050 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor {
6051 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptorVtbl* lpVtbl;
6052 };
6053
6054 #ifdef COBJMACROS
6055 #ifndef WIDL_C_INLINE_WRAPPERS
6056 /*** IUnknown methods ***/
6057 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6058 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
6059 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_Release(This) (This)->lpVtbl->Release(This)
6060 /*** IInspectable methods ***/
6061 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
6062 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
6063 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
6064 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkInEndpointDescriptor* > methods ***/
6065 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
6066 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
6067 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
6068 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
6069 #else
6070 /*** IUnknown methods ***/
6071 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor* This,REFIID riid,void **ppvObject) {
6072 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
6073 }
6074 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor* This) {
6075 return This->lpVtbl->AddRef(This);
6076 }
6077 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor* This) {
6078 return This->lpVtbl->Release(This);
6079 }
6080 /*** IInspectable methods ***/
6081 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor* This,ULONG *iidCount,IID **iids) {
6082 return This->lpVtbl->GetIids(This,iidCount,iids);
6083 }
6084 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor* This,HSTRING *className) {
6085 return This->lpVtbl->GetRuntimeClassName(This,className);
6086 }
6087 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor* This,TrustLevel *trustLevel) {
6088 return This->lpVtbl->GetTrustLevel(This,trustLevel);
6089 }
6090 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkInEndpointDescriptor* > methods ***/
6091 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor **value) {
6092 return This->lpVtbl->GetAt(This,index,value);
6093 }
6094 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor* This,UINT32 *value) {
6095 return This->lpVtbl->get_Size(This,value);
6096 }
6097 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor *element,UINT32 *index,BOOLEAN *value) {
6098 return This->lpVtbl->IndexOf(This,element,index,value);
6099 }
6100 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInEndpointDescriptor **items,UINT32 *value) {
6101 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
6102 }
6103 #endif
6104 #ifdef WIDL_using_Windows_Foundation_Collections
6105 #define IID_IVectorView_UsbBulkInEndpointDescriptor IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor
6106 #define IVectorView_UsbBulkInEndpointDescriptorVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptorVtbl
6107 #define IVectorView_UsbBulkInEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor
6108 #define IVectorView_UsbBulkInEndpointDescriptor_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_QueryInterface
6109 #define IVectorView_UsbBulkInEndpointDescriptor_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_AddRef
6110 #define IVectorView_UsbBulkInEndpointDescriptor_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_Release
6111 #define IVectorView_UsbBulkInEndpointDescriptor_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetIids
6112 #define IVectorView_UsbBulkInEndpointDescriptor_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetRuntimeClassName
6113 #define IVectorView_UsbBulkInEndpointDescriptor_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetTrustLevel
6114 #define IVectorView_UsbBulkInEndpointDescriptor_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetAt
6115 #define IVectorView_UsbBulkInEndpointDescriptor_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_get_Size
6116 #define IVectorView_UsbBulkInEndpointDescriptor_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_IndexOf
6117 #define IVectorView_UsbBulkInEndpointDescriptor_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_GetMany
6118 #endif /* WIDL_using_Windows_Foundation_Collections */
6119 #endif
6120
6121 #endif
6122
6123 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInEndpointDescriptor_INTERFACE_DEFINED__ */
6124
6125 /*****************************************************************************
6126 * IVectorView<ABI::Windows::Devices::Usb::UsbBulkInPipe* > interface
6127 */
6128 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_INTERFACE_DEFINED__
6129 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_INTERFACE_DEFINED__
6130
6131 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe, 0xa93c84bc, 0x6484, 0x5959, 0xb6,0x1a, 0x70,0x3c,0xc7,0x11,0x5f,0x6f);
6132 #if defined(__cplusplus) && !defined(CINTERFACE)
6133 } /* extern "C" */
6134 namespace ABI {
6135 namespace Windows {
6136 namespace Foundation {
6137 namespace Collections {
6138 template<>
6139 MIDL_INTERFACE("a93c84bc-6484-5959-b61a-703cc7115f6f")
6140 IVectorView<ABI::Windows::Devices::Usb::UsbBulkInPipe* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbBulkInPipe*, ABI::Windows::Devices::Usb::IUsbBulkInPipe* > >
6141 {
6142 };
6143 }
6144 }
6145 }
6146 }
6147 extern "C" {
6148 #ifdef __CRT_UUID_DECL
6149 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe, 0xa93c84bc, 0x6484, 0x5959, 0xb6,0x1a, 0x70,0x3c,0xc7,0x11,0x5f,0x6f)
6150 #endif
6151 #else
6152 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipeVtbl {
6153 BEGIN_INTERFACE
6154
6155 /*** IUnknown methods ***/
6156 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6157 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe *This,
6158 REFIID riid,
6159 void **ppvObject);
6160
6161 ULONG (STDMETHODCALLTYPE *AddRef)(
6162 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe *This);
6163
6164 ULONG (STDMETHODCALLTYPE *Release)(
6165 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe *This);
6166
6167 /*** IInspectable methods ***/
6168 HRESULT (STDMETHODCALLTYPE *GetIids)(
6169 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe *This,
6170 ULONG *iidCount,
6171 IID **iids);
6172
6173 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
6174 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe *This,
6175 HSTRING *className);
6176
6177 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
6178 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe *This,
6179 TrustLevel *trustLevel);
6180
6181 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkInPipe* > methods ***/
6182 HRESULT (STDMETHODCALLTYPE *GetAt)(
6183 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe *This,
6184 UINT32 index,
6185 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe **value);
6186
6187 HRESULT (STDMETHODCALLTYPE *get_Size)(
6188 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe *This,
6189 UINT32 *value);
6190
6191 HRESULT (STDMETHODCALLTYPE *IndexOf)(
6192 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe *This,
6193 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *element,
6194 UINT32 *index,
6195 BOOLEAN *value);
6196
6197 HRESULT (STDMETHODCALLTYPE *GetMany)(
6198 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe *This,
6199 UINT32 start_index,
6200 UINT32 items_size,
6201 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe **items,
6202 UINT32 *value);
6203
6204 END_INTERFACE
6205 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipeVtbl;
6206
6207 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe {
6208 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipeVtbl* lpVtbl;
6209 };
6210
6211 #ifdef COBJMACROS
6212 #ifndef WIDL_C_INLINE_WRAPPERS
6213 /*** IUnknown methods ***/
6214 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6215 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_AddRef(This) (This)->lpVtbl->AddRef(This)
6216 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_Release(This) (This)->lpVtbl->Release(This)
6217 /*** IInspectable methods ***/
6218 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
6219 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
6220 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
6221 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkInPipe* > methods ***/
6222 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
6223 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
6224 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
6225 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
6226 #else
6227 /*** IUnknown methods ***/
6228 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe* This,REFIID riid,void **ppvObject) {
6229 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
6230 }
6231 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe* This) {
6232 return This->lpVtbl->AddRef(This);
6233 }
6234 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe* This) {
6235 return This->lpVtbl->Release(This);
6236 }
6237 /*** IInspectable methods ***/
6238 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe* This,ULONG *iidCount,IID **iids) {
6239 return This->lpVtbl->GetIids(This,iidCount,iids);
6240 }
6241 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe* This,HSTRING *className) {
6242 return This->lpVtbl->GetRuntimeClassName(This,className);
6243 }
6244 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe* This,TrustLevel *trustLevel) {
6245 return This->lpVtbl->GetTrustLevel(This,trustLevel);
6246 }
6247 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkInPipe* > methods ***/
6248 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe **value) {
6249 return This->lpVtbl->GetAt(This,index,value);
6250 }
6251 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe* This,UINT32 *value) {
6252 return This->lpVtbl->get_Size(This,value);
6253 }
6254 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe *element,UINT32 *index,BOOLEAN *value) {
6255 return This->lpVtbl->IndexOf(This,element,index,value);
6256 }
6257 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkInPipe **items,UINT32 *value) {
6258 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
6259 }
6260 #endif
6261 #ifdef WIDL_using_Windows_Foundation_Collections
6262 #define IID_IVectorView_UsbBulkInPipe IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe
6263 #define IVectorView_UsbBulkInPipeVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipeVtbl
6264 #define IVectorView_UsbBulkInPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe
6265 #define IVectorView_UsbBulkInPipe_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_QueryInterface
6266 #define IVectorView_UsbBulkInPipe_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_AddRef
6267 #define IVectorView_UsbBulkInPipe_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_Release
6268 #define IVectorView_UsbBulkInPipe_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetIids
6269 #define IVectorView_UsbBulkInPipe_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetRuntimeClassName
6270 #define IVectorView_UsbBulkInPipe_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetTrustLevel
6271 #define IVectorView_UsbBulkInPipe_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetAt
6272 #define IVectorView_UsbBulkInPipe_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_get_Size
6273 #define IVectorView_UsbBulkInPipe_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_IndexOf
6274 #define IVectorView_UsbBulkInPipe_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_GetMany
6275 #endif /* WIDL_using_Windows_Foundation_Collections */
6276 #endif
6277
6278 #endif
6279
6280 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkInPipe_INTERFACE_DEFINED__ */
6281
6282 /*****************************************************************************
6283 * IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor* > interface
6284 */
6285 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_INTERFACE_DEFINED__
6286 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_INTERFACE_DEFINED__
6287
6288 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor, 0x22a53676, 0xa3ea, 0x5dcd, 0xbb,0x39, 0xb2,0x8a,0x53,0x27,0xc4,0xa3);
6289 #if defined(__cplusplus) && !defined(CINTERFACE)
6290 } /* extern "C" */
6291 namespace ABI {
6292 namespace Windows {
6293 namespace Foundation {
6294 namespace Collections {
6295 template<>
6296 MIDL_INTERFACE("22a53676-a3ea-5dcd-bb39-b28a5327c4a3")
6297 IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor*, ABI::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor* > >
6298 {
6299 };
6300 }
6301 }
6302 }
6303 }
6304 extern "C" {
6305 #ifdef __CRT_UUID_DECL
6306 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor, 0x22a53676, 0xa3ea, 0x5dcd, 0xbb,0x39, 0xb2,0x8a,0x53,0x27,0xc4,0xa3)
6307 #endif
6308 #else
6309 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptorVtbl {
6310 BEGIN_INTERFACE
6311
6312 /*** IUnknown methods ***/
6313 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6314 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor *This,
6315 REFIID riid,
6316 void **ppvObject);
6317
6318 ULONG (STDMETHODCALLTYPE *AddRef)(
6319 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor *This);
6320
6321 ULONG (STDMETHODCALLTYPE *Release)(
6322 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor *This);
6323
6324 /*** IInspectable methods ***/
6325 HRESULT (STDMETHODCALLTYPE *GetIids)(
6326 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor *This,
6327 ULONG *iidCount,
6328 IID **iids);
6329
6330 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
6331 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor *This,
6332 HSTRING *className);
6333
6334 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
6335 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor *This,
6336 TrustLevel *trustLevel);
6337
6338 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor* > methods ***/
6339 HRESULT (STDMETHODCALLTYPE *GetAt)(
6340 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor *This,
6341 UINT32 index,
6342 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor **value);
6343
6344 HRESULT (STDMETHODCALLTYPE *get_Size)(
6345 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor *This,
6346 UINT32 *value);
6347
6348 HRESULT (STDMETHODCALLTYPE *IndexOf)(
6349 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor *This,
6350 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *element,
6351 UINT32 *index,
6352 BOOLEAN *value);
6353
6354 HRESULT (STDMETHODCALLTYPE *GetMany)(
6355 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor *This,
6356 UINT32 start_index,
6357 UINT32 items_size,
6358 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor **items,
6359 UINT32 *value);
6360
6361 END_INTERFACE
6362 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptorVtbl;
6363
6364 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor {
6365 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptorVtbl* lpVtbl;
6366 };
6367
6368 #ifdef COBJMACROS
6369 #ifndef WIDL_C_INLINE_WRAPPERS
6370 /*** IUnknown methods ***/
6371 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6372 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
6373 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_Release(This) (This)->lpVtbl->Release(This)
6374 /*** IInspectable methods ***/
6375 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
6376 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
6377 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
6378 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor* > methods ***/
6379 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
6380 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
6381 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
6382 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
6383 #else
6384 /*** IUnknown methods ***/
6385 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor* This,REFIID riid,void **ppvObject) {
6386 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
6387 }
6388 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor* This) {
6389 return This->lpVtbl->AddRef(This);
6390 }
6391 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor* This) {
6392 return This->lpVtbl->Release(This);
6393 }
6394 /*** IInspectable methods ***/
6395 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor* This,ULONG *iidCount,IID **iids) {
6396 return This->lpVtbl->GetIids(This,iidCount,iids);
6397 }
6398 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor* This,HSTRING *className) {
6399 return This->lpVtbl->GetRuntimeClassName(This,className);
6400 }
6401 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor* This,TrustLevel *trustLevel) {
6402 return This->lpVtbl->GetTrustLevel(This,trustLevel);
6403 }
6404 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor* > methods ***/
6405 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor **value) {
6406 return This->lpVtbl->GetAt(This,index,value);
6407 }
6408 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor* This,UINT32 *value) {
6409 return This->lpVtbl->get_Size(This,value);
6410 }
6411 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor *element,UINT32 *index,BOOLEAN *value) {
6412 return This->lpVtbl->IndexOf(This,element,index,value);
6413 }
6414 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutEndpointDescriptor **items,UINT32 *value) {
6415 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
6416 }
6417 #endif
6418 #ifdef WIDL_using_Windows_Foundation_Collections
6419 #define IID_IVectorView_UsbBulkOutEndpointDescriptor IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor
6420 #define IVectorView_UsbBulkOutEndpointDescriptorVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptorVtbl
6421 #define IVectorView_UsbBulkOutEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor
6422 #define IVectorView_UsbBulkOutEndpointDescriptor_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_QueryInterface
6423 #define IVectorView_UsbBulkOutEndpointDescriptor_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_AddRef
6424 #define IVectorView_UsbBulkOutEndpointDescriptor_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_Release
6425 #define IVectorView_UsbBulkOutEndpointDescriptor_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetIids
6426 #define IVectorView_UsbBulkOutEndpointDescriptor_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetRuntimeClassName
6427 #define IVectorView_UsbBulkOutEndpointDescriptor_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetTrustLevel
6428 #define IVectorView_UsbBulkOutEndpointDescriptor_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetAt
6429 #define IVectorView_UsbBulkOutEndpointDescriptor_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_get_Size
6430 #define IVectorView_UsbBulkOutEndpointDescriptor_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_IndexOf
6431 #define IVectorView_UsbBulkOutEndpointDescriptor_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_GetMany
6432 #endif /* WIDL_using_Windows_Foundation_Collections */
6433 #endif
6434
6435 #endif
6436
6437 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutEndpointDescriptor_INTERFACE_DEFINED__ */
6438
6439 /*****************************************************************************
6440 * IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutPipe* > interface
6441 */
6442 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_INTERFACE_DEFINED__
6443 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_INTERFACE_DEFINED__
6444
6445 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe, 0x0a873512, 0x15f1, 0x5e8e, 0xa7,0x2a, 0x04,0x5c,0xfd,0x7a,0x5e,0x83);
6446 #if defined(__cplusplus) && !defined(CINTERFACE)
6447 } /* extern "C" */
6448 namespace ABI {
6449 namespace Windows {
6450 namespace Foundation {
6451 namespace Collections {
6452 template<>
6453 MIDL_INTERFACE("0a873512-15f1-5e8e-a72a-045cfd7a5e83")
6454 IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutPipe* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbBulkOutPipe*, ABI::Windows::Devices::Usb::IUsbBulkOutPipe* > >
6455 {
6456 };
6457 }
6458 }
6459 }
6460 }
6461 extern "C" {
6462 #ifdef __CRT_UUID_DECL
6463 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe, 0x0a873512, 0x15f1, 0x5e8e, 0xa7,0x2a, 0x04,0x5c,0xfd,0x7a,0x5e,0x83)
6464 #endif
6465 #else
6466 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipeVtbl {
6467 BEGIN_INTERFACE
6468
6469 /*** IUnknown methods ***/
6470 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6471 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe *This,
6472 REFIID riid,
6473 void **ppvObject);
6474
6475 ULONG (STDMETHODCALLTYPE *AddRef)(
6476 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe *This);
6477
6478 ULONG (STDMETHODCALLTYPE *Release)(
6479 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe *This);
6480
6481 /*** IInspectable methods ***/
6482 HRESULT (STDMETHODCALLTYPE *GetIids)(
6483 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe *This,
6484 ULONG *iidCount,
6485 IID **iids);
6486
6487 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
6488 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe *This,
6489 HSTRING *className);
6490
6491 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
6492 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe *This,
6493 TrustLevel *trustLevel);
6494
6495 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutPipe* > methods ***/
6496 HRESULT (STDMETHODCALLTYPE *GetAt)(
6497 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe *This,
6498 UINT32 index,
6499 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe **value);
6500
6501 HRESULT (STDMETHODCALLTYPE *get_Size)(
6502 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe *This,
6503 UINT32 *value);
6504
6505 HRESULT (STDMETHODCALLTYPE *IndexOf)(
6506 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe *This,
6507 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *element,
6508 UINT32 *index,
6509 BOOLEAN *value);
6510
6511 HRESULT (STDMETHODCALLTYPE *GetMany)(
6512 __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe *This,
6513 UINT32 start_index,
6514 UINT32 items_size,
6515 __x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe **items,
6516 UINT32 *value);
6517
6518 END_INTERFACE
6519 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipeVtbl;
6520
6521 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe {
6522 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipeVtbl* lpVtbl;
6523 };
6524
6525 #ifdef COBJMACROS
6526 #ifndef WIDL_C_INLINE_WRAPPERS
6527 /*** IUnknown methods ***/
6528 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6529 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_AddRef(This) (This)->lpVtbl->AddRef(This)
6530 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_Release(This) (This)->lpVtbl->Release(This)
6531 /*** IInspectable methods ***/
6532 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
6533 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
6534 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
6535 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutPipe* > methods ***/
6536 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
6537 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
6538 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
6539 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
6540 #else
6541 /*** IUnknown methods ***/
6542 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe* This,REFIID riid,void **ppvObject) {
6543 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
6544 }
6545 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe* This) {
6546 return This->lpVtbl->AddRef(This);
6547 }
6548 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe* This) {
6549 return This->lpVtbl->Release(This);
6550 }
6551 /*** IInspectable methods ***/
6552 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe* This,ULONG *iidCount,IID **iids) {
6553 return This->lpVtbl->GetIids(This,iidCount,iids);
6554 }
6555 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe* This,HSTRING *className) {
6556 return This->lpVtbl->GetRuntimeClassName(This,className);
6557 }
6558 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe* This,TrustLevel *trustLevel) {
6559 return This->lpVtbl->GetTrustLevel(This,trustLevel);
6560 }
6561 /*** IVectorView<ABI::Windows::Devices::Usb::UsbBulkOutPipe* > methods ***/
6562 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe **value) {
6563 return This->lpVtbl->GetAt(This,index,value);
6564 }
6565 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe* This,UINT32 *value) {
6566 return This->lpVtbl->get_Size(This,value);
6567 }
6568 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe *element,UINT32 *index,BOOLEAN *value) {
6569 return This->lpVtbl->IndexOf(This,element,index,value);
6570 }
6571 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbBulkOutPipe **items,UINT32 *value) {
6572 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
6573 }
6574 #endif
6575 #ifdef WIDL_using_Windows_Foundation_Collections
6576 #define IID_IVectorView_UsbBulkOutPipe IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe
6577 #define IVectorView_UsbBulkOutPipeVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipeVtbl
6578 #define IVectorView_UsbBulkOutPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe
6579 #define IVectorView_UsbBulkOutPipe_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_QueryInterface
6580 #define IVectorView_UsbBulkOutPipe_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_AddRef
6581 #define IVectorView_UsbBulkOutPipe_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_Release
6582 #define IVectorView_UsbBulkOutPipe_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetIids
6583 #define IVectorView_UsbBulkOutPipe_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetRuntimeClassName
6584 #define IVectorView_UsbBulkOutPipe_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetTrustLevel
6585 #define IVectorView_UsbBulkOutPipe_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetAt
6586 #define IVectorView_UsbBulkOutPipe_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_get_Size
6587 #define IVectorView_UsbBulkOutPipe_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_IndexOf
6588 #define IVectorView_UsbBulkOutPipe_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_GetMany
6589 #endif /* WIDL_using_Windows_Foundation_Collections */
6590 #endif
6591
6592 #endif
6593
6594 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbBulkOutPipe_INTERFACE_DEFINED__ */
6595
6596 /*****************************************************************************
6597 * IVectorView<ABI::Windows::Devices::Usb::UsbDescriptor* > interface
6598 */
6599 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_INTERFACE_DEFINED__
6600 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_INTERFACE_DEFINED__
6601
6602 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor, 0x5408baa2, 0x291e, 0x537a, 0xb6,0x1f, 0x13,0x70,0x62,0xf7,0xff,0x7d);
6603 #if defined(__cplusplus) && !defined(CINTERFACE)
6604 } /* extern "C" */
6605 namespace ABI {
6606 namespace Windows {
6607 namespace Foundation {
6608 namespace Collections {
6609 template<>
6610 MIDL_INTERFACE("5408baa2-291e-537a-b61f-137062f7ff7d")
6611 IVectorView<ABI::Windows::Devices::Usb::UsbDescriptor* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbDescriptor*, ABI::Windows::Devices::Usb::IUsbDescriptor* > >
6612 {
6613 };
6614 }
6615 }
6616 }
6617 }
6618 extern "C" {
6619 #ifdef __CRT_UUID_DECL
6620 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor, 0x5408baa2, 0x291e, 0x537a, 0xb6,0x1f, 0x13,0x70,0x62,0xf7,0xff,0x7d)
6621 #endif
6622 #else
6623 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptorVtbl {
6624 BEGIN_INTERFACE
6625
6626 /*** IUnknown methods ***/
6627 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6628 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor *This,
6629 REFIID riid,
6630 void **ppvObject);
6631
6632 ULONG (STDMETHODCALLTYPE *AddRef)(
6633 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor *This);
6634
6635 ULONG (STDMETHODCALLTYPE *Release)(
6636 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor *This);
6637
6638 /*** IInspectable methods ***/
6639 HRESULT (STDMETHODCALLTYPE *GetIids)(
6640 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor *This,
6641 ULONG *iidCount,
6642 IID **iids);
6643
6644 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
6645 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor *This,
6646 HSTRING *className);
6647
6648 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
6649 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor *This,
6650 TrustLevel *trustLevel);
6651
6652 /*** IVectorView<ABI::Windows::Devices::Usb::UsbDescriptor* > methods ***/
6653 HRESULT (STDMETHODCALLTYPE *GetAt)(
6654 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor *This,
6655 UINT32 index,
6656 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor **value);
6657
6658 HRESULT (STDMETHODCALLTYPE *get_Size)(
6659 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor *This,
6660 UINT32 *value);
6661
6662 HRESULT (STDMETHODCALLTYPE *IndexOf)(
6663 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor *This,
6664 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *element,
6665 UINT32 *index,
6666 BOOLEAN *value);
6667
6668 HRESULT (STDMETHODCALLTYPE *GetMany)(
6669 __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor *This,
6670 UINT32 start_index,
6671 UINT32 items_size,
6672 __x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor **items,
6673 UINT32 *value);
6674
6675 END_INTERFACE
6676 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptorVtbl;
6677
6678 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor {
6679 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptorVtbl* lpVtbl;
6680 };
6681
6682 #ifdef COBJMACROS
6683 #ifndef WIDL_C_INLINE_WRAPPERS
6684 /*** IUnknown methods ***/
6685 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6686 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
6687 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_Release(This) (This)->lpVtbl->Release(This)
6688 /*** IInspectable methods ***/
6689 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
6690 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
6691 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
6692 /*** IVectorView<ABI::Windows::Devices::Usb::UsbDescriptor* > methods ***/
6693 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
6694 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
6695 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
6696 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
6697 #else
6698 /*** IUnknown methods ***/
6699 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor* This,REFIID riid,void **ppvObject) {
6700 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
6701 }
6702 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor* This) {
6703 return This->lpVtbl->AddRef(This);
6704 }
6705 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor* This) {
6706 return This->lpVtbl->Release(This);
6707 }
6708 /*** IInspectable methods ***/
6709 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor* This,ULONG *iidCount,IID **iids) {
6710 return This->lpVtbl->GetIids(This,iidCount,iids);
6711 }
6712 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor* This,HSTRING *className) {
6713 return This->lpVtbl->GetRuntimeClassName(This,className);
6714 }
6715 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor* This,TrustLevel *trustLevel) {
6716 return This->lpVtbl->GetTrustLevel(This,trustLevel);
6717 }
6718 /*** IVectorView<ABI::Windows::Devices::Usb::UsbDescriptor* > methods ***/
6719 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor **value) {
6720 return This->lpVtbl->GetAt(This,index,value);
6721 }
6722 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor* This,UINT32 *value) {
6723 return This->lpVtbl->get_Size(This,value);
6724 }
6725 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor *element,UINT32 *index,BOOLEAN *value) {
6726 return This->lpVtbl->IndexOf(This,element,index,value);
6727 }
6728 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbDescriptor **items,UINT32 *value) {
6729 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
6730 }
6731 #endif
6732 #ifdef WIDL_using_Windows_Foundation_Collections
6733 #define IID_IVectorView_UsbDescriptor IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor
6734 #define IVectorView_UsbDescriptorVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptorVtbl
6735 #define IVectorView_UsbDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor
6736 #define IVectorView_UsbDescriptor_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_QueryInterface
6737 #define IVectorView_UsbDescriptor_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_AddRef
6738 #define IVectorView_UsbDescriptor_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_Release
6739 #define IVectorView_UsbDescriptor_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetIids
6740 #define IVectorView_UsbDescriptor_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetRuntimeClassName
6741 #define IVectorView_UsbDescriptor_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetTrustLevel
6742 #define IVectorView_UsbDescriptor_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetAt
6743 #define IVectorView_UsbDescriptor_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_get_Size
6744 #define IVectorView_UsbDescriptor_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_IndexOf
6745 #define IVectorView_UsbDescriptor_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_GetMany
6746 #endif /* WIDL_using_Windows_Foundation_Collections */
6747 #endif
6748
6749 #endif
6750
6751 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbDescriptor_INTERFACE_DEFINED__ */
6752
6753 /*****************************************************************************
6754 * IVectorView<ABI::Windows::Devices::Usb::UsbInterface* > interface
6755 */
6756 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_INTERFACE_DEFINED__
6757 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_INTERFACE_DEFINED__
6758
6759 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface, 0x9c69ec7f, 0x2e42, 0x58cd, 0xa7,0x4a, 0xf4,0x97,0x48,0x11,0x13,0x4d);
6760 #if defined(__cplusplus) && !defined(CINTERFACE)
6761 } /* extern "C" */
6762 namespace ABI {
6763 namespace Windows {
6764 namespace Foundation {
6765 namespace Collections {
6766 template<>
6767 MIDL_INTERFACE("9c69ec7f-2e42-58cd-a74a-f4974811134d")
6768 IVectorView<ABI::Windows::Devices::Usb::UsbInterface* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbInterface*, ABI::Windows::Devices::Usb::IUsbInterface* > >
6769 {
6770 };
6771 }
6772 }
6773 }
6774 }
6775 extern "C" {
6776 #ifdef __CRT_UUID_DECL
6777 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface, 0x9c69ec7f, 0x2e42, 0x58cd, 0xa7,0x4a, 0xf4,0x97,0x48,0x11,0x13,0x4d)
6778 #endif
6779 #else
6780 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceVtbl {
6781 BEGIN_INTERFACE
6782
6783 /*** IUnknown methods ***/
6784 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6785 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface *This,
6786 REFIID riid,
6787 void **ppvObject);
6788
6789 ULONG (STDMETHODCALLTYPE *AddRef)(
6790 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface *This);
6791
6792 ULONG (STDMETHODCALLTYPE *Release)(
6793 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface *This);
6794
6795 /*** IInspectable methods ***/
6796 HRESULT (STDMETHODCALLTYPE *GetIids)(
6797 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface *This,
6798 ULONG *iidCount,
6799 IID **iids);
6800
6801 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
6802 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface *This,
6803 HSTRING *className);
6804
6805 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
6806 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface *This,
6807 TrustLevel *trustLevel);
6808
6809 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterface* > methods ***/
6810 HRESULT (STDMETHODCALLTYPE *GetAt)(
6811 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface *This,
6812 UINT32 index,
6813 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface **value);
6814
6815 HRESULT (STDMETHODCALLTYPE *get_Size)(
6816 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface *This,
6817 UINT32 *value);
6818
6819 HRESULT (STDMETHODCALLTYPE *IndexOf)(
6820 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface *This,
6821 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *element,
6822 UINT32 *index,
6823 BOOLEAN *value);
6824
6825 HRESULT (STDMETHODCALLTYPE *GetMany)(
6826 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface *This,
6827 UINT32 start_index,
6828 UINT32 items_size,
6829 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterface **items,
6830 UINT32 *value);
6831
6832 END_INTERFACE
6833 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceVtbl;
6834
6835 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface {
6836 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceVtbl* lpVtbl;
6837 };
6838
6839 #ifdef COBJMACROS
6840 #ifndef WIDL_C_INLINE_WRAPPERS
6841 /*** IUnknown methods ***/
6842 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6843 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_AddRef(This) (This)->lpVtbl->AddRef(This)
6844 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_Release(This) (This)->lpVtbl->Release(This)
6845 /*** IInspectable methods ***/
6846 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
6847 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
6848 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
6849 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterface* > methods ***/
6850 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
6851 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
6852 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
6853 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
6854 #else
6855 /*** IUnknown methods ***/
6856 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface* This,REFIID riid,void **ppvObject) {
6857 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
6858 }
6859 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface* This) {
6860 return This->lpVtbl->AddRef(This);
6861 }
6862 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface* This) {
6863 return This->lpVtbl->Release(This);
6864 }
6865 /*** IInspectable methods ***/
6866 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface* This,ULONG *iidCount,IID **iids) {
6867 return This->lpVtbl->GetIids(This,iidCount,iids);
6868 }
6869 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface* This,HSTRING *className) {
6870 return This->lpVtbl->GetRuntimeClassName(This,className);
6871 }
6872 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface* This,TrustLevel *trustLevel) {
6873 return This->lpVtbl->GetTrustLevel(This,trustLevel);
6874 }
6875 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterface* > methods ***/
6876 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface **value) {
6877 return This->lpVtbl->GetAt(This,index,value);
6878 }
6879 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface* This,UINT32 *value) {
6880 return This->lpVtbl->get_Size(This,value);
6881 }
6882 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface *element,UINT32 *index,BOOLEAN *value) {
6883 return This->lpVtbl->IndexOf(This,element,index,value);
6884 }
6885 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterface **items,UINT32 *value) {
6886 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
6887 }
6888 #endif
6889 #ifdef WIDL_using_Windows_Foundation_Collections
6890 #define IID_IVectorView_UsbInterface IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface
6891 #define IVectorView_UsbInterfaceVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceVtbl
6892 #define IVectorView_UsbInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface
6893 #define IVectorView_UsbInterface_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_QueryInterface
6894 #define IVectorView_UsbInterface_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_AddRef
6895 #define IVectorView_UsbInterface_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_Release
6896 #define IVectorView_UsbInterface_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetIids
6897 #define IVectorView_UsbInterface_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetRuntimeClassName
6898 #define IVectorView_UsbInterface_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetTrustLevel
6899 #define IVectorView_UsbInterface_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetAt
6900 #define IVectorView_UsbInterface_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_get_Size
6901 #define IVectorView_UsbInterface_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_IndexOf
6902 #define IVectorView_UsbInterface_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_GetMany
6903 #endif /* WIDL_using_Windows_Foundation_Collections */
6904 #endif
6905
6906 #endif
6907
6908 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterface_INTERFACE_DEFINED__ */
6909
6910 /*****************************************************************************
6911 * IVectorView<ABI::Windows::Devices::Usb::UsbInterfaceSetting* > interface
6912 */
6913 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_INTERFACE_DEFINED__
6914 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_INTERFACE_DEFINED__
6915
6916 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting, 0x71194af7, 0x77c2, 0x54d5, 0xa1,0x16, 0x28,0x7f,0x0b,0x7f,0xd5,0x3f);
6917 #if defined(__cplusplus) && !defined(CINTERFACE)
6918 } /* extern "C" */
6919 namespace ABI {
6920 namespace Windows {
6921 namespace Foundation {
6922 namespace Collections {
6923 template<>
6924 MIDL_INTERFACE("71194af7-77c2-54d5-a116-287f0b7fd53f")
6925 IVectorView<ABI::Windows::Devices::Usb::UsbInterfaceSetting* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbInterfaceSetting*, ABI::Windows::Devices::Usb::IUsbInterfaceSetting* > >
6926 {
6927 };
6928 }
6929 }
6930 }
6931 }
6932 extern "C" {
6933 #ifdef __CRT_UUID_DECL
6934 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting, 0x71194af7, 0x77c2, 0x54d5, 0xa1,0x16, 0x28,0x7f,0x0b,0x7f,0xd5,0x3f)
6935 #endif
6936 #else
6937 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSettingVtbl {
6938 BEGIN_INTERFACE
6939
6940 /*** IUnknown methods ***/
6941 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6942 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting *This,
6943 REFIID riid,
6944 void **ppvObject);
6945
6946 ULONG (STDMETHODCALLTYPE *AddRef)(
6947 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting *This);
6948
6949 ULONG (STDMETHODCALLTYPE *Release)(
6950 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting *This);
6951
6952 /*** IInspectable methods ***/
6953 HRESULT (STDMETHODCALLTYPE *GetIids)(
6954 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting *This,
6955 ULONG *iidCount,
6956 IID **iids);
6957
6958 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
6959 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting *This,
6960 HSTRING *className);
6961
6962 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
6963 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting *This,
6964 TrustLevel *trustLevel);
6965
6966 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterfaceSetting* > methods ***/
6967 HRESULT (STDMETHODCALLTYPE *GetAt)(
6968 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting *This,
6969 UINT32 index,
6970 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting **value);
6971
6972 HRESULT (STDMETHODCALLTYPE *get_Size)(
6973 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting *This,
6974 UINT32 *value);
6975
6976 HRESULT (STDMETHODCALLTYPE *IndexOf)(
6977 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting *This,
6978 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *element,
6979 UINT32 *index,
6980 BOOLEAN *value);
6981
6982 HRESULT (STDMETHODCALLTYPE *GetMany)(
6983 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting *This,
6984 UINT32 start_index,
6985 UINT32 items_size,
6986 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting **items,
6987 UINT32 *value);
6988
6989 END_INTERFACE
6990 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSettingVtbl;
6991
6992 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting {
6993 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSettingVtbl* lpVtbl;
6994 };
6995
6996 #ifdef COBJMACROS
6997 #ifndef WIDL_C_INLINE_WRAPPERS
6998 /*** IUnknown methods ***/
6999 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7000 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_AddRef(This) (This)->lpVtbl->AddRef(This)
7001 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_Release(This) (This)->lpVtbl->Release(This)
7002 /*** IInspectable methods ***/
7003 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
7004 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
7005 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
7006 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterfaceSetting* > methods ***/
7007 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
7008 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
7009 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
7010 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
7011 #else
7012 /*** IUnknown methods ***/
7013 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting* This,REFIID riid,void **ppvObject) {
7014 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
7015 }
7016 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting* This) {
7017 return This->lpVtbl->AddRef(This);
7018 }
7019 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting* This) {
7020 return This->lpVtbl->Release(This);
7021 }
7022 /*** IInspectable methods ***/
7023 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting* This,ULONG *iidCount,IID **iids) {
7024 return This->lpVtbl->GetIids(This,iidCount,iids);
7025 }
7026 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting* This,HSTRING *className) {
7027 return This->lpVtbl->GetRuntimeClassName(This,className);
7028 }
7029 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting* This,TrustLevel *trustLevel) {
7030 return This->lpVtbl->GetTrustLevel(This,trustLevel);
7031 }
7032 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterfaceSetting* > methods ***/
7033 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting **value) {
7034 return This->lpVtbl->GetAt(This,index,value);
7035 }
7036 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting* This,UINT32 *value) {
7037 return This->lpVtbl->get_Size(This,value);
7038 }
7039 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting *element,UINT32 *index,BOOLEAN *value) {
7040 return This->lpVtbl->IndexOf(This,element,index,value);
7041 }
7042 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterfaceSetting **items,UINT32 *value) {
7043 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
7044 }
7045 #endif
7046 #ifdef WIDL_using_Windows_Foundation_Collections
7047 #define IID_IVectorView_UsbInterfaceSetting IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting
7048 #define IVectorView_UsbInterfaceSettingVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSettingVtbl
7049 #define IVectorView_UsbInterfaceSetting __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting
7050 #define IVectorView_UsbInterfaceSetting_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_QueryInterface
7051 #define IVectorView_UsbInterfaceSetting_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_AddRef
7052 #define IVectorView_UsbInterfaceSetting_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_Release
7053 #define IVectorView_UsbInterfaceSetting_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetIids
7054 #define IVectorView_UsbInterfaceSetting_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetRuntimeClassName
7055 #define IVectorView_UsbInterfaceSetting_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetTrustLevel
7056 #define IVectorView_UsbInterfaceSetting_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetAt
7057 #define IVectorView_UsbInterfaceSetting_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_get_Size
7058 #define IVectorView_UsbInterfaceSetting_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_IndexOf
7059 #define IVectorView_UsbInterfaceSetting_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_GetMany
7060 #endif /* WIDL_using_Windows_Foundation_Collections */
7061 #endif
7062
7063 #endif
7064
7065 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterfaceSetting_INTERFACE_DEFINED__ */
7066
7067 /*****************************************************************************
7068 * IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor* > interface
7069 */
7070 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_INTERFACE_DEFINED__
7071 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_INTERFACE_DEFINED__
7072
7073 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor, 0x3fc7f890, 0x218e, 0x5057, 0x90,0x4d, 0x63,0x87,0xc5,0x91,0xcc,0x93);
7074 #if defined(__cplusplus) && !defined(CINTERFACE)
7075 } /* extern "C" */
7076 namespace ABI {
7077 namespace Windows {
7078 namespace Foundation {
7079 namespace Collections {
7080 template<>
7081 MIDL_INTERFACE("3fc7f890-218e-5057-904d-6387c591cc93")
7082 IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor*, ABI::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor* > >
7083 {
7084 };
7085 }
7086 }
7087 }
7088 }
7089 extern "C" {
7090 #ifdef __CRT_UUID_DECL
7091 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor, 0x3fc7f890, 0x218e, 0x5057, 0x90,0x4d, 0x63,0x87,0xc5,0x91,0xcc,0x93)
7092 #endif
7093 #else
7094 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptorVtbl {
7095 BEGIN_INTERFACE
7096
7097 /*** IUnknown methods ***/
7098 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7099 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor *This,
7100 REFIID riid,
7101 void **ppvObject);
7102
7103 ULONG (STDMETHODCALLTYPE *AddRef)(
7104 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor *This);
7105
7106 ULONG (STDMETHODCALLTYPE *Release)(
7107 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor *This);
7108
7109 /*** IInspectable methods ***/
7110 HRESULT (STDMETHODCALLTYPE *GetIids)(
7111 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor *This,
7112 ULONG *iidCount,
7113 IID **iids);
7114
7115 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
7116 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor *This,
7117 HSTRING *className);
7118
7119 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
7120 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor *This,
7121 TrustLevel *trustLevel);
7122
7123 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor* > methods ***/
7124 HRESULT (STDMETHODCALLTYPE *GetAt)(
7125 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor *This,
7126 UINT32 index,
7127 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor **value);
7128
7129 HRESULT (STDMETHODCALLTYPE *get_Size)(
7130 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor *This,
7131 UINT32 *value);
7132
7133 HRESULT (STDMETHODCALLTYPE *IndexOf)(
7134 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor *This,
7135 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *element,
7136 UINT32 *index,
7137 BOOLEAN *value);
7138
7139 HRESULT (STDMETHODCALLTYPE *GetMany)(
7140 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor *This,
7141 UINT32 start_index,
7142 UINT32 items_size,
7143 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor **items,
7144 UINT32 *value);
7145
7146 END_INTERFACE
7147 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptorVtbl;
7148
7149 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor {
7150 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptorVtbl* lpVtbl;
7151 };
7152
7153 #ifdef COBJMACROS
7154 #ifndef WIDL_C_INLINE_WRAPPERS
7155 /*** IUnknown methods ***/
7156 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7157 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
7158 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_Release(This) (This)->lpVtbl->Release(This)
7159 /*** IInspectable methods ***/
7160 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
7161 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
7162 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
7163 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor* > methods ***/
7164 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
7165 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
7166 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
7167 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
7168 #else
7169 /*** IUnknown methods ***/
7170 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor* This,REFIID riid,void **ppvObject) {
7171 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
7172 }
7173 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor* This) {
7174 return This->lpVtbl->AddRef(This);
7175 }
7176 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor* This) {
7177 return This->lpVtbl->Release(This);
7178 }
7179 /*** IInspectable methods ***/
7180 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor* This,ULONG *iidCount,IID **iids) {
7181 return This->lpVtbl->GetIids(This,iidCount,iids);
7182 }
7183 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor* This,HSTRING *className) {
7184 return This->lpVtbl->GetRuntimeClassName(This,className);
7185 }
7186 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor* This,TrustLevel *trustLevel) {
7187 return This->lpVtbl->GetTrustLevel(This,trustLevel);
7188 }
7189 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor* > methods ***/
7190 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor **value) {
7191 return This->lpVtbl->GetAt(This,index,value);
7192 }
7193 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor* This,UINT32 *value) {
7194 return This->lpVtbl->get_Size(This,value);
7195 }
7196 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor *element,UINT32 *index,BOOLEAN *value) {
7197 return This->lpVtbl->IndexOf(This,element,index,value);
7198 }
7199 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEndpointDescriptor **items,UINT32 *value) {
7200 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
7201 }
7202 #endif
7203 #ifdef WIDL_using_Windows_Foundation_Collections
7204 #define IID_IVectorView_UsbInterruptInEndpointDescriptor IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor
7205 #define IVectorView_UsbInterruptInEndpointDescriptorVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptorVtbl
7206 #define IVectorView_UsbInterruptInEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor
7207 #define IVectorView_UsbInterruptInEndpointDescriptor_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_QueryInterface
7208 #define IVectorView_UsbInterruptInEndpointDescriptor_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_AddRef
7209 #define IVectorView_UsbInterruptInEndpointDescriptor_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_Release
7210 #define IVectorView_UsbInterruptInEndpointDescriptor_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetIids
7211 #define IVectorView_UsbInterruptInEndpointDescriptor_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetRuntimeClassName
7212 #define IVectorView_UsbInterruptInEndpointDescriptor_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetTrustLevel
7213 #define IVectorView_UsbInterruptInEndpointDescriptor_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetAt
7214 #define IVectorView_UsbInterruptInEndpointDescriptor_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_get_Size
7215 #define IVectorView_UsbInterruptInEndpointDescriptor_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_IndexOf
7216 #define IVectorView_UsbInterruptInEndpointDescriptor_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_GetMany
7217 #endif /* WIDL_using_Windows_Foundation_Collections */
7218 #endif
7219
7220 #endif
7221
7222 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInEndpointDescriptor_INTERFACE_DEFINED__ */
7223
7224 /*****************************************************************************
7225 * IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInPipe* > interface
7226 */
7227 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_INTERFACE_DEFINED__
7228 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_INTERFACE_DEFINED__
7229
7230 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe, 0x37469574, 0xb4c5, 0x5ba0, 0x96,0x16, 0x89,0x4d,0xd8,0x22,0xff,0x5b);
7231 #if defined(__cplusplus) && !defined(CINTERFACE)
7232 } /* extern "C" */
7233 namespace ABI {
7234 namespace Windows {
7235 namespace Foundation {
7236 namespace Collections {
7237 template<>
7238 MIDL_INTERFACE("37469574-b4c5-5ba0-9616-894dd822ff5b")
7239 IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInPipe* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbInterruptInPipe*, ABI::Windows::Devices::Usb::IUsbInterruptInPipe* > >
7240 {
7241 };
7242 }
7243 }
7244 }
7245 }
7246 extern "C" {
7247 #ifdef __CRT_UUID_DECL
7248 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe, 0x37469574, 0xb4c5, 0x5ba0, 0x96,0x16, 0x89,0x4d,0xd8,0x22,0xff,0x5b)
7249 #endif
7250 #else
7251 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipeVtbl {
7252 BEGIN_INTERFACE
7253
7254 /*** IUnknown methods ***/
7255 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7256 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe *This,
7257 REFIID riid,
7258 void **ppvObject);
7259
7260 ULONG (STDMETHODCALLTYPE *AddRef)(
7261 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe *This);
7262
7263 ULONG (STDMETHODCALLTYPE *Release)(
7264 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe *This);
7265
7266 /*** IInspectable methods ***/
7267 HRESULT (STDMETHODCALLTYPE *GetIids)(
7268 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe *This,
7269 ULONG *iidCount,
7270 IID **iids);
7271
7272 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
7273 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe *This,
7274 HSTRING *className);
7275
7276 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
7277 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe *This,
7278 TrustLevel *trustLevel);
7279
7280 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInPipe* > methods ***/
7281 HRESULT (STDMETHODCALLTYPE *GetAt)(
7282 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe *This,
7283 UINT32 index,
7284 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe **value);
7285
7286 HRESULT (STDMETHODCALLTYPE *get_Size)(
7287 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe *This,
7288 UINT32 *value);
7289
7290 HRESULT (STDMETHODCALLTYPE *IndexOf)(
7291 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe *This,
7292 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *element,
7293 UINT32 *index,
7294 BOOLEAN *value);
7295
7296 HRESULT (STDMETHODCALLTYPE *GetMany)(
7297 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe *This,
7298 UINT32 start_index,
7299 UINT32 items_size,
7300 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe **items,
7301 UINT32 *value);
7302
7303 END_INTERFACE
7304 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipeVtbl;
7305
7306 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe {
7307 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipeVtbl* lpVtbl;
7308 };
7309
7310 #ifdef COBJMACROS
7311 #ifndef WIDL_C_INLINE_WRAPPERS
7312 /*** IUnknown methods ***/
7313 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7314 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_AddRef(This) (This)->lpVtbl->AddRef(This)
7315 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_Release(This) (This)->lpVtbl->Release(This)
7316 /*** IInspectable methods ***/
7317 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
7318 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
7319 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
7320 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInPipe* > methods ***/
7321 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
7322 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
7323 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
7324 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
7325 #else
7326 /*** IUnknown methods ***/
7327 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe* This,REFIID riid,void **ppvObject) {
7328 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
7329 }
7330 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe* This) {
7331 return This->lpVtbl->AddRef(This);
7332 }
7333 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe* This) {
7334 return This->lpVtbl->Release(This);
7335 }
7336 /*** IInspectable methods ***/
7337 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe* This,ULONG *iidCount,IID **iids) {
7338 return This->lpVtbl->GetIids(This,iidCount,iids);
7339 }
7340 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe* This,HSTRING *className) {
7341 return This->lpVtbl->GetRuntimeClassName(This,className);
7342 }
7343 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe* This,TrustLevel *trustLevel) {
7344 return This->lpVtbl->GetTrustLevel(This,trustLevel);
7345 }
7346 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptInPipe* > methods ***/
7347 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe **value) {
7348 return This->lpVtbl->GetAt(This,index,value);
7349 }
7350 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe* This,UINT32 *value) {
7351 return This->lpVtbl->get_Size(This,value);
7352 }
7353 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *element,UINT32 *index,BOOLEAN *value) {
7354 return This->lpVtbl->IndexOf(This,element,index,value);
7355 }
7356 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe **items,UINT32 *value) {
7357 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
7358 }
7359 #endif
7360 #ifdef WIDL_using_Windows_Foundation_Collections
7361 #define IID_IVectorView_UsbInterruptInPipe IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe
7362 #define IVectorView_UsbInterruptInPipeVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipeVtbl
7363 #define IVectorView_UsbInterruptInPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe
7364 #define IVectorView_UsbInterruptInPipe_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_QueryInterface
7365 #define IVectorView_UsbInterruptInPipe_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_AddRef
7366 #define IVectorView_UsbInterruptInPipe_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_Release
7367 #define IVectorView_UsbInterruptInPipe_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetIids
7368 #define IVectorView_UsbInterruptInPipe_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetRuntimeClassName
7369 #define IVectorView_UsbInterruptInPipe_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetTrustLevel
7370 #define IVectorView_UsbInterruptInPipe_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetAt
7371 #define IVectorView_UsbInterruptInPipe_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_get_Size
7372 #define IVectorView_UsbInterruptInPipe_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_IndexOf
7373 #define IVectorView_UsbInterruptInPipe_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_GetMany
7374 #endif /* WIDL_using_Windows_Foundation_Collections */
7375 #endif
7376
7377 #endif
7378
7379 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptInPipe_INTERFACE_DEFINED__ */
7380
7381 /*****************************************************************************
7382 * IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor* > interface
7383 */
7384 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_INTERFACE_DEFINED__
7385 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_INTERFACE_DEFINED__
7386
7387 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor, 0x984e7e15, 0xc5ac, 0x5140, 0xa3,0xc0, 0xb5,0x83,0x19,0x00,0x85,0xd7);
7388 #if defined(__cplusplus) && !defined(CINTERFACE)
7389 } /* extern "C" */
7390 namespace ABI {
7391 namespace Windows {
7392 namespace Foundation {
7393 namespace Collections {
7394 template<>
7395 MIDL_INTERFACE("984e7e15-c5ac-5140-a3c0-b583190085d7")
7396 IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor*, ABI::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor* > >
7397 {
7398 };
7399 }
7400 }
7401 }
7402 }
7403 extern "C" {
7404 #ifdef __CRT_UUID_DECL
7405 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor, 0x984e7e15, 0xc5ac, 0x5140, 0xa3,0xc0, 0xb5,0x83,0x19,0x00,0x85,0xd7)
7406 #endif
7407 #else
7408 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptorVtbl {
7409 BEGIN_INTERFACE
7410
7411 /*** IUnknown methods ***/
7412 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7413 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor *This,
7414 REFIID riid,
7415 void **ppvObject);
7416
7417 ULONG (STDMETHODCALLTYPE *AddRef)(
7418 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor *This);
7419
7420 ULONG (STDMETHODCALLTYPE *Release)(
7421 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor *This);
7422
7423 /*** IInspectable methods ***/
7424 HRESULT (STDMETHODCALLTYPE *GetIids)(
7425 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor *This,
7426 ULONG *iidCount,
7427 IID **iids);
7428
7429 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
7430 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor *This,
7431 HSTRING *className);
7432
7433 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
7434 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor *This,
7435 TrustLevel *trustLevel);
7436
7437 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor* > methods ***/
7438 HRESULT (STDMETHODCALLTYPE *GetAt)(
7439 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor *This,
7440 UINT32 index,
7441 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor **value);
7442
7443 HRESULT (STDMETHODCALLTYPE *get_Size)(
7444 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor *This,
7445 UINT32 *value);
7446
7447 HRESULT (STDMETHODCALLTYPE *IndexOf)(
7448 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor *This,
7449 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *element,
7450 UINT32 *index,
7451 BOOLEAN *value);
7452
7453 HRESULT (STDMETHODCALLTYPE *GetMany)(
7454 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor *This,
7455 UINT32 start_index,
7456 UINT32 items_size,
7457 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor **items,
7458 UINT32 *value);
7459
7460 END_INTERFACE
7461 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptorVtbl;
7462
7463 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor {
7464 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptorVtbl* lpVtbl;
7465 };
7466
7467 #ifdef COBJMACROS
7468 #ifndef WIDL_C_INLINE_WRAPPERS
7469 /*** IUnknown methods ***/
7470 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7471 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_AddRef(This) (This)->lpVtbl->AddRef(This)
7472 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_Release(This) (This)->lpVtbl->Release(This)
7473 /*** IInspectable methods ***/
7474 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
7475 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
7476 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
7477 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor* > methods ***/
7478 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
7479 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
7480 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
7481 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
7482 #else
7483 /*** IUnknown methods ***/
7484 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor* This,REFIID riid,void **ppvObject) {
7485 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
7486 }
7487 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor* This) {
7488 return This->lpVtbl->AddRef(This);
7489 }
7490 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor* This) {
7491 return This->lpVtbl->Release(This);
7492 }
7493 /*** IInspectable methods ***/
7494 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor* This,ULONG *iidCount,IID **iids) {
7495 return This->lpVtbl->GetIids(This,iidCount,iids);
7496 }
7497 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor* This,HSTRING *className) {
7498 return This->lpVtbl->GetRuntimeClassName(This,className);
7499 }
7500 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor* This,TrustLevel *trustLevel) {
7501 return This->lpVtbl->GetTrustLevel(This,trustLevel);
7502 }
7503 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor* > methods ***/
7504 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor **value) {
7505 return This->lpVtbl->GetAt(This,index,value);
7506 }
7507 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor* This,UINT32 *value) {
7508 return This->lpVtbl->get_Size(This,value);
7509 }
7510 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor *element,UINT32 *index,BOOLEAN *value) {
7511 return This->lpVtbl->IndexOf(This,element,index,value);
7512 }
7513 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutEndpointDescriptor **items,UINT32 *value) {
7514 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
7515 }
7516 #endif
7517 #ifdef WIDL_using_Windows_Foundation_Collections
7518 #define IID_IVectorView_UsbInterruptOutEndpointDescriptor IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor
7519 #define IVectorView_UsbInterruptOutEndpointDescriptorVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptorVtbl
7520 #define IVectorView_UsbInterruptOutEndpointDescriptor __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor
7521 #define IVectorView_UsbInterruptOutEndpointDescriptor_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_QueryInterface
7522 #define IVectorView_UsbInterruptOutEndpointDescriptor_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_AddRef
7523 #define IVectorView_UsbInterruptOutEndpointDescriptor_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_Release
7524 #define IVectorView_UsbInterruptOutEndpointDescriptor_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetIids
7525 #define IVectorView_UsbInterruptOutEndpointDescriptor_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetRuntimeClassName
7526 #define IVectorView_UsbInterruptOutEndpointDescriptor_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetTrustLevel
7527 #define IVectorView_UsbInterruptOutEndpointDescriptor_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetAt
7528 #define IVectorView_UsbInterruptOutEndpointDescriptor_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_get_Size
7529 #define IVectorView_UsbInterruptOutEndpointDescriptor_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_IndexOf
7530 #define IVectorView_UsbInterruptOutEndpointDescriptor_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_GetMany
7531 #endif /* WIDL_using_Windows_Foundation_Collections */
7532 #endif
7533
7534 #endif
7535
7536 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutEndpointDescriptor_INTERFACE_DEFINED__ */
7537
7538 /*****************************************************************************
7539 * IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutPipe* > interface
7540 */
7541 #ifndef ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_INTERFACE_DEFINED__
7542 #define ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_INTERFACE_DEFINED__
7543
7544 DEFINE_GUID(IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe, 0x748196c8, 0x83bf, 0x5ec3, 0x8d,0x28, 0xa3,0x11,0x2b,0x3e,0xe3,0xcc);
7545 #if defined(__cplusplus) && !defined(CINTERFACE)
7546 } /* extern "C" */
7547 namespace ABI {
7548 namespace Windows {
7549 namespace Foundation {
7550 namespace Collections {
7551 template<>
7552 MIDL_INTERFACE("748196c8-83bf-5ec3-8d28-a3112b3ee3cc")
7553 IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutPipe* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbInterruptOutPipe*, ABI::Windows::Devices::Usb::IUsbInterruptOutPipe* > >
7554 {
7555 };
7556 }
7557 }
7558 }
7559 }
7560 extern "C" {
7561 #ifdef __CRT_UUID_DECL
7562 __CRT_UUID_DECL(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe, 0x748196c8, 0x83bf, 0x5ec3, 0x8d,0x28, 0xa3,0x11,0x2b,0x3e,0xe3,0xcc)
7563 #endif
7564 #else
7565 typedef struct __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipeVtbl {
7566 BEGIN_INTERFACE
7567
7568 /*** IUnknown methods ***/
7569 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7570 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe *This,
7571 REFIID riid,
7572 void **ppvObject);
7573
7574 ULONG (STDMETHODCALLTYPE *AddRef)(
7575 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe *This);
7576
7577 ULONG (STDMETHODCALLTYPE *Release)(
7578 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe *This);
7579
7580 /*** IInspectable methods ***/
7581 HRESULT (STDMETHODCALLTYPE *GetIids)(
7582 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe *This,
7583 ULONG *iidCount,
7584 IID **iids);
7585
7586 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
7587 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe *This,
7588 HSTRING *className);
7589
7590 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
7591 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe *This,
7592 TrustLevel *trustLevel);
7593
7594 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutPipe* > methods ***/
7595 HRESULT (STDMETHODCALLTYPE *GetAt)(
7596 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe *This,
7597 UINT32 index,
7598 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe **value);
7599
7600 HRESULT (STDMETHODCALLTYPE *get_Size)(
7601 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe *This,
7602 UINT32 *value);
7603
7604 HRESULT (STDMETHODCALLTYPE *IndexOf)(
7605 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe *This,
7606 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *element,
7607 UINT32 *index,
7608 BOOLEAN *value);
7609
7610 HRESULT (STDMETHODCALLTYPE *GetMany)(
7611 __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe *This,
7612 UINT32 start_index,
7613 UINT32 items_size,
7614 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe **items,
7615 UINT32 *value);
7616
7617 END_INTERFACE
7618 } __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipeVtbl;
7619
7620 interface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe {
7621 CONST_VTBL __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipeVtbl* lpVtbl;
7622 };
7623
7624 #ifdef COBJMACROS
7625 #ifndef WIDL_C_INLINE_WRAPPERS
7626 /*** IUnknown methods ***/
7627 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7628 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_AddRef(This) (This)->lpVtbl->AddRef(This)
7629 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_Release(This) (This)->lpVtbl->Release(This)
7630 /*** IInspectable methods ***/
7631 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
7632 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
7633 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
7634 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutPipe* > methods ***/
7635 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
7636 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
7637 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
7638 #define __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
7639 #else
7640 /*** IUnknown methods ***/
7641 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_QueryInterface(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe* This,REFIID riid,void **ppvObject) {
7642 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
7643 }
7644 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_AddRef(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe* This) {
7645 return This->lpVtbl->AddRef(This);
7646 }
7647 static inline ULONG __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_Release(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe* This) {
7648 return This->lpVtbl->Release(This);
7649 }
7650 /*** IInspectable methods ***/
7651 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetIids(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe* This,ULONG *iidCount,IID **iids) {
7652 return This->lpVtbl->GetIids(This,iidCount,iids);
7653 }
7654 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetRuntimeClassName(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe* This,HSTRING *className) {
7655 return This->lpVtbl->GetRuntimeClassName(This,className);
7656 }
7657 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetTrustLevel(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe* This,TrustLevel *trustLevel) {
7658 return This->lpVtbl->GetTrustLevel(This,trustLevel);
7659 }
7660 /*** IVectorView<ABI::Windows::Devices::Usb::UsbInterruptOutPipe* > methods ***/
7661 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetAt(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe* This,UINT32 index,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe **value) {
7662 return This->lpVtbl->GetAt(This,index,value);
7663 }
7664 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_get_Size(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe* This,UINT32 *value) {
7665 return This->lpVtbl->get_Size(This,value);
7666 }
7667 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_IndexOf(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe *element,UINT32 *index,BOOLEAN *value) {
7668 return This->lpVtbl->IndexOf(This,element,index,value);
7669 }
7670 static inline HRESULT __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetMany(__FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptOutPipe **items,UINT32 *value) {
7671 return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
7672 }
7673 #endif
7674 #ifdef WIDL_using_Windows_Foundation_Collections
7675 #define IID_IVectorView_UsbInterruptOutPipe IID___FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe
7676 #define IVectorView_UsbInterruptOutPipeVtbl __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipeVtbl
7677 #define IVectorView_UsbInterruptOutPipe __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe
7678 #define IVectorView_UsbInterruptOutPipe_QueryInterface __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_QueryInterface
7679 #define IVectorView_UsbInterruptOutPipe_AddRef __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_AddRef
7680 #define IVectorView_UsbInterruptOutPipe_Release __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_Release
7681 #define IVectorView_UsbInterruptOutPipe_GetIids __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetIids
7682 #define IVectorView_UsbInterruptOutPipe_GetRuntimeClassName __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetRuntimeClassName
7683 #define IVectorView_UsbInterruptOutPipe_GetTrustLevel __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetTrustLevel
7684 #define IVectorView_UsbInterruptOutPipe_GetAt __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetAt
7685 #define IVectorView_UsbInterruptOutPipe_get_Size __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_get_Size
7686 #define IVectorView_UsbInterruptOutPipe_IndexOf __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_IndexOf
7687 #define IVectorView_UsbInterruptOutPipe_GetMany __FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_GetMany
7688 #endif /* WIDL_using_Windows_Foundation_Collections */
7689 #endif
7690
7691 #endif
7692
7693 #endif /* ____FIVectorView_1_Windows__CDevices__CUsb__CUsbInterruptOutPipe_INTERFACE_DEFINED__ */
7694
7695 /*****************************************************************************
7696 * IAsyncOperation<ABI::Windows::Devices::Usb::UsbDevice* > interface
7697 */
7698 #ifndef ____FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_INTERFACE_DEFINED__
7699 #define ____FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_INTERFACE_DEFINED__
7700
7701 DEFINE_GUID(IID___FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice, 0x2138c5ed, 0xb71a, 0x5166, 0x99,0x48, 0xd5,0x57,0x92,0x74,0x8f,0x5c);
7702 #if defined(__cplusplus) && !defined(CINTERFACE)
7703 } /* extern "C" */
7704 namespace ABI {
7705 namespace Windows {
7706 namespace Foundation {
7707 template<>
7708 MIDL_INTERFACE("2138c5ed-b71a-5166-9948-d55792748f5c")
7709 IAsyncOperation<ABI::Windows::Devices::Usb::UsbDevice* > : IAsyncOperation_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbDevice*, ABI::Windows::Devices::Usb::IUsbDevice* > >
7710 {
7711 };
7712 }
7713 }
7714 }
7715 extern "C" {
7716 #ifdef __CRT_UUID_DECL
7717 __CRT_UUID_DECL(__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice, 0x2138c5ed, 0xb71a, 0x5166, 0x99,0x48, 0xd5,0x57,0x92,0x74,0x8f,0x5c)
7718 #endif
7719 #else
7720 typedef struct __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDeviceVtbl {
7721 BEGIN_INTERFACE
7722
7723 /*** IUnknown methods ***/
7724 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7725 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *This,
7726 REFIID riid,
7727 void **ppvObject);
7728
7729 ULONG (STDMETHODCALLTYPE *AddRef)(
7730 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *This);
7731
7732 ULONG (STDMETHODCALLTYPE *Release)(
7733 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *This);
7734
7735 /*** IInspectable methods ***/
7736 HRESULT (STDMETHODCALLTYPE *GetIids)(
7737 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *This,
7738 ULONG *iidCount,
7739 IID **iids);
7740
7741 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
7742 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *This,
7743 HSTRING *className);
7744
7745 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
7746 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *This,
7747 TrustLevel *trustLevel);
7748
7749 /*** IAsyncOperation<ABI::Windows::Devices::Usb::UsbDevice* > methods ***/
7750 HRESULT (STDMETHODCALLTYPE *put_Completed)(
7751 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *This,
7752 __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice *handler);
7753
7754 HRESULT (STDMETHODCALLTYPE *get_Completed)(
7755 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *This,
7756 __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice **handler);
7757
7758 HRESULT (STDMETHODCALLTYPE *GetResults)(
7759 __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice *This,
7760 __x_ABI_CWindows_CDevices_CUsb_CIUsbDevice **results);
7761
7762 END_INTERFACE
7763 } __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDeviceVtbl;
7764
7765 interface __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice {
7766 CONST_VTBL __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDeviceVtbl* lpVtbl;
7767 };
7768
7769 #ifdef COBJMACROS
7770 #ifndef WIDL_C_INLINE_WRAPPERS
7771 /*** IUnknown methods ***/
7772 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7773 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_AddRef(This) (This)->lpVtbl->AddRef(This)
7774 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_Release(This) (This)->lpVtbl->Release(This)
7775 /*** IInspectable methods ***/
7776 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
7777 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
7778 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
7779 /*** IAsyncOperation<ABI::Windows::Devices::Usb::UsbDevice* > methods ***/
7780 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_put_Completed(This,handler) (This)->lpVtbl->put_Completed(This,handler)
7781 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_get_Completed(This,handler) (This)->lpVtbl->get_Completed(This,handler)
7782 #define __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetResults(This,results) (This)->lpVtbl->GetResults(This,results)
7783 #else
7784 /*** IUnknown methods ***/
7785 static inline HRESULT __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_QueryInterface(__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice* This,REFIID riid,void **ppvObject) {
7786 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
7787 }
7788 static inline ULONG __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_AddRef(__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice* This) {
7789 return This->lpVtbl->AddRef(This);
7790 }
7791 static inline ULONG __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_Release(__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice* This) {
7792 return This->lpVtbl->Release(This);
7793 }
7794 /*** IInspectable methods ***/
7795 static inline HRESULT __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetIids(__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice* This,ULONG *iidCount,IID **iids) {
7796 return This->lpVtbl->GetIids(This,iidCount,iids);
7797 }
7798 static inline HRESULT __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetRuntimeClassName(__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice* This,HSTRING *className) {
7799 return This->lpVtbl->GetRuntimeClassName(This,className);
7800 }
7801 static inline HRESULT __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetTrustLevel(__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice* This,TrustLevel *trustLevel) {
7802 return This->lpVtbl->GetTrustLevel(This,trustLevel);
7803 }
7804 /*** IAsyncOperation<ABI::Windows::Devices::Usb::UsbDevice* > methods ***/
7805 static inline HRESULT __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_put_Completed(__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice* This,__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice *handler) {
7806 return This->lpVtbl->put_Completed(This,handler);
7807 }
7808 static inline HRESULT __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_get_Completed(__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice* This,__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CUsb__CUsbDevice **handler) {
7809 return This->lpVtbl->get_Completed(This,handler);
7810 }
7811 static inline HRESULT __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetResults(__FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbDevice **results) {
7812 return This->lpVtbl->GetResults(This,results);
7813 }
7814 #endif
7815 #ifdef WIDL_using_Windows_Foundation
7816 #define IID_IAsyncOperation_UsbDevice IID___FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice
7817 #define IAsyncOperation_UsbDeviceVtbl __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDeviceVtbl
7818 #define IAsyncOperation_UsbDevice __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice
7819 #define IAsyncOperation_UsbDevice_QueryInterface __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_QueryInterface
7820 #define IAsyncOperation_UsbDevice_AddRef __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_AddRef
7821 #define IAsyncOperation_UsbDevice_Release __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_Release
7822 #define IAsyncOperation_UsbDevice_GetIids __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetIids
7823 #define IAsyncOperation_UsbDevice_GetRuntimeClassName __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetRuntimeClassName
7824 #define IAsyncOperation_UsbDevice_GetTrustLevel __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetTrustLevel
7825 #define IAsyncOperation_UsbDevice_put_Completed __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_put_Completed
7826 #define IAsyncOperation_UsbDevice_get_Completed __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_get_Completed
7827 #define IAsyncOperation_UsbDevice_GetResults __FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_GetResults
7828 #endif /* WIDL_using_Windows_Foundation */
7829 #endif
7830
7831 #endif
7832
7833 #endif /* ____FIAsyncOperation_1_Windows__CDevices__CUsb__CUsbDevice_INTERFACE_DEFINED__ */
7834
7835 /*****************************************************************************
7836 * ITypedEventHandler<ABI::Windows::Devices::Usb::UsbInterruptInPipe*,ABI::Windows::Devices::Usb::UsbInterruptInEventArgs* > interface
7837 */
7838 #ifndef ____FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_INTERFACE_DEFINED__
7839 #define ____FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_INTERFACE_DEFINED__
7840
7841 DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs, 0xe6db9449, 0xf36a, 0x50f2, 0x92,0x6c, 0x2a,0xfd,0x85,0xc4,0x9f,0x01);
7842 #if defined(__cplusplus) && !defined(CINTERFACE)
7843 } /* extern "C" */
7844 namespace ABI {
7845 namespace Windows {
7846 namespace Foundation {
7847 template<>
7848 MIDL_INTERFACE("e6db9449-f36a-50f2-926c-2afd85c49f01")
7849 ITypedEventHandler<ABI::Windows::Devices::Usb::UsbInterruptInPipe*,ABI::Windows::Devices::Usb::UsbInterruptInEventArgs* > : ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbInterruptInPipe*, ABI::Windows::Devices::Usb::IUsbInterruptInPipe* >, ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Usb::UsbInterruptInEventArgs*, ABI::Windows::Devices::Usb::IUsbInterruptInEventArgs* > >
7850 {
7851 };
7852 }
7853 }
7854 }
7855 extern "C" {
7856 #ifdef __CRT_UUID_DECL
7857 __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs, 0xe6db9449, 0xf36a, 0x50f2, 0x92,0x6c, 0x2a,0xfd,0x85,0xc4,0x9f,0x01)
7858 #endif
7859 #else
7860 typedef struct __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgsVtbl {
7861 BEGIN_INTERFACE
7862
7863 /*** IUnknown methods ***/
7864 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7865 __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs *This,
7866 REFIID riid,
7867 void **ppvObject);
7868
7869 ULONG (STDMETHODCALLTYPE *AddRef)(
7870 __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs *This);
7871
7872 ULONG (STDMETHODCALLTYPE *Release)(
7873 __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs *This);
7874
7875 /*** ITypedEventHandler<ABI::Windows::Devices::Usb::UsbInterruptInPipe*,ABI::Windows::Devices::Usb::UsbInterruptInEventArgs* > methods ***/
7876 HRESULT (STDMETHODCALLTYPE *Invoke)(
7877 __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs *This,
7878 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *sender,
7879 __x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs *args);
7880
7881 END_INTERFACE
7882 } __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgsVtbl;
7883
7884 interface __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs {
7885 CONST_VTBL __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgsVtbl* lpVtbl;
7886 };
7887
7888 #ifdef COBJMACROS
7889 #ifndef WIDL_C_INLINE_WRAPPERS
7890 /*** IUnknown methods ***/
7891 #define __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7892 #define __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
7893 #define __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_Release(This) (This)->lpVtbl->Release(This)
7894 /*** ITypedEventHandler<ABI::Windows::Devices::Usb::UsbInterruptInPipe*,ABI::Windows::Devices::Usb::UsbInterruptInEventArgs* > methods ***/
7895 #define __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
7896 #else
7897 /*** IUnknown methods ***/
7898 static inline HRESULT __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_QueryInterface(__FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs* This,REFIID riid,void **ppvObject) {
7899 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
7900 }
7901 static inline ULONG __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_AddRef(__FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs* This) {
7902 return This->lpVtbl->AddRef(This);
7903 }
7904 static inline ULONG __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_Release(__FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs* This) {
7905 return This->lpVtbl->Release(This);
7906 }
7907 /*** ITypedEventHandler<ABI::Windows::Devices::Usb::UsbInterruptInPipe*,ABI::Windows::Devices::Usb::UsbInterruptInEventArgs* > methods ***/
7908 static inline HRESULT __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_Invoke(__FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs* This,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInPipe *sender,__x_ABI_CWindows_CDevices_CUsb_CIUsbInterruptInEventArgs *args) {
7909 return This->lpVtbl->Invoke(This,sender,args);
7910 }
7911 #endif
7912 #ifdef WIDL_using_Windows_Foundation
7913 #define IID_ITypedEventHandler_UsbInterruptInPipe_UsbInterruptInEventArgs IID___FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs
7914 #define ITypedEventHandler_UsbInterruptInPipe_UsbInterruptInEventArgsVtbl __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgsVtbl
7915 #define ITypedEventHandler_UsbInterruptInPipe_UsbInterruptInEventArgs __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs
7916 #define ITypedEventHandler_UsbInterruptInPipe_UsbInterruptInEventArgs_QueryInterface __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_QueryInterface
7917 #define ITypedEventHandler_UsbInterruptInPipe_UsbInterruptInEventArgs_AddRef __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_AddRef
7918 #define ITypedEventHandler_UsbInterruptInPipe_UsbInterruptInEventArgs_Release __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_Release
7919 #define ITypedEventHandler_UsbInterruptInPipe_UsbInterruptInEventArgs_Invoke __FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_Invoke
7920 #endif /* WIDL_using_Windows_Foundation */
7921 #endif
7922
7923 #endif
7924
7925 #endif /* ____FITypedEventHandler_2_Windows__CDevices__CUsb__CUsbInterruptInPipe_Windows__CDevices__CUsb__CUsbInterruptInEventArgs_INTERFACE_DEFINED__ */
7926
7927 /* Begin additional prototypes for all interfaces */
7928
7929 ULONG __RPC_USER HSTRING_UserSize (ULONG *, ULONG, HSTRING *);
7930 unsigned char * __RPC_USER HSTRING_UserMarshal (ULONG *, unsigned char *, HSTRING *);
7931 unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *);
7932 void __RPC_USER HSTRING_UserFree (ULONG *, HSTRING *);
7933
7934 /* End additional prototypes */
7935
7936 #ifdef __cplusplus
7937 }
7938 #endif
7939
7940 #endif /* __windows_devices_usb_h__ */