Debian Codegraph @

mingw-w64-headers/include/windows.media.playback.h

raw
1 /*** Autogenerated by WIDL 11.5 from include/windows.media.playback.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_media_playback_h__
17 #define __windows_media_playback_h__
18
19 /* Forward declarations */
20
21 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_FWD_DEFINED__
22 #define ____x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_FWD_DEFINED__
23 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics;
24 #ifdef __cplusplus
25 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics ABI::Windows::Media::Playback::IBackgroundMediaPlayerStatics
26 namespace ABI {
27 namespace Windows {
28 namespace Media {
29 namespace Playback {
30 interface IBackgroundMediaPlayerStatics;
31 }
32 }
33 }
34 }
35 #endif /* __cplusplus */
36 #endif
37
38 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_FWD_DEFINED__
39 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_FWD_DEFINED__
40 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer;
41 #ifdef __cplusplus
42 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer ABI::Windows::Media::Playback::IMediaPlayer
43 namespace ABI {
44 namespace Windows {
45 namespace Media {
46 namespace Playback {
47 interface IMediaPlayer;
48 }
49 }
50 }
51 }
52 #endif /* __cplusplus */
53 #endif
54
55 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_FWD_DEFINED__
56 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_FWD_DEFINED__
57 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2;
58 #ifdef __cplusplus
59 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 ABI::Windows::Media::Playback::IMediaPlayer2
60 namespace ABI {
61 namespace Windows {
62 namespace Media {
63 namespace Playback {
64 interface IMediaPlayer2;
65 }
66 }
67 }
68 }
69 #endif /* __cplusplus */
70 #endif
71
72 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_FWD_DEFINED__
73 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_FWD_DEFINED__
74 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs;
75 #ifdef __cplusplus
76 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs ABI::Windows::Media::Playback::IMediaPlayerDataReceivedEventArgs
77 namespace ABI {
78 namespace Windows {
79 namespace Media {
80 namespace Playback {
81 interface IMediaPlayerDataReceivedEventArgs;
82 }
83 }
84 }
85 }
86 #endif /* __cplusplus */
87 #endif
88
89 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_FWD_DEFINED__
90 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_FWD_DEFINED__
91 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs;
92 #ifdef __cplusplus
93 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs ABI::Windows::Media::Playback::IMediaPlayerFailedEventArgs
94 namespace ABI {
95 namespace Windows {
96 namespace Media {
97 namespace Playback {
98 interface IMediaPlayerFailedEventArgs;
99 }
100 }
101 }
102 }
103 #endif /* __cplusplus */
104 #endif
105
106 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_FWD_DEFINED__
107 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_FWD_DEFINED__
108 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs;
109 #ifdef __cplusplus
110 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs ABI::Windows::Media::Playback::IMediaPlayerRateChangedEventArgs
111 namespace ABI {
112 namespace Windows {
113 namespace Media {
114 namespace Playback {
115 interface IMediaPlayerRateChangedEventArgs;
116 }
117 }
118 }
119 }
120 #endif /* __cplusplus */
121 #endif
122
123 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_FWD_DEFINED__
124 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_FWD_DEFINED__
125 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker;
126 #ifdef __cplusplus
127 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker ABI::Windows::Media::Playback::IPlaybackMediaMarker
128 namespace ABI {
129 namespace Windows {
130 namespace Media {
131 namespace Playback {
132 interface IPlaybackMediaMarker;
133 }
134 }
135 }
136 }
137 #endif /* __cplusplus */
138 #endif
139
140 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_FWD_DEFINED__
141 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_FWD_DEFINED__
142 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory;
143 #ifdef __cplusplus
144 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory ABI::Windows::Media::Playback::IPlaybackMediaMarkerFactory
145 namespace ABI {
146 namespace Windows {
147 namespace Media {
148 namespace Playback {
149 interface IPlaybackMediaMarkerFactory;
150 }
151 }
152 }
153 }
154 #endif /* __cplusplus */
155 #endif
156
157 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_FWD_DEFINED__
158 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_FWD_DEFINED__
159 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs;
160 #ifdef __cplusplus
161 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs ABI::Windows::Media::Playback::IPlaybackMediaMarkerReachedEventArgs
162 namespace ABI {
163 namespace Windows {
164 namespace Media {
165 namespace Playback {
166 interface IPlaybackMediaMarkerReachedEventArgs;
167 }
168 }
169 }
170 }
171 #endif /* __cplusplus */
172 #endif
173
174 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_FWD_DEFINED__
175 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_FWD_DEFINED__
176 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence;
177 #ifdef __cplusplus
178 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence ABI::Windows::Media::Playback::IPlaybackMediaMarkerSequence
179 namespace ABI {
180 namespace Windows {
181 namespace Media {
182 namespace Playback {
183 interface IPlaybackMediaMarkerSequence;
184 }
185 }
186 }
187 }
188 #endif /* __cplusplus */
189 #endif
190
191 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CBackgroundMediaPlayer_FWD_DEFINED__
192 #define ____x_ABI_CWindows_CMedia_CPlayback_CBackgroundMediaPlayer_FWD_DEFINED__
193 #ifdef __cplusplus
194 namespace ABI {
195 namespace Windows {
196 namespace Media {
197 namespace Playback {
198 class BackgroundMediaPlayer;
199 }
200 }
201 }
202 }
203 #else
204 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CBackgroundMediaPlayer __x_ABI_CWindows_CMedia_CPlayback_CBackgroundMediaPlayer;
205 #endif /* defined __cplusplus */
206 #endif /* defined ____x_ABI_CWindows_CMedia_CPlayback_CBackgroundMediaPlayer_FWD_DEFINED__ */
207
208 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayer_FWD_DEFINED__
209 #define ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayer_FWD_DEFINED__
210 #ifdef __cplusplus
211 namespace ABI {
212 namespace Windows {
213 namespace Media {
214 namespace Playback {
215 class MediaPlayer;
216 }
217 }
218 }
219 }
220 #else
221 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayer __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayer;
222 #endif /* defined __cplusplus */
223 #endif /* defined ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayer_FWD_DEFINED__ */
224
225 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerDataReceivedEventArgs_FWD_DEFINED__
226 #define ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerDataReceivedEventArgs_FWD_DEFINED__
227 #ifdef __cplusplus
228 namespace ABI {
229 namespace Windows {
230 namespace Media {
231 namespace Playback {
232 class MediaPlayerDataReceivedEventArgs;
233 }
234 }
235 }
236 }
237 #else
238 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerDataReceivedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerDataReceivedEventArgs;
239 #endif /* defined __cplusplus */
240 #endif /* defined ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerDataReceivedEventArgs_FWD_DEFINED__ */
241
242 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerFailedEventArgs_FWD_DEFINED__
243 #define ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerFailedEventArgs_FWD_DEFINED__
244 #ifdef __cplusplus
245 namespace ABI {
246 namespace Windows {
247 namespace Media {
248 namespace Playback {
249 class MediaPlayerFailedEventArgs;
250 }
251 }
252 }
253 }
254 #else
255 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerFailedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerFailedEventArgs;
256 #endif /* defined __cplusplus */
257 #endif /* defined ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerFailedEventArgs_FWD_DEFINED__ */
258
259 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerRateChangedEventArgs_FWD_DEFINED__
260 #define ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerRateChangedEventArgs_FWD_DEFINED__
261 #ifdef __cplusplus
262 namespace ABI {
263 namespace Windows {
264 namespace Media {
265 namespace Playback {
266 class MediaPlayerRateChangedEventArgs;
267 }
268 }
269 }
270 }
271 #else
272 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerRateChangedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerRateChangedEventArgs;
273 #endif /* defined __cplusplus */
274 #endif /* defined ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerRateChangedEventArgs_FWD_DEFINED__ */
275
276 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarker_FWD_DEFINED__
277 #define ____x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarker_FWD_DEFINED__
278 #ifdef __cplusplus
279 namespace ABI {
280 namespace Windows {
281 namespace Media {
282 namespace Playback {
283 class PlaybackMediaMarker;
284 }
285 }
286 }
287 }
288 #else
289 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarker __x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarker;
290 #endif /* defined __cplusplus */
291 #endif /* defined ____x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarker_FWD_DEFINED__ */
292
293 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarkerSequence_FWD_DEFINED__
294 #define ____x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarkerSequence_FWD_DEFINED__
295 #ifdef __cplusplus
296 namespace ABI {
297 namespace Windows {
298 namespace Media {
299 namespace Playback {
300 class PlaybackMediaMarkerSequence;
301 }
302 }
303 }
304 }
305 #else
306 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarkerSequence __x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarkerSequence;
307 #endif /* defined __cplusplus */
308 #endif /* defined ____x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarkerSequence_FWD_DEFINED__ */
309
310 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarkerReachedEventArgs_FWD_DEFINED__
311 #define ____x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarkerReachedEventArgs_FWD_DEFINED__
312 #ifdef __cplusplus
313 namespace ABI {
314 namespace Windows {
315 namespace Media {
316 namespace Playback {
317 class PlaybackMediaMarkerReachedEventArgs;
318 }
319 }
320 }
321 }
322 #else
323 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarkerReachedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarkerReachedEventArgs;
324 #endif /* defined __cplusplus */
325 #endif /* defined ____x_ABI_CWindows_CMedia_CPlayback_CPlaybackMediaMarkerReachedEventArgs_FWD_DEFINED__ */
326
327 #ifndef ____FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_FWD_DEFINED__
328 #define ____FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_FWD_DEFINED__
329 typedef interface __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker;
330 #ifdef __cplusplus
331 #define __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Media::Playback::PlaybackMediaMarker* >
332 #endif /* __cplusplus */
333 #endif
334
335 #ifndef ____FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_FWD_DEFINED__
336 #define ____FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_FWD_DEFINED__
337 typedef interface __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker;
338 #ifdef __cplusplus
339 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Media::Playback::PlaybackMediaMarker* >
340 #endif /* __cplusplus */
341 #endif
342
343 #ifndef ____FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_FWD_DEFINED__
344 #define ____FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_FWD_DEFINED__
345 typedef interface __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs;
346 #ifdef __cplusplus
347 #define __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs ABI::Windows::Foundation::IEventHandler<ABI::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs* >
348 #endif /* __cplusplus */
349 #endif
350
351 #ifndef ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_FWD_DEFINED__
352 #define ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_FWD_DEFINED__
353 typedef interface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable;
354 #ifdef __cplusplus
355 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* >
356 #endif /* __cplusplus */
357 #endif
358
359 #ifndef ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_FWD_DEFINED__
360 #define ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_FWD_DEFINED__
361 typedef interface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs;
362 #ifdef __cplusplus
363 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerFailedEventArgs* >
364 #endif /* __cplusplus */
365 #endif
366
367 #ifndef ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_FWD_DEFINED__
368 #define ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_FWD_DEFINED__
369 typedef interface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs;
370 #ifdef __cplusplus
371 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerRateChangedEventArgs* >
372 #endif /* __cplusplus */
373 #endif
374
375 #ifndef ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_FWD_DEFINED__
376 #define ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_FWD_DEFINED__
377 typedef interface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs;
378 #ifdef __cplusplus
379 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs* >
380 #endif /* __cplusplus */
381 #endif
382
383 /* Headers for imported files */
384
385 #include <inspectable.h>
386 #include <asyncinfo.h>
387 #include <eventtoken.h>
388 #include <windowscontracts.h>
389 #include <windows.foundation.h>
390 #include <windows.devices.enumeration.h>
391 #include <windows.foundation.numerics.h>
392 #include <windows.graphics.directx.direct3d11.h>
393 #include <windows.media.h>
394 #include <windows.media.core.h>
395 #include <windows.media.mediaproperties.h>
396 #include <windows.storage.h>
397 #include <windows.storage.streams.h>
398 #include <windows.ui.composition.h>
399
400 #ifdef __cplusplus
401 extern "C" {
402 #endif
403
404 #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
405 #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000
406 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
407
408 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
409 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory_ENUM_DEFINED__
410 #define ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory_ENUM_DEFINED__
411 #ifdef __cplusplus
412 } /* extern "C" */
413 namespace ABI {
414 namespace Windows {
415 namespace Media {
416 namespace Playback {
417 enum MediaPlayerAudioCategory {
418 MediaPlayerAudioCategory_Other = 0,
419 MediaPlayerAudioCategory_Communications = 3,
420 MediaPlayerAudioCategory_Alerts = 4,
421 MediaPlayerAudioCategory_SoundEffects = 5,
422 MediaPlayerAudioCategory_GameEffects = 6,
423 MediaPlayerAudioCategory_GameMedia = 7,
424 MediaPlayerAudioCategory_GameChat = 8,
425 MediaPlayerAudioCategory_Speech = 9,
426 MediaPlayerAudioCategory_Movie = 10,
427 MediaPlayerAudioCategory_Media = 11
428 };
429 }
430 }
431 }
432 }
433 extern "C" {
434 #else
435 enum __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory {
436 MediaPlayerAudioCategory_Other = 0,
437 MediaPlayerAudioCategory_Communications = 3,
438 MediaPlayerAudioCategory_Alerts = 4,
439 MediaPlayerAudioCategory_SoundEffects = 5,
440 MediaPlayerAudioCategory_GameEffects = 6,
441 MediaPlayerAudioCategory_GameMedia = 7,
442 MediaPlayerAudioCategory_GameChat = 8,
443 MediaPlayerAudioCategory_Speech = 9,
444 MediaPlayerAudioCategory_Movie = 10,
445 MediaPlayerAudioCategory_Media = 11
446 };
447 #ifdef WIDL_using_Windows_Media_Playback
448 #define MediaPlayerAudioCategory __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory
449 #endif /* WIDL_using_Windows_Media_Playback */
450 #endif
451
452 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory_ENUM_DEFINED__ */
453 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
454 #ifndef __cplusplus
455 typedef enum __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory;
456 #endif /* __cplusplus */
457
458 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
459 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType_ENUM_DEFINED__
460 #define ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType_ENUM_DEFINED__
461 #ifdef __cplusplus
462 } /* extern "C" */
463 namespace ABI {
464 namespace Windows {
465 namespace Media {
466 namespace Playback {
467 enum MediaPlayerAudioDeviceType {
468 MediaPlayerAudioDeviceType_Console = 0,
469 MediaPlayerAudioDeviceType_Multimedia = 1,
470 MediaPlayerAudioDeviceType_Communications = 2
471 };
472 }
473 }
474 }
475 }
476 extern "C" {
477 #else
478 enum __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType {
479 MediaPlayerAudioDeviceType_Console = 0,
480 MediaPlayerAudioDeviceType_Multimedia = 1,
481 MediaPlayerAudioDeviceType_Communications = 2
482 };
483 #ifdef WIDL_using_Windows_Media_Playback
484 #define MediaPlayerAudioDeviceType __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType
485 #endif /* WIDL_using_Windows_Media_Playback */
486 #endif
487
488 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType_ENUM_DEFINED__ */
489 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
490 #ifndef __cplusplus
491 typedef enum __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType;
492 #endif /* __cplusplus */
493
494 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
495 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerError_ENUM_DEFINED__
496 #define ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerError_ENUM_DEFINED__
497 #ifdef __cplusplus
498 } /* extern "C" */
499 namespace ABI {
500 namespace Windows {
501 namespace Media {
502 namespace Playback {
503 enum MediaPlayerError {
504 MediaPlayerError_Unknown = 0,
505 MediaPlayerError_Aborted = 1,
506 MediaPlayerError_NetworkError = 2,
507 MediaPlayerError_DecodingError = 3,
508 MediaPlayerError_SourceNotSupported = 4
509 };
510 }
511 }
512 }
513 }
514 extern "C" {
515 #else
516 enum __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerError {
517 MediaPlayerError_Unknown = 0,
518 MediaPlayerError_Aborted = 1,
519 MediaPlayerError_NetworkError = 2,
520 MediaPlayerError_DecodingError = 3,
521 MediaPlayerError_SourceNotSupported = 4
522 };
523 #ifdef WIDL_using_Windows_Media_Playback
524 #define MediaPlayerError __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerError
525 #endif /* WIDL_using_Windows_Media_Playback */
526 #endif
527
528 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerError_ENUM_DEFINED__ */
529 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
530 #ifndef __cplusplus
531 typedef enum __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerError __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerError;
532 #endif /* __cplusplus */
533
534 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
535 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerState_ENUM_DEFINED__
536 #define ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerState_ENUM_DEFINED__
537 #ifdef __cplusplus
538 } /* extern "C" */
539 namespace ABI {
540 namespace Windows {
541 namespace Media {
542 namespace Playback {
543 enum MediaPlayerState {
544 MediaPlayerState_Closed = 0,
545 MediaPlayerState_Opening = 1,
546 MediaPlayerState_Buffering = 2,
547 MediaPlayerState_Playing = 3,
548 MediaPlayerState_Paused = 4,
549 MediaPlayerState_Stopped = 5
550 };
551 }
552 }
553 }
554 }
555 extern "C" {
556 #else
557 enum __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerState {
558 MediaPlayerState_Closed = 0,
559 MediaPlayerState_Opening = 1,
560 MediaPlayerState_Buffering = 2,
561 MediaPlayerState_Playing = 3,
562 MediaPlayerState_Paused = 4,
563 MediaPlayerState_Stopped = 5
564 };
565 #ifdef WIDL_using_Windows_Media_Playback
566 #define MediaPlayerState __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerState
567 #endif /* WIDL_using_Windows_Media_Playback */
568 #endif
569
570 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerState_ENUM_DEFINED__ */
571 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
572 #ifndef __cplusplus
573 typedef enum __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerState __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerState;
574 #endif /* __cplusplus */
575
576 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_FWD_DEFINED__
577 #define ____x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_FWD_DEFINED__
578 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics;
579 #ifdef __cplusplus
580 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics ABI::Windows::Media::Playback::IBackgroundMediaPlayerStatics
581 namespace ABI {
582 namespace Windows {
583 namespace Media {
584 namespace Playback {
585 interface IBackgroundMediaPlayerStatics;
586 }
587 }
588 }
589 }
590 #endif /* __cplusplus */
591 #endif
592
593 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_FWD_DEFINED__
594 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_FWD_DEFINED__
595 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer;
596 #ifdef __cplusplus
597 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer ABI::Windows::Media::Playback::IMediaPlayer
598 namespace ABI {
599 namespace Windows {
600 namespace Media {
601 namespace Playback {
602 interface IMediaPlayer;
603 }
604 }
605 }
606 }
607 #endif /* __cplusplus */
608 #endif
609
610 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_FWD_DEFINED__
611 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_FWD_DEFINED__
612 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2;
613 #ifdef __cplusplus
614 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 ABI::Windows::Media::Playback::IMediaPlayer2
615 namespace ABI {
616 namespace Windows {
617 namespace Media {
618 namespace Playback {
619 interface IMediaPlayer2;
620 }
621 }
622 }
623 }
624 #endif /* __cplusplus */
625 #endif
626
627 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_FWD_DEFINED__
628 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_FWD_DEFINED__
629 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs;
630 #ifdef __cplusplus
631 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs ABI::Windows::Media::Playback::IMediaPlayerDataReceivedEventArgs
632 namespace ABI {
633 namespace Windows {
634 namespace Media {
635 namespace Playback {
636 interface IMediaPlayerDataReceivedEventArgs;
637 }
638 }
639 }
640 }
641 #endif /* __cplusplus */
642 #endif
643
644 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_FWD_DEFINED__
645 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_FWD_DEFINED__
646 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs;
647 #ifdef __cplusplus
648 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs ABI::Windows::Media::Playback::IMediaPlayerFailedEventArgs
649 namespace ABI {
650 namespace Windows {
651 namespace Media {
652 namespace Playback {
653 interface IMediaPlayerFailedEventArgs;
654 }
655 }
656 }
657 }
658 #endif /* __cplusplus */
659 #endif
660
661 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_FWD_DEFINED__
662 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_FWD_DEFINED__
663 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs;
664 #ifdef __cplusplus
665 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs ABI::Windows::Media::Playback::IMediaPlayerRateChangedEventArgs
666 namespace ABI {
667 namespace Windows {
668 namespace Media {
669 namespace Playback {
670 interface IMediaPlayerRateChangedEventArgs;
671 }
672 }
673 }
674 }
675 #endif /* __cplusplus */
676 #endif
677
678 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_FWD_DEFINED__
679 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_FWD_DEFINED__
680 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker;
681 #ifdef __cplusplus
682 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker ABI::Windows::Media::Playback::IPlaybackMediaMarker
683 namespace ABI {
684 namespace Windows {
685 namespace Media {
686 namespace Playback {
687 interface IPlaybackMediaMarker;
688 }
689 }
690 }
691 }
692 #endif /* __cplusplus */
693 #endif
694
695 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_FWD_DEFINED__
696 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_FWD_DEFINED__
697 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory;
698 #ifdef __cplusplus
699 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory ABI::Windows::Media::Playback::IPlaybackMediaMarkerFactory
700 namespace ABI {
701 namespace Windows {
702 namespace Media {
703 namespace Playback {
704 interface IPlaybackMediaMarkerFactory;
705 }
706 }
707 }
708 }
709 #endif /* __cplusplus */
710 #endif
711
712 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_FWD_DEFINED__
713 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_FWD_DEFINED__
714 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs;
715 #ifdef __cplusplus
716 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs ABI::Windows::Media::Playback::IPlaybackMediaMarkerReachedEventArgs
717 namespace ABI {
718 namespace Windows {
719 namespace Media {
720 namespace Playback {
721 interface IPlaybackMediaMarkerReachedEventArgs;
722 }
723 }
724 }
725 }
726 #endif /* __cplusplus */
727 #endif
728
729 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_FWD_DEFINED__
730 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_FWD_DEFINED__
731 typedef interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence;
732 #ifdef __cplusplus
733 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence ABI::Windows::Media::Playback::IPlaybackMediaMarkerSequence
734 namespace ABI {
735 namespace Windows {
736 namespace Media {
737 namespace Playback {
738 interface IPlaybackMediaMarkerSequence;
739 }
740 }
741 }
742 }
743 #endif /* __cplusplus */
744 #endif
745
746 #ifndef ____FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_FWD_DEFINED__
747 #define ____FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_FWD_DEFINED__
748 typedef interface __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker;
749 #ifdef __cplusplus
750 #define __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Media::Playback::PlaybackMediaMarker* >
751 #endif /* __cplusplus */
752 #endif
753
754 #ifndef ____FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_FWD_DEFINED__
755 #define ____FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_FWD_DEFINED__
756 typedef interface __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker;
757 #ifdef __cplusplus
758 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Media::Playback::PlaybackMediaMarker* >
759 #endif /* __cplusplus */
760 #endif
761
762 /*****************************************************************************
763 * IBackgroundMediaPlayerStatics interface
764 */
765 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
766 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_INTERFACE_DEFINED__
767 #define ____x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_INTERFACE_DEFINED__
768
769 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics, 0x856ddbc1, 0x55f7, 0x471f, 0xa0,0xf2, 0x68,0xac,0x4c,0x90,0x45,0x92);
770 #if defined(__cplusplus) && !defined(CINTERFACE)
771 } /* extern "C" */
772 namespace ABI {
773 namespace Windows {
774 namespace Media {
775 namespace Playback {
776 MIDL_INTERFACE("856ddbc1-55f7-471f-a0f2-68ac4c904592")
777 IBackgroundMediaPlayerStatics : public IInspectable
778 {
779 virtual HRESULT STDMETHODCALLTYPE get_Current(
780 ABI::Windows::Media::Playback::IMediaPlayer **player) = 0;
781
782 virtual HRESULT STDMETHODCALLTYPE add_MessageReceivedFromBackground(
783 ABI::Windows::Foundation::IEventHandler<ABI::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs* > *value,
784 EventRegistrationToken *token) = 0;
785
786 virtual HRESULT STDMETHODCALLTYPE remove_MessageReceivedFromBackground(
787 EventRegistrationToken token) = 0;
788
789 virtual HRESULT STDMETHODCALLTYPE add_MessageReceivedFromForeground(
790 ABI::Windows::Foundation::IEventHandler<ABI::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs* > *value,
791 EventRegistrationToken *token) = 0;
792
793 virtual HRESULT STDMETHODCALLTYPE remove_MessageReceivedFromForeground(
794 EventRegistrationToken token) = 0;
795
796 virtual HRESULT STDMETHODCALLTYPE SendMessageToBackground(
797 ABI::Windows::Foundation::Collections::IPropertySet *value) = 0;
798
799 virtual HRESULT STDMETHODCALLTYPE SendMessageToForeground(
800 ABI::Windows::Foundation::Collections::IPropertySet *value) = 0;
801
802 virtual HRESULT STDMETHODCALLTYPE IsMediaPlaying(
803 boolean *value) = 0;
804
805 virtual HRESULT STDMETHODCALLTYPE Shutdown(
806 ) = 0;
807
808 };
809 }
810 }
811 }
812 }
813 extern "C" {
814 #ifdef __CRT_UUID_DECL
815 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics, 0x856ddbc1, 0x55f7, 0x471f, 0xa0,0xf2, 0x68,0xac,0x4c,0x90,0x45,0x92)
816 #endif
817 #else
818 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStaticsVtbl {
819 BEGIN_INTERFACE
820
821 /*** IUnknown methods ***/
822 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
823 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
824 REFIID riid,
825 void **ppvObject);
826
827 ULONG (STDMETHODCALLTYPE *AddRef)(
828 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This);
829
830 ULONG (STDMETHODCALLTYPE *Release)(
831 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This);
832
833 /*** IInspectable methods ***/
834 HRESULT (STDMETHODCALLTYPE *GetIids)(
835 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
836 ULONG *iidCount,
837 IID **iids);
838
839 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
840 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
841 HSTRING *className);
842
843 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
844 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
845 TrustLevel *trustLevel);
846
847 /*** IBackgroundMediaPlayerStatics methods ***/
848 HRESULT (STDMETHODCALLTYPE *get_Current)(
849 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
850 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer **player);
851
852 HRESULT (STDMETHODCALLTYPE *add_MessageReceivedFromBackground)(
853 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
854 __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs *value,
855 EventRegistrationToken *token);
856
857 HRESULT (STDMETHODCALLTYPE *remove_MessageReceivedFromBackground)(
858 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
859 EventRegistrationToken token);
860
861 HRESULT (STDMETHODCALLTYPE *add_MessageReceivedFromForeground)(
862 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
863 __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs *value,
864 EventRegistrationToken *token);
865
866 HRESULT (STDMETHODCALLTYPE *remove_MessageReceivedFromForeground)(
867 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
868 EventRegistrationToken token);
869
870 HRESULT (STDMETHODCALLTYPE *SendMessageToBackground)(
871 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
872 __x_ABI_CWindows_CFoundation_CCollections_CIPropertySet *value);
873
874 HRESULT (STDMETHODCALLTYPE *SendMessageToForeground)(
875 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
876 __x_ABI_CWindows_CFoundation_CCollections_CIPropertySet *value);
877
878 HRESULT (STDMETHODCALLTYPE *IsMediaPlaying)(
879 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This,
880 boolean *value);
881
882 HRESULT (STDMETHODCALLTYPE *Shutdown)(
883 __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics *This);
884
885 END_INTERFACE
886 } __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStaticsVtbl;
887
888 interface __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics {
889 CONST_VTBL __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStaticsVtbl* lpVtbl;
890 };
891
892 #ifdef COBJMACROS
893 #ifndef WIDL_C_INLINE_WRAPPERS
894 /*** IUnknown methods ***/
895 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
896 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
897 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_Release(This) (This)->lpVtbl->Release(This)
898 /*** IInspectable methods ***/
899 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
900 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
901 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
902 /*** IBackgroundMediaPlayerStatics methods ***/
903 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_get_Current(This,player) (This)->lpVtbl->get_Current(This,player)
904 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_add_MessageReceivedFromBackground(This,value,token) (This)->lpVtbl->add_MessageReceivedFromBackground(This,value,token)
905 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_remove_MessageReceivedFromBackground(This,token) (This)->lpVtbl->remove_MessageReceivedFromBackground(This,token)
906 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_add_MessageReceivedFromForeground(This,value,token) (This)->lpVtbl->add_MessageReceivedFromForeground(This,value,token)
907 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_remove_MessageReceivedFromForeground(This,token) (This)->lpVtbl->remove_MessageReceivedFromForeground(This,token)
908 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_SendMessageToBackground(This,value) (This)->lpVtbl->SendMessageToBackground(This,value)
909 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_SendMessageToForeground(This,value) (This)->lpVtbl->SendMessageToForeground(This,value)
910 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_IsMediaPlaying(This,value) (This)->lpVtbl->IsMediaPlaying(This,value)
911 #define __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_Shutdown(This) (This)->lpVtbl->Shutdown(This)
912 #else
913 /*** IUnknown methods ***/
914 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_QueryInterface(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,REFIID riid,void **ppvObject) {
915 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
916 }
917 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_AddRef(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This) {
918 return This->lpVtbl->AddRef(This);
919 }
920 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_Release(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This) {
921 return This->lpVtbl->Release(This);
922 }
923 /*** IInspectable methods ***/
924 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_GetIids(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,ULONG *iidCount,IID **iids) {
925 return This->lpVtbl->GetIids(This,iidCount,iids);
926 }
927 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,HSTRING *className) {
928 return This->lpVtbl->GetRuntimeClassName(This,className);
929 }
930 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_GetTrustLevel(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,TrustLevel *trustLevel) {
931 return This->lpVtbl->GetTrustLevel(This,trustLevel);
932 }
933 /*** IBackgroundMediaPlayerStatics methods ***/
934 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_get_Current(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer **player) {
935 return This->lpVtbl->get_Current(This,player);
936 }
937 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_add_MessageReceivedFromBackground(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs *value,EventRegistrationToken *token) {
938 return This->lpVtbl->add_MessageReceivedFromBackground(This,value,token);
939 }
940 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_remove_MessageReceivedFromBackground(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,EventRegistrationToken token) {
941 return This->lpVtbl->remove_MessageReceivedFromBackground(This,token);
942 }
943 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_add_MessageReceivedFromForeground(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs *value,EventRegistrationToken *token) {
944 return This->lpVtbl->add_MessageReceivedFromForeground(This,value,token);
945 }
946 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_remove_MessageReceivedFromForeground(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,EventRegistrationToken token) {
947 return This->lpVtbl->remove_MessageReceivedFromForeground(This,token);
948 }
949 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_SendMessageToBackground(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,__x_ABI_CWindows_CFoundation_CCollections_CIPropertySet *value) {
950 return This->lpVtbl->SendMessageToBackground(This,value);
951 }
952 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_SendMessageToForeground(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,__x_ABI_CWindows_CFoundation_CCollections_CIPropertySet *value) {
953 return This->lpVtbl->SendMessageToForeground(This,value);
954 }
955 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_IsMediaPlaying(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This,boolean *value) {
956 return This->lpVtbl->IsMediaPlaying(This,value);
957 }
958 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_Shutdown(__x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics* This) {
959 return This->lpVtbl->Shutdown(This);
960 }
961 #endif
962 #ifdef WIDL_using_Windows_Media_Playback
963 #define IID_IBackgroundMediaPlayerStatics IID___x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics
964 #define IBackgroundMediaPlayerStaticsVtbl __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStaticsVtbl
965 #define IBackgroundMediaPlayerStatics __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics
966 #define IBackgroundMediaPlayerStatics_QueryInterface __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_QueryInterface
967 #define IBackgroundMediaPlayerStatics_AddRef __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_AddRef
968 #define IBackgroundMediaPlayerStatics_Release __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_Release
969 #define IBackgroundMediaPlayerStatics_GetIids __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_GetIids
970 #define IBackgroundMediaPlayerStatics_GetRuntimeClassName __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_GetRuntimeClassName
971 #define IBackgroundMediaPlayerStatics_GetTrustLevel __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_GetTrustLevel
972 #define IBackgroundMediaPlayerStatics_get_Current __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_get_Current
973 #define IBackgroundMediaPlayerStatics_add_MessageReceivedFromBackground __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_add_MessageReceivedFromBackground
974 #define IBackgroundMediaPlayerStatics_remove_MessageReceivedFromBackground __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_remove_MessageReceivedFromBackground
975 #define IBackgroundMediaPlayerStatics_add_MessageReceivedFromForeground __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_add_MessageReceivedFromForeground
976 #define IBackgroundMediaPlayerStatics_remove_MessageReceivedFromForeground __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_remove_MessageReceivedFromForeground
977 #define IBackgroundMediaPlayerStatics_SendMessageToBackground __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_SendMessageToBackground
978 #define IBackgroundMediaPlayerStatics_SendMessageToForeground __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_SendMessageToForeground
979 #define IBackgroundMediaPlayerStatics_IsMediaPlaying __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_IsMediaPlaying
980 #define IBackgroundMediaPlayerStatics_Shutdown __x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_Shutdown
981 #endif /* WIDL_using_Windows_Media_Playback */
982 #endif
983
984 #endif
985
986 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CIBackgroundMediaPlayerStatics_INTERFACE_DEFINED__ */
987 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
988
989 /*****************************************************************************
990 * IMediaPlayer interface
991 */
992 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
993 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_INTERFACE_DEFINED__
994 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_INTERFACE_DEFINED__
995
996 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer, 0x381a83cb, 0x6fff, 0x499b, 0x8d,0x64, 0x28,0x85,0xdf,0xc1,0x24,0x9e);
997 #if defined(__cplusplus) && !defined(CINTERFACE)
998 } /* extern "C" */
999 namespace ABI {
1000 namespace Windows {
1001 namespace Media {
1002 namespace Playback {
1003 MIDL_INTERFACE("381a83cb-6fff-499b-8d64-2885dfc1249e")
1004 IMediaPlayer : public IInspectable
1005 {
1006 virtual HRESULT STDMETHODCALLTYPE get_AutoPlay(
1007 boolean *value) = 0;
1008
1009 virtual HRESULT STDMETHODCALLTYPE put_AutoPlay(
1010 boolean value) = 0;
1011
1012 virtual HRESULT STDMETHODCALLTYPE get_NaturalDuration(
1013 ABI::Windows::Foundation::TimeSpan *value) = 0;
1014
1015 virtual HRESULT STDMETHODCALLTYPE get_Position(
1016 ABI::Windows::Foundation::TimeSpan *value) = 0;
1017
1018 virtual HRESULT STDMETHODCALLTYPE put_Position(
1019 ABI::Windows::Foundation::TimeSpan value) = 0;
1020
1021 virtual HRESULT STDMETHODCALLTYPE get_BufferingProgress(
1022 DOUBLE *value) = 0;
1023
1024 virtual HRESULT STDMETHODCALLTYPE get_CurrentState(
1025 ABI::Windows::Media::Playback::MediaPlayerState *value) = 0;
1026
1027 virtual HRESULT STDMETHODCALLTYPE get_CanSeek(
1028 boolean *value) = 0;
1029
1030 virtual HRESULT STDMETHODCALLTYPE get_CanPause(
1031 boolean *value) = 0;
1032
1033 virtual HRESULT STDMETHODCALLTYPE get_IsLoopingEnabled(
1034 boolean *value) = 0;
1035
1036 virtual HRESULT STDMETHODCALLTYPE put_IsLoopingEnabled(
1037 boolean value) = 0;
1038
1039 virtual HRESULT STDMETHODCALLTYPE get_IsProtected(
1040 boolean *value) = 0;
1041
1042 virtual HRESULT STDMETHODCALLTYPE get_IsMuted(
1043 boolean *value) = 0;
1044
1045 virtual HRESULT STDMETHODCALLTYPE put_IsMuted(
1046 boolean value) = 0;
1047
1048 virtual HRESULT STDMETHODCALLTYPE get_PlaybackRate(
1049 DOUBLE *value) = 0;
1050
1051 virtual HRESULT STDMETHODCALLTYPE put_PlaybackRate(
1052 DOUBLE value) = 0;
1053
1054 virtual HRESULT STDMETHODCALLTYPE get_Volume(
1055 DOUBLE *value) = 0;
1056
1057 virtual HRESULT STDMETHODCALLTYPE put_Volume(
1058 DOUBLE value) = 0;
1059
1060 virtual HRESULT STDMETHODCALLTYPE get_PlaybackMediaMarkers(
1061 ABI::Windows::Media::Playback::IPlaybackMediaMarkerSequence **value) = 0;
1062
1063 virtual HRESULT STDMETHODCALLTYPE add_MediaOpened(
1064 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > *value,
1065 EventRegistrationToken *token) = 0;
1066
1067 virtual HRESULT STDMETHODCALLTYPE remove_MediaOpened(
1068 EventRegistrationToken token) = 0;
1069
1070 virtual HRESULT STDMETHODCALLTYPE add_MediaEnded(
1071 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > *value,
1072 EventRegistrationToken *token) = 0;
1073
1074 virtual HRESULT STDMETHODCALLTYPE remove_MediaEnded(
1075 EventRegistrationToken token) = 0;
1076
1077 virtual HRESULT STDMETHODCALLTYPE add_MediaFailed(
1078 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerFailedEventArgs* > *value,
1079 EventRegistrationToken *token) = 0;
1080
1081 virtual HRESULT STDMETHODCALLTYPE remove_MediaFailed(
1082 EventRegistrationToken token) = 0;
1083
1084 virtual HRESULT STDMETHODCALLTYPE add_CurrentStateChanged(
1085 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > *value,
1086 EventRegistrationToken *token) = 0;
1087
1088 virtual HRESULT STDMETHODCALLTYPE remove_CurrentStateChanged(
1089 EventRegistrationToken token) = 0;
1090
1091 virtual HRESULT STDMETHODCALLTYPE add_PlaybackMediaMarkerReached(
1092 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs* > *value,
1093 EventRegistrationToken *token) = 0;
1094
1095 virtual HRESULT STDMETHODCALLTYPE remove_PlaybackMediaMarkerReached(
1096 EventRegistrationToken token) = 0;
1097
1098 virtual HRESULT STDMETHODCALLTYPE add_MediaPlayerRateChanged(
1099 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerRateChangedEventArgs* > *value,
1100 EventRegistrationToken *token) = 0;
1101
1102 virtual HRESULT STDMETHODCALLTYPE remove_MediaPlayerRateChanged(
1103 EventRegistrationToken token) = 0;
1104
1105 virtual HRESULT STDMETHODCALLTYPE add_VolumeChanged(
1106 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > *value,
1107 EventRegistrationToken *token) = 0;
1108
1109 virtual HRESULT STDMETHODCALLTYPE remove_VolumeChanged(
1110 EventRegistrationToken token) = 0;
1111
1112 virtual HRESULT STDMETHODCALLTYPE add_SeekCompleted(
1113 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > *value,
1114 EventRegistrationToken *token) = 0;
1115
1116 virtual HRESULT STDMETHODCALLTYPE remove_SeekCompleted(
1117 EventRegistrationToken token) = 0;
1118
1119 virtual HRESULT STDMETHODCALLTYPE add_BufferingStarted(
1120 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > *value,
1121 EventRegistrationToken *token) = 0;
1122
1123 virtual HRESULT STDMETHODCALLTYPE remove_BufferingStarted(
1124 EventRegistrationToken token) = 0;
1125
1126 virtual HRESULT STDMETHODCALLTYPE add_BufferingEnded(
1127 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > *value,
1128 EventRegistrationToken *token) = 0;
1129
1130 virtual HRESULT STDMETHODCALLTYPE remove_BufferingEnded(
1131 EventRegistrationToken token) = 0;
1132
1133 virtual HRESULT STDMETHODCALLTYPE Play(
1134 ) = 0;
1135
1136 virtual HRESULT STDMETHODCALLTYPE Pause(
1137 ) = 0;
1138
1139 virtual HRESULT STDMETHODCALLTYPE SetUriSource(
1140 ABI::Windows::Foundation::IUriRuntimeClass *value) = 0;
1141
1142 };
1143 }
1144 }
1145 }
1146 }
1147 extern "C" {
1148 #ifdef __CRT_UUID_DECL
1149 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer, 0x381a83cb, 0x6fff, 0x499b, 0x8d,0x64, 0x28,0x85,0xdf,0xc1,0x24,0x9e)
1150 #endif
1151 #else
1152 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerVtbl {
1153 BEGIN_INTERFACE
1154
1155 /*** IUnknown methods ***/
1156 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1157 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1158 REFIID riid,
1159 void **ppvObject);
1160
1161 ULONG (STDMETHODCALLTYPE *AddRef)(
1162 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This);
1163
1164 ULONG (STDMETHODCALLTYPE *Release)(
1165 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This);
1166
1167 /*** IInspectable methods ***/
1168 HRESULT (STDMETHODCALLTYPE *GetIids)(
1169 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1170 ULONG *iidCount,
1171 IID **iids);
1172
1173 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1174 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1175 HSTRING *className);
1176
1177 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1178 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1179 TrustLevel *trustLevel);
1180
1181 /*** IMediaPlayer methods ***/
1182 HRESULT (STDMETHODCALLTYPE *get_AutoPlay)(
1183 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1184 boolean *value);
1185
1186 HRESULT (STDMETHODCALLTYPE *put_AutoPlay)(
1187 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1188 boolean value);
1189
1190 HRESULT (STDMETHODCALLTYPE *get_NaturalDuration)(
1191 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1192 __x_ABI_CWindows_CFoundation_CTimeSpan *value);
1193
1194 HRESULT (STDMETHODCALLTYPE *get_Position)(
1195 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1196 __x_ABI_CWindows_CFoundation_CTimeSpan *value);
1197
1198 HRESULT (STDMETHODCALLTYPE *put_Position)(
1199 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1200 __x_ABI_CWindows_CFoundation_CTimeSpan value);
1201
1202 HRESULT (STDMETHODCALLTYPE *get_BufferingProgress)(
1203 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1204 DOUBLE *value);
1205
1206 HRESULT (STDMETHODCALLTYPE *get_CurrentState)(
1207 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1208 __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerState *value);
1209
1210 HRESULT (STDMETHODCALLTYPE *get_CanSeek)(
1211 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1212 boolean *value);
1213
1214 HRESULT (STDMETHODCALLTYPE *get_CanPause)(
1215 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1216 boolean *value);
1217
1218 HRESULT (STDMETHODCALLTYPE *get_IsLoopingEnabled)(
1219 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1220 boolean *value);
1221
1222 HRESULT (STDMETHODCALLTYPE *put_IsLoopingEnabled)(
1223 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1224 boolean value);
1225
1226 HRESULT (STDMETHODCALLTYPE *get_IsProtected)(
1227 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1228 boolean *value);
1229
1230 HRESULT (STDMETHODCALLTYPE *get_IsMuted)(
1231 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1232 boolean *value);
1233
1234 HRESULT (STDMETHODCALLTYPE *put_IsMuted)(
1235 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1236 boolean value);
1237
1238 HRESULT (STDMETHODCALLTYPE *get_PlaybackRate)(
1239 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1240 DOUBLE *value);
1241
1242 HRESULT (STDMETHODCALLTYPE *put_PlaybackRate)(
1243 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1244 DOUBLE value);
1245
1246 HRESULT (STDMETHODCALLTYPE *get_Volume)(
1247 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1248 DOUBLE *value);
1249
1250 HRESULT (STDMETHODCALLTYPE *put_Volume)(
1251 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1252 DOUBLE value);
1253
1254 HRESULT (STDMETHODCALLTYPE *get_PlaybackMediaMarkers)(
1255 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1256 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence **value);
1257
1258 HRESULT (STDMETHODCALLTYPE *add_MediaOpened)(
1259 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1260 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,
1261 EventRegistrationToken *token);
1262
1263 HRESULT (STDMETHODCALLTYPE *remove_MediaOpened)(
1264 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1265 EventRegistrationToken token);
1266
1267 HRESULT (STDMETHODCALLTYPE *add_MediaEnded)(
1268 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1269 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,
1270 EventRegistrationToken *token);
1271
1272 HRESULT (STDMETHODCALLTYPE *remove_MediaEnded)(
1273 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1274 EventRegistrationToken token);
1275
1276 HRESULT (STDMETHODCALLTYPE *add_MediaFailed)(
1277 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1278 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs *value,
1279 EventRegistrationToken *token);
1280
1281 HRESULT (STDMETHODCALLTYPE *remove_MediaFailed)(
1282 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1283 EventRegistrationToken token);
1284
1285 HRESULT (STDMETHODCALLTYPE *add_CurrentStateChanged)(
1286 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1287 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,
1288 EventRegistrationToken *token);
1289
1290 HRESULT (STDMETHODCALLTYPE *remove_CurrentStateChanged)(
1291 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1292 EventRegistrationToken token);
1293
1294 HRESULT (STDMETHODCALLTYPE *add_PlaybackMediaMarkerReached)(
1295 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1296 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs *value,
1297 EventRegistrationToken *token);
1298
1299 HRESULT (STDMETHODCALLTYPE *remove_PlaybackMediaMarkerReached)(
1300 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1301 EventRegistrationToken token);
1302
1303 HRESULT (STDMETHODCALLTYPE *add_MediaPlayerRateChanged)(
1304 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1305 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs *value,
1306 EventRegistrationToken *token);
1307
1308 HRESULT (STDMETHODCALLTYPE *remove_MediaPlayerRateChanged)(
1309 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1310 EventRegistrationToken token);
1311
1312 HRESULT (STDMETHODCALLTYPE *add_VolumeChanged)(
1313 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1314 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,
1315 EventRegistrationToken *token);
1316
1317 HRESULT (STDMETHODCALLTYPE *remove_VolumeChanged)(
1318 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1319 EventRegistrationToken token);
1320
1321 HRESULT (STDMETHODCALLTYPE *add_SeekCompleted)(
1322 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1323 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,
1324 EventRegistrationToken *token);
1325
1326 HRESULT (STDMETHODCALLTYPE *remove_SeekCompleted)(
1327 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1328 EventRegistrationToken token);
1329
1330 HRESULT (STDMETHODCALLTYPE *add_BufferingStarted)(
1331 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1332 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,
1333 EventRegistrationToken *token);
1334
1335 HRESULT (STDMETHODCALLTYPE *remove_BufferingStarted)(
1336 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1337 EventRegistrationToken token);
1338
1339 HRESULT (STDMETHODCALLTYPE *add_BufferingEnded)(
1340 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1341 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,
1342 EventRegistrationToken *token);
1343
1344 HRESULT (STDMETHODCALLTYPE *remove_BufferingEnded)(
1345 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1346 EventRegistrationToken token);
1347
1348 HRESULT (STDMETHODCALLTYPE *Play)(
1349 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This);
1350
1351 HRESULT (STDMETHODCALLTYPE *Pause)(
1352 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This);
1353
1354 HRESULT (STDMETHODCALLTYPE *SetUriSource)(
1355 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *This,
1356 __x_ABI_CWindows_CFoundation_CIUriRuntimeClass *value);
1357
1358 END_INTERFACE
1359 } __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerVtbl;
1360
1361 interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer {
1362 CONST_VTBL __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerVtbl* lpVtbl;
1363 };
1364
1365 #ifdef COBJMACROS
1366 #ifndef WIDL_C_INLINE_WRAPPERS
1367 /*** IUnknown methods ***/
1368 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1369 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_AddRef(This) (This)->lpVtbl->AddRef(This)
1370 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_Release(This) (This)->lpVtbl->Release(This)
1371 /*** IInspectable methods ***/
1372 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1373 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1374 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1375 /*** IMediaPlayer methods ***/
1376 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_AutoPlay(This,value) (This)->lpVtbl->get_AutoPlay(This,value)
1377 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_AutoPlay(This,value) (This)->lpVtbl->put_AutoPlay(This,value)
1378 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_NaturalDuration(This,value) (This)->lpVtbl->get_NaturalDuration(This,value)
1379 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_Position(This,value) (This)->lpVtbl->get_Position(This,value)
1380 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_Position(This,value) (This)->lpVtbl->put_Position(This,value)
1381 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_BufferingProgress(This,value) (This)->lpVtbl->get_BufferingProgress(This,value)
1382 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_CurrentState(This,value) (This)->lpVtbl->get_CurrentState(This,value)
1383 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_CanSeek(This,value) (This)->lpVtbl->get_CanSeek(This,value)
1384 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_CanPause(This,value) (This)->lpVtbl->get_CanPause(This,value)
1385 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_IsLoopingEnabled(This,value) (This)->lpVtbl->get_IsLoopingEnabled(This,value)
1386 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_IsLoopingEnabled(This,value) (This)->lpVtbl->put_IsLoopingEnabled(This,value)
1387 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_IsProtected(This,value) (This)->lpVtbl->get_IsProtected(This,value)
1388 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_IsMuted(This,value) (This)->lpVtbl->get_IsMuted(This,value)
1389 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_IsMuted(This,value) (This)->lpVtbl->put_IsMuted(This,value)
1390 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_PlaybackRate(This,value) (This)->lpVtbl->get_PlaybackRate(This,value)
1391 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_PlaybackRate(This,value) (This)->lpVtbl->put_PlaybackRate(This,value)
1392 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_Volume(This,value) (This)->lpVtbl->get_Volume(This,value)
1393 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_Volume(This,value) (This)->lpVtbl->put_Volume(This,value)
1394 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_PlaybackMediaMarkers(This,value) (This)->lpVtbl->get_PlaybackMediaMarkers(This,value)
1395 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaOpened(This,value,token) (This)->lpVtbl->add_MediaOpened(This,value,token)
1396 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaOpened(This,token) (This)->lpVtbl->remove_MediaOpened(This,token)
1397 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaEnded(This,value,token) (This)->lpVtbl->add_MediaEnded(This,value,token)
1398 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaEnded(This,token) (This)->lpVtbl->remove_MediaEnded(This,token)
1399 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaFailed(This,value,token) (This)->lpVtbl->add_MediaFailed(This,value,token)
1400 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaFailed(This,token) (This)->lpVtbl->remove_MediaFailed(This,token)
1401 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_CurrentStateChanged(This,value,token) (This)->lpVtbl->add_CurrentStateChanged(This,value,token)
1402 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_CurrentStateChanged(This,token) (This)->lpVtbl->remove_CurrentStateChanged(This,token)
1403 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_PlaybackMediaMarkerReached(This,value,token) (This)->lpVtbl->add_PlaybackMediaMarkerReached(This,value,token)
1404 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_PlaybackMediaMarkerReached(This,token) (This)->lpVtbl->remove_PlaybackMediaMarkerReached(This,token)
1405 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaPlayerRateChanged(This,value,token) (This)->lpVtbl->add_MediaPlayerRateChanged(This,value,token)
1406 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaPlayerRateChanged(This,token) (This)->lpVtbl->remove_MediaPlayerRateChanged(This,token)
1407 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_VolumeChanged(This,value,token) (This)->lpVtbl->add_VolumeChanged(This,value,token)
1408 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_VolumeChanged(This,token) (This)->lpVtbl->remove_VolumeChanged(This,token)
1409 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_SeekCompleted(This,value,token) (This)->lpVtbl->add_SeekCompleted(This,value,token)
1410 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_SeekCompleted(This,token) (This)->lpVtbl->remove_SeekCompleted(This,token)
1411 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_BufferingStarted(This,value,token) (This)->lpVtbl->add_BufferingStarted(This,value,token)
1412 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_BufferingStarted(This,token) (This)->lpVtbl->remove_BufferingStarted(This,token)
1413 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_BufferingEnded(This,value,token) (This)->lpVtbl->add_BufferingEnded(This,value,token)
1414 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_BufferingEnded(This,token) (This)->lpVtbl->remove_BufferingEnded(This,token)
1415 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_Play(This) (This)->lpVtbl->Play(This)
1416 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_Pause(This) (This)->lpVtbl->Pause(This)
1417 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_SetUriSource(This,value) (This)->lpVtbl->SetUriSource(This,value)
1418 #else
1419 /*** IUnknown methods ***/
1420 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_QueryInterface(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,REFIID riid,void **ppvObject) {
1421 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1422 }
1423 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_AddRef(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This) {
1424 return This->lpVtbl->AddRef(This);
1425 }
1426 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_Release(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This) {
1427 return This->lpVtbl->Release(This);
1428 }
1429 /*** IInspectable methods ***/
1430 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_GetIids(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,ULONG *iidCount,IID **iids) {
1431 return This->lpVtbl->GetIids(This,iidCount,iids);
1432 }
1433 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,HSTRING *className) {
1434 return This->lpVtbl->GetRuntimeClassName(This,className);
1435 }
1436 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_GetTrustLevel(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,TrustLevel *trustLevel) {
1437 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1438 }
1439 /*** IMediaPlayer methods ***/
1440 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_AutoPlay(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,boolean *value) {
1441 return This->lpVtbl->get_AutoPlay(This,value);
1442 }
1443 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_AutoPlay(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,boolean value) {
1444 return This->lpVtbl->put_AutoPlay(This,value);
1445 }
1446 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_NaturalDuration(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__x_ABI_CWindows_CFoundation_CTimeSpan *value) {
1447 return This->lpVtbl->get_NaturalDuration(This,value);
1448 }
1449 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_Position(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__x_ABI_CWindows_CFoundation_CTimeSpan *value) {
1450 return This->lpVtbl->get_Position(This,value);
1451 }
1452 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_Position(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__x_ABI_CWindows_CFoundation_CTimeSpan value) {
1453 return This->lpVtbl->put_Position(This,value);
1454 }
1455 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_BufferingProgress(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,DOUBLE *value) {
1456 return This->lpVtbl->get_BufferingProgress(This,value);
1457 }
1458 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_CurrentState(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerState *value) {
1459 return This->lpVtbl->get_CurrentState(This,value);
1460 }
1461 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_CanSeek(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,boolean *value) {
1462 return This->lpVtbl->get_CanSeek(This,value);
1463 }
1464 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_CanPause(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,boolean *value) {
1465 return This->lpVtbl->get_CanPause(This,value);
1466 }
1467 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_IsLoopingEnabled(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,boolean *value) {
1468 return This->lpVtbl->get_IsLoopingEnabled(This,value);
1469 }
1470 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_IsLoopingEnabled(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,boolean value) {
1471 return This->lpVtbl->put_IsLoopingEnabled(This,value);
1472 }
1473 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_IsProtected(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,boolean *value) {
1474 return This->lpVtbl->get_IsProtected(This,value);
1475 }
1476 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_IsMuted(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,boolean *value) {
1477 return This->lpVtbl->get_IsMuted(This,value);
1478 }
1479 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_IsMuted(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,boolean value) {
1480 return This->lpVtbl->put_IsMuted(This,value);
1481 }
1482 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_PlaybackRate(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,DOUBLE *value) {
1483 return This->lpVtbl->get_PlaybackRate(This,value);
1484 }
1485 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_PlaybackRate(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,DOUBLE value) {
1486 return This->lpVtbl->put_PlaybackRate(This,value);
1487 }
1488 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_Volume(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,DOUBLE *value) {
1489 return This->lpVtbl->get_Volume(This,value);
1490 }
1491 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_Volume(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,DOUBLE value) {
1492 return This->lpVtbl->put_Volume(This,value);
1493 }
1494 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_PlaybackMediaMarkers(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence **value) {
1495 return This->lpVtbl->get_PlaybackMediaMarkers(This,value);
1496 }
1497 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaOpened(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,EventRegistrationToken *token) {
1498 return This->lpVtbl->add_MediaOpened(This,value,token);
1499 }
1500 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaOpened(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,EventRegistrationToken token) {
1501 return This->lpVtbl->remove_MediaOpened(This,token);
1502 }
1503 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaEnded(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,EventRegistrationToken *token) {
1504 return This->lpVtbl->add_MediaEnded(This,value,token);
1505 }
1506 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaEnded(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,EventRegistrationToken token) {
1507 return This->lpVtbl->remove_MediaEnded(This,token);
1508 }
1509 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaFailed(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs *value,EventRegistrationToken *token) {
1510 return This->lpVtbl->add_MediaFailed(This,value,token);
1511 }
1512 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaFailed(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,EventRegistrationToken token) {
1513 return This->lpVtbl->remove_MediaFailed(This,token);
1514 }
1515 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_CurrentStateChanged(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,EventRegistrationToken *token) {
1516 return This->lpVtbl->add_CurrentStateChanged(This,value,token);
1517 }
1518 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_CurrentStateChanged(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,EventRegistrationToken token) {
1519 return This->lpVtbl->remove_CurrentStateChanged(This,token);
1520 }
1521 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_PlaybackMediaMarkerReached(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs *value,EventRegistrationToken *token) {
1522 return This->lpVtbl->add_PlaybackMediaMarkerReached(This,value,token);
1523 }
1524 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_PlaybackMediaMarkerReached(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,EventRegistrationToken token) {
1525 return This->lpVtbl->remove_PlaybackMediaMarkerReached(This,token);
1526 }
1527 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaPlayerRateChanged(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs *value,EventRegistrationToken *token) {
1528 return This->lpVtbl->add_MediaPlayerRateChanged(This,value,token);
1529 }
1530 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaPlayerRateChanged(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,EventRegistrationToken token) {
1531 return This->lpVtbl->remove_MediaPlayerRateChanged(This,token);
1532 }
1533 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_VolumeChanged(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,EventRegistrationToken *token) {
1534 return This->lpVtbl->add_VolumeChanged(This,value,token);
1535 }
1536 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_VolumeChanged(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,EventRegistrationToken token) {
1537 return This->lpVtbl->remove_VolumeChanged(This,token);
1538 }
1539 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_SeekCompleted(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,EventRegistrationToken *token) {
1540 return This->lpVtbl->add_SeekCompleted(This,value,token);
1541 }
1542 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_SeekCompleted(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,EventRegistrationToken token) {
1543 return This->lpVtbl->remove_SeekCompleted(This,token);
1544 }
1545 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_BufferingStarted(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,EventRegistrationToken *token) {
1546 return This->lpVtbl->add_BufferingStarted(This,value,token);
1547 }
1548 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_BufferingStarted(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,EventRegistrationToken token) {
1549 return This->lpVtbl->remove_BufferingStarted(This,token);
1550 }
1551 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_BufferingEnded(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *value,EventRegistrationToken *token) {
1552 return This->lpVtbl->add_BufferingEnded(This,value,token);
1553 }
1554 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_BufferingEnded(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,EventRegistrationToken token) {
1555 return This->lpVtbl->remove_BufferingEnded(This,token);
1556 }
1557 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_Play(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This) {
1558 return This->lpVtbl->Play(This);
1559 }
1560 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_Pause(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This) {
1561 return This->lpVtbl->Pause(This);
1562 }
1563 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_SetUriSource(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer* This,__x_ABI_CWindows_CFoundation_CIUriRuntimeClass *value) {
1564 return This->lpVtbl->SetUriSource(This,value);
1565 }
1566 #endif
1567 #ifdef WIDL_using_Windows_Media_Playback
1568 #define IID_IMediaPlayer IID___x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer
1569 #define IMediaPlayerVtbl __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerVtbl
1570 #define IMediaPlayer __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer
1571 #define IMediaPlayer_QueryInterface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_QueryInterface
1572 #define IMediaPlayer_AddRef __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_AddRef
1573 #define IMediaPlayer_Release __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_Release
1574 #define IMediaPlayer_GetIids __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_GetIids
1575 #define IMediaPlayer_GetRuntimeClassName __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_GetRuntimeClassName
1576 #define IMediaPlayer_GetTrustLevel __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_GetTrustLevel
1577 #define IMediaPlayer_get_AutoPlay __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_AutoPlay
1578 #define IMediaPlayer_put_AutoPlay __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_AutoPlay
1579 #define IMediaPlayer_get_NaturalDuration __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_NaturalDuration
1580 #define IMediaPlayer_get_Position __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_Position
1581 #define IMediaPlayer_put_Position __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_Position
1582 #define IMediaPlayer_get_BufferingProgress __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_BufferingProgress
1583 #define IMediaPlayer_get_CurrentState __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_CurrentState
1584 #define IMediaPlayer_get_CanSeek __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_CanSeek
1585 #define IMediaPlayer_get_CanPause __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_CanPause
1586 #define IMediaPlayer_get_IsLoopingEnabled __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_IsLoopingEnabled
1587 #define IMediaPlayer_put_IsLoopingEnabled __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_IsLoopingEnabled
1588 #define IMediaPlayer_get_IsProtected __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_IsProtected
1589 #define IMediaPlayer_get_IsMuted __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_IsMuted
1590 #define IMediaPlayer_put_IsMuted __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_IsMuted
1591 #define IMediaPlayer_get_PlaybackRate __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_PlaybackRate
1592 #define IMediaPlayer_put_PlaybackRate __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_PlaybackRate
1593 #define IMediaPlayer_get_Volume __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_Volume
1594 #define IMediaPlayer_put_Volume __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_put_Volume
1595 #define IMediaPlayer_get_PlaybackMediaMarkers __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_get_PlaybackMediaMarkers
1596 #define IMediaPlayer_add_MediaOpened __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaOpened
1597 #define IMediaPlayer_remove_MediaOpened __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaOpened
1598 #define IMediaPlayer_add_MediaEnded __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaEnded
1599 #define IMediaPlayer_remove_MediaEnded __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaEnded
1600 #define IMediaPlayer_add_MediaFailed __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaFailed
1601 #define IMediaPlayer_remove_MediaFailed __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaFailed
1602 #define IMediaPlayer_add_CurrentStateChanged __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_CurrentStateChanged
1603 #define IMediaPlayer_remove_CurrentStateChanged __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_CurrentStateChanged
1604 #define IMediaPlayer_add_PlaybackMediaMarkerReached __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_PlaybackMediaMarkerReached
1605 #define IMediaPlayer_remove_PlaybackMediaMarkerReached __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_PlaybackMediaMarkerReached
1606 #define IMediaPlayer_add_MediaPlayerRateChanged __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_MediaPlayerRateChanged
1607 #define IMediaPlayer_remove_MediaPlayerRateChanged __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_MediaPlayerRateChanged
1608 #define IMediaPlayer_add_VolumeChanged __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_VolumeChanged
1609 #define IMediaPlayer_remove_VolumeChanged __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_VolumeChanged
1610 #define IMediaPlayer_add_SeekCompleted __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_SeekCompleted
1611 #define IMediaPlayer_remove_SeekCompleted __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_SeekCompleted
1612 #define IMediaPlayer_add_BufferingStarted __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_BufferingStarted
1613 #define IMediaPlayer_remove_BufferingStarted __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_BufferingStarted
1614 #define IMediaPlayer_add_BufferingEnded __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_add_BufferingEnded
1615 #define IMediaPlayer_remove_BufferingEnded __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_remove_BufferingEnded
1616 #define IMediaPlayer_Play __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_Play
1617 #define IMediaPlayer_Pause __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_Pause
1618 #define IMediaPlayer_SetUriSource __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_SetUriSource
1619 #endif /* WIDL_using_Windows_Media_Playback */
1620 #endif
1621
1622 #endif
1623
1624 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer_INTERFACE_DEFINED__ */
1625 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1626
1627 /*****************************************************************************
1628 * IMediaPlayer2 interface
1629 */
1630 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
1631 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_INTERFACE_DEFINED__
1632 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_INTERFACE_DEFINED__
1633
1634 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2, 0x3c841218, 0x2123, 0x4fc5, 0x90,0x82, 0x2f,0x88,0x3f,0x77,0xbd,0xf5);
1635 #if defined(__cplusplus) && !defined(CINTERFACE)
1636 } /* extern "C" */
1637 namespace ABI {
1638 namespace Windows {
1639 namespace Media {
1640 namespace Playback {
1641 MIDL_INTERFACE("3c841218-2123-4fc5-9082-2f883f77bdf5")
1642 IMediaPlayer2 : public IInspectable
1643 {
1644 virtual HRESULT STDMETHODCALLTYPE get_SystemMediaTransportControls(
1645 ABI::Windows::Media::ISystemMediaTransportControls **value) = 0;
1646
1647 virtual HRESULT STDMETHODCALLTYPE get_AudioCategory(
1648 ABI::Windows::Media::Playback::MediaPlayerAudioCategory *value) = 0;
1649
1650 virtual HRESULT STDMETHODCALLTYPE put_AudioCategory(
1651 ABI::Windows::Media::Playback::MediaPlayerAudioCategory value) = 0;
1652
1653 virtual HRESULT STDMETHODCALLTYPE get_AudioDeviceType(
1654 ABI::Windows::Media::Playback::MediaPlayerAudioDeviceType *value) = 0;
1655
1656 virtual HRESULT STDMETHODCALLTYPE put_AudioDeviceType(
1657 ABI::Windows::Media::Playback::MediaPlayerAudioDeviceType value) = 0;
1658
1659 };
1660 }
1661 }
1662 }
1663 }
1664 extern "C" {
1665 #ifdef __CRT_UUID_DECL
1666 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2, 0x3c841218, 0x2123, 0x4fc5, 0x90,0x82, 0x2f,0x88,0x3f,0x77,0xbd,0xf5)
1667 #endif
1668 #else
1669 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2Vtbl {
1670 BEGIN_INTERFACE
1671
1672 /*** IUnknown methods ***/
1673 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1674 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This,
1675 REFIID riid,
1676 void **ppvObject);
1677
1678 ULONG (STDMETHODCALLTYPE *AddRef)(
1679 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This);
1680
1681 ULONG (STDMETHODCALLTYPE *Release)(
1682 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This);
1683
1684 /*** IInspectable methods ***/
1685 HRESULT (STDMETHODCALLTYPE *GetIids)(
1686 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This,
1687 ULONG *iidCount,
1688 IID **iids);
1689
1690 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1691 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This,
1692 HSTRING *className);
1693
1694 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1695 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This,
1696 TrustLevel *trustLevel);
1697
1698 /*** IMediaPlayer2 methods ***/
1699 HRESULT (STDMETHODCALLTYPE *get_SystemMediaTransportControls)(
1700 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This,
1701 __x_ABI_CWindows_CMedia_CISystemMediaTransportControls **value);
1702
1703 HRESULT (STDMETHODCALLTYPE *get_AudioCategory)(
1704 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This,
1705 __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory *value);
1706
1707 HRESULT (STDMETHODCALLTYPE *put_AudioCategory)(
1708 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This,
1709 __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory value);
1710
1711 HRESULT (STDMETHODCALLTYPE *get_AudioDeviceType)(
1712 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This,
1713 __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType *value);
1714
1715 HRESULT (STDMETHODCALLTYPE *put_AudioDeviceType)(
1716 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 *This,
1717 __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType value);
1718
1719 END_INTERFACE
1720 } __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2Vtbl;
1721
1722 interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2 {
1723 CONST_VTBL __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2Vtbl* lpVtbl;
1724 };
1725
1726 #ifdef COBJMACROS
1727 #ifndef WIDL_C_INLINE_WRAPPERS
1728 /*** IUnknown methods ***/
1729 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1730 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_AddRef(This) (This)->lpVtbl->AddRef(This)
1731 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_Release(This) (This)->lpVtbl->Release(This)
1732 /*** IInspectable methods ***/
1733 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1734 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1735 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1736 /*** IMediaPlayer2 methods ***/
1737 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_get_SystemMediaTransportControls(This,value) (This)->lpVtbl->get_SystemMediaTransportControls(This,value)
1738 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_get_AudioCategory(This,value) (This)->lpVtbl->get_AudioCategory(This,value)
1739 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_put_AudioCategory(This,value) (This)->lpVtbl->put_AudioCategory(This,value)
1740 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_get_AudioDeviceType(This,value) (This)->lpVtbl->get_AudioDeviceType(This,value)
1741 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_put_AudioDeviceType(This,value) (This)->lpVtbl->put_AudioDeviceType(This,value)
1742 #else
1743 /*** IUnknown methods ***/
1744 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_QueryInterface(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This,REFIID riid,void **ppvObject) {
1745 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1746 }
1747 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_AddRef(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This) {
1748 return This->lpVtbl->AddRef(This);
1749 }
1750 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_Release(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This) {
1751 return This->lpVtbl->Release(This);
1752 }
1753 /*** IInspectable methods ***/
1754 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_GetIids(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This,ULONG *iidCount,IID **iids) {
1755 return This->lpVtbl->GetIids(This,iidCount,iids);
1756 }
1757 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This,HSTRING *className) {
1758 return This->lpVtbl->GetRuntimeClassName(This,className);
1759 }
1760 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_GetTrustLevel(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This,TrustLevel *trustLevel) {
1761 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1762 }
1763 /*** IMediaPlayer2 methods ***/
1764 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_get_SystemMediaTransportControls(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This,__x_ABI_CWindows_CMedia_CISystemMediaTransportControls **value) {
1765 return This->lpVtbl->get_SystemMediaTransportControls(This,value);
1766 }
1767 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_get_AudioCategory(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This,__x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory *value) {
1768 return This->lpVtbl->get_AudioCategory(This,value);
1769 }
1770 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_put_AudioCategory(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This,__x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioCategory value) {
1771 return This->lpVtbl->put_AudioCategory(This,value);
1772 }
1773 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_get_AudioDeviceType(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This,__x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType *value) {
1774 return This->lpVtbl->get_AudioDeviceType(This,value);
1775 }
1776 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_put_AudioDeviceType(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2* This,__x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerAudioDeviceType value) {
1777 return This->lpVtbl->put_AudioDeviceType(This,value);
1778 }
1779 #endif
1780 #ifdef WIDL_using_Windows_Media_Playback
1781 #define IID_IMediaPlayer2 IID___x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2
1782 #define IMediaPlayer2Vtbl __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2Vtbl
1783 #define IMediaPlayer2 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2
1784 #define IMediaPlayer2_QueryInterface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_QueryInterface
1785 #define IMediaPlayer2_AddRef __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_AddRef
1786 #define IMediaPlayer2_Release __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_Release
1787 #define IMediaPlayer2_GetIids __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_GetIids
1788 #define IMediaPlayer2_GetRuntimeClassName __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_GetRuntimeClassName
1789 #define IMediaPlayer2_GetTrustLevel __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_GetTrustLevel
1790 #define IMediaPlayer2_get_SystemMediaTransportControls __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_get_SystemMediaTransportControls
1791 #define IMediaPlayer2_get_AudioCategory __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_get_AudioCategory
1792 #define IMediaPlayer2_put_AudioCategory __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_put_AudioCategory
1793 #define IMediaPlayer2_get_AudioDeviceType __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_get_AudioDeviceType
1794 #define IMediaPlayer2_put_AudioDeviceType __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_put_AudioDeviceType
1795 #endif /* WIDL_using_Windows_Media_Playback */
1796 #endif
1797
1798 #endif
1799
1800 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer2_INTERFACE_DEFINED__ */
1801 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1802
1803 /*****************************************************************************
1804 * IMediaPlayerDataReceivedEventArgs interface
1805 */
1806 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
1807 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_INTERFACE_DEFINED__
1808 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_INTERFACE_DEFINED__
1809
1810 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs, 0xc75a9405, 0xc801, 0x412a, 0x83,0x5b, 0x83,0xfc,0x0e,0x62,0x2a,0x8e);
1811 #if defined(__cplusplus) && !defined(CINTERFACE)
1812 } /* extern "C" */
1813 namespace ABI {
1814 namespace Windows {
1815 namespace Media {
1816 namespace Playback {
1817 MIDL_INTERFACE("c75a9405-c801-412a-835b-83fc0e622a8e")
1818 IMediaPlayerDataReceivedEventArgs : public IInspectable
1819 {
1820 virtual HRESULT STDMETHODCALLTYPE get_Data(
1821 ABI::Windows::Foundation::Collections::IPropertySet **value) = 0;
1822
1823 };
1824 }
1825 }
1826 }
1827 }
1828 extern "C" {
1829 #ifdef __CRT_UUID_DECL
1830 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs, 0xc75a9405, 0xc801, 0x412a, 0x83,0x5b, 0x83,0xfc,0x0e,0x62,0x2a,0x8e)
1831 #endif
1832 #else
1833 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgsVtbl {
1834 BEGIN_INTERFACE
1835
1836 /*** IUnknown methods ***/
1837 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1838 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs *This,
1839 REFIID riid,
1840 void **ppvObject);
1841
1842 ULONG (STDMETHODCALLTYPE *AddRef)(
1843 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs *This);
1844
1845 ULONG (STDMETHODCALLTYPE *Release)(
1846 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs *This);
1847
1848 /*** IInspectable methods ***/
1849 HRESULT (STDMETHODCALLTYPE *GetIids)(
1850 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs *This,
1851 ULONG *iidCount,
1852 IID **iids);
1853
1854 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1855 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs *This,
1856 HSTRING *className);
1857
1858 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1859 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs *This,
1860 TrustLevel *trustLevel);
1861
1862 /*** IMediaPlayerDataReceivedEventArgs methods ***/
1863 HRESULT (STDMETHODCALLTYPE *get_Data)(
1864 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs *This,
1865 __x_ABI_CWindows_CFoundation_CCollections_CIPropertySet **value);
1866
1867 END_INTERFACE
1868 } __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgsVtbl;
1869
1870 interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs {
1871 CONST_VTBL __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgsVtbl* lpVtbl;
1872 };
1873
1874 #ifdef COBJMACROS
1875 #ifndef WIDL_C_INLINE_WRAPPERS
1876 /*** IUnknown methods ***/
1877 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1878 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
1879 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_Release(This) (This)->lpVtbl->Release(This)
1880 /*** IInspectable methods ***/
1881 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1882 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1883 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1884 /*** IMediaPlayerDataReceivedEventArgs methods ***/
1885 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_get_Data(This,value) (This)->lpVtbl->get_Data(This,value)
1886 #else
1887 /*** IUnknown methods ***/
1888 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_QueryInterface(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs* This,REFIID riid,void **ppvObject) {
1889 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1890 }
1891 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_AddRef(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs* This) {
1892 return This->lpVtbl->AddRef(This);
1893 }
1894 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_Release(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs* This) {
1895 return This->lpVtbl->Release(This);
1896 }
1897 /*** IInspectable methods ***/
1898 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_GetIids(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs* This,ULONG *iidCount,IID **iids) {
1899 return This->lpVtbl->GetIids(This,iidCount,iids);
1900 }
1901 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs* This,HSTRING *className) {
1902 return This->lpVtbl->GetRuntimeClassName(This,className);
1903 }
1904 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_GetTrustLevel(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs* This,TrustLevel *trustLevel) {
1905 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1906 }
1907 /*** IMediaPlayerDataReceivedEventArgs methods ***/
1908 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_get_Data(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs* This,__x_ABI_CWindows_CFoundation_CCollections_CIPropertySet **value) {
1909 return This->lpVtbl->get_Data(This,value);
1910 }
1911 #endif
1912 #ifdef WIDL_using_Windows_Media_Playback
1913 #define IID_IMediaPlayerDataReceivedEventArgs IID___x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs
1914 #define IMediaPlayerDataReceivedEventArgsVtbl __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgsVtbl
1915 #define IMediaPlayerDataReceivedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs
1916 #define IMediaPlayerDataReceivedEventArgs_QueryInterface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_QueryInterface
1917 #define IMediaPlayerDataReceivedEventArgs_AddRef __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_AddRef
1918 #define IMediaPlayerDataReceivedEventArgs_Release __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_Release
1919 #define IMediaPlayerDataReceivedEventArgs_GetIids __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_GetIids
1920 #define IMediaPlayerDataReceivedEventArgs_GetRuntimeClassName __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_GetRuntimeClassName
1921 #define IMediaPlayerDataReceivedEventArgs_GetTrustLevel __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_GetTrustLevel
1922 #define IMediaPlayerDataReceivedEventArgs_get_Data __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_get_Data
1923 #endif /* WIDL_using_Windows_Media_Playback */
1924 #endif
1925
1926 #endif
1927
1928 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs_INTERFACE_DEFINED__ */
1929 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1930
1931 /*****************************************************************************
1932 * IMediaPlayerFailedEventArgs interface
1933 */
1934 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
1935 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_INTERFACE_DEFINED__
1936 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_INTERFACE_DEFINED__
1937
1938 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs, 0x2744e9b9, 0xa7e3, 0x4f16, 0xba,0xc4, 0x79,0x14,0xeb,0xc0,0x83,0x01);
1939 #if defined(__cplusplus) && !defined(CINTERFACE)
1940 } /* extern "C" */
1941 namespace ABI {
1942 namespace Windows {
1943 namespace Media {
1944 namespace Playback {
1945 MIDL_INTERFACE("2744e9b9-a7e3-4f16-bac4-7914ebc08301")
1946 IMediaPlayerFailedEventArgs : public IInspectable
1947 {
1948 virtual HRESULT STDMETHODCALLTYPE get_Error(
1949 ABI::Windows::Media::Playback::MediaPlayerError *value) = 0;
1950
1951 virtual HRESULT STDMETHODCALLTYPE get_ExtendedErrorCode(
1952 HRESULT *value) = 0;
1953
1954 virtual HRESULT STDMETHODCALLTYPE get_ErrorMessage(
1955 HSTRING *value) = 0;
1956
1957 };
1958 }
1959 }
1960 }
1961 }
1962 extern "C" {
1963 #ifdef __CRT_UUID_DECL
1964 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs, 0x2744e9b9, 0xa7e3, 0x4f16, 0xba,0xc4, 0x79,0x14,0xeb,0xc0,0x83,0x01)
1965 #endif
1966 #else
1967 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgsVtbl {
1968 BEGIN_INTERFACE
1969
1970 /*** IUnknown methods ***/
1971 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1972 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *This,
1973 REFIID riid,
1974 void **ppvObject);
1975
1976 ULONG (STDMETHODCALLTYPE *AddRef)(
1977 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *This);
1978
1979 ULONG (STDMETHODCALLTYPE *Release)(
1980 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *This);
1981
1982 /*** IInspectable methods ***/
1983 HRESULT (STDMETHODCALLTYPE *GetIids)(
1984 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *This,
1985 ULONG *iidCount,
1986 IID **iids);
1987
1988 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1989 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *This,
1990 HSTRING *className);
1991
1992 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1993 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *This,
1994 TrustLevel *trustLevel);
1995
1996 /*** IMediaPlayerFailedEventArgs methods ***/
1997 HRESULT (STDMETHODCALLTYPE *get_Error)(
1998 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *This,
1999 __x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerError *value);
2000
2001 HRESULT (STDMETHODCALLTYPE *get_ExtendedErrorCode)(
2002 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *This,
2003 HRESULT *value);
2004
2005 HRESULT (STDMETHODCALLTYPE *get_ErrorMessage)(
2006 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *This,
2007 HSTRING *value);
2008
2009 END_INTERFACE
2010 } __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgsVtbl;
2011
2012 interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs {
2013 CONST_VTBL __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgsVtbl* lpVtbl;
2014 };
2015
2016 #ifdef COBJMACROS
2017 #ifndef WIDL_C_INLINE_WRAPPERS
2018 /*** IUnknown methods ***/
2019 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2020 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
2021 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_Release(This) (This)->lpVtbl->Release(This)
2022 /*** IInspectable methods ***/
2023 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2024 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2025 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2026 /*** IMediaPlayerFailedEventArgs methods ***/
2027 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_get_Error(This,value) (This)->lpVtbl->get_Error(This,value)
2028 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_get_ExtendedErrorCode(This,value) (This)->lpVtbl->get_ExtendedErrorCode(This,value)
2029 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_get_ErrorMessage(This,value) (This)->lpVtbl->get_ErrorMessage(This,value)
2030 #else
2031 /*** IUnknown methods ***/
2032 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_QueryInterface(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs* This,REFIID riid,void **ppvObject) {
2033 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2034 }
2035 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_AddRef(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs* This) {
2036 return This->lpVtbl->AddRef(This);
2037 }
2038 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_Release(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs* This) {
2039 return This->lpVtbl->Release(This);
2040 }
2041 /*** IInspectable methods ***/
2042 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_GetIids(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs* This,ULONG *iidCount,IID **iids) {
2043 return This->lpVtbl->GetIids(This,iidCount,iids);
2044 }
2045 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs* This,HSTRING *className) {
2046 return This->lpVtbl->GetRuntimeClassName(This,className);
2047 }
2048 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_GetTrustLevel(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs* This,TrustLevel *trustLevel) {
2049 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2050 }
2051 /*** IMediaPlayerFailedEventArgs methods ***/
2052 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_get_Error(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs* This,__x_ABI_CWindows_CMedia_CPlayback_CMediaPlayerError *value) {
2053 return This->lpVtbl->get_Error(This,value);
2054 }
2055 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_get_ExtendedErrorCode(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs* This,HRESULT *value) {
2056 return This->lpVtbl->get_ExtendedErrorCode(This,value);
2057 }
2058 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_get_ErrorMessage(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs* This,HSTRING *value) {
2059 return This->lpVtbl->get_ErrorMessage(This,value);
2060 }
2061 #endif
2062 #ifdef WIDL_using_Windows_Media_Playback
2063 #define IID_IMediaPlayerFailedEventArgs IID___x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs
2064 #define IMediaPlayerFailedEventArgsVtbl __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgsVtbl
2065 #define IMediaPlayerFailedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs
2066 #define IMediaPlayerFailedEventArgs_QueryInterface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_QueryInterface
2067 #define IMediaPlayerFailedEventArgs_AddRef __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_AddRef
2068 #define IMediaPlayerFailedEventArgs_Release __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_Release
2069 #define IMediaPlayerFailedEventArgs_GetIids __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_GetIids
2070 #define IMediaPlayerFailedEventArgs_GetRuntimeClassName __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_GetRuntimeClassName
2071 #define IMediaPlayerFailedEventArgs_GetTrustLevel __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_GetTrustLevel
2072 #define IMediaPlayerFailedEventArgs_get_Error __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_get_Error
2073 #define IMediaPlayerFailedEventArgs_get_ExtendedErrorCode __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_get_ExtendedErrorCode
2074 #define IMediaPlayerFailedEventArgs_get_ErrorMessage __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_get_ErrorMessage
2075 #endif /* WIDL_using_Windows_Media_Playback */
2076 #endif
2077
2078 #endif
2079
2080 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs_INTERFACE_DEFINED__ */
2081 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2082
2083 /*****************************************************************************
2084 * IMediaPlayerRateChangedEventArgs interface
2085 */
2086 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2087 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_INTERFACE_DEFINED__
2088 #define ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_INTERFACE_DEFINED__
2089
2090 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs, 0x40600d58, 0x3b61, 0x4bb2, 0x98,0x9f, 0xfc,0x65,0x60,0x8b,0x6c,0xab);
2091 #if defined(__cplusplus) && !defined(CINTERFACE)
2092 } /* extern "C" */
2093 namespace ABI {
2094 namespace Windows {
2095 namespace Media {
2096 namespace Playback {
2097 MIDL_INTERFACE("40600d58-3b61-4bb2-989f-fc65608b6cab")
2098 IMediaPlayerRateChangedEventArgs : public IInspectable
2099 {
2100 virtual HRESULT STDMETHODCALLTYPE get_NewRate(
2101 DOUBLE *value) = 0;
2102
2103 };
2104 }
2105 }
2106 }
2107 }
2108 extern "C" {
2109 #ifdef __CRT_UUID_DECL
2110 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs, 0x40600d58, 0x3b61, 0x4bb2, 0x98,0x9f, 0xfc,0x65,0x60,0x8b,0x6c,0xab)
2111 #endif
2112 #else
2113 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgsVtbl {
2114 BEGIN_INTERFACE
2115
2116 /*** IUnknown methods ***/
2117 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2118 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs *This,
2119 REFIID riid,
2120 void **ppvObject);
2121
2122 ULONG (STDMETHODCALLTYPE *AddRef)(
2123 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs *This);
2124
2125 ULONG (STDMETHODCALLTYPE *Release)(
2126 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs *This);
2127
2128 /*** IInspectable methods ***/
2129 HRESULT (STDMETHODCALLTYPE *GetIids)(
2130 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs *This,
2131 ULONG *iidCount,
2132 IID **iids);
2133
2134 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2135 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs *This,
2136 HSTRING *className);
2137
2138 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2139 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs *This,
2140 TrustLevel *trustLevel);
2141
2142 /*** IMediaPlayerRateChangedEventArgs methods ***/
2143 HRESULT (STDMETHODCALLTYPE *get_NewRate)(
2144 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs *This,
2145 DOUBLE *value);
2146
2147 END_INTERFACE
2148 } __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgsVtbl;
2149
2150 interface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs {
2151 CONST_VTBL __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgsVtbl* lpVtbl;
2152 };
2153
2154 #ifdef COBJMACROS
2155 #ifndef WIDL_C_INLINE_WRAPPERS
2156 /*** IUnknown methods ***/
2157 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2158 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
2159 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_Release(This) (This)->lpVtbl->Release(This)
2160 /*** IInspectable methods ***/
2161 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2162 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2163 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2164 /*** IMediaPlayerRateChangedEventArgs methods ***/
2165 #define __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_get_NewRate(This,value) (This)->lpVtbl->get_NewRate(This,value)
2166 #else
2167 /*** IUnknown methods ***/
2168 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_QueryInterface(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs* This,REFIID riid,void **ppvObject) {
2169 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2170 }
2171 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_AddRef(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs* This) {
2172 return This->lpVtbl->AddRef(This);
2173 }
2174 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_Release(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs* This) {
2175 return This->lpVtbl->Release(This);
2176 }
2177 /*** IInspectable methods ***/
2178 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_GetIids(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs* This,ULONG *iidCount,IID **iids) {
2179 return This->lpVtbl->GetIids(This,iidCount,iids);
2180 }
2181 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs* This,HSTRING *className) {
2182 return This->lpVtbl->GetRuntimeClassName(This,className);
2183 }
2184 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_GetTrustLevel(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs* This,TrustLevel *trustLevel) {
2185 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2186 }
2187 /*** IMediaPlayerRateChangedEventArgs methods ***/
2188 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_get_NewRate(__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs* This,DOUBLE *value) {
2189 return This->lpVtbl->get_NewRate(This,value);
2190 }
2191 #endif
2192 #ifdef WIDL_using_Windows_Media_Playback
2193 #define IID_IMediaPlayerRateChangedEventArgs IID___x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs
2194 #define IMediaPlayerRateChangedEventArgsVtbl __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgsVtbl
2195 #define IMediaPlayerRateChangedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs
2196 #define IMediaPlayerRateChangedEventArgs_QueryInterface __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_QueryInterface
2197 #define IMediaPlayerRateChangedEventArgs_AddRef __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_AddRef
2198 #define IMediaPlayerRateChangedEventArgs_Release __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_Release
2199 #define IMediaPlayerRateChangedEventArgs_GetIids __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_GetIids
2200 #define IMediaPlayerRateChangedEventArgs_GetRuntimeClassName __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_GetRuntimeClassName
2201 #define IMediaPlayerRateChangedEventArgs_GetTrustLevel __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_GetTrustLevel
2202 #define IMediaPlayerRateChangedEventArgs_get_NewRate __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_get_NewRate
2203 #endif /* WIDL_using_Windows_Media_Playback */
2204 #endif
2205
2206 #endif
2207
2208 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs_INTERFACE_DEFINED__ */
2209 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2210
2211 /*****************************************************************************
2212 * IPlaybackMediaMarker interface
2213 */
2214 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2215 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_INTERFACE_DEFINED__
2216 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_INTERFACE_DEFINED__
2217
2218 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker, 0xc4d22f5c, 0x3c1c, 0x4444, 0xb6,0xb9, 0x77,0x8b,0x04,0x22,0xd4,0x1a);
2219 #if defined(__cplusplus) && !defined(CINTERFACE)
2220 } /* extern "C" */
2221 namespace ABI {
2222 namespace Windows {
2223 namespace Media {
2224 namespace Playback {
2225 MIDL_INTERFACE("c4d22f5c-3c1c-4444-b6b9-778b0422d41a")
2226 IPlaybackMediaMarker : public IInspectable
2227 {
2228 virtual HRESULT STDMETHODCALLTYPE get_Time(
2229 ABI::Windows::Foundation::TimeSpan *value) = 0;
2230
2231 virtual HRESULT STDMETHODCALLTYPE get_MediaMarkerType(
2232 HSTRING *value) = 0;
2233
2234 virtual HRESULT STDMETHODCALLTYPE get_Text(
2235 HSTRING *value) = 0;
2236
2237 };
2238 }
2239 }
2240 }
2241 }
2242 extern "C" {
2243 #ifdef __CRT_UUID_DECL
2244 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker, 0xc4d22f5c, 0x3c1c, 0x4444, 0xb6,0xb9, 0x77,0x8b,0x04,0x22,0xd4,0x1a)
2245 #endif
2246 #else
2247 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerVtbl {
2248 BEGIN_INTERFACE
2249
2250 /*** IUnknown methods ***/
2251 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2252 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *This,
2253 REFIID riid,
2254 void **ppvObject);
2255
2256 ULONG (STDMETHODCALLTYPE *AddRef)(
2257 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *This);
2258
2259 ULONG (STDMETHODCALLTYPE *Release)(
2260 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *This);
2261
2262 /*** IInspectable methods ***/
2263 HRESULT (STDMETHODCALLTYPE *GetIids)(
2264 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *This,
2265 ULONG *iidCount,
2266 IID **iids);
2267
2268 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2269 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *This,
2270 HSTRING *className);
2271
2272 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2273 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *This,
2274 TrustLevel *trustLevel);
2275
2276 /*** IPlaybackMediaMarker methods ***/
2277 HRESULT (STDMETHODCALLTYPE *get_Time)(
2278 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *This,
2279 __x_ABI_CWindows_CFoundation_CTimeSpan *value);
2280
2281 HRESULT (STDMETHODCALLTYPE *get_MediaMarkerType)(
2282 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *This,
2283 HSTRING *value);
2284
2285 HRESULT (STDMETHODCALLTYPE *get_Text)(
2286 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *This,
2287 HSTRING *value);
2288
2289 END_INTERFACE
2290 } __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerVtbl;
2291
2292 interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker {
2293 CONST_VTBL __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerVtbl* lpVtbl;
2294 };
2295
2296 #ifdef COBJMACROS
2297 #ifndef WIDL_C_INLINE_WRAPPERS
2298 /*** IUnknown methods ***/
2299 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2300 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_AddRef(This) (This)->lpVtbl->AddRef(This)
2301 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_Release(This) (This)->lpVtbl->Release(This)
2302 /*** IInspectable methods ***/
2303 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2304 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2305 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2306 /*** IPlaybackMediaMarker methods ***/
2307 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_get_Time(This,value) (This)->lpVtbl->get_Time(This,value)
2308 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_get_MediaMarkerType(This,value) (This)->lpVtbl->get_MediaMarkerType(This,value)
2309 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_get_Text(This,value) (This)->lpVtbl->get_Text(This,value)
2310 #else
2311 /*** IUnknown methods ***/
2312 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_QueryInterface(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker* This,REFIID riid,void **ppvObject) {
2313 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2314 }
2315 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_AddRef(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker* This) {
2316 return This->lpVtbl->AddRef(This);
2317 }
2318 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_Release(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker* This) {
2319 return This->lpVtbl->Release(This);
2320 }
2321 /*** IInspectable methods ***/
2322 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_GetIids(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker* This,ULONG *iidCount,IID **iids) {
2323 return This->lpVtbl->GetIids(This,iidCount,iids);
2324 }
2325 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker* This,HSTRING *className) {
2326 return This->lpVtbl->GetRuntimeClassName(This,className);
2327 }
2328 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_GetTrustLevel(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker* This,TrustLevel *trustLevel) {
2329 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2330 }
2331 /*** IPlaybackMediaMarker methods ***/
2332 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_get_Time(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker* This,__x_ABI_CWindows_CFoundation_CTimeSpan *value) {
2333 return This->lpVtbl->get_Time(This,value);
2334 }
2335 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_get_MediaMarkerType(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker* This,HSTRING *value) {
2336 return This->lpVtbl->get_MediaMarkerType(This,value);
2337 }
2338 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_get_Text(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker* This,HSTRING *value) {
2339 return This->lpVtbl->get_Text(This,value);
2340 }
2341 #endif
2342 #ifdef WIDL_using_Windows_Media_Playback
2343 #define IID_IPlaybackMediaMarker IID___x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker
2344 #define IPlaybackMediaMarkerVtbl __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerVtbl
2345 #define IPlaybackMediaMarker __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker
2346 #define IPlaybackMediaMarker_QueryInterface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_QueryInterface
2347 #define IPlaybackMediaMarker_AddRef __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_AddRef
2348 #define IPlaybackMediaMarker_Release __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_Release
2349 #define IPlaybackMediaMarker_GetIids __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_GetIids
2350 #define IPlaybackMediaMarker_GetRuntimeClassName __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_GetRuntimeClassName
2351 #define IPlaybackMediaMarker_GetTrustLevel __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_GetTrustLevel
2352 #define IPlaybackMediaMarker_get_Time __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_get_Time
2353 #define IPlaybackMediaMarker_get_MediaMarkerType __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_get_MediaMarkerType
2354 #define IPlaybackMediaMarker_get_Text __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_get_Text
2355 #endif /* WIDL_using_Windows_Media_Playback */
2356 #endif
2357
2358 #endif
2359
2360 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker_INTERFACE_DEFINED__ */
2361 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2362
2363 /*****************************************************************************
2364 * IPlaybackMediaMarkerFactory interface
2365 */
2366 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2367 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_INTERFACE_DEFINED__
2368 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_INTERFACE_DEFINED__
2369
2370 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory, 0x8c530a78, 0xe0ae, 0x4e1a, 0xa8,0xc8, 0xe2,0x3f,0x98,0x2a,0x93,0x7b);
2371 #if defined(__cplusplus) && !defined(CINTERFACE)
2372 } /* extern "C" */
2373 namespace ABI {
2374 namespace Windows {
2375 namespace Media {
2376 namespace Playback {
2377 MIDL_INTERFACE("8c530a78-e0ae-4e1a-a8c8-e23f982a937b")
2378 IPlaybackMediaMarkerFactory : public IInspectable
2379 {
2380 virtual HRESULT STDMETHODCALLTYPE CreateFromTime(
2381 ABI::Windows::Foundation::TimeSpan value,
2382 ABI::Windows::Media::Playback::IPlaybackMediaMarker **marker) = 0;
2383
2384 virtual HRESULT STDMETHODCALLTYPE Create(
2385 ABI::Windows::Foundation::TimeSpan value,
2386 HSTRING media_market_type,
2387 HSTRING text,
2388 ABI::Windows::Media::Playback::IPlaybackMediaMarker **marker) = 0;
2389
2390 };
2391 }
2392 }
2393 }
2394 }
2395 extern "C" {
2396 #ifdef __CRT_UUID_DECL
2397 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory, 0x8c530a78, 0xe0ae, 0x4e1a, 0xa8,0xc8, 0xe2,0x3f,0x98,0x2a,0x93,0x7b)
2398 #endif
2399 #else
2400 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactoryVtbl {
2401 BEGIN_INTERFACE
2402
2403 /*** IUnknown methods ***/
2404 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2405 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory *This,
2406 REFIID riid,
2407 void **ppvObject);
2408
2409 ULONG (STDMETHODCALLTYPE *AddRef)(
2410 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory *This);
2411
2412 ULONG (STDMETHODCALLTYPE *Release)(
2413 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory *This);
2414
2415 /*** IInspectable methods ***/
2416 HRESULT (STDMETHODCALLTYPE *GetIids)(
2417 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory *This,
2418 ULONG *iidCount,
2419 IID **iids);
2420
2421 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2422 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory *This,
2423 HSTRING *className);
2424
2425 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2426 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory *This,
2427 TrustLevel *trustLevel);
2428
2429 /*** IPlaybackMediaMarkerFactory methods ***/
2430 HRESULT (STDMETHODCALLTYPE *CreateFromTime)(
2431 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory *This,
2432 __x_ABI_CWindows_CFoundation_CTimeSpan value,
2433 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker **marker);
2434
2435 HRESULT (STDMETHODCALLTYPE *Create)(
2436 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory *This,
2437 __x_ABI_CWindows_CFoundation_CTimeSpan value,
2438 HSTRING media_market_type,
2439 HSTRING text,
2440 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker **marker);
2441
2442 END_INTERFACE
2443 } __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactoryVtbl;
2444
2445 interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory {
2446 CONST_VTBL __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactoryVtbl* lpVtbl;
2447 };
2448
2449 #ifdef COBJMACROS
2450 #ifndef WIDL_C_INLINE_WRAPPERS
2451 /*** IUnknown methods ***/
2452 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2453 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
2454 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_Release(This) (This)->lpVtbl->Release(This)
2455 /*** IInspectable methods ***/
2456 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2457 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2458 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2459 /*** IPlaybackMediaMarkerFactory methods ***/
2460 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_CreateFromTime(This,value,marker) (This)->lpVtbl->CreateFromTime(This,value,marker)
2461 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_Create(This,value,media_market_type,text,marker) (This)->lpVtbl->Create(This,value,media_market_type,text,marker)
2462 #else
2463 /*** IUnknown methods ***/
2464 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_QueryInterface(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory* This,REFIID riid,void **ppvObject) {
2465 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2466 }
2467 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_AddRef(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory* This) {
2468 return This->lpVtbl->AddRef(This);
2469 }
2470 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_Release(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory* This) {
2471 return This->lpVtbl->Release(This);
2472 }
2473 /*** IInspectable methods ***/
2474 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_GetIids(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory* This,ULONG *iidCount,IID **iids) {
2475 return This->lpVtbl->GetIids(This,iidCount,iids);
2476 }
2477 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory* This,HSTRING *className) {
2478 return This->lpVtbl->GetRuntimeClassName(This,className);
2479 }
2480 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_GetTrustLevel(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory* This,TrustLevel *trustLevel) {
2481 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2482 }
2483 /*** IPlaybackMediaMarkerFactory methods ***/
2484 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_CreateFromTime(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory* This,__x_ABI_CWindows_CFoundation_CTimeSpan value,__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker **marker) {
2485 return This->lpVtbl->CreateFromTime(This,value,marker);
2486 }
2487 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_Create(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory* This,__x_ABI_CWindows_CFoundation_CTimeSpan value,HSTRING media_market_type,HSTRING text,__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker **marker) {
2488 return This->lpVtbl->Create(This,value,media_market_type,text,marker);
2489 }
2490 #endif
2491 #ifdef WIDL_using_Windows_Media_Playback
2492 #define IID_IPlaybackMediaMarkerFactory IID___x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory
2493 #define IPlaybackMediaMarkerFactoryVtbl __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactoryVtbl
2494 #define IPlaybackMediaMarkerFactory __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory
2495 #define IPlaybackMediaMarkerFactory_QueryInterface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_QueryInterface
2496 #define IPlaybackMediaMarkerFactory_AddRef __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_AddRef
2497 #define IPlaybackMediaMarkerFactory_Release __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_Release
2498 #define IPlaybackMediaMarkerFactory_GetIids __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_GetIids
2499 #define IPlaybackMediaMarkerFactory_GetRuntimeClassName __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_GetRuntimeClassName
2500 #define IPlaybackMediaMarkerFactory_GetTrustLevel __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_GetTrustLevel
2501 #define IPlaybackMediaMarkerFactory_CreateFromTime __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_CreateFromTime
2502 #define IPlaybackMediaMarkerFactory_Create __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_Create
2503 #endif /* WIDL_using_Windows_Media_Playback */
2504 #endif
2505
2506 #endif
2507
2508 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerFactory_INTERFACE_DEFINED__ */
2509 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2510
2511 /*****************************************************************************
2512 * IPlaybackMediaMarkerReachedEventArgs interface
2513 */
2514 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2515 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_INTERFACE_DEFINED__
2516 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_INTERFACE_DEFINED__
2517
2518 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs, 0x578cd1b9, 0x90e2, 0x4e60, 0xab,0xc4, 0x87,0x40,0xb0,0x1f,0x61,0x96);
2519 #if defined(__cplusplus) && !defined(CINTERFACE)
2520 } /* extern "C" */
2521 namespace ABI {
2522 namespace Windows {
2523 namespace Media {
2524 namespace Playback {
2525 MIDL_INTERFACE("578cd1b9-90e2-4e60-abc4-8740b01f6196")
2526 IPlaybackMediaMarkerReachedEventArgs : public IInspectable
2527 {
2528 virtual HRESULT STDMETHODCALLTYPE get_PlaybackMediaMarker(
2529 ABI::Windows::Media::Playback::IPlaybackMediaMarker **value) = 0;
2530
2531 };
2532 }
2533 }
2534 }
2535 }
2536 extern "C" {
2537 #ifdef __CRT_UUID_DECL
2538 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs, 0x578cd1b9, 0x90e2, 0x4e60, 0xab,0xc4, 0x87,0x40,0xb0,0x1f,0x61,0x96)
2539 #endif
2540 #else
2541 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgsVtbl {
2542 BEGIN_INTERFACE
2543
2544 /*** IUnknown methods ***/
2545 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2546 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs *This,
2547 REFIID riid,
2548 void **ppvObject);
2549
2550 ULONG (STDMETHODCALLTYPE *AddRef)(
2551 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs *This);
2552
2553 ULONG (STDMETHODCALLTYPE *Release)(
2554 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs *This);
2555
2556 /*** IInspectable methods ***/
2557 HRESULT (STDMETHODCALLTYPE *GetIids)(
2558 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs *This,
2559 ULONG *iidCount,
2560 IID **iids);
2561
2562 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2563 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs *This,
2564 HSTRING *className);
2565
2566 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2567 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs *This,
2568 TrustLevel *trustLevel);
2569
2570 /*** IPlaybackMediaMarkerReachedEventArgs methods ***/
2571 HRESULT (STDMETHODCALLTYPE *get_PlaybackMediaMarker)(
2572 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs *This,
2573 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker **value);
2574
2575 END_INTERFACE
2576 } __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgsVtbl;
2577
2578 interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs {
2579 CONST_VTBL __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgsVtbl* lpVtbl;
2580 };
2581
2582 #ifdef COBJMACROS
2583 #ifndef WIDL_C_INLINE_WRAPPERS
2584 /*** IUnknown methods ***/
2585 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2586 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
2587 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_Release(This) (This)->lpVtbl->Release(This)
2588 /*** IInspectable methods ***/
2589 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2590 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2591 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2592 /*** IPlaybackMediaMarkerReachedEventArgs methods ***/
2593 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_get_PlaybackMediaMarker(This,value) (This)->lpVtbl->get_PlaybackMediaMarker(This,value)
2594 #else
2595 /*** IUnknown methods ***/
2596 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_QueryInterface(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs* This,REFIID riid,void **ppvObject) {
2597 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2598 }
2599 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_AddRef(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs* This) {
2600 return This->lpVtbl->AddRef(This);
2601 }
2602 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_Release(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs* This) {
2603 return This->lpVtbl->Release(This);
2604 }
2605 /*** IInspectable methods ***/
2606 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_GetIids(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs* This,ULONG *iidCount,IID **iids) {
2607 return This->lpVtbl->GetIids(This,iidCount,iids);
2608 }
2609 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs* This,HSTRING *className) {
2610 return This->lpVtbl->GetRuntimeClassName(This,className);
2611 }
2612 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_GetTrustLevel(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs* This,TrustLevel *trustLevel) {
2613 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2614 }
2615 /*** IPlaybackMediaMarkerReachedEventArgs methods ***/
2616 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_get_PlaybackMediaMarker(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs* This,__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker **value) {
2617 return This->lpVtbl->get_PlaybackMediaMarker(This,value);
2618 }
2619 #endif
2620 #ifdef WIDL_using_Windows_Media_Playback
2621 #define IID_IPlaybackMediaMarkerReachedEventArgs IID___x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs
2622 #define IPlaybackMediaMarkerReachedEventArgsVtbl __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgsVtbl
2623 #define IPlaybackMediaMarkerReachedEventArgs __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs
2624 #define IPlaybackMediaMarkerReachedEventArgs_QueryInterface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_QueryInterface
2625 #define IPlaybackMediaMarkerReachedEventArgs_AddRef __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_AddRef
2626 #define IPlaybackMediaMarkerReachedEventArgs_Release __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_Release
2627 #define IPlaybackMediaMarkerReachedEventArgs_GetIids __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_GetIids
2628 #define IPlaybackMediaMarkerReachedEventArgs_GetRuntimeClassName __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_GetRuntimeClassName
2629 #define IPlaybackMediaMarkerReachedEventArgs_GetTrustLevel __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_GetTrustLevel
2630 #define IPlaybackMediaMarkerReachedEventArgs_get_PlaybackMediaMarker __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_get_PlaybackMediaMarker
2631 #endif /* WIDL_using_Windows_Media_Playback */
2632 #endif
2633
2634 #endif
2635
2636 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs_INTERFACE_DEFINED__ */
2637 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2638
2639 /*****************************************************************************
2640 * IPlaybackMediaMarkerSequence interface
2641 */
2642 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2643 #ifndef ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_INTERFACE_DEFINED__
2644 #define ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_INTERFACE_DEFINED__
2645
2646 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence, 0xf2810cee, 0x638b, 0x46cf, 0x88,0x17, 0x1d,0x11,0x1f,0xe9,0xd8,0xc4);
2647 #if defined(__cplusplus) && !defined(CINTERFACE)
2648 } /* extern "C" */
2649 namespace ABI {
2650 namespace Windows {
2651 namespace Media {
2652 namespace Playback {
2653 MIDL_INTERFACE("f2810cee-638b-46cf-8817-1d111fe9d8c4")
2654 IPlaybackMediaMarkerSequence : public IInspectable
2655 {
2656 virtual HRESULT STDMETHODCALLTYPE get_Size(
2657 UINT32 *value) = 0;
2658
2659 virtual HRESULT STDMETHODCALLTYPE Insert(
2660 ABI::Windows::Media::Playback::IPlaybackMediaMarker *value) = 0;
2661
2662 virtual HRESULT STDMETHODCALLTYPE Clear(
2663 ) = 0;
2664
2665 };
2666 }
2667 }
2668 }
2669 }
2670 extern "C" {
2671 #ifdef __CRT_UUID_DECL
2672 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence, 0xf2810cee, 0x638b, 0x46cf, 0x88,0x17, 0x1d,0x11,0x1f,0xe9,0xd8,0xc4)
2673 #endif
2674 #else
2675 typedef struct __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequenceVtbl {
2676 BEGIN_INTERFACE
2677
2678 /*** IUnknown methods ***/
2679 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2680 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence *This,
2681 REFIID riid,
2682 void **ppvObject);
2683
2684 ULONG (STDMETHODCALLTYPE *AddRef)(
2685 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence *This);
2686
2687 ULONG (STDMETHODCALLTYPE *Release)(
2688 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence *This);
2689
2690 /*** IInspectable methods ***/
2691 HRESULT (STDMETHODCALLTYPE *GetIids)(
2692 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence *This,
2693 ULONG *iidCount,
2694 IID **iids);
2695
2696 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2697 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence *This,
2698 HSTRING *className);
2699
2700 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2701 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence *This,
2702 TrustLevel *trustLevel);
2703
2704 /*** IPlaybackMediaMarkerSequence methods ***/
2705 HRESULT (STDMETHODCALLTYPE *get_Size)(
2706 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence *This,
2707 UINT32 *value);
2708
2709 HRESULT (STDMETHODCALLTYPE *Insert)(
2710 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence *This,
2711 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *value);
2712
2713 HRESULT (STDMETHODCALLTYPE *Clear)(
2714 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence *This);
2715
2716 END_INTERFACE
2717 } __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequenceVtbl;
2718
2719 interface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence {
2720 CONST_VTBL __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequenceVtbl* lpVtbl;
2721 };
2722
2723 #ifdef COBJMACROS
2724 #ifndef WIDL_C_INLINE_WRAPPERS
2725 /*** IUnknown methods ***/
2726 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2727 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_AddRef(This) (This)->lpVtbl->AddRef(This)
2728 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_Release(This) (This)->lpVtbl->Release(This)
2729 /*** IInspectable methods ***/
2730 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2731 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2732 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2733 /*** IPlaybackMediaMarkerSequence methods ***/
2734 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
2735 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_Insert(This,value) (This)->lpVtbl->Insert(This,value)
2736 #define __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_Clear(This) (This)->lpVtbl->Clear(This)
2737 #else
2738 /*** IUnknown methods ***/
2739 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_QueryInterface(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence* This,REFIID riid,void **ppvObject) {
2740 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2741 }
2742 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_AddRef(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence* This) {
2743 return This->lpVtbl->AddRef(This);
2744 }
2745 static inline ULONG __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_Release(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence* This) {
2746 return This->lpVtbl->Release(This);
2747 }
2748 /*** IInspectable methods ***/
2749 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_GetIids(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence* This,ULONG *iidCount,IID **iids) {
2750 return This->lpVtbl->GetIids(This,iidCount,iids);
2751 }
2752 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence* This,HSTRING *className) {
2753 return This->lpVtbl->GetRuntimeClassName(This,className);
2754 }
2755 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_GetTrustLevel(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence* This,TrustLevel *trustLevel) {
2756 return This->lpVtbl->GetTrustLevel(This,trustLevel);
2757 }
2758 /*** IPlaybackMediaMarkerSequence methods ***/
2759 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_get_Size(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence* This,UINT32 *value) {
2760 return This->lpVtbl->get_Size(This,value);
2761 }
2762 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_Insert(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence* This,__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker *value) {
2763 return This->lpVtbl->Insert(This,value);
2764 }
2765 static inline HRESULT __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_Clear(__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence* This) {
2766 return This->lpVtbl->Clear(This);
2767 }
2768 #endif
2769 #ifdef WIDL_using_Windows_Media_Playback
2770 #define IID_IPlaybackMediaMarkerSequence IID___x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence
2771 #define IPlaybackMediaMarkerSequenceVtbl __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequenceVtbl
2772 #define IPlaybackMediaMarkerSequence __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence
2773 #define IPlaybackMediaMarkerSequence_QueryInterface __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_QueryInterface
2774 #define IPlaybackMediaMarkerSequence_AddRef __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_AddRef
2775 #define IPlaybackMediaMarkerSequence_Release __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_Release
2776 #define IPlaybackMediaMarkerSequence_GetIids __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_GetIids
2777 #define IPlaybackMediaMarkerSequence_GetRuntimeClassName __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_GetRuntimeClassName
2778 #define IPlaybackMediaMarkerSequence_GetTrustLevel __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_GetTrustLevel
2779 #define IPlaybackMediaMarkerSequence_get_Size __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_get_Size
2780 #define IPlaybackMediaMarkerSequence_Insert __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_Insert
2781 #define IPlaybackMediaMarkerSequence_Clear __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_Clear
2782 #endif /* WIDL_using_Windows_Media_Playback */
2783 #endif
2784
2785 #endif
2786
2787 #endif /* ____x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerSequence_INTERFACE_DEFINED__ */
2788 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2789
2790 /*
2791 * Class Windows.Media.Playback.BackgroundMediaPlayer
2792 */
2793 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2794 #ifndef RUNTIMECLASS_Windows_Media_Playback_BackgroundMediaPlayer_DEFINED
2795 #define RUNTIMECLASS_Windows_Media_Playback_BackgroundMediaPlayer_DEFINED
2796 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2797 static const WCHAR RuntimeClass_Windows_Media_Playback_BackgroundMediaPlayer[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','B','a','c','k','g','r','o','u','n','d','M','e','d','i','a','P','l','a','y','e','r',0};
2798 #elif defined(__GNUC__) && !defined(__cplusplus)
2799 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_BackgroundMediaPlayer[] = L"Windows.Media.Playback.BackgroundMediaPlayer";
2800 #else
2801 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_BackgroundMediaPlayer[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','B','a','c','k','g','r','o','u','n','d','M','e','d','i','a','P','l','a','y','e','r',0};
2802 #endif
2803 #endif /* RUNTIMECLASS_Windows_Media_Playback_BackgroundMediaPlayer_DEFINED */
2804 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2805
2806 /*
2807 * Class Windows.Media.Playback.MediaPlayer
2808 */
2809 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2810 #ifndef RUNTIMECLASS_Windows_Media_Playback_MediaPlayer_DEFINED
2811 #define RUNTIMECLASS_Windows_Media_Playback_MediaPlayer_DEFINED
2812 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2813 static const WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayer[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','M','e','d','i','a','P','l','a','y','e','r',0};
2814 #elif defined(__GNUC__) && !defined(__cplusplus)
2815 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayer[] = L"Windows.Media.Playback.MediaPlayer";
2816 #else
2817 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayer[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','M','e','d','i','a','P','l','a','y','e','r',0};
2818 #endif
2819 #endif /* RUNTIMECLASS_Windows_Media_Playback_MediaPlayer_DEFINED */
2820 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2821
2822 /*
2823 * Class Windows.Media.Playback.MediaPlayerDataReceivedEventArgs
2824 */
2825 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2826 #ifndef RUNTIMECLASS_Windows_Media_Playback_MediaPlayerDataReceivedEventArgs_DEFINED
2827 #define RUNTIMECLASS_Windows_Media_Playback_MediaPlayerDataReceivedEventArgs_DEFINED
2828 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2829 static const WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayerDataReceivedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','M','e','d','i','a','P','l','a','y','e','r','D','a','t','a','R','e','c','e','i','v','e','d','E','v','e','n','t','A','r','g','s',0};
2830 #elif defined(__GNUC__) && !defined(__cplusplus)
2831 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayerDataReceivedEventArgs[] = L"Windows.Media.Playback.MediaPlayerDataReceivedEventArgs";
2832 #else
2833 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayerDataReceivedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','M','e','d','i','a','P','l','a','y','e','r','D','a','t','a','R','e','c','e','i','v','e','d','E','v','e','n','t','A','r','g','s',0};
2834 #endif
2835 #endif /* RUNTIMECLASS_Windows_Media_Playback_MediaPlayerDataReceivedEventArgs_DEFINED */
2836 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2837
2838 /*
2839 * Class Windows.Media.Playback.MediaPlayerFailedEventArgs
2840 */
2841 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2842 #ifndef RUNTIMECLASS_Windows_Media_Playback_MediaPlayerFailedEventArgs_DEFINED
2843 #define RUNTIMECLASS_Windows_Media_Playback_MediaPlayerFailedEventArgs_DEFINED
2844 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2845 static const WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayerFailedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','M','e','d','i','a','P','l','a','y','e','r','F','a','i','l','e','d','E','v','e','n','t','A','r','g','s',0};
2846 #elif defined(__GNUC__) && !defined(__cplusplus)
2847 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayerFailedEventArgs[] = L"Windows.Media.Playback.MediaPlayerFailedEventArgs";
2848 #else
2849 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayerFailedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','M','e','d','i','a','P','l','a','y','e','r','F','a','i','l','e','d','E','v','e','n','t','A','r','g','s',0};
2850 #endif
2851 #endif /* RUNTIMECLASS_Windows_Media_Playback_MediaPlayerFailedEventArgs_DEFINED */
2852 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2853
2854 /*
2855 * Class Windows.Media.Playback.MediaPlayerRateChangedEventArgs
2856 */
2857 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2858 #ifndef RUNTIMECLASS_Windows_Media_Playback_MediaPlayerRateChangedEventArgs_DEFINED
2859 #define RUNTIMECLASS_Windows_Media_Playback_MediaPlayerRateChangedEventArgs_DEFINED
2860 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2861 static const WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayerRateChangedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','M','e','d','i','a','P','l','a','y','e','r','R','a','t','e','C','h','a','n','g','e','d','E','v','e','n','t','A','r','g','s',0};
2862 #elif defined(__GNUC__) && !defined(__cplusplus)
2863 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayerRateChangedEventArgs[] = L"Windows.Media.Playback.MediaPlayerRateChangedEventArgs";
2864 #else
2865 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_MediaPlayerRateChangedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','M','e','d','i','a','P','l','a','y','e','r','R','a','t','e','C','h','a','n','g','e','d','E','v','e','n','t','A','r','g','s',0};
2866 #endif
2867 #endif /* RUNTIMECLASS_Windows_Media_Playback_MediaPlayerRateChangedEventArgs_DEFINED */
2868 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2869
2870 /*
2871 * Class Windows.Media.Playback.PlaybackMediaMarker
2872 */
2873 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2874 #ifndef RUNTIMECLASS_Windows_Media_Playback_PlaybackMediaMarker_DEFINED
2875 #define RUNTIMECLASS_Windows_Media_Playback_PlaybackMediaMarker_DEFINED
2876 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2877 static const WCHAR RuntimeClass_Windows_Media_Playback_PlaybackMediaMarker[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','P','l','a','y','b','a','c','k','M','e','d','i','a','M','a','r','k','e','r',0};
2878 #elif defined(__GNUC__) && !defined(__cplusplus)
2879 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_PlaybackMediaMarker[] = L"Windows.Media.Playback.PlaybackMediaMarker";
2880 #else
2881 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_PlaybackMediaMarker[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','P','l','a','y','b','a','c','k','M','e','d','i','a','M','a','r','k','e','r',0};
2882 #endif
2883 #endif /* RUNTIMECLASS_Windows_Media_Playback_PlaybackMediaMarker_DEFINED */
2884 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2885
2886 /*
2887 * Class Windows.Media.Playback.PlaybackMediaMarkerSequence
2888 */
2889 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2890 #ifndef RUNTIMECLASS_Windows_Media_Playback_PlaybackMediaMarkerSequence_DEFINED
2891 #define RUNTIMECLASS_Windows_Media_Playback_PlaybackMediaMarkerSequence_DEFINED
2892 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2893 static const WCHAR RuntimeClass_Windows_Media_Playback_PlaybackMediaMarkerSequence[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','P','l','a','y','b','a','c','k','M','e','d','i','a','M','a','r','k','e','r','S','e','q','u','e','n','c','e',0};
2894 #elif defined(__GNUC__) && !defined(__cplusplus)
2895 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_PlaybackMediaMarkerSequence[] = L"Windows.Media.Playback.PlaybackMediaMarkerSequence";
2896 #else
2897 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_PlaybackMediaMarkerSequence[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','P','l','a','y','b','a','c','k','M','e','d','i','a','M','a','r','k','e','r','S','e','q','u','e','n','c','e',0};
2898 #endif
2899 #endif /* RUNTIMECLASS_Windows_Media_Playback_PlaybackMediaMarkerSequence_DEFINED */
2900 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2901
2902 /*
2903 * Class Windows.Media.Playback.PlaybackMediaMarkerReachedEventArgs
2904 */
2905 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
2906 #ifndef RUNTIMECLASS_Windows_Media_Playback_PlaybackMediaMarkerReachedEventArgs_DEFINED
2907 #define RUNTIMECLASS_Windows_Media_Playback_PlaybackMediaMarkerReachedEventArgs_DEFINED
2908 #if !defined(_MSC_VER) && !defined(__MINGW32__)
2909 static const WCHAR RuntimeClass_Windows_Media_Playback_PlaybackMediaMarkerReachedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','P','l','a','y','b','a','c','k','M','e','d','i','a','M','a','r','k','e','r','R','e','a','c','h','e','d','E','v','e','n','t','A','r','g','s',0};
2910 #elif defined(__GNUC__) && !defined(__cplusplus)
2911 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_PlaybackMediaMarkerReachedEventArgs[] = L"Windows.Media.Playback.PlaybackMediaMarkerReachedEventArgs";
2912 #else
2913 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Playback_PlaybackMediaMarkerReachedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','P','l','a','y','b','a','c','k','.','P','l','a','y','b','a','c','k','M','e','d','i','a','M','a','r','k','e','r','R','e','a','c','h','e','d','E','v','e','n','t','A','r','g','s',0};
2914 #endif
2915 #endif /* RUNTIMECLASS_Windows_Media_Playback_PlaybackMediaMarkerReachedEventArgs_DEFINED */
2916 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
2917
2918 /*****************************************************************************
2919 * IIterable<ABI::Windows::Media::Playback::PlaybackMediaMarker* > interface
2920 */
2921 #ifndef ____FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_INTERFACE_DEFINED__
2922 #define ____FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_INTERFACE_DEFINED__
2923
2924 DEFINE_GUID(IID___FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker, 0xdeeccfe9, 0x6c01, 0x576f, 0x95,0xf2, 0x93,0x51,0x5a,0xe4,0x0e,0xbf);
2925 #if defined(__cplusplus) && !defined(CINTERFACE)
2926 } /* extern "C" */
2927 namespace ABI {
2928 namespace Windows {
2929 namespace Foundation {
2930 namespace Collections {
2931 template<>
2932 MIDL_INTERFACE("deeccfe9-6c01-576f-95f2-93515ae40ebf")
2933 IIterable<ABI::Windows::Media::Playback::PlaybackMediaMarker* > : IIterable_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Playback::PlaybackMediaMarker*, ABI::Windows::Media::Playback::IPlaybackMediaMarker* > >
2934 {
2935 };
2936 }
2937 }
2938 }
2939 }
2940 extern "C" {
2941 #ifdef __CRT_UUID_DECL
2942 __CRT_UUID_DECL(__FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker, 0xdeeccfe9, 0x6c01, 0x576f, 0x95,0xf2, 0x93,0x51,0x5a,0xe4,0x0e,0xbf)
2943 #endif
2944 #else
2945 typedef struct __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarkerVtbl {
2946 BEGIN_INTERFACE
2947
2948 /*** IUnknown methods ***/
2949 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2950 __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
2951 REFIID riid,
2952 void **ppvObject);
2953
2954 ULONG (STDMETHODCALLTYPE *AddRef)(
2955 __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This);
2956
2957 ULONG (STDMETHODCALLTYPE *Release)(
2958 __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This);
2959
2960 /*** IInspectable methods ***/
2961 HRESULT (STDMETHODCALLTYPE *GetIids)(
2962 __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
2963 ULONG *iidCount,
2964 IID **iids);
2965
2966 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
2967 __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
2968 HSTRING *className);
2969
2970 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
2971 __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
2972 TrustLevel *trustLevel);
2973
2974 /*** IIterable<ABI::Windows::Media::Playback::PlaybackMediaMarker* > methods ***/
2975 HRESULT (STDMETHODCALLTYPE *First)(
2976 __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
2977 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker **value);
2978
2979 END_INTERFACE
2980 } __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarkerVtbl;
2981
2982 interface __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker {
2983 CONST_VTBL __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarkerVtbl* lpVtbl;
2984 };
2985
2986 #ifdef COBJMACROS
2987 #ifndef WIDL_C_INLINE_WRAPPERS
2988 /*** IUnknown methods ***/
2989 #define __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2990 #define __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_AddRef(This) (This)->lpVtbl->AddRef(This)
2991 #define __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_Release(This) (This)->lpVtbl->Release(This)
2992 /*** IInspectable methods ***/
2993 #define __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
2994 #define __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
2995 #define __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
2996 /*** IIterable<ABI::Windows::Media::Playback::PlaybackMediaMarker* > methods ***/
2997 #define __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_First(This,value) (This)->lpVtbl->First(This,value)
2998 #else
2999 /*** IUnknown methods ***/
3000 static inline HRESULT __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_QueryInterface(__FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,REFIID riid,void **ppvObject) {
3001 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3002 }
3003 static inline ULONG __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_AddRef(__FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This) {
3004 return This->lpVtbl->AddRef(This);
3005 }
3006 static inline ULONG __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_Release(__FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This) {
3007 return This->lpVtbl->Release(This);
3008 }
3009 /*** IInspectable methods ***/
3010 static inline HRESULT __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetIids(__FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,ULONG *iidCount,IID **iids) {
3011 return This->lpVtbl->GetIids(This,iidCount,iids);
3012 }
3013 static inline HRESULT __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetRuntimeClassName(__FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,HSTRING *className) {
3014 return This->lpVtbl->GetRuntimeClassName(This,className);
3015 }
3016 static inline HRESULT __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetTrustLevel(__FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,TrustLevel *trustLevel) {
3017 return This->lpVtbl->GetTrustLevel(This,trustLevel);
3018 }
3019 /*** IIterable<ABI::Windows::Media::Playback::PlaybackMediaMarker* > methods ***/
3020 static inline HRESULT __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_First(__FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker **value) {
3021 return This->lpVtbl->First(This,value);
3022 }
3023 #endif
3024 #ifdef WIDL_using_Windows_Foundation_Collections
3025 #define IID_IIterable_PlaybackMediaMarker IID___FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker
3026 #define IIterable_PlaybackMediaMarkerVtbl __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarkerVtbl
3027 #define IIterable_PlaybackMediaMarker __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker
3028 #define IIterable_PlaybackMediaMarker_QueryInterface __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_QueryInterface
3029 #define IIterable_PlaybackMediaMarker_AddRef __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_AddRef
3030 #define IIterable_PlaybackMediaMarker_Release __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_Release
3031 #define IIterable_PlaybackMediaMarker_GetIids __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetIids
3032 #define IIterable_PlaybackMediaMarker_GetRuntimeClassName __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetRuntimeClassName
3033 #define IIterable_PlaybackMediaMarker_GetTrustLevel __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetTrustLevel
3034 #define IIterable_PlaybackMediaMarker_First __FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_First
3035 #endif /* WIDL_using_Windows_Foundation_Collections */
3036 #endif
3037
3038 #endif
3039
3040 #endif /* ____FIIterable_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_INTERFACE_DEFINED__ */
3041
3042 /*****************************************************************************
3043 * IIterator<ABI::Windows::Media::Playback::PlaybackMediaMarker* > interface
3044 */
3045 #ifndef ____FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_INTERFACE_DEFINED__
3046 #define ____FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_INTERFACE_DEFINED__
3047
3048 DEFINE_GUID(IID___FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker, 0x28607d6b, 0xdaa4, 0x5eef, 0x9f,0x81, 0xcc,0x08,0xa8,0x29,0x71,0x82);
3049 #if defined(__cplusplus) && !defined(CINTERFACE)
3050 } /* extern "C" */
3051 namespace ABI {
3052 namespace Windows {
3053 namespace Foundation {
3054 namespace Collections {
3055 template<>
3056 MIDL_INTERFACE("28607d6b-daa4-5eef-9f81-cc08a8297182")
3057 IIterator<ABI::Windows::Media::Playback::PlaybackMediaMarker* > : IIterator_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Playback::PlaybackMediaMarker*, ABI::Windows::Media::Playback::IPlaybackMediaMarker* > >
3058 {
3059 };
3060 }
3061 }
3062 }
3063 }
3064 extern "C" {
3065 #ifdef __CRT_UUID_DECL
3066 __CRT_UUID_DECL(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker, 0x28607d6b, 0xdaa4, 0x5eef, 0x9f,0x81, 0xcc,0x08,0xa8,0x29,0x71,0x82)
3067 #endif
3068 #else
3069 typedef struct __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarkerVtbl {
3070 BEGIN_INTERFACE
3071
3072 /*** IUnknown methods ***/
3073 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3074 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
3075 REFIID riid,
3076 void **ppvObject);
3077
3078 ULONG (STDMETHODCALLTYPE *AddRef)(
3079 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This);
3080
3081 ULONG (STDMETHODCALLTYPE *Release)(
3082 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This);
3083
3084 /*** IInspectable methods ***/
3085 HRESULT (STDMETHODCALLTYPE *GetIids)(
3086 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
3087 ULONG *iidCount,
3088 IID **iids);
3089
3090 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
3091 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
3092 HSTRING *className);
3093
3094 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
3095 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
3096 TrustLevel *trustLevel);
3097
3098 /*** IIterator<ABI::Windows::Media::Playback::PlaybackMediaMarker* > methods ***/
3099 HRESULT (STDMETHODCALLTYPE *get_Current)(
3100 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
3101 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker **value);
3102
3103 HRESULT (STDMETHODCALLTYPE *get_HasCurrent)(
3104 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
3105 boolean *value);
3106
3107 HRESULT (STDMETHODCALLTYPE *MoveNext)(
3108 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
3109 boolean *value);
3110
3111 HRESULT (STDMETHODCALLTYPE *GetMany)(
3112 __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker *This,
3113 UINT32 items_size,
3114 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker **items,
3115 UINT32 *value);
3116
3117 END_INTERFACE
3118 } __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarkerVtbl;
3119
3120 interface __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker {
3121 CONST_VTBL __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarkerVtbl* lpVtbl;
3122 };
3123
3124 #ifdef COBJMACROS
3125 #ifndef WIDL_C_INLINE_WRAPPERS
3126 /*** IUnknown methods ***/
3127 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3128 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_AddRef(This) (This)->lpVtbl->AddRef(This)
3129 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_Release(This) (This)->lpVtbl->Release(This)
3130 /*** IInspectable methods ***/
3131 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
3132 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
3133 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
3134 /*** IIterator<ABI::Windows::Media::Playback::PlaybackMediaMarker* > methods ***/
3135 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_get_Current(This,value) (This)->lpVtbl->get_Current(This,value)
3136 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_get_HasCurrent(This,value) (This)->lpVtbl->get_HasCurrent(This,value)
3137 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_MoveNext(This,value) (This)->lpVtbl->MoveNext(This,value)
3138 #define __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetMany(This,items_size,items,value) (This)->lpVtbl->GetMany(This,items_size,items,value)
3139 #else
3140 /*** IUnknown methods ***/
3141 static inline HRESULT __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_QueryInterface(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,REFIID riid,void **ppvObject) {
3142 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3143 }
3144 static inline ULONG __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_AddRef(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This) {
3145 return This->lpVtbl->AddRef(This);
3146 }
3147 static inline ULONG __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_Release(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This) {
3148 return This->lpVtbl->Release(This);
3149 }
3150 /*** IInspectable methods ***/
3151 static inline HRESULT __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetIids(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,ULONG *iidCount,IID **iids) {
3152 return This->lpVtbl->GetIids(This,iidCount,iids);
3153 }
3154 static inline HRESULT __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetRuntimeClassName(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,HSTRING *className) {
3155 return This->lpVtbl->GetRuntimeClassName(This,className);
3156 }
3157 static inline HRESULT __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetTrustLevel(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,TrustLevel *trustLevel) {
3158 return This->lpVtbl->GetTrustLevel(This,trustLevel);
3159 }
3160 /*** IIterator<ABI::Windows::Media::Playback::PlaybackMediaMarker* > methods ***/
3161 static inline HRESULT __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_get_Current(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker **value) {
3162 return This->lpVtbl->get_Current(This,value);
3163 }
3164 static inline HRESULT __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_get_HasCurrent(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,boolean *value) {
3165 return This->lpVtbl->get_HasCurrent(This,value);
3166 }
3167 static inline HRESULT __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_MoveNext(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,boolean *value) {
3168 return This->lpVtbl->MoveNext(This,value);
3169 }
3170 static inline HRESULT __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetMany(__FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker* This,UINT32 items_size,__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarker **items,UINT32 *value) {
3171 return This->lpVtbl->GetMany(This,items_size,items,value);
3172 }
3173 #endif
3174 #ifdef WIDL_using_Windows_Foundation_Collections
3175 #define IID_IIterator_PlaybackMediaMarker IID___FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker
3176 #define IIterator_PlaybackMediaMarkerVtbl __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarkerVtbl
3177 #define IIterator_PlaybackMediaMarker __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker
3178 #define IIterator_PlaybackMediaMarker_QueryInterface __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_QueryInterface
3179 #define IIterator_PlaybackMediaMarker_AddRef __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_AddRef
3180 #define IIterator_PlaybackMediaMarker_Release __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_Release
3181 #define IIterator_PlaybackMediaMarker_GetIids __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetIids
3182 #define IIterator_PlaybackMediaMarker_GetRuntimeClassName __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetRuntimeClassName
3183 #define IIterator_PlaybackMediaMarker_GetTrustLevel __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetTrustLevel
3184 #define IIterator_PlaybackMediaMarker_get_Current __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_get_Current
3185 #define IIterator_PlaybackMediaMarker_get_HasCurrent __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_get_HasCurrent
3186 #define IIterator_PlaybackMediaMarker_MoveNext __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_MoveNext
3187 #define IIterator_PlaybackMediaMarker_GetMany __FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_GetMany
3188 #endif /* WIDL_using_Windows_Foundation_Collections */
3189 #endif
3190
3191 #endif
3192
3193 #endif /* ____FIIterator_1_Windows__CMedia__CPlayback__CPlaybackMediaMarker_INTERFACE_DEFINED__ */
3194
3195 /*****************************************************************************
3196 * IEventHandler<ABI::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs* > interface
3197 */
3198 #ifndef ____FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_INTERFACE_DEFINED__
3199 #define ____FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_INTERFACE_DEFINED__
3200
3201 DEFINE_GUID(IID___FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs, 0x078fc818, 0x19f5, 0x5b8a, 0xac,0x82, 0x25,0x19,0x3b,0xea,0x56,0xee);
3202 #if defined(__cplusplus) && !defined(CINTERFACE)
3203 } /* extern "C" */
3204 namespace ABI {
3205 namespace Windows {
3206 namespace Foundation {
3207 template<>
3208 MIDL_INTERFACE("078fc818-19f5-5b8a-ac82-25193bea56ee")
3209 IEventHandler<ABI::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs* > : IEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs*, ABI::Windows::Media::Playback::IMediaPlayerDataReceivedEventArgs* > >
3210 {
3211 };
3212 }
3213 }
3214 }
3215 extern "C" {
3216 #ifdef __CRT_UUID_DECL
3217 __CRT_UUID_DECL(__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs, 0x078fc818, 0x19f5, 0x5b8a, 0xac,0x82, 0x25,0x19,0x3b,0xea,0x56,0xee)
3218 #endif
3219 #else
3220 typedef struct __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgsVtbl {
3221 BEGIN_INTERFACE
3222
3223 /*** IUnknown methods ***/
3224 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3225 __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs *This,
3226 REFIID riid,
3227 void **ppvObject);
3228
3229 ULONG (STDMETHODCALLTYPE *AddRef)(
3230 __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs *This);
3231
3232 ULONG (STDMETHODCALLTYPE *Release)(
3233 __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs *This);
3234
3235 /*** IEventHandler<ABI::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs* > methods ***/
3236 HRESULT (STDMETHODCALLTYPE *Invoke)(
3237 __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs *This,
3238 IInspectable *sender,
3239 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs *args);
3240
3241 END_INTERFACE
3242 } __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgsVtbl;
3243
3244 interface __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs {
3245 CONST_VTBL __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgsVtbl* lpVtbl;
3246 };
3247
3248 #ifdef COBJMACROS
3249 #ifndef WIDL_C_INLINE_WRAPPERS
3250 /*** IUnknown methods ***/
3251 #define __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3252 #define __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
3253 #define __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_Release(This) (This)->lpVtbl->Release(This)
3254 /*** IEventHandler<ABI::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs* > methods ***/
3255 #define __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
3256 #else
3257 /*** IUnknown methods ***/
3258 static inline HRESULT __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_QueryInterface(__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs* This,REFIID riid,void **ppvObject) {
3259 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3260 }
3261 static inline ULONG __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_AddRef(__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs* This) {
3262 return This->lpVtbl->AddRef(This);
3263 }
3264 static inline ULONG __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_Release(__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs* This) {
3265 return This->lpVtbl->Release(This);
3266 }
3267 /*** IEventHandler<ABI::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs* > methods ***/
3268 static inline HRESULT __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_Invoke(__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs* This,IInspectable *sender,__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerDataReceivedEventArgs *args) {
3269 return This->lpVtbl->Invoke(This,sender,args);
3270 }
3271 #endif
3272 #ifdef WIDL_using_Windows_Foundation
3273 #define IID_IEventHandler_MediaPlayerDataReceivedEventArgs IID___FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs
3274 #define IEventHandler_MediaPlayerDataReceivedEventArgsVtbl __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgsVtbl
3275 #define IEventHandler_MediaPlayerDataReceivedEventArgs __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs
3276 #define IEventHandler_MediaPlayerDataReceivedEventArgs_QueryInterface __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_QueryInterface
3277 #define IEventHandler_MediaPlayerDataReceivedEventArgs_AddRef __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_AddRef
3278 #define IEventHandler_MediaPlayerDataReceivedEventArgs_Release __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_Release
3279 #define IEventHandler_MediaPlayerDataReceivedEventArgs_Invoke __FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_Invoke
3280 #endif /* WIDL_using_Windows_Foundation */
3281 #endif
3282
3283 #endif
3284
3285 #endif /* ____FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_INTERFACE_DEFINED__ */
3286
3287 /*****************************************************************************
3288 * ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > interface
3289 */
3290 #ifndef ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_INTERFACE_DEFINED__
3291 #define ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_INTERFACE_DEFINED__
3292
3293 DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable, 0xf1a6a51e, 0xd078, 0x5c40, 0xba,0x3f, 0x34,0x88,0x70,0xba,0x5c,0x87);
3294 #if defined(__cplusplus) && !defined(CINTERFACE)
3295 } /* extern "C" */
3296 namespace ABI {
3297 namespace Windows {
3298 namespace Foundation {
3299 template<>
3300 MIDL_INTERFACE("f1a6a51e-d078-5c40-ba3f-348870ba5c87")
3301 ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > : ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Playback::MediaPlayer*, ABI::Windows::Media::Playback::IMediaPlayer* >, IInspectable* >
3302 {
3303 };
3304 }
3305 }
3306 }
3307 extern "C" {
3308 #ifdef __CRT_UUID_DECL
3309 __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable, 0xf1a6a51e, 0xd078, 0x5c40, 0xba,0x3f, 0x34,0x88,0x70,0xba,0x5c,0x87)
3310 #endif
3311 #else
3312 typedef struct __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectableVtbl {
3313 BEGIN_INTERFACE
3314
3315 /*** IUnknown methods ***/
3316 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3317 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *This,
3318 REFIID riid,
3319 void **ppvObject);
3320
3321 ULONG (STDMETHODCALLTYPE *AddRef)(
3322 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *This);
3323
3324 ULONG (STDMETHODCALLTYPE *Release)(
3325 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *This);
3326
3327 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > methods ***/
3328 HRESULT (STDMETHODCALLTYPE *Invoke)(
3329 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable *This,
3330 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *sender,
3331 IInspectable *args);
3332
3333 END_INTERFACE
3334 } __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectableVtbl;
3335
3336 interface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable {
3337 CONST_VTBL __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectableVtbl* lpVtbl;
3338 };
3339
3340 #ifdef COBJMACROS
3341 #ifndef WIDL_C_INLINE_WRAPPERS
3342 /*** IUnknown methods ***/
3343 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3344 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_AddRef(This) (This)->lpVtbl->AddRef(This)
3345 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_Release(This) (This)->lpVtbl->Release(This)
3346 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > methods ***/
3347 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
3348 #else
3349 /*** IUnknown methods ***/
3350 static inline HRESULT __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_QueryInterface(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable* This,REFIID riid,void **ppvObject) {
3351 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3352 }
3353 static inline ULONG __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_AddRef(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable* This) {
3354 return This->lpVtbl->AddRef(This);
3355 }
3356 static inline ULONG __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_Release(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable* This) {
3357 return This->lpVtbl->Release(This);
3358 }
3359 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,IInspectable* > methods ***/
3360 static inline HRESULT __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_Invoke(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable* This,__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *sender,IInspectable *args) {
3361 return This->lpVtbl->Invoke(This,sender,args);
3362 }
3363 #endif
3364 #ifdef WIDL_using_Windows_Foundation
3365 #define IID_ITypedEventHandler_MediaPlayer_IInspectable IID___FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable
3366 #define ITypedEventHandler_MediaPlayer_IInspectableVtbl __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectableVtbl
3367 #define ITypedEventHandler_MediaPlayer_IInspectable __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable
3368 #define ITypedEventHandler_MediaPlayer_IInspectable_QueryInterface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_QueryInterface
3369 #define ITypedEventHandler_MediaPlayer_IInspectable_AddRef __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_AddRef
3370 #define ITypedEventHandler_MediaPlayer_IInspectable_Release __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_Release
3371 #define ITypedEventHandler_MediaPlayer_IInspectable_Invoke __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_Invoke
3372 #endif /* WIDL_using_Windows_Foundation */
3373 #endif
3374
3375 #endif
3376
3377 #endif /* ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_INTERFACE_DEFINED__ */
3378
3379 /*****************************************************************************
3380 * ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerFailedEventArgs* > interface
3381 */
3382 #ifndef ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_INTERFACE_DEFINED__
3383 #define ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_INTERFACE_DEFINED__
3384
3385 DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs, 0x362c45a7, 0x3a0a, 0x5e27, 0x99,0xce, 0xcf,0xf6,0xd1,0xb7,0x70,0xe1);
3386 #if defined(__cplusplus) && !defined(CINTERFACE)
3387 } /* extern "C" */
3388 namespace ABI {
3389 namespace Windows {
3390 namespace Foundation {
3391 template<>
3392 MIDL_INTERFACE("362c45a7-3a0a-5e27-99ce-cff6d1b770e1")
3393 ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerFailedEventArgs* > : ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Playback::MediaPlayer*, ABI::Windows::Media::Playback::IMediaPlayer* >, ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Playback::MediaPlayerFailedEventArgs*, ABI::Windows::Media::Playback::IMediaPlayerFailedEventArgs* > >
3394 {
3395 };
3396 }
3397 }
3398 }
3399 extern "C" {
3400 #ifdef __CRT_UUID_DECL
3401 __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs, 0x362c45a7, 0x3a0a, 0x5e27, 0x99,0xce, 0xcf,0xf6,0xd1,0xb7,0x70,0xe1)
3402 #endif
3403 #else
3404 typedef struct __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgsVtbl {
3405 BEGIN_INTERFACE
3406
3407 /*** IUnknown methods ***/
3408 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3409 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs *This,
3410 REFIID riid,
3411 void **ppvObject);
3412
3413 ULONG (STDMETHODCALLTYPE *AddRef)(
3414 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs *This);
3415
3416 ULONG (STDMETHODCALLTYPE *Release)(
3417 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs *This);
3418
3419 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerFailedEventArgs* > methods ***/
3420 HRESULT (STDMETHODCALLTYPE *Invoke)(
3421 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs *This,
3422 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *sender,
3423 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *args);
3424
3425 END_INTERFACE
3426 } __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgsVtbl;
3427
3428 interface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs {
3429 CONST_VTBL __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgsVtbl* lpVtbl;
3430 };
3431
3432 #ifdef COBJMACROS
3433 #ifndef WIDL_C_INLINE_WRAPPERS
3434 /*** IUnknown methods ***/
3435 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3436 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
3437 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_Release(This) (This)->lpVtbl->Release(This)
3438 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerFailedEventArgs* > methods ***/
3439 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
3440 #else
3441 /*** IUnknown methods ***/
3442 static inline HRESULT __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_QueryInterface(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs* This,REFIID riid,void **ppvObject) {
3443 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3444 }
3445 static inline ULONG __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_AddRef(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs* This) {
3446 return This->lpVtbl->AddRef(This);
3447 }
3448 static inline ULONG __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_Release(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs* This) {
3449 return This->lpVtbl->Release(This);
3450 }
3451 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerFailedEventArgs* > methods ***/
3452 static inline HRESULT __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_Invoke(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs* This,__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *sender,__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerFailedEventArgs *args) {
3453 return This->lpVtbl->Invoke(This,sender,args);
3454 }
3455 #endif
3456 #ifdef WIDL_using_Windows_Foundation
3457 #define IID_ITypedEventHandler_MediaPlayer_MediaPlayerFailedEventArgs IID___FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs
3458 #define ITypedEventHandler_MediaPlayer_MediaPlayerFailedEventArgsVtbl __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgsVtbl
3459 #define ITypedEventHandler_MediaPlayer_MediaPlayerFailedEventArgs __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs
3460 #define ITypedEventHandler_MediaPlayer_MediaPlayerFailedEventArgs_QueryInterface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_QueryInterface
3461 #define ITypedEventHandler_MediaPlayer_MediaPlayerFailedEventArgs_AddRef __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_AddRef
3462 #define ITypedEventHandler_MediaPlayer_MediaPlayerFailedEventArgs_Release __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_Release
3463 #define ITypedEventHandler_MediaPlayer_MediaPlayerFailedEventArgs_Invoke __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_Invoke
3464 #endif /* WIDL_using_Windows_Foundation */
3465 #endif
3466
3467 #endif
3468
3469 #endif /* ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_INTERFACE_DEFINED__ */
3470
3471 /*****************************************************************************
3472 * ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerRateChangedEventArgs* > interface
3473 */
3474 #ifndef ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_INTERFACE_DEFINED__
3475 #define ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_INTERFACE_DEFINED__
3476
3477 DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs, 0xba51d31a, 0x5688, 0x5d4d, 0xaf,0x42, 0x12,0x20,0x70,0xb1,0xee,0xfa);
3478 #if defined(__cplusplus) && !defined(CINTERFACE)
3479 } /* extern "C" */
3480 namespace ABI {
3481 namespace Windows {
3482 namespace Foundation {
3483 template<>
3484 MIDL_INTERFACE("ba51d31a-5688-5d4d-af42-122070b1eefa")
3485 ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerRateChangedEventArgs* > : ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Playback::MediaPlayer*, ABI::Windows::Media::Playback::IMediaPlayer* >, ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Playback::MediaPlayerRateChangedEventArgs*, ABI::Windows::Media::Playback::IMediaPlayerRateChangedEventArgs* > >
3486 {
3487 };
3488 }
3489 }
3490 }
3491 extern "C" {
3492 #ifdef __CRT_UUID_DECL
3493 __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs, 0xba51d31a, 0x5688, 0x5d4d, 0xaf,0x42, 0x12,0x20,0x70,0xb1,0xee,0xfa)
3494 #endif
3495 #else
3496 typedef struct __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgsVtbl {
3497 BEGIN_INTERFACE
3498
3499 /*** IUnknown methods ***/
3500 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3501 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs *This,
3502 REFIID riid,
3503 void **ppvObject);
3504
3505 ULONG (STDMETHODCALLTYPE *AddRef)(
3506 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs *This);
3507
3508 ULONG (STDMETHODCALLTYPE *Release)(
3509 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs *This);
3510
3511 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerRateChangedEventArgs* > methods ***/
3512 HRESULT (STDMETHODCALLTYPE *Invoke)(
3513 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs *This,
3514 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *sender,
3515 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs *args);
3516
3517 END_INTERFACE
3518 } __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgsVtbl;
3519
3520 interface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs {
3521 CONST_VTBL __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgsVtbl* lpVtbl;
3522 };
3523
3524 #ifdef COBJMACROS
3525 #ifndef WIDL_C_INLINE_WRAPPERS
3526 /*** IUnknown methods ***/
3527 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3528 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
3529 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_Release(This) (This)->lpVtbl->Release(This)
3530 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerRateChangedEventArgs* > methods ***/
3531 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
3532 #else
3533 /*** IUnknown methods ***/
3534 static inline HRESULT __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_QueryInterface(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs* This,REFIID riid,void **ppvObject) {
3535 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3536 }
3537 static inline ULONG __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_AddRef(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs* This) {
3538 return This->lpVtbl->AddRef(This);
3539 }
3540 static inline ULONG __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_Release(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs* This) {
3541 return This->lpVtbl->Release(This);
3542 }
3543 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::MediaPlayerRateChangedEventArgs* > methods ***/
3544 static inline HRESULT __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_Invoke(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs* This,__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *sender,__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayerRateChangedEventArgs *args) {
3545 return This->lpVtbl->Invoke(This,sender,args);
3546 }
3547 #endif
3548 #ifdef WIDL_using_Windows_Foundation
3549 #define IID_ITypedEventHandler_MediaPlayer_MediaPlayerRateChangedEventArgs IID___FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs
3550 #define ITypedEventHandler_MediaPlayer_MediaPlayerRateChangedEventArgsVtbl __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgsVtbl
3551 #define ITypedEventHandler_MediaPlayer_MediaPlayerRateChangedEventArgs __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs
3552 #define ITypedEventHandler_MediaPlayer_MediaPlayerRateChangedEventArgs_QueryInterface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_QueryInterface
3553 #define ITypedEventHandler_MediaPlayer_MediaPlayerRateChangedEventArgs_AddRef __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_AddRef
3554 #define ITypedEventHandler_MediaPlayer_MediaPlayerRateChangedEventArgs_Release __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_Release
3555 #define ITypedEventHandler_MediaPlayer_MediaPlayerRateChangedEventArgs_Invoke __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_Invoke
3556 #endif /* WIDL_using_Windows_Foundation */
3557 #endif
3558
3559 #endif
3560
3561 #endif /* ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_INTERFACE_DEFINED__ */
3562
3563 /*****************************************************************************
3564 * ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs* > interface
3565 */
3566 #ifndef ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_INTERFACE_DEFINED__
3567 #define ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_INTERFACE_DEFINED__
3568
3569 DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs, 0x67a4f43c, 0xc254, 0x57f0, 0xa3,0x9d, 0xa4,0x75,0xa3,0x42,0xd2,0x1d);
3570 #if defined(__cplusplus) && !defined(CINTERFACE)
3571 } /* extern "C" */
3572 namespace ABI {
3573 namespace Windows {
3574 namespace Foundation {
3575 template<>
3576 MIDL_INTERFACE("67a4f43c-c254-57f0-a39d-a475a342d21d")
3577 ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs* > : ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Playback::MediaPlayer*, ABI::Windows::Media::Playback::IMediaPlayer* >, ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs*, ABI::Windows::Media::Playback::IPlaybackMediaMarkerReachedEventArgs* > >
3578 {
3579 };
3580 }
3581 }
3582 }
3583 extern "C" {
3584 #ifdef __CRT_UUID_DECL
3585 __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs, 0x67a4f43c, 0xc254, 0x57f0, 0xa3,0x9d, 0xa4,0x75,0xa3,0x42,0xd2,0x1d)
3586 #endif
3587 #else
3588 typedef struct __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgsVtbl {
3589 BEGIN_INTERFACE
3590
3591 /*** IUnknown methods ***/
3592 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3593 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs *This,
3594 REFIID riid,
3595 void **ppvObject);
3596
3597 ULONG (STDMETHODCALLTYPE *AddRef)(
3598 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs *This);
3599
3600 ULONG (STDMETHODCALLTYPE *Release)(
3601 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs *This);
3602
3603 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs* > methods ***/
3604 HRESULT (STDMETHODCALLTYPE *Invoke)(
3605 __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs *This,
3606 __x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *sender,
3607 __x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs *args);
3608
3609 END_INTERFACE
3610 } __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgsVtbl;
3611
3612 interface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs {
3613 CONST_VTBL __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgsVtbl* lpVtbl;
3614 };
3615
3616 #ifdef COBJMACROS
3617 #ifndef WIDL_C_INLINE_WRAPPERS
3618 /*** IUnknown methods ***/
3619 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3620 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
3621 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_Release(This) (This)->lpVtbl->Release(This)
3622 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs* > methods ***/
3623 #define __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
3624 #else
3625 /*** IUnknown methods ***/
3626 static inline HRESULT __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_QueryInterface(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs* This,REFIID riid,void **ppvObject) {
3627 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3628 }
3629 static inline ULONG __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_AddRef(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs* This) {
3630 return This->lpVtbl->AddRef(This);
3631 }
3632 static inline ULONG __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_Release(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs* This) {
3633 return This->lpVtbl->Release(This);
3634 }
3635 /*** ITypedEventHandler<ABI::Windows::Media::Playback::MediaPlayer*,ABI::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs* > methods ***/
3636 static inline HRESULT __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_Invoke(__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs* This,__x_ABI_CWindows_CMedia_CPlayback_CIMediaPlayer *sender,__x_ABI_CWindows_CMedia_CPlayback_CIPlaybackMediaMarkerReachedEventArgs *args) {
3637 return This->lpVtbl->Invoke(This,sender,args);
3638 }
3639 #endif
3640 #ifdef WIDL_using_Windows_Foundation
3641 #define IID_ITypedEventHandler_MediaPlayer_PlaybackMediaMarkerReachedEventArgs IID___FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs
3642 #define ITypedEventHandler_MediaPlayer_PlaybackMediaMarkerReachedEventArgsVtbl __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgsVtbl
3643 #define ITypedEventHandler_MediaPlayer_PlaybackMediaMarkerReachedEventArgs __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs
3644 #define ITypedEventHandler_MediaPlayer_PlaybackMediaMarkerReachedEventArgs_QueryInterface __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_QueryInterface
3645 #define ITypedEventHandler_MediaPlayer_PlaybackMediaMarkerReachedEventArgs_AddRef __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_AddRef
3646 #define ITypedEventHandler_MediaPlayer_PlaybackMediaMarkerReachedEventArgs_Release __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_Release
3647 #define ITypedEventHandler_MediaPlayer_PlaybackMediaMarkerReachedEventArgs_Invoke __FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_Invoke
3648 #endif /* WIDL_using_Windows_Foundation */
3649 #endif
3650
3651 #endif
3652
3653 #endif /* ____FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_INTERFACE_DEFINED__ */
3654
3655 /* Begin additional prototypes for all interfaces */
3656
3657 ULONG __RPC_USER HSTRING_UserSize (ULONG *, ULONG, HSTRING *);
3658 unsigned char * __RPC_USER HSTRING_UserMarshal (ULONG *, unsigned char *, HSTRING *);
3659 unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *);
3660 void __RPC_USER HSTRING_UserFree (ULONG *, HSTRING *);
3661
3662 /* End additional prototypes */
3663
3664 #ifdef __cplusplus
3665 }
3666 #endif
3667
3668 #endif /* __windows_media_playback_h__ */