Debian Codegraph @

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

raw
1 /*** Autogenerated by WIDL 11.5 from include/windows.media.devices.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_devices_h__
17 #define __windows_media_devices_h__
18
19 /* Forward declarations */
20
21 #ifndef ____x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_FWD_DEFINED__
22 #define ____x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_FWD_DEFINED__
23 typedef interface __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs;
24 #ifdef __cplusplus
25 #define __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs ABI::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs
26 namespace ABI {
27 namespace Windows {
28 namespace Media {
29 namespace Devices {
30 interface IDefaultAudioDeviceChangedEventArgs;
31 }
32 }
33 }
34 }
35 #endif /* __cplusplus */
36 #endif
37
38 #ifndef ____x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_FWD_DEFINED__
39 #define ____x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_FWD_DEFINED__
40 typedef interface __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics;
41 #ifdef __cplusplus
42 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics ABI::Windows::Media::Devices::IMediaDeviceStatics
43 namespace ABI {
44 namespace Windows {
45 namespace Media {
46 namespace Devices {
47 interface IMediaDeviceStatics;
48 }
49 }
50 }
51 }
52 #endif /* __cplusplus */
53 #endif
54
55 #ifndef ____x_ABI_CWindows_CMedia_CDevices_CMediaDevice_FWD_DEFINED__
56 #define ____x_ABI_CWindows_CMedia_CDevices_CMediaDevice_FWD_DEFINED__
57 #ifdef __cplusplus
58 namespace ABI {
59 namespace Windows {
60 namespace Media {
61 namespace Devices {
62 class MediaDevice;
63 }
64 }
65 }
66 }
67 #else
68 typedef struct __x_ABI_CWindows_CMedia_CDevices_CMediaDevice __x_ABI_CWindows_CMedia_CDevices_CMediaDevice;
69 #endif /* defined __cplusplus */
70 #endif /* defined ____x_ABI_CWindows_CMedia_CDevices_CMediaDevice_FWD_DEFINED__ */
71
72 #ifndef ____x_ABI_CWindows_CMedia_CDevices_CDefaultAudioRenderDeviceChangedEventArgs_FWD_DEFINED__
73 #define ____x_ABI_CWindows_CMedia_CDevices_CDefaultAudioRenderDeviceChangedEventArgs_FWD_DEFINED__
74 #ifdef __cplusplus
75 namespace ABI {
76 namespace Windows {
77 namespace Media {
78 namespace Devices {
79 class DefaultAudioRenderDeviceChangedEventArgs;
80 }
81 }
82 }
83 }
84 #else
85 typedef struct __x_ABI_CWindows_CMedia_CDevices_CDefaultAudioRenderDeviceChangedEventArgs __x_ABI_CWindows_CMedia_CDevices_CDefaultAudioRenderDeviceChangedEventArgs;
86 #endif /* defined __cplusplus */
87 #endif /* defined ____x_ABI_CWindows_CMedia_CDevices_CDefaultAudioRenderDeviceChangedEventArgs_FWD_DEFINED__ */
88
89 #ifndef ____x_ABI_CWindows_CMedia_CDevices_CDefaultAudioCaptureDeviceChangedEventArgs_FWD_DEFINED__
90 #define ____x_ABI_CWindows_CMedia_CDevices_CDefaultAudioCaptureDeviceChangedEventArgs_FWD_DEFINED__
91 #ifdef __cplusplus
92 namespace ABI {
93 namespace Windows {
94 namespace Media {
95 namespace Devices {
96 class DefaultAudioCaptureDeviceChangedEventArgs;
97 }
98 }
99 }
100 }
101 #else
102 typedef struct __x_ABI_CWindows_CMedia_CDevices_CDefaultAudioCaptureDeviceChangedEventArgs __x_ABI_CWindows_CMedia_CDevices_CDefaultAudioCaptureDeviceChangedEventArgs;
103 #endif /* defined __cplusplus */
104 #endif /* defined ____x_ABI_CWindows_CMedia_CDevices_CDefaultAudioCaptureDeviceChangedEventArgs_FWD_DEFINED__ */
105
106 #ifndef ____FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_FWD_DEFINED__
107 #define ____FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_FWD_DEFINED__
108 typedef interface __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs;
109 #ifdef __cplusplus
110 #define __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs ABI::Windows::Foundation::ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs* >
111 #endif /* __cplusplus */
112 #endif
113
114 #ifndef ____FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_FWD_DEFINED__
115 #define ____FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_FWD_DEFINED__
116 typedef interface __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs;
117 #ifdef __cplusplus
118 #define __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs ABI::Windows::Foundation::ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs* >
119 #endif /* __cplusplus */
120 #endif
121
122 /* Headers for imported files */
123
124 #include <inspectable.h>
125 #include <eventtoken.h>
126 #include <windows.foundation.h>
127
128 #ifdef __cplusplus
129 extern "C" {
130 #endif
131
132 #ifndef ____x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole_ENUM_DEFINED__
133 #define ____x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole_ENUM_DEFINED__
134 #ifdef __cplusplus
135 } /* extern "C" */
136 namespace ABI {
137 namespace Windows {
138 namespace Media {
139 namespace Devices {
140 enum AudioDeviceRole {
141 AudioDeviceRole_Default = 0,
142 AudioDeviceRole_Communications = 1
143 };
144 }
145 }
146 }
147 }
148 extern "C" {
149 #else
150 enum __x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole {
151 AudioDeviceRole_Default = 0,
152 AudioDeviceRole_Communications = 1
153 };
154 #ifdef WIDL_using_Windows_Media_Devices
155 #define AudioDeviceRole __x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole
156 #endif /* WIDL_using_Windows_Media_Devices */
157 #endif
158
159 #endif /* ____x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole_ENUM_DEFINED__ */
160 #ifndef __cplusplus
161 typedef enum __x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole __x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole;
162 #endif /* __cplusplus */
163
164 #ifndef ____x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_FWD_DEFINED__
165 #define ____x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_FWD_DEFINED__
166 typedef interface __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs;
167 #ifdef __cplusplus
168 #define __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs ABI::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs
169 namespace ABI {
170 namespace Windows {
171 namespace Media {
172 namespace Devices {
173 interface IDefaultAudioDeviceChangedEventArgs;
174 }
175 }
176 }
177 }
178 #endif /* __cplusplus */
179 #endif
180
181 #ifndef ____x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_FWD_DEFINED__
182 #define ____x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_FWD_DEFINED__
183 typedef interface __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics;
184 #ifdef __cplusplus
185 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics ABI::Windows::Media::Devices::IMediaDeviceStatics
186 namespace ABI {
187 namespace Windows {
188 namespace Media {
189 namespace Devices {
190 interface IMediaDeviceStatics;
191 }
192 }
193 }
194 }
195 #endif /* __cplusplus */
196 #endif
197
198 /*****************************************************************************
199 * IDefaultAudioDeviceChangedEventArgs interface
200 */
201 #ifndef ____x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_INTERFACE_DEFINED__
202 #define ____x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_INTERFACE_DEFINED__
203
204 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs, 0x110f882f, 0x1c05, 0x4657, 0xa1,0x8e, 0x47,0xc9,0xb6,0x9f,0x07,0xab);
205 #if defined(__cplusplus) && !defined(CINTERFACE)
206 } /* extern "C" */
207 namespace ABI {
208 namespace Windows {
209 namespace Media {
210 namespace Devices {
211 MIDL_INTERFACE("110f882f-1c05-4657-a18e-47c9b69f07ab")
212 IDefaultAudioDeviceChangedEventArgs : public IInspectable
213 {
214 virtual HRESULT STDMETHODCALLTYPE get_Id(
215 HSTRING *value) = 0;
216
217 virtual HRESULT STDMETHODCALLTYPE get_Role(
218 ABI::Windows::Media::Devices::AudioDeviceRole *value) = 0;
219
220 };
221 }
222 }
223 }
224 }
225 extern "C" {
226 #ifdef __CRT_UUID_DECL
227 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs, 0x110f882f, 0x1c05, 0x4657, 0xa1,0x8e, 0x47,0xc9,0xb6,0x9f,0x07,0xab)
228 #endif
229 #else
230 typedef struct __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgsVtbl {
231 BEGIN_INTERFACE
232
233 /*** IUnknown methods ***/
234 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
235 __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *This,
236 REFIID riid,
237 void **ppvObject);
238
239 ULONG (STDMETHODCALLTYPE *AddRef)(
240 __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *This);
241
242 ULONG (STDMETHODCALLTYPE *Release)(
243 __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *This);
244
245 /*** IInspectable methods ***/
246 HRESULT (STDMETHODCALLTYPE *GetIids)(
247 __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *This,
248 ULONG *iidCount,
249 IID **iids);
250
251 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
252 __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *This,
253 HSTRING *className);
254
255 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
256 __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *This,
257 TrustLevel *trustLevel);
258
259 /*** IDefaultAudioDeviceChangedEventArgs methods ***/
260 HRESULT (STDMETHODCALLTYPE *get_Id)(
261 __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *This,
262 HSTRING *value);
263
264 HRESULT (STDMETHODCALLTYPE *get_Role)(
265 __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *This,
266 __x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole *value);
267
268 END_INTERFACE
269 } __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgsVtbl;
270
271 interface __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs {
272 CONST_VTBL __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgsVtbl* lpVtbl;
273 };
274
275 #ifdef COBJMACROS
276 #ifndef WIDL_C_INLINE_WRAPPERS
277 /*** IUnknown methods ***/
278 #define __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
279 #define __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
280 #define __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_Release(This) (This)->lpVtbl->Release(This)
281 /*** IInspectable methods ***/
282 #define __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
283 #define __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
284 #define __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
285 /*** IDefaultAudioDeviceChangedEventArgs methods ***/
286 #define __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_get_Id(This,value) (This)->lpVtbl->get_Id(This,value)
287 #define __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_get_Role(This,value) (This)->lpVtbl->get_Role(This,value)
288 #else
289 /*** IUnknown methods ***/
290 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_QueryInterface(__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs* This,REFIID riid,void **ppvObject) {
291 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
292 }
293 static inline ULONG __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_AddRef(__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs* This) {
294 return This->lpVtbl->AddRef(This);
295 }
296 static inline ULONG __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_Release(__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs* This) {
297 return This->lpVtbl->Release(This);
298 }
299 /*** IInspectable methods ***/
300 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_GetIids(__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs* This,ULONG *iidCount,IID **iids) {
301 return This->lpVtbl->GetIids(This,iidCount,iids);
302 }
303 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs* This,HSTRING *className) {
304 return This->lpVtbl->GetRuntimeClassName(This,className);
305 }
306 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_GetTrustLevel(__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs* This,TrustLevel *trustLevel) {
307 return This->lpVtbl->GetTrustLevel(This,trustLevel);
308 }
309 /*** IDefaultAudioDeviceChangedEventArgs methods ***/
310 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_get_Id(__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs* This,HSTRING *value) {
311 return This->lpVtbl->get_Id(This,value);
312 }
313 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_get_Role(__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs* This,__x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole *value) {
314 return This->lpVtbl->get_Role(This,value);
315 }
316 #endif
317 #ifdef WIDL_using_Windows_Media_Devices
318 #define IID_IDefaultAudioDeviceChangedEventArgs IID___x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs
319 #define IDefaultAudioDeviceChangedEventArgsVtbl __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgsVtbl
320 #define IDefaultAudioDeviceChangedEventArgs __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs
321 #define IDefaultAudioDeviceChangedEventArgs_QueryInterface __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_QueryInterface
322 #define IDefaultAudioDeviceChangedEventArgs_AddRef __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_AddRef
323 #define IDefaultAudioDeviceChangedEventArgs_Release __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_Release
324 #define IDefaultAudioDeviceChangedEventArgs_GetIids __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_GetIids
325 #define IDefaultAudioDeviceChangedEventArgs_GetRuntimeClassName __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_GetRuntimeClassName
326 #define IDefaultAudioDeviceChangedEventArgs_GetTrustLevel __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_GetTrustLevel
327 #define IDefaultAudioDeviceChangedEventArgs_get_Id __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_get_Id
328 #define IDefaultAudioDeviceChangedEventArgs_get_Role __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_get_Role
329 #endif /* WIDL_using_Windows_Media_Devices */
330 #endif
331
332 #endif
333
334 #endif /* ____x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs_INTERFACE_DEFINED__ */
335
336 /*****************************************************************************
337 * IMediaDeviceStatics interface
338 */
339 #ifndef ____x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_INTERFACE_DEFINED__
340 #define ____x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_INTERFACE_DEFINED__
341
342 DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics, 0xaa2d9a40, 0x909f, 0x4bba, 0xbf,0x8b, 0x0c,0x0d,0x29,0x6f,0x14,0xf0);
343 #if defined(__cplusplus) && !defined(CINTERFACE)
344 } /* extern "C" */
345 namespace ABI {
346 namespace Windows {
347 namespace Media {
348 namespace Devices {
349 MIDL_INTERFACE("aa2d9a40-909f-4bba-bf8b-0c0d296f14f0")
350 IMediaDeviceStatics : public IInspectable
351 {
352 virtual HRESULT STDMETHODCALLTYPE GetAudioCaptureSelector(
353 HSTRING *value) = 0;
354
355 virtual HRESULT STDMETHODCALLTYPE GetAudioRenderSelector(
356 HSTRING *value) = 0;
357
358 virtual HRESULT STDMETHODCALLTYPE GetVideoCaptureSelector(
359 HSTRING *value) = 0;
360
361 virtual HRESULT STDMETHODCALLTYPE GetDefaultAudioCaptureId(
362 ABI::Windows::Media::Devices::AudioDeviceRole role,
363 HSTRING *value) = 0;
364
365 virtual HRESULT STDMETHODCALLTYPE GetDefaultAudioRenderId(
366 ABI::Windows::Media::Devices::AudioDeviceRole role,
367 HSTRING *value) = 0;
368
369 virtual HRESULT STDMETHODCALLTYPE add_DefaultAudioCaptureDeviceChanged(
370 ABI::Windows::Foundation::ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs* > *handler,
371 EventRegistrationToken *token) = 0;
372
373 virtual HRESULT STDMETHODCALLTYPE remove_DefaultAudioCaptureDeviceChanged(
374 EventRegistrationToken token) = 0;
375
376 virtual HRESULT STDMETHODCALLTYPE add_DefaultAudioRenderDeviceChanged(
377 ABI::Windows::Foundation::ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs* > *handler,
378 EventRegistrationToken *token) = 0;
379
380 virtual HRESULT STDMETHODCALLTYPE remove_DefaultAudioRenderDeviceChanged(
381 EventRegistrationToken token) = 0;
382
383 };
384 }
385 }
386 }
387 }
388 extern "C" {
389 #ifdef __CRT_UUID_DECL
390 __CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics, 0xaa2d9a40, 0x909f, 0x4bba, 0xbf,0x8b, 0x0c,0x0d,0x29,0x6f,0x14,0xf0)
391 #endif
392 #else
393 typedef struct __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStaticsVtbl {
394 BEGIN_INTERFACE
395
396 /*** IUnknown methods ***/
397 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
398 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
399 REFIID riid,
400 void **ppvObject);
401
402 ULONG (STDMETHODCALLTYPE *AddRef)(
403 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This);
404
405 ULONG (STDMETHODCALLTYPE *Release)(
406 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This);
407
408 /*** IInspectable methods ***/
409 HRESULT (STDMETHODCALLTYPE *GetIids)(
410 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
411 ULONG *iidCount,
412 IID **iids);
413
414 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
415 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
416 HSTRING *className);
417
418 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
419 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
420 TrustLevel *trustLevel);
421
422 /*** IMediaDeviceStatics methods ***/
423 HRESULT (STDMETHODCALLTYPE *GetAudioCaptureSelector)(
424 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
425 HSTRING *value);
426
427 HRESULT (STDMETHODCALLTYPE *GetAudioRenderSelector)(
428 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
429 HSTRING *value);
430
431 HRESULT (STDMETHODCALLTYPE *GetVideoCaptureSelector)(
432 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
433 HSTRING *value);
434
435 HRESULT (STDMETHODCALLTYPE *GetDefaultAudioCaptureId)(
436 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
437 __x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole role,
438 HSTRING *value);
439
440 HRESULT (STDMETHODCALLTYPE *GetDefaultAudioRenderId)(
441 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
442 __x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole role,
443 HSTRING *value);
444
445 HRESULT (STDMETHODCALLTYPE *add_DefaultAudioCaptureDeviceChanged)(
446 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
447 __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs *handler,
448 EventRegistrationToken *token);
449
450 HRESULT (STDMETHODCALLTYPE *remove_DefaultAudioCaptureDeviceChanged)(
451 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
452 EventRegistrationToken token);
453
454 HRESULT (STDMETHODCALLTYPE *add_DefaultAudioRenderDeviceChanged)(
455 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
456 __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs *handler,
457 EventRegistrationToken *token);
458
459 HRESULT (STDMETHODCALLTYPE *remove_DefaultAudioRenderDeviceChanged)(
460 __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics *This,
461 EventRegistrationToken token);
462
463 END_INTERFACE
464 } __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStaticsVtbl;
465
466 interface __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics {
467 CONST_VTBL __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStaticsVtbl* lpVtbl;
468 };
469
470 #ifdef COBJMACROS
471 #ifndef WIDL_C_INLINE_WRAPPERS
472 /*** IUnknown methods ***/
473 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
474 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
475 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_Release(This) (This)->lpVtbl->Release(This)
476 /*** IInspectable methods ***/
477 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
478 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
479 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
480 /*** IMediaDeviceStatics methods ***/
481 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetAudioCaptureSelector(This,value) (This)->lpVtbl->GetAudioCaptureSelector(This,value)
482 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetAudioRenderSelector(This,value) (This)->lpVtbl->GetAudioRenderSelector(This,value)
483 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetVideoCaptureSelector(This,value) (This)->lpVtbl->GetVideoCaptureSelector(This,value)
484 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetDefaultAudioCaptureId(This,role,value) (This)->lpVtbl->GetDefaultAudioCaptureId(This,role,value)
485 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetDefaultAudioRenderId(This,role,value) (This)->lpVtbl->GetDefaultAudioRenderId(This,role,value)
486 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_add_DefaultAudioCaptureDeviceChanged(This,handler,token) (This)->lpVtbl->add_DefaultAudioCaptureDeviceChanged(This,handler,token)
487 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_remove_DefaultAudioCaptureDeviceChanged(This,token) (This)->lpVtbl->remove_DefaultAudioCaptureDeviceChanged(This,token)
488 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_add_DefaultAudioRenderDeviceChanged(This,handler,token) (This)->lpVtbl->add_DefaultAudioRenderDeviceChanged(This,handler,token)
489 #define __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_remove_DefaultAudioRenderDeviceChanged(This,token) (This)->lpVtbl->remove_DefaultAudioRenderDeviceChanged(This,token)
490 #else
491 /*** IUnknown methods ***/
492 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_QueryInterface(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,REFIID riid,void **ppvObject) {
493 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
494 }
495 static inline ULONG __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_AddRef(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This) {
496 return This->lpVtbl->AddRef(This);
497 }
498 static inline ULONG __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_Release(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This) {
499 return This->lpVtbl->Release(This);
500 }
501 /*** IInspectable methods ***/
502 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetIids(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,ULONG *iidCount,IID **iids) {
503 return This->lpVtbl->GetIids(This,iidCount,iids);
504 }
505 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,HSTRING *className) {
506 return This->lpVtbl->GetRuntimeClassName(This,className);
507 }
508 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetTrustLevel(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,TrustLevel *trustLevel) {
509 return This->lpVtbl->GetTrustLevel(This,trustLevel);
510 }
511 /*** IMediaDeviceStatics methods ***/
512 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetAudioCaptureSelector(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,HSTRING *value) {
513 return This->lpVtbl->GetAudioCaptureSelector(This,value);
514 }
515 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetAudioRenderSelector(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,HSTRING *value) {
516 return This->lpVtbl->GetAudioRenderSelector(This,value);
517 }
518 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetVideoCaptureSelector(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,HSTRING *value) {
519 return This->lpVtbl->GetVideoCaptureSelector(This,value);
520 }
521 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetDefaultAudioCaptureId(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,__x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole role,HSTRING *value) {
522 return This->lpVtbl->GetDefaultAudioCaptureId(This,role,value);
523 }
524 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetDefaultAudioRenderId(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,__x_ABI_CWindows_CMedia_CDevices_CAudioDeviceRole role,HSTRING *value) {
525 return This->lpVtbl->GetDefaultAudioRenderId(This,role,value);
526 }
527 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_add_DefaultAudioCaptureDeviceChanged(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs *handler,EventRegistrationToken *token) {
528 return This->lpVtbl->add_DefaultAudioCaptureDeviceChanged(This,handler,token);
529 }
530 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_remove_DefaultAudioCaptureDeviceChanged(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,EventRegistrationToken token) {
531 return This->lpVtbl->remove_DefaultAudioCaptureDeviceChanged(This,token);
532 }
533 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_add_DefaultAudioRenderDeviceChanged(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs *handler,EventRegistrationToken *token) {
534 return This->lpVtbl->add_DefaultAudioRenderDeviceChanged(This,handler,token);
535 }
536 static inline HRESULT __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_remove_DefaultAudioRenderDeviceChanged(__x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics* This,EventRegistrationToken token) {
537 return This->lpVtbl->remove_DefaultAudioRenderDeviceChanged(This,token);
538 }
539 #endif
540 #ifdef WIDL_using_Windows_Media_Devices
541 #define IID_IMediaDeviceStatics IID___x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics
542 #define IMediaDeviceStaticsVtbl __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStaticsVtbl
543 #define IMediaDeviceStatics __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics
544 #define IMediaDeviceStatics_QueryInterface __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_QueryInterface
545 #define IMediaDeviceStatics_AddRef __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_AddRef
546 #define IMediaDeviceStatics_Release __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_Release
547 #define IMediaDeviceStatics_GetIids __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetIids
548 #define IMediaDeviceStatics_GetRuntimeClassName __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetRuntimeClassName
549 #define IMediaDeviceStatics_GetTrustLevel __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetTrustLevel
550 #define IMediaDeviceStatics_GetAudioCaptureSelector __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetAudioCaptureSelector
551 #define IMediaDeviceStatics_GetAudioRenderSelector __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetAudioRenderSelector
552 #define IMediaDeviceStatics_GetVideoCaptureSelector __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetVideoCaptureSelector
553 #define IMediaDeviceStatics_GetDefaultAudioCaptureId __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetDefaultAudioCaptureId
554 #define IMediaDeviceStatics_GetDefaultAudioRenderId __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_GetDefaultAudioRenderId
555 #define IMediaDeviceStatics_add_DefaultAudioCaptureDeviceChanged __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_add_DefaultAudioCaptureDeviceChanged
556 #define IMediaDeviceStatics_remove_DefaultAudioCaptureDeviceChanged __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_remove_DefaultAudioCaptureDeviceChanged
557 #define IMediaDeviceStatics_add_DefaultAudioRenderDeviceChanged __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_add_DefaultAudioRenderDeviceChanged
558 #define IMediaDeviceStatics_remove_DefaultAudioRenderDeviceChanged __x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_remove_DefaultAudioRenderDeviceChanged
559 #endif /* WIDL_using_Windows_Media_Devices */
560 #endif
561
562 #endif
563
564 #endif /* ____x_ABI_CWindows_CMedia_CDevices_CIMediaDeviceStatics_INTERFACE_DEFINED__ */
565
566 /*
567 * Class Windows.Media.Devices.MediaDevice
568 */
569 #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
570 #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000
571 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
572
573 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
574 #ifndef RUNTIMECLASS_Windows_Media_Devices_MediaDevice_DEFINED
575 #define RUNTIMECLASS_Windows_Media_Devices_MediaDevice_DEFINED
576 #if !defined(_MSC_VER) && !defined(__MINGW32__)
577 static const WCHAR RuntimeClass_Windows_Media_Devices_MediaDevice[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','D','e','v','i','c','e','s','.','M','e','d','i','a','D','e','v','i','c','e',0};
578 #elif defined(__GNUC__) && !defined(__cplusplus)
579 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Devices_MediaDevice[] = L"Windows.Media.Devices.MediaDevice";
580 #else
581 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Devices_MediaDevice[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','D','e','v','i','c','e','s','.','M','e','d','i','a','D','e','v','i','c','e',0};
582 #endif
583 #endif /* RUNTIMECLASS_Windows_Media_Devices_MediaDevice_DEFINED */
584 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
585
586 /*
587 * Class Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs
588 */
589 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
590 #ifndef RUNTIMECLASS_Windows_Media_Devices_DefaultAudioRenderDeviceChangedEventArgs_DEFINED
591 #define RUNTIMECLASS_Windows_Media_Devices_DefaultAudioRenderDeviceChangedEventArgs_DEFINED
592 #if !defined(_MSC_VER) && !defined(__MINGW32__)
593 static const WCHAR RuntimeClass_Windows_Media_Devices_DefaultAudioRenderDeviceChangedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','D','e','v','i','c','e','s','.','D','e','f','a','u','l','t','A','u','d','i','o','R','e','n','d','e','r','D','e','v','i','c','e','C','h','a','n','g','e','d','E','v','e','n','t','A','r','g','s',0};
594 #elif defined(__GNUC__) && !defined(__cplusplus)
595 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Devices_DefaultAudioRenderDeviceChangedEventArgs[] = L"Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs";
596 #else
597 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Devices_DefaultAudioRenderDeviceChangedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','D','e','v','i','c','e','s','.','D','e','f','a','u','l','t','A','u','d','i','o','R','e','n','d','e','r','D','e','v','i','c','e','C','h','a','n','g','e','d','E','v','e','n','t','A','r','g','s',0};
598 #endif
599 #endif /* RUNTIMECLASS_Windows_Media_Devices_DefaultAudioRenderDeviceChangedEventArgs_DEFINED */
600 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
601
602 /*
603 * Class Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs
604 */
605 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
606 #ifndef RUNTIMECLASS_Windows_Media_Devices_DefaultAudioCaptureDeviceChangedEventArgs_DEFINED
607 #define RUNTIMECLASS_Windows_Media_Devices_DefaultAudioCaptureDeviceChangedEventArgs_DEFINED
608 #if !defined(_MSC_VER) && !defined(__MINGW32__)
609 static const WCHAR RuntimeClass_Windows_Media_Devices_DefaultAudioCaptureDeviceChangedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','D','e','v','i','c','e','s','.','D','e','f','a','u','l','t','A','u','d','i','o','C','a','p','t','u','r','e','D','e','v','i','c','e','C','h','a','n','g','e','d','E','v','e','n','t','A','r','g','s',0};
610 #elif defined(__GNUC__) && !defined(__cplusplus)
611 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Devices_DefaultAudioCaptureDeviceChangedEventArgs[] = L"Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs";
612 #else
613 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Media_Devices_DefaultAudioCaptureDeviceChangedEventArgs[] = {'W','i','n','d','o','w','s','.','M','e','d','i','a','.','D','e','v','i','c','e','s','.','D','e','f','a','u','l','t','A','u','d','i','o','C','a','p','t','u','r','e','D','e','v','i','c','e','C','h','a','n','g','e','d','E','v','e','n','t','A','r','g','s',0};
614 #endif
615 #endif /* RUNTIMECLASS_Windows_Media_Devices_DefaultAudioCaptureDeviceChangedEventArgs_DEFINED */
616 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
617
618 /*****************************************************************************
619 * ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs* > interface
620 */
621 #ifndef ____FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_INTERFACE_DEFINED__
622 #define ____FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_INTERFACE_DEFINED__
623
624 DEFINE_GUID(IID___FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs, 0x97d07327, 0x2c78, 0x57bc, 0x98,0xe6, 0xa2,0x4c,0xd0,0x24,0xcf,0x5b);
625 #if defined(__cplusplus) && !defined(CINTERFACE)
626 } /* extern "C" */
627 namespace ABI {
628 namespace Windows {
629 namespace Foundation {
630 template<>
631 MIDL_INTERFACE("97d07327-2c78-57bc-98e6-a24cd024cf5b")
632 ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs* > : ITypedEventHandler_impl<IInspectable*, ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs*, ABI::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs* > >
633 {
634 };
635 }
636 }
637 }
638 extern "C" {
639 #ifdef __CRT_UUID_DECL
640 __CRT_UUID_DECL(__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs, 0x97d07327, 0x2c78, 0x57bc, 0x98,0xe6, 0xa2,0x4c,0xd0,0x24,0xcf,0x5b)
641 #endif
642 #else
643 typedef struct __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgsVtbl {
644 BEGIN_INTERFACE
645
646 /*** IUnknown methods ***/
647 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
648 __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs *This,
649 REFIID riid,
650 void **ppvObject);
651
652 ULONG (STDMETHODCALLTYPE *AddRef)(
653 __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs *This);
654
655 ULONG (STDMETHODCALLTYPE *Release)(
656 __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs *This);
657
658 /*** ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs* > methods ***/
659 HRESULT (STDMETHODCALLTYPE *Invoke)(
660 __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs *This,
661 IInspectable *sender,
662 __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *args);
663
664 END_INTERFACE
665 } __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgsVtbl;
666
667 interface __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs {
668 CONST_VTBL __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgsVtbl* lpVtbl;
669 };
670
671 #ifdef COBJMACROS
672 #ifndef WIDL_C_INLINE_WRAPPERS
673 /*** IUnknown methods ***/
674 #define __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
675 #define __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
676 #define __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_Release(This) (This)->lpVtbl->Release(This)
677 /*** ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs* > methods ***/
678 #define __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
679 #else
680 /*** IUnknown methods ***/
681 static inline HRESULT __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_QueryInterface(__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs* This,REFIID riid,void **ppvObject) {
682 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
683 }
684 static inline ULONG __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_AddRef(__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs* This) {
685 return This->lpVtbl->AddRef(This);
686 }
687 static inline ULONG __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_Release(__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs* This) {
688 return This->lpVtbl->Release(This);
689 }
690 /*** ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs* > methods ***/
691 static inline HRESULT __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_Invoke(__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs* This,IInspectable *sender,__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *args) {
692 return This->lpVtbl->Invoke(This,sender,args);
693 }
694 #endif
695 #ifdef WIDL_using_Windows_Foundation
696 #define IID_ITypedEventHandler_IInspectable_DefaultAudioCaptureDeviceChangedEventArgs IID___FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs
697 #define ITypedEventHandler_IInspectable_DefaultAudioCaptureDeviceChangedEventArgsVtbl __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgsVtbl
698 #define ITypedEventHandler_IInspectable_DefaultAudioCaptureDeviceChangedEventArgs __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs
699 #define ITypedEventHandler_IInspectable_DefaultAudioCaptureDeviceChangedEventArgs_QueryInterface __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_QueryInterface
700 #define ITypedEventHandler_IInspectable_DefaultAudioCaptureDeviceChangedEventArgs_AddRef __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_AddRef
701 #define ITypedEventHandler_IInspectable_DefaultAudioCaptureDeviceChangedEventArgs_Release __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_Release
702 #define ITypedEventHandler_IInspectable_DefaultAudioCaptureDeviceChangedEventArgs_Invoke __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_Invoke
703 #endif /* WIDL_using_Windows_Foundation */
704 #endif
705
706 #endif
707
708 #endif /* ____FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_INTERFACE_DEFINED__ */
709
710 /*****************************************************************************
711 * ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs* > interface
712 */
713 #ifndef ____FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_INTERFACE_DEFINED__
714 #define ____FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_INTERFACE_DEFINED__
715
716 DEFINE_GUID(IID___FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs, 0xfd732aca, 0xdafc, 0x5b7d, 0xbf,0x72, 0xb5,0x60,0xb7,0x8d,0x26,0x0c);
717 #if defined(__cplusplus) && !defined(CINTERFACE)
718 } /* extern "C" */
719 namespace ABI {
720 namespace Windows {
721 namespace Foundation {
722 template<>
723 MIDL_INTERFACE("fd732aca-dafc-5b7d-bf72-b560b78d260c")
724 ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs* > : ITypedEventHandler_impl<IInspectable*, ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs*, ABI::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs* > >
725 {
726 };
727 }
728 }
729 }
730 extern "C" {
731 #ifdef __CRT_UUID_DECL
732 __CRT_UUID_DECL(__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs, 0xfd732aca, 0xdafc, 0x5b7d, 0xbf,0x72, 0xb5,0x60,0xb7,0x8d,0x26,0x0c)
733 #endif
734 #else
735 typedef struct __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgsVtbl {
736 BEGIN_INTERFACE
737
738 /*** IUnknown methods ***/
739 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
740 __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs *This,
741 REFIID riid,
742 void **ppvObject);
743
744 ULONG (STDMETHODCALLTYPE *AddRef)(
745 __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs *This);
746
747 ULONG (STDMETHODCALLTYPE *Release)(
748 __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs *This);
749
750 /*** ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs* > methods ***/
751 HRESULT (STDMETHODCALLTYPE *Invoke)(
752 __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs *This,
753 IInspectable *sender,
754 __x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *args);
755
756 END_INTERFACE
757 } __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgsVtbl;
758
759 interface __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs {
760 CONST_VTBL __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgsVtbl* lpVtbl;
761 };
762
763 #ifdef COBJMACROS
764 #ifndef WIDL_C_INLINE_WRAPPERS
765 /*** IUnknown methods ***/
766 #define __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
767 #define __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
768 #define __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_Release(This) (This)->lpVtbl->Release(This)
769 /*** ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs* > methods ***/
770 #define __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
771 #else
772 /*** IUnknown methods ***/
773 static inline HRESULT __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_QueryInterface(__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs* This,REFIID riid,void **ppvObject) {
774 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
775 }
776 static inline ULONG __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_AddRef(__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs* This) {
777 return This->lpVtbl->AddRef(This);
778 }
779 static inline ULONG __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_Release(__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs* This) {
780 return This->lpVtbl->Release(This);
781 }
782 /*** ITypedEventHandler<IInspectable*,ABI::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs* > methods ***/
783 static inline HRESULT __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_Invoke(__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs* This,IInspectable *sender,__x_ABI_CWindows_CMedia_CDevices_CIDefaultAudioDeviceChangedEventArgs *args) {
784 return This->lpVtbl->Invoke(This,sender,args);
785 }
786 #endif
787 #ifdef WIDL_using_Windows_Foundation
788 #define IID_ITypedEventHandler_IInspectable_DefaultAudioRenderDeviceChangedEventArgs IID___FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs
789 #define ITypedEventHandler_IInspectable_DefaultAudioRenderDeviceChangedEventArgsVtbl __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgsVtbl
790 #define ITypedEventHandler_IInspectable_DefaultAudioRenderDeviceChangedEventArgs __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs
791 #define ITypedEventHandler_IInspectable_DefaultAudioRenderDeviceChangedEventArgs_QueryInterface __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_QueryInterface
792 #define ITypedEventHandler_IInspectable_DefaultAudioRenderDeviceChangedEventArgs_AddRef __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_AddRef
793 #define ITypedEventHandler_IInspectable_DefaultAudioRenderDeviceChangedEventArgs_Release __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_Release
794 #define ITypedEventHandler_IInspectable_DefaultAudioRenderDeviceChangedEventArgs_Invoke __FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_Invoke
795 #endif /* WIDL_using_Windows_Foundation */
796 #endif
797
798 #endif
799
800 #endif /* ____FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_INTERFACE_DEFINED__ */
801
802 /* Begin additional prototypes for all interfaces */
803
804 ULONG __RPC_USER HSTRING_UserSize (ULONG *, ULONG, HSTRING *);
805 unsigned char * __RPC_USER HSTRING_UserMarshal (ULONG *, unsigned char *, HSTRING *);
806 unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *);
807 void __RPC_USER HSTRING_UserFree (ULONG *, HSTRING *);
808
809 /* End additional prototypes */
810
811 #ifdef __cplusplus
812 }
813 #endif
814
815 #endif /* __windows_media_devices_h__ */