Debian Codegraph @

mingw-w64-headers/include/windows.graphics.display.h

raw
1 /*** Autogenerated by WIDL 11.5 from include/windows.graphics.display.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_graphics_display_h__
17 #define __windows_graphics_display_h__
18
19 /* Forward declarations */
20
21 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_FWD_DEFINED__
22 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_FWD_DEFINED__
23 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo;
24 #ifdef __cplusplus
25 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo ABI::Windows::Graphics::Display::IAdvancedColorInfo
26 namespace ABI {
27 namespace Windows {
28 namespace Graphics {
29 namespace Display {
30 interface IAdvancedColorInfo;
31 }
32 }
33 }
34 }
35 #endif /* __cplusplus */
36 #endif
37
38 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_FWD_DEFINED__
39 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_FWD_DEFINED__
40 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation;
41 #ifdef __cplusplus
42 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation ABI::Windows::Graphics::Display::IDisplayInformation
43 namespace ABI {
44 namespace Windows {
45 namespace Graphics {
46 namespace Display {
47 interface IDisplayInformation;
48 }
49 }
50 }
51 }
52 #endif /* __cplusplus */
53 #endif
54
55 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_FWD_DEFINED__
56 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_FWD_DEFINED__
57 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2;
58 #ifdef __cplusplus
59 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2 ABI::Windows::Graphics::Display::IDisplayInformation2
60 namespace ABI {
61 namespace Windows {
62 namespace Graphics {
63 namespace Display {
64 interface IDisplayInformation2;
65 }
66 }
67 }
68 }
69 #endif /* __cplusplus */
70 #endif
71
72 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_FWD_DEFINED__
73 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_FWD_DEFINED__
74 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3;
75 #ifdef __cplusplus
76 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3 ABI::Windows::Graphics::Display::IDisplayInformation3
77 namespace ABI {
78 namespace Windows {
79 namespace Graphics {
80 namespace Display {
81 interface IDisplayInformation3;
82 }
83 }
84 }
85 }
86 #endif /* __cplusplus */
87 #endif
88
89 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_FWD_DEFINED__
90 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_FWD_DEFINED__
91 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4;
92 #ifdef __cplusplus
93 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 ABI::Windows::Graphics::Display::IDisplayInformation4
94 namespace ABI {
95 namespace Windows {
96 namespace Graphics {
97 namespace Display {
98 interface IDisplayInformation4;
99 }
100 }
101 }
102 }
103 #endif /* __cplusplus */
104 #endif
105
106 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_FWD_DEFINED__
107 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_FWD_DEFINED__
108 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5;
109 #ifdef __cplusplus
110 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 ABI::Windows::Graphics::Display::IDisplayInformation5
111 namespace ABI {
112 namespace Windows {
113 namespace Graphics {
114 namespace Display {
115 interface IDisplayInformation5;
116 }
117 }
118 }
119 }
120 #endif /* __cplusplus */
121 #endif
122
123 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_FWD_DEFINED__
124 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_FWD_DEFINED__
125 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics;
126 #ifdef __cplusplus
127 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics ABI::Windows::Graphics::Display::IDisplayInformationStatics
128 namespace ABI {
129 namespace Windows {
130 namespace Graphics {
131 namespace Display {
132 interface IDisplayInformationStatics;
133 }
134 }
135 }
136 }
137 #endif /* __cplusplus */
138 #endif
139
140 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorInfo_FWD_DEFINED__
141 #define ____x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorInfo_FWD_DEFINED__
142 #ifdef __cplusplus
143 namespace ABI {
144 namespace Windows {
145 namespace Graphics {
146 namespace Display {
147 class AdvancedColorInfo;
148 }
149 }
150 }
151 }
152 #else
153 typedef struct __x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorInfo __x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorInfo;
154 #endif /* defined __cplusplus */
155 #endif /* defined ____x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorInfo_FWD_DEFINED__ */
156
157 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CDisplayInformation_FWD_DEFINED__
158 #define ____x_ABI_CWindows_CGraphics_CDisplay_CDisplayInformation_FWD_DEFINED__
159 #ifdef __cplusplus
160 namespace ABI {
161 namespace Windows {
162 namespace Graphics {
163 namespace Display {
164 class DisplayInformation;
165 }
166 }
167 }
168 }
169 #else
170 typedef struct __x_ABI_CWindows_CGraphics_CDisplay_CDisplayInformation __x_ABI_CWindows_CGraphics_CDisplay_CDisplayInformation;
171 #endif /* defined __cplusplus */
172 #endif /* defined ____x_ABI_CWindows_CGraphics_CDisplay_CDisplayInformation_FWD_DEFINED__ */
173
174 #ifndef ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_FWD_DEFINED__
175 #define ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_FWD_DEFINED__
176 typedef interface __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable;
177 #ifdef __cplusplus
178 #define __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* >
179 #endif /* __cplusplus */
180 #endif
181
182 /* Headers for imported files */
183
184 #include <inspectable.h>
185 #include <asyncinfo.h>
186 #include <eventtoken.h>
187 #include <windowscontracts.h>
188 #include <windows.foundation.h>
189 #include <windows.graphics.h>
190 #include <windows.storage.streams.h>
191
192 #ifdef __cplusplus
193 extern "C" {
194 #endif
195
196 #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
197 #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000
198 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
199
200 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000
201 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind_ENUM_DEFINED__
202 #define ____x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind_ENUM_DEFINED__
203 #ifdef __cplusplus
204 } /* extern "C" */
205 namespace ABI {
206 namespace Windows {
207 namespace Graphics {
208 namespace Display {
209 enum AdvancedColorKind {
210 AdvancedColorKind_StandardDynamicRange = 0,
211 AdvancedColorKind_WideColorGamut = 1,
212 AdvancedColorKind_HighDynamicRange = 2
213 };
214 }
215 }
216 }
217 }
218 extern "C" {
219 #else
220 enum __x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind {
221 AdvancedColorKind_StandardDynamicRange = 0,
222 AdvancedColorKind_WideColorGamut = 1,
223 AdvancedColorKind_HighDynamicRange = 2
224 };
225 #ifdef WIDL_using_Windows_Graphics_Display
226 #define AdvancedColorKind __x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind
227 #endif /* WIDL_using_Windows_Graphics_Display */
228 #endif
229
230 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind_ENUM_DEFINED__ */
231 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 */
232 #ifndef __cplusplus
233 typedef enum __x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind __x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind;
234 #endif /* __cplusplus */
235
236 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
237 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations_ENUM_DEFINED__
238 #define ____x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations_ENUM_DEFINED__
239 #ifdef __cplusplus
240 } /* extern "C" */
241 namespace ABI {
242 namespace Windows {
243 namespace Graphics {
244 namespace Display {
245 enum DisplayOrientations {
246 DisplayOrientations_None = 0x0,
247 DisplayOrientations_Landscape = 0x1,
248 DisplayOrientations_Portrait = 0x2,
249 DisplayOrientations_LandscapeFlipped = 0x4,
250 DisplayOrientations_PortraitFlipped = 0x8
251 };
252 }
253 }
254 }
255 }
256 extern "C" {
257 #else
258 enum __x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations {
259 DisplayOrientations_None = 0x0,
260 DisplayOrientations_Landscape = 0x1,
261 DisplayOrientations_Portrait = 0x2,
262 DisplayOrientations_LandscapeFlipped = 0x4,
263 DisplayOrientations_PortraitFlipped = 0x8
264 };
265 #ifdef WIDL_using_Windows_Graphics_Display
266 #define DisplayOrientations __x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations
267 #endif /* WIDL_using_Windows_Graphics_Display */
268 #endif
269
270 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations_ENUM_DEFINED__ */
271 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
272 #ifndef __cplusplus
273 typedef enum __x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations __x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations;
274 #endif /* __cplusplus */
275
276 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000
277 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CHdrMetadataFormat_ENUM_DEFINED__
278 #define ____x_ABI_CWindows_CGraphics_CDisplay_CHdrMetadataFormat_ENUM_DEFINED__
279 #ifdef __cplusplus
280 } /* extern "C" */
281 namespace ABI {
282 namespace Windows {
283 namespace Graphics {
284 namespace Display {
285 enum HdrMetadataFormat {
286 HdrMetadataFormat_Hdr10 = 0,
287 HdrMetadataFormat_Hdr10Plus = 1
288 };
289 }
290 }
291 }
292 }
293 extern "C" {
294 #else
295 enum __x_ABI_CWindows_CGraphics_CDisplay_CHdrMetadataFormat {
296 HdrMetadataFormat_Hdr10 = 0,
297 HdrMetadataFormat_Hdr10Plus = 1
298 };
299 #ifdef WIDL_using_Windows_Graphics_Display
300 #define HdrMetadataFormat __x_ABI_CWindows_CGraphics_CDisplay_CHdrMetadataFormat
301 #endif /* WIDL_using_Windows_Graphics_Display */
302 #endif
303
304 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CHdrMetadataFormat_ENUM_DEFINED__ */
305 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 */
306 #ifndef __cplusplus
307 typedef enum __x_ABI_CWindows_CGraphics_CDisplay_CHdrMetadataFormat __x_ABI_CWindows_CGraphics_CDisplay_CHdrMetadataFormat;
308 #endif /* __cplusplus */
309
310 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
311 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CResolutionScale_ENUM_DEFINED__
312 #define ____x_ABI_CWindows_CGraphics_CDisplay_CResolutionScale_ENUM_DEFINED__
313 #ifdef __cplusplus
314 } /* extern "C" */
315 namespace ABI {
316 namespace Windows {
317 namespace Graphics {
318 namespace Display {
319 enum ResolutionScale {
320 ResolutionScale_Invalid = 0,
321 ResolutionScale_Scale100Percent = 100,
322 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
323 ResolutionScale_Scale120Percent = 120,
324 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
325 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
326 ResolutionScale_Scale125Percent = 125,
327 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
328 ResolutionScale_Scale140Percent = 140,
329 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
330 ResolutionScale_Scale150Percent = 150,
331 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
332 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
333 ResolutionScale_Scale160Percent = 160,
334 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
335 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
336 ResolutionScale_Scale175Percent = 175,
337 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
338 ResolutionScale_Scale180Percent = 180,
339 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
340 ResolutionScale_Scale200Percent = 200,
341 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
342 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
343 ResolutionScale_Scale225Percent = 225,
344 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
345 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
346 ResolutionScale_Scale250Percent = 250,
347 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
348 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
349 ResolutionScale_Scale300Percent = 300,
350 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
351 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
352 ResolutionScale_Scale350Percent = 350,
353 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
354 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
355 ResolutionScale_Scale400Percent = 400,
356 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
357 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
358 ResolutionScale_Scale450Percent = 450,
359 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
360 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
361 ResolutionScale_Scale500Percent = 500
362 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
363 };
364 }
365 }
366 }
367 }
368 extern "C" {
369 #else
370 enum __x_ABI_CWindows_CGraphics_CDisplay_CResolutionScale {
371 ResolutionScale_Invalid = 0,
372 ResolutionScale_Scale100Percent = 100,
373 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
374 ResolutionScale_Scale120Percent = 120,
375 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
376 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
377 ResolutionScale_Scale125Percent = 125,
378 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
379 ResolutionScale_Scale140Percent = 140,
380 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
381 ResolutionScale_Scale150Percent = 150,
382 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
383 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
384 ResolutionScale_Scale160Percent = 160,
385 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
386 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
387 ResolutionScale_Scale175Percent = 175,
388 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
389 ResolutionScale_Scale180Percent = 180,
390 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
391 ResolutionScale_Scale200Percent = 200,
392 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
393 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
394 ResolutionScale_Scale225Percent = 225,
395 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
396 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
397 ResolutionScale_Scale250Percent = 250,
398 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
399 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
400 ResolutionScale_Scale300Percent = 300,
401 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
402 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
403 ResolutionScale_Scale350Percent = 350,
404 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
405 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
406 ResolutionScale_Scale400Percent = 400,
407 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
408 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
409 ResolutionScale_Scale450Percent = 450,
410 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
411 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
412 ResolutionScale_Scale500Percent = 500
413 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
414 };
415 #ifdef WIDL_using_Windows_Graphics_Display
416 #define ResolutionScale __x_ABI_CWindows_CGraphics_CDisplay_CResolutionScale
417 #endif /* WIDL_using_Windows_Graphics_Display */
418 #endif
419
420 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CResolutionScale_ENUM_DEFINED__ */
421 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
422 #ifndef __cplusplus
423 typedef enum __x_ABI_CWindows_CGraphics_CDisplay_CResolutionScale __x_ABI_CWindows_CGraphics_CDisplay_CResolutionScale;
424 #endif /* __cplusplus */
425
426 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_FWD_DEFINED__
427 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_FWD_DEFINED__
428 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo;
429 #ifdef __cplusplus
430 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo ABI::Windows::Graphics::Display::IAdvancedColorInfo
431 namespace ABI {
432 namespace Windows {
433 namespace Graphics {
434 namespace Display {
435 interface IAdvancedColorInfo;
436 }
437 }
438 }
439 }
440 #endif /* __cplusplus */
441 #endif
442
443 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_FWD_DEFINED__
444 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_FWD_DEFINED__
445 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics;
446 #ifdef __cplusplus
447 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics ABI::Windows::Graphics::Display::IDisplayInformationStatics
448 namespace ABI {
449 namespace Windows {
450 namespace Graphics {
451 namespace Display {
452 interface IDisplayInformationStatics;
453 }
454 }
455 }
456 }
457 #endif /* __cplusplus */
458 #endif
459
460 /*****************************************************************************
461 * IAdvancedColorInfo interface
462 */
463 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000
464 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_INTERFACE_DEFINED__
465 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_INTERFACE_DEFINED__
466
467 DEFINE_GUID(IID___x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo, 0x8797dcfb, 0xb229, 0x4081, 0xae,0x9a, 0x2c,0xc8,0x5e,0x34,0xad,0x6a);
468 #if defined(__cplusplus) && !defined(CINTERFACE)
469 } /* extern "C" */
470 namespace ABI {
471 namespace Windows {
472 namespace Graphics {
473 namespace Display {
474 MIDL_INTERFACE("8797dcfb-b229-4081-ae9a-2cc85e34ad6a")
475 IAdvancedColorInfo : public IInspectable
476 {
477 virtual HRESULT STDMETHODCALLTYPE get_CurrentAdvancedColorKind(
478 ABI::Windows::Graphics::Display::AdvancedColorKind *value) = 0;
479
480 virtual HRESULT STDMETHODCALLTYPE get_RedPrimary(
481 ABI::Windows::Foundation::Point *value) = 0;
482
483 virtual HRESULT STDMETHODCALLTYPE get_GreenPrimary(
484 ABI::Windows::Foundation::Point *value) = 0;
485
486 virtual HRESULT STDMETHODCALLTYPE get_BluePrimary(
487 ABI::Windows::Foundation::Point *value) = 0;
488
489 virtual HRESULT STDMETHODCALLTYPE get_WhitePoint(
490 ABI::Windows::Foundation::Point *value) = 0;
491
492 virtual HRESULT STDMETHODCALLTYPE get_MaxLuminanceInNits(
493 FLOAT *value) = 0;
494
495 virtual HRESULT STDMETHODCALLTYPE get_MinLuminanceInNits(
496 FLOAT *value) = 0;
497
498 virtual HRESULT STDMETHODCALLTYPE get_MaxAverageFullFrameLuminanceInNits(
499 FLOAT *value) = 0;
500
501 virtual HRESULT STDMETHODCALLTYPE get_SdrWhiteLevelInNits(
502 FLOAT *value) = 0;
503
504 virtual HRESULT STDMETHODCALLTYPE IsHdrMetadataFormatCurrentlySupported(
505 ABI::Windows::Graphics::Display::HdrMetadataFormat format,
506 boolean *result) = 0;
507
508 virtual HRESULT STDMETHODCALLTYPE IsAdvancedColorKindAvailable(
509 ABI::Windows::Graphics::Display::AdvancedColorKind kind,
510 boolean *result) = 0;
511
512 };
513 }
514 }
515 }
516 }
517 extern "C" {
518 #ifdef __CRT_UUID_DECL
519 __CRT_UUID_DECL(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo, 0x8797dcfb, 0xb229, 0x4081, 0xae,0x9a, 0x2c,0xc8,0x5e,0x34,0xad,0x6a)
520 #endif
521 #else
522 typedef struct __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfoVtbl {
523 BEGIN_INTERFACE
524
525 /*** IUnknown methods ***/
526 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
527 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
528 REFIID riid,
529 void **ppvObject);
530
531 ULONG (STDMETHODCALLTYPE *AddRef)(
532 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This);
533
534 ULONG (STDMETHODCALLTYPE *Release)(
535 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This);
536
537 /*** IInspectable methods ***/
538 HRESULT (STDMETHODCALLTYPE *GetIids)(
539 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
540 ULONG *iidCount,
541 IID **iids);
542
543 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
544 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
545 HSTRING *className);
546
547 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
548 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
549 TrustLevel *trustLevel);
550
551 /*** IAdvancedColorInfo methods ***/
552 HRESULT (STDMETHODCALLTYPE *get_CurrentAdvancedColorKind)(
553 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
554 __x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind *value);
555
556 HRESULT (STDMETHODCALLTYPE *get_RedPrimary)(
557 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
558 __x_ABI_CWindows_CFoundation_CPoint *value);
559
560 HRESULT (STDMETHODCALLTYPE *get_GreenPrimary)(
561 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
562 __x_ABI_CWindows_CFoundation_CPoint *value);
563
564 HRESULT (STDMETHODCALLTYPE *get_BluePrimary)(
565 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
566 __x_ABI_CWindows_CFoundation_CPoint *value);
567
568 HRESULT (STDMETHODCALLTYPE *get_WhitePoint)(
569 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
570 __x_ABI_CWindows_CFoundation_CPoint *value);
571
572 HRESULT (STDMETHODCALLTYPE *get_MaxLuminanceInNits)(
573 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
574 FLOAT *value);
575
576 HRESULT (STDMETHODCALLTYPE *get_MinLuminanceInNits)(
577 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
578 FLOAT *value);
579
580 HRESULT (STDMETHODCALLTYPE *get_MaxAverageFullFrameLuminanceInNits)(
581 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
582 FLOAT *value);
583
584 HRESULT (STDMETHODCALLTYPE *get_SdrWhiteLevelInNits)(
585 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
586 FLOAT *value);
587
588 HRESULT (STDMETHODCALLTYPE *IsHdrMetadataFormatCurrentlySupported)(
589 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
590 __x_ABI_CWindows_CGraphics_CDisplay_CHdrMetadataFormat format,
591 boolean *result);
592
593 HRESULT (STDMETHODCALLTYPE *IsAdvancedColorKindAvailable)(
594 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo *This,
595 __x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind kind,
596 boolean *result);
597
598 END_INTERFACE
599 } __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfoVtbl;
600
601 interface __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo {
602 CONST_VTBL __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfoVtbl* lpVtbl;
603 };
604
605 #ifdef COBJMACROS
606 #ifndef WIDL_C_INLINE_WRAPPERS
607 /*** IUnknown methods ***/
608 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
609 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
610 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_Release(This) (This)->lpVtbl->Release(This)
611 /*** IInspectable methods ***/
612 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
613 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
614 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
615 /*** IAdvancedColorInfo methods ***/
616 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_CurrentAdvancedColorKind(This,value) (This)->lpVtbl->get_CurrentAdvancedColorKind(This,value)
617 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_RedPrimary(This,value) (This)->lpVtbl->get_RedPrimary(This,value)
618 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_GreenPrimary(This,value) (This)->lpVtbl->get_GreenPrimary(This,value)
619 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_BluePrimary(This,value) (This)->lpVtbl->get_BluePrimary(This,value)
620 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_WhitePoint(This,value) (This)->lpVtbl->get_WhitePoint(This,value)
621 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_MaxLuminanceInNits(This,value) (This)->lpVtbl->get_MaxLuminanceInNits(This,value)
622 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_MinLuminanceInNits(This,value) (This)->lpVtbl->get_MinLuminanceInNits(This,value)
623 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_MaxAverageFullFrameLuminanceInNits(This,value) (This)->lpVtbl->get_MaxAverageFullFrameLuminanceInNits(This,value)
624 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_SdrWhiteLevelInNits(This,value) (This)->lpVtbl->get_SdrWhiteLevelInNits(This,value)
625 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_IsHdrMetadataFormatCurrentlySupported(This,format,result) (This)->lpVtbl->IsHdrMetadataFormatCurrentlySupported(This,format,result)
626 #define __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_IsAdvancedColorKindAvailable(This,kind,result) (This)->lpVtbl->IsAdvancedColorKindAvailable(This,kind,result)
627 #else
628 /*** IUnknown methods ***/
629 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_QueryInterface(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,REFIID riid,void **ppvObject) {
630 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
631 }
632 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_AddRef(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This) {
633 return This->lpVtbl->AddRef(This);
634 }
635 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_Release(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This) {
636 return This->lpVtbl->Release(This);
637 }
638 /*** IInspectable methods ***/
639 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_GetIids(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,ULONG *iidCount,IID **iids) {
640 return This->lpVtbl->GetIids(This,iidCount,iids);
641 }
642 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_GetRuntimeClassName(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,HSTRING *className) {
643 return This->lpVtbl->GetRuntimeClassName(This,className);
644 }
645 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_GetTrustLevel(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,TrustLevel *trustLevel) {
646 return This->lpVtbl->GetTrustLevel(This,trustLevel);
647 }
648 /*** IAdvancedColorInfo methods ***/
649 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_CurrentAdvancedColorKind(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,__x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind *value) {
650 return This->lpVtbl->get_CurrentAdvancedColorKind(This,value);
651 }
652 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_RedPrimary(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,__x_ABI_CWindows_CFoundation_CPoint *value) {
653 return This->lpVtbl->get_RedPrimary(This,value);
654 }
655 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_GreenPrimary(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,__x_ABI_CWindows_CFoundation_CPoint *value) {
656 return This->lpVtbl->get_GreenPrimary(This,value);
657 }
658 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_BluePrimary(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,__x_ABI_CWindows_CFoundation_CPoint *value) {
659 return This->lpVtbl->get_BluePrimary(This,value);
660 }
661 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_WhitePoint(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,__x_ABI_CWindows_CFoundation_CPoint *value) {
662 return This->lpVtbl->get_WhitePoint(This,value);
663 }
664 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_MaxLuminanceInNits(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,FLOAT *value) {
665 return This->lpVtbl->get_MaxLuminanceInNits(This,value);
666 }
667 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_MinLuminanceInNits(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,FLOAT *value) {
668 return This->lpVtbl->get_MinLuminanceInNits(This,value);
669 }
670 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_MaxAverageFullFrameLuminanceInNits(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,FLOAT *value) {
671 return This->lpVtbl->get_MaxAverageFullFrameLuminanceInNits(This,value);
672 }
673 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_SdrWhiteLevelInNits(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,FLOAT *value) {
674 return This->lpVtbl->get_SdrWhiteLevelInNits(This,value);
675 }
676 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_IsHdrMetadataFormatCurrentlySupported(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,__x_ABI_CWindows_CGraphics_CDisplay_CHdrMetadataFormat format,boolean *result) {
677 return This->lpVtbl->IsHdrMetadataFormatCurrentlySupported(This,format,result);
678 }
679 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_IsAdvancedColorKindAvailable(__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo* This,__x_ABI_CWindows_CGraphics_CDisplay_CAdvancedColorKind kind,boolean *result) {
680 return This->lpVtbl->IsAdvancedColorKindAvailable(This,kind,result);
681 }
682 #endif
683 #ifdef WIDL_using_Windows_Graphics_Display
684 #define IID_IAdvancedColorInfo IID___x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo
685 #define IAdvancedColorInfoVtbl __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfoVtbl
686 #define IAdvancedColorInfo __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo
687 #define IAdvancedColorInfo_QueryInterface __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_QueryInterface
688 #define IAdvancedColorInfo_AddRef __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_AddRef
689 #define IAdvancedColorInfo_Release __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_Release
690 #define IAdvancedColorInfo_GetIids __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_GetIids
691 #define IAdvancedColorInfo_GetRuntimeClassName __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_GetRuntimeClassName
692 #define IAdvancedColorInfo_GetTrustLevel __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_GetTrustLevel
693 #define IAdvancedColorInfo_get_CurrentAdvancedColorKind __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_CurrentAdvancedColorKind
694 #define IAdvancedColorInfo_get_RedPrimary __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_RedPrimary
695 #define IAdvancedColorInfo_get_GreenPrimary __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_GreenPrimary
696 #define IAdvancedColorInfo_get_BluePrimary __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_BluePrimary
697 #define IAdvancedColorInfo_get_WhitePoint __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_WhitePoint
698 #define IAdvancedColorInfo_get_MaxLuminanceInNits __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_MaxLuminanceInNits
699 #define IAdvancedColorInfo_get_MinLuminanceInNits __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_MinLuminanceInNits
700 #define IAdvancedColorInfo_get_MaxAverageFullFrameLuminanceInNits __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_MaxAverageFullFrameLuminanceInNits
701 #define IAdvancedColorInfo_get_SdrWhiteLevelInNits __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_get_SdrWhiteLevelInNits
702 #define IAdvancedColorInfo_IsHdrMetadataFormatCurrentlySupported __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_IsHdrMetadataFormatCurrentlySupported
703 #define IAdvancedColorInfo_IsAdvancedColorKindAvailable __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_IsAdvancedColorKindAvailable
704 #endif /* WIDL_using_Windows_Graphics_Display */
705 #endif
706
707 #endif
708
709 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo_INTERFACE_DEFINED__ */
710 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 */
711
712 /*****************************************************************************
713 * IDisplayInformation interface
714 */
715 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
716 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_INTERFACE_DEFINED__
717 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_INTERFACE_DEFINED__
718
719 DEFINE_GUID(IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation, 0xbed112ae, 0xadc3, 0x4dc9, 0xae,0x65, 0x85,0x1f,0x4d,0x7d,0x47,0x99);
720 #if defined(__cplusplus) && !defined(CINTERFACE)
721 } /* extern "C" */
722 namespace ABI {
723 namespace Windows {
724 namespace Graphics {
725 namespace Display {
726 MIDL_INTERFACE("bed112ae-adc3-4dc9-ae65-851f4d7d4799")
727 IDisplayInformation : public IInspectable
728 {
729 virtual HRESULT STDMETHODCALLTYPE get_CurrentOrientation(
730 ABI::Windows::Graphics::Display::DisplayOrientations *value) = 0;
731
732 virtual HRESULT STDMETHODCALLTYPE get_NativeOrientation(
733 ABI::Windows::Graphics::Display::DisplayOrientations *value) = 0;
734
735 virtual HRESULT STDMETHODCALLTYPE add_OrientationChanged(
736 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > *handler,
737 EventRegistrationToken *token) = 0;
738
739 virtual HRESULT STDMETHODCALLTYPE remove_OrientationChanged(
740 EventRegistrationToken token) = 0;
741
742 virtual HRESULT STDMETHODCALLTYPE get_ResolutionScale(
743 ABI::Windows::Graphics::Display::ResolutionScale *value) = 0;
744
745 virtual HRESULT STDMETHODCALLTYPE get_LogicalDpi(
746 FLOAT *value) = 0;
747
748 virtual HRESULT STDMETHODCALLTYPE get_RawDpiX(
749 FLOAT *value) = 0;
750
751 virtual HRESULT STDMETHODCALLTYPE get_RawDpiY(
752 FLOAT *value) = 0;
753
754 virtual HRESULT STDMETHODCALLTYPE add_DpiChanged(
755 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > *handler,
756 EventRegistrationToken *token) = 0;
757
758 virtual HRESULT STDMETHODCALLTYPE remove_DpiChanged(
759 EventRegistrationToken token) = 0;
760
761 virtual HRESULT STDMETHODCALLTYPE get_StereoEnabled(
762 boolean *value) = 0;
763
764 virtual HRESULT STDMETHODCALLTYPE add_StereoEnabledChanged(
765 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > *handler,
766 EventRegistrationToken *token) = 0;
767
768 virtual HRESULT STDMETHODCALLTYPE remove_StereoEnabledChanged(
769 EventRegistrationToken token) = 0;
770
771 virtual HRESULT STDMETHODCALLTYPE GetColorProfileAsync(
772 ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Storage::Streams::IRandomAccessStream* > **async_info) = 0;
773
774 virtual HRESULT STDMETHODCALLTYPE add_ColorProfileChanged(
775 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > *handler,
776 EventRegistrationToken *token) = 0;
777
778 virtual HRESULT STDMETHODCALLTYPE remove_ColorProfileChanged(
779 EventRegistrationToken token) = 0;
780
781 };
782 }
783 }
784 }
785 }
786 extern "C" {
787 #ifdef __CRT_UUID_DECL
788 __CRT_UUID_DECL(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation, 0xbed112ae, 0xadc3, 0x4dc9, 0xae,0x65, 0x85,0x1f,0x4d,0x7d,0x47,0x99)
789 #endif
790 #else
791 typedef struct __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationVtbl {
792 BEGIN_INTERFACE
793
794 /*** IUnknown methods ***/
795 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
796 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
797 REFIID riid,
798 void **ppvObject);
799
800 ULONG (STDMETHODCALLTYPE *AddRef)(
801 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This);
802
803 ULONG (STDMETHODCALLTYPE *Release)(
804 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This);
805
806 /*** IInspectable methods ***/
807 HRESULT (STDMETHODCALLTYPE *GetIids)(
808 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
809 ULONG *iidCount,
810 IID **iids);
811
812 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
813 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
814 HSTRING *className);
815
816 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
817 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
818 TrustLevel *trustLevel);
819
820 /*** IDisplayInformation methods ***/
821 HRESULT (STDMETHODCALLTYPE *get_CurrentOrientation)(
822 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
823 __x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations *value);
824
825 HRESULT (STDMETHODCALLTYPE *get_NativeOrientation)(
826 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
827 __x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations *value);
828
829 HRESULT (STDMETHODCALLTYPE *add_OrientationChanged)(
830 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
831 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
832 EventRegistrationToken *token);
833
834 HRESULT (STDMETHODCALLTYPE *remove_OrientationChanged)(
835 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
836 EventRegistrationToken token);
837
838 HRESULT (STDMETHODCALLTYPE *get_ResolutionScale)(
839 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
840 __x_ABI_CWindows_CGraphics_CDisplay_CResolutionScale *value);
841
842 HRESULT (STDMETHODCALLTYPE *get_LogicalDpi)(
843 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
844 FLOAT *value);
845
846 HRESULT (STDMETHODCALLTYPE *get_RawDpiX)(
847 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
848 FLOAT *value);
849
850 HRESULT (STDMETHODCALLTYPE *get_RawDpiY)(
851 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
852 FLOAT *value);
853
854 HRESULT (STDMETHODCALLTYPE *add_DpiChanged)(
855 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
856 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
857 EventRegistrationToken *token);
858
859 HRESULT (STDMETHODCALLTYPE *remove_DpiChanged)(
860 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
861 EventRegistrationToken token);
862
863 HRESULT (STDMETHODCALLTYPE *get_StereoEnabled)(
864 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
865 boolean *value);
866
867 HRESULT (STDMETHODCALLTYPE *add_StereoEnabledChanged)(
868 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
869 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
870 EventRegistrationToken *token);
871
872 HRESULT (STDMETHODCALLTYPE *remove_StereoEnabledChanged)(
873 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
874 EventRegistrationToken token);
875
876 HRESULT (STDMETHODCALLTYPE *GetColorProfileAsync)(
877 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
878 __FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream **async_info);
879
880 HRESULT (STDMETHODCALLTYPE *add_ColorProfileChanged)(
881 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
882 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
883 EventRegistrationToken *token);
884
885 HRESULT (STDMETHODCALLTYPE *remove_ColorProfileChanged)(
886 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *This,
887 EventRegistrationToken token);
888
889 END_INTERFACE
890 } __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationVtbl;
891
892 interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation {
893 CONST_VTBL __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationVtbl* lpVtbl;
894 };
895
896 #ifdef COBJMACROS
897 #ifndef WIDL_C_INLINE_WRAPPERS
898 /*** IUnknown methods ***/
899 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
900 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_AddRef(This) (This)->lpVtbl->AddRef(This)
901 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_Release(This) (This)->lpVtbl->Release(This)
902 /*** IInspectable methods ***/
903 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
904 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
905 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
906 /*** IDisplayInformation methods ***/
907 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_CurrentOrientation(This,value) (This)->lpVtbl->get_CurrentOrientation(This,value)
908 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_NativeOrientation(This,value) (This)->lpVtbl->get_NativeOrientation(This,value)
909 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_OrientationChanged(This,handler,token) (This)->lpVtbl->add_OrientationChanged(This,handler,token)
910 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_OrientationChanged(This,token) (This)->lpVtbl->remove_OrientationChanged(This,token)
911 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_ResolutionScale(This,value) (This)->lpVtbl->get_ResolutionScale(This,value)
912 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_LogicalDpi(This,value) (This)->lpVtbl->get_LogicalDpi(This,value)
913 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_RawDpiX(This,value) (This)->lpVtbl->get_RawDpiX(This,value)
914 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_RawDpiY(This,value) (This)->lpVtbl->get_RawDpiY(This,value)
915 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_DpiChanged(This,handler,token) (This)->lpVtbl->add_DpiChanged(This,handler,token)
916 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_DpiChanged(This,token) (This)->lpVtbl->remove_DpiChanged(This,token)
917 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_StereoEnabled(This,value) (This)->lpVtbl->get_StereoEnabled(This,value)
918 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_StereoEnabledChanged(This,handler,token) (This)->lpVtbl->add_StereoEnabledChanged(This,handler,token)
919 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_StereoEnabledChanged(This,token) (This)->lpVtbl->remove_StereoEnabledChanged(This,token)
920 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetColorProfileAsync(This,async_info) (This)->lpVtbl->GetColorProfileAsync(This,async_info)
921 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_ColorProfileChanged(This,handler,token) (This)->lpVtbl->add_ColorProfileChanged(This,handler,token)
922 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_ColorProfileChanged(This,token) (This)->lpVtbl->remove_ColorProfileChanged(This,token)
923 #else
924 /*** IUnknown methods ***/
925 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_QueryInterface(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,REFIID riid,void **ppvObject) {
926 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
927 }
928 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_AddRef(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This) {
929 return This->lpVtbl->AddRef(This);
930 }
931 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_Release(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This) {
932 return This->lpVtbl->Release(This);
933 }
934 /*** IInspectable methods ***/
935 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetIids(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,ULONG *iidCount,IID **iids) {
936 return This->lpVtbl->GetIids(This,iidCount,iids);
937 }
938 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetRuntimeClassName(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,HSTRING *className) {
939 return This->lpVtbl->GetRuntimeClassName(This,className);
940 }
941 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetTrustLevel(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,TrustLevel *trustLevel) {
942 return This->lpVtbl->GetTrustLevel(This,trustLevel);
943 }
944 /*** IDisplayInformation methods ***/
945 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_CurrentOrientation(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,__x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations *value) {
946 return This->lpVtbl->get_CurrentOrientation(This,value);
947 }
948 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_NativeOrientation(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,__x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations *value) {
949 return This->lpVtbl->get_NativeOrientation(This,value);
950 }
951 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_OrientationChanged(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,EventRegistrationToken *token) {
952 return This->lpVtbl->add_OrientationChanged(This,handler,token);
953 }
954 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_OrientationChanged(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,EventRegistrationToken token) {
955 return This->lpVtbl->remove_OrientationChanged(This,token);
956 }
957 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_ResolutionScale(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,__x_ABI_CWindows_CGraphics_CDisplay_CResolutionScale *value) {
958 return This->lpVtbl->get_ResolutionScale(This,value);
959 }
960 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_LogicalDpi(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,FLOAT *value) {
961 return This->lpVtbl->get_LogicalDpi(This,value);
962 }
963 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_RawDpiX(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,FLOAT *value) {
964 return This->lpVtbl->get_RawDpiX(This,value);
965 }
966 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_RawDpiY(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,FLOAT *value) {
967 return This->lpVtbl->get_RawDpiY(This,value);
968 }
969 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_DpiChanged(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,EventRegistrationToken *token) {
970 return This->lpVtbl->add_DpiChanged(This,handler,token);
971 }
972 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_DpiChanged(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,EventRegistrationToken token) {
973 return This->lpVtbl->remove_DpiChanged(This,token);
974 }
975 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_StereoEnabled(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,boolean *value) {
976 return This->lpVtbl->get_StereoEnabled(This,value);
977 }
978 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_StereoEnabledChanged(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,EventRegistrationToken *token) {
979 return This->lpVtbl->add_StereoEnabledChanged(This,handler,token);
980 }
981 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_StereoEnabledChanged(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,EventRegistrationToken token) {
982 return This->lpVtbl->remove_StereoEnabledChanged(This,token);
983 }
984 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetColorProfileAsync(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream **async_info) {
985 return This->lpVtbl->GetColorProfileAsync(This,async_info);
986 }
987 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_ColorProfileChanged(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,EventRegistrationToken *token) {
988 return This->lpVtbl->add_ColorProfileChanged(This,handler,token);
989 }
990 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_ColorProfileChanged(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation* This,EventRegistrationToken token) {
991 return This->lpVtbl->remove_ColorProfileChanged(This,token);
992 }
993 #endif
994 #ifdef WIDL_using_Windows_Graphics_Display
995 #define IID_IDisplayInformation IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation
996 #define IDisplayInformationVtbl __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationVtbl
997 #define IDisplayInformation __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation
998 #define IDisplayInformation_QueryInterface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_QueryInterface
999 #define IDisplayInformation_AddRef __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_AddRef
1000 #define IDisplayInformation_Release __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_Release
1001 #define IDisplayInformation_GetIids __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetIids
1002 #define IDisplayInformation_GetRuntimeClassName __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetRuntimeClassName
1003 #define IDisplayInformation_GetTrustLevel __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetTrustLevel
1004 #define IDisplayInformation_get_CurrentOrientation __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_CurrentOrientation
1005 #define IDisplayInformation_get_NativeOrientation __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_NativeOrientation
1006 #define IDisplayInformation_add_OrientationChanged __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_OrientationChanged
1007 #define IDisplayInformation_remove_OrientationChanged __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_OrientationChanged
1008 #define IDisplayInformation_get_ResolutionScale __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_ResolutionScale
1009 #define IDisplayInformation_get_LogicalDpi __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_LogicalDpi
1010 #define IDisplayInformation_get_RawDpiX __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_RawDpiX
1011 #define IDisplayInformation_get_RawDpiY __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_RawDpiY
1012 #define IDisplayInformation_add_DpiChanged __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_DpiChanged
1013 #define IDisplayInformation_remove_DpiChanged __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_DpiChanged
1014 #define IDisplayInformation_get_StereoEnabled __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_get_StereoEnabled
1015 #define IDisplayInformation_add_StereoEnabledChanged __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_StereoEnabledChanged
1016 #define IDisplayInformation_remove_StereoEnabledChanged __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_StereoEnabledChanged
1017 #define IDisplayInformation_GetColorProfileAsync __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_GetColorProfileAsync
1018 #define IDisplayInformation_add_ColorProfileChanged __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_add_ColorProfileChanged
1019 #define IDisplayInformation_remove_ColorProfileChanged __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_remove_ColorProfileChanged
1020 #endif /* WIDL_using_Windows_Graphics_Display */
1021 #endif
1022
1023 #endif
1024
1025 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_INTERFACE_DEFINED__ */
1026 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1027
1028 /*****************************************************************************
1029 * IDisplayInformation2 interface
1030 */
1031 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
1032 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_INTERFACE_DEFINED__
1033 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_INTERFACE_DEFINED__
1034
1035 DEFINE_GUID(IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2, 0x4dcd0021, 0xfad1, 0x4b8e, 0x8e,0xdf, 0x77,0x58,0x87,0xb8,0xbf,0x19);
1036 #if defined(__cplusplus) && !defined(CINTERFACE)
1037 } /* extern "C" */
1038 namespace ABI {
1039 namespace Windows {
1040 namespace Graphics {
1041 namespace Display {
1042 MIDL_INTERFACE("4dcd0021-fad1-4b8e-8edf-775887b8bf19")
1043 IDisplayInformation2 : public IInspectable
1044 {
1045 virtual HRESULT STDMETHODCALLTYPE get_RawPixelsPerViewPixel(
1046 DOUBLE *value) = 0;
1047
1048 };
1049 }
1050 }
1051 }
1052 }
1053 extern "C" {
1054 #ifdef __CRT_UUID_DECL
1055 __CRT_UUID_DECL(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2, 0x4dcd0021, 0xfad1, 0x4b8e, 0x8e,0xdf, 0x77,0x58,0x87,0xb8,0xbf,0x19)
1056 #endif
1057 #else
1058 typedef struct __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2Vtbl {
1059 BEGIN_INTERFACE
1060
1061 /*** IUnknown methods ***/
1062 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1063 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2 *This,
1064 REFIID riid,
1065 void **ppvObject);
1066
1067 ULONG (STDMETHODCALLTYPE *AddRef)(
1068 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2 *This);
1069
1070 ULONG (STDMETHODCALLTYPE *Release)(
1071 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2 *This);
1072
1073 /*** IInspectable methods ***/
1074 HRESULT (STDMETHODCALLTYPE *GetIids)(
1075 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2 *This,
1076 ULONG *iidCount,
1077 IID **iids);
1078
1079 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1080 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2 *This,
1081 HSTRING *className);
1082
1083 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1084 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2 *This,
1085 TrustLevel *trustLevel);
1086
1087 /*** IDisplayInformation2 methods ***/
1088 HRESULT (STDMETHODCALLTYPE *get_RawPixelsPerViewPixel)(
1089 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2 *This,
1090 DOUBLE *value);
1091
1092 END_INTERFACE
1093 } __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2Vtbl;
1094
1095 interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2 {
1096 CONST_VTBL __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2Vtbl* lpVtbl;
1097 };
1098
1099 #ifdef COBJMACROS
1100 #ifndef WIDL_C_INLINE_WRAPPERS
1101 /*** IUnknown methods ***/
1102 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1103 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_AddRef(This) (This)->lpVtbl->AddRef(This)
1104 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_Release(This) (This)->lpVtbl->Release(This)
1105 /*** IInspectable methods ***/
1106 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1107 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1108 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1109 /*** IDisplayInformation2 methods ***/
1110 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_get_RawPixelsPerViewPixel(This,value) (This)->lpVtbl->get_RawPixelsPerViewPixel(This,value)
1111 #else
1112 /*** IUnknown methods ***/
1113 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_QueryInterface(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2* This,REFIID riid,void **ppvObject) {
1114 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1115 }
1116 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_AddRef(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2* This) {
1117 return This->lpVtbl->AddRef(This);
1118 }
1119 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_Release(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2* This) {
1120 return This->lpVtbl->Release(This);
1121 }
1122 /*** IInspectable methods ***/
1123 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_GetIids(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2* This,ULONG *iidCount,IID **iids) {
1124 return This->lpVtbl->GetIids(This,iidCount,iids);
1125 }
1126 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_GetRuntimeClassName(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2* This,HSTRING *className) {
1127 return This->lpVtbl->GetRuntimeClassName(This,className);
1128 }
1129 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_GetTrustLevel(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2* This,TrustLevel *trustLevel) {
1130 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1131 }
1132 /*** IDisplayInformation2 methods ***/
1133 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_get_RawPixelsPerViewPixel(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2* This,DOUBLE *value) {
1134 return This->lpVtbl->get_RawPixelsPerViewPixel(This,value);
1135 }
1136 #endif
1137 #ifdef WIDL_using_Windows_Graphics_Display
1138 #define IID_IDisplayInformation2 IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2
1139 #define IDisplayInformation2Vtbl __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2Vtbl
1140 #define IDisplayInformation2 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2
1141 #define IDisplayInformation2_QueryInterface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_QueryInterface
1142 #define IDisplayInformation2_AddRef __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_AddRef
1143 #define IDisplayInformation2_Release __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_Release
1144 #define IDisplayInformation2_GetIids __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_GetIids
1145 #define IDisplayInformation2_GetRuntimeClassName __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_GetRuntimeClassName
1146 #define IDisplayInformation2_GetTrustLevel __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_GetTrustLevel
1147 #define IDisplayInformation2_get_RawPixelsPerViewPixel __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_get_RawPixelsPerViewPixel
1148 #endif /* WIDL_using_Windows_Graphics_Display */
1149 #endif
1150
1151 #endif
1152
1153 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation2_INTERFACE_DEFINED__ */
1154 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1155
1156 /*****************************************************************************
1157 * IDisplayInformation3 interface
1158 */
1159 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x20000
1160 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_INTERFACE_DEFINED__
1161 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_INTERFACE_DEFINED__
1162
1163 DEFINE_GUID(IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3, 0xdb15011d, 0x0f09, 0x4466, 0x8f,0xf3, 0x11,0xde,0x9a,0x3c,0x92,0x9a);
1164 #if defined(__cplusplus) && !defined(CINTERFACE)
1165 } /* extern "C" */
1166 namespace ABI {
1167 namespace Windows {
1168 namespace Graphics {
1169 namespace Display {
1170 MIDL_INTERFACE("db15011d-0f09-4466-8ff3-11de9a3c929a")
1171 IDisplayInformation3 : public IInspectable
1172 {
1173 virtual HRESULT STDMETHODCALLTYPE get_DiagonalSizeInInches(
1174 ABI::Windows::Foundation::IReference<DOUBLE > **value) = 0;
1175
1176 };
1177 }
1178 }
1179 }
1180 }
1181 extern "C" {
1182 #ifdef __CRT_UUID_DECL
1183 __CRT_UUID_DECL(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3, 0xdb15011d, 0x0f09, 0x4466, 0x8f,0xf3, 0x11,0xde,0x9a,0x3c,0x92,0x9a)
1184 #endif
1185 #else
1186 typedef struct __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3Vtbl {
1187 BEGIN_INTERFACE
1188
1189 /*** IUnknown methods ***/
1190 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1191 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3 *This,
1192 REFIID riid,
1193 void **ppvObject);
1194
1195 ULONG (STDMETHODCALLTYPE *AddRef)(
1196 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3 *This);
1197
1198 ULONG (STDMETHODCALLTYPE *Release)(
1199 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3 *This);
1200
1201 /*** IInspectable methods ***/
1202 HRESULT (STDMETHODCALLTYPE *GetIids)(
1203 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3 *This,
1204 ULONG *iidCount,
1205 IID **iids);
1206
1207 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1208 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3 *This,
1209 HSTRING *className);
1210
1211 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1212 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3 *This,
1213 TrustLevel *trustLevel);
1214
1215 /*** IDisplayInformation3 methods ***/
1216 HRESULT (STDMETHODCALLTYPE *get_DiagonalSizeInInches)(
1217 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3 *This,
1218 __FIReference_1_DOUBLE **value);
1219
1220 END_INTERFACE
1221 } __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3Vtbl;
1222
1223 interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3 {
1224 CONST_VTBL __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3Vtbl* lpVtbl;
1225 };
1226
1227 #ifdef COBJMACROS
1228 #ifndef WIDL_C_INLINE_WRAPPERS
1229 /*** IUnknown methods ***/
1230 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1231 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_AddRef(This) (This)->lpVtbl->AddRef(This)
1232 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_Release(This) (This)->lpVtbl->Release(This)
1233 /*** IInspectable methods ***/
1234 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1235 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1236 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1237 /*** IDisplayInformation3 methods ***/
1238 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_get_DiagonalSizeInInches(This,value) (This)->lpVtbl->get_DiagonalSizeInInches(This,value)
1239 #else
1240 /*** IUnknown methods ***/
1241 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_QueryInterface(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3* This,REFIID riid,void **ppvObject) {
1242 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1243 }
1244 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_AddRef(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3* This) {
1245 return This->lpVtbl->AddRef(This);
1246 }
1247 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_Release(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3* This) {
1248 return This->lpVtbl->Release(This);
1249 }
1250 /*** IInspectable methods ***/
1251 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_GetIids(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3* This,ULONG *iidCount,IID **iids) {
1252 return This->lpVtbl->GetIids(This,iidCount,iids);
1253 }
1254 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_GetRuntimeClassName(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3* This,HSTRING *className) {
1255 return This->lpVtbl->GetRuntimeClassName(This,className);
1256 }
1257 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_GetTrustLevel(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3* This,TrustLevel *trustLevel) {
1258 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1259 }
1260 /*** IDisplayInformation3 methods ***/
1261 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_get_DiagonalSizeInInches(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3* This,__FIReference_1_DOUBLE **value) {
1262 return This->lpVtbl->get_DiagonalSizeInInches(This,value);
1263 }
1264 #endif
1265 #ifdef WIDL_using_Windows_Graphics_Display
1266 #define IID_IDisplayInformation3 IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3
1267 #define IDisplayInformation3Vtbl __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3Vtbl
1268 #define IDisplayInformation3 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3
1269 #define IDisplayInformation3_QueryInterface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_QueryInterface
1270 #define IDisplayInformation3_AddRef __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_AddRef
1271 #define IDisplayInformation3_Release __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_Release
1272 #define IDisplayInformation3_GetIids __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_GetIids
1273 #define IDisplayInformation3_GetRuntimeClassName __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_GetRuntimeClassName
1274 #define IDisplayInformation3_GetTrustLevel __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_GetTrustLevel
1275 #define IDisplayInformation3_get_DiagonalSizeInInches __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_get_DiagonalSizeInInches
1276 #endif /* WIDL_using_Windows_Graphics_Display */
1277 #endif
1278
1279 #endif
1280
1281 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation3_INTERFACE_DEFINED__ */
1282 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x20000 */
1283
1284 /*****************************************************************************
1285 * IDisplayInformation4 interface
1286 */
1287 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
1288 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_INTERFACE_DEFINED__
1289 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_INTERFACE_DEFINED__
1290
1291 DEFINE_GUID(IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4, 0xc972ce2f, 0x1242, 0x46be, 0xb5,0x36, 0xe1,0xaa,0xfe,0x9e,0x7a,0xcf);
1292 #if defined(__cplusplus) && !defined(CINTERFACE)
1293 } /* extern "C" */
1294 namespace ABI {
1295 namespace Windows {
1296 namespace Graphics {
1297 namespace Display {
1298 MIDL_INTERFACE("c972ce2f-1242-46be-b536-e1aafe9e7acf")
1299 IDisplayInformation4 : public IInspectable
1300 {
1301 virtual HRESULT STDMETHODCALLTYPE get_ScreenWidthInRawPixels(
1302 UINT32 *value) = 0;
1303
1304 virtual HRESULT STDMETHODCALLTYPE get_ScreenHeightInRawPixels(
1305 UINT32 *value) = 0;
1306
1307 };
1308 }
1309 }
1310 }
1311 }
1312 extern "C" {
1313 #ifdef __CRT_UUID_DECL
1314 __CRT_UUID_DECL(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4, 0xc972ce2f, 0x1242, 0x46be, 0xb5,0x36, 0xe1,0xaa,0xfe,0x9e,0x7a,0xcf)
1315 #endif
1316 #else
1317 typedef struct __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4Vtbl {
1318 BEGIN_INTERFACE
1319
1320 /*** IUnknown methods ***/
1321 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1322 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 *This,
1323 REFIID riid,
1324 void **ppvObject);
1325
1326 ULONG (STDMETHODCALLTYPE *AddRef)(
1327 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 *This);
1328
1329 ULONG (STDMETHODCALLTYPE *Release)(
1330 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 *This);
1331
1332 /*** IInspectable methods ***/
1333 HRESULT (STDMETHODCALLTYPE *GetIids)(
1334 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 *This,
1335 ULONG *iidCount,
1336 IID **iids);
1337
1338 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1339 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 *This,
1340 HSTRING *className);
1341
1342 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1343 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 *This,
1344 TrustLevel *trustLevel);
1345
1346 /*** IDisplayInformation4 methods ***/
1347 HRESULT (STDMETHODCALLTYPE *get_ScreenWidthInRawPixels)(
1348 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 *This,
1349 UINT32 *value);
1350
1351 HRESULT (STDMETHODCALLTYPE *get_ScreenHeightInRawPixels)(
1352 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 *This,
1353 UINT32 *value);
1354
1355 END_INTERFACE
1356 } __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4Vtbl;
1357
1358 interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4 {
1359 CONST_VTBL __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4Vtbl* lpVtbl;
1360 };
1361
1362 #ifdef COBJMACROS
1363 #ifndef WIDL_C_INLINE_WRAPPERS
1364 /*** IUnknown methods ***/
1365 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1366 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_AddRef(This) (This)->lpVtbl->AddRef(This)
1367 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_Release(This) (This)->lpVtbl->Release(This)
1368 /*** IInspectable methods ***/
1369 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1370 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1371 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1372 /*** IDisplayInformation4 methods ***/
1373 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_get_ScreenWidthInRawPixels(This,value) (This)->lpVtbl->get_ScreenWidthInRawPixels(This,value)
1374 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_get_ScreenHeightInRawPixels(This,value) (This)->lpVtbl->get_ScreenHeightInRawPixels(This,value)
1375 #else
1376 /*** IUnknown methods ***/
1377 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_QueryInterface(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4* This,REFIID riid,void **ppvObject) {
1378 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1379 }
1380 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_AddRef(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4* This) {
1381 return This->lpVtbl->AddRef(This);
1382 }
1383 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_Release(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4* This) {
1384 return This->lpVtbl->Release(This);
1385 }
1386 /*** IInspectable methods ***/
1387 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_GetIids(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4* This,ULONG *iidCount,IID **iids) {
1388 return This->lpVtbl->GetIids(This,iidCount,iids);
1389 }
1390 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_GetRuntimeClassName(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4* This,HSTRING *className) {
1391 return This->lpVtbl->GetRuntimeClassName(This,className);
1392 }
1393 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_GetTrustLevel(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4* This,TrustLevel *trustLevel) {
1394 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1395 }
1396 /*** IDisplayInformation4 methods ***/
1397 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_get_ScreenWidthInRawPixels(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4* This,UINT32 *value) {
1398 return This->lpVtbl->get_ScreenWidthInRawPixels(This,value);
1399 }
1400 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_get_ScreenHeightInRawPixels(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4* This,UINT32 *value) {
1401 return This->lpVtbl->get_ScreenHeightInRawPixels(This,value);
1402 }
1403 #endif
1404 #ifdef WIDL_using_Windows_Graphics_Display
1405 #define IID_IDisplayInformation4 IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4
1406 #define IDisplayInformation4Vtbl __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4Vtbl
1407 #define IDisplayInformation4 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4
1408 #define IDisplayInformation4_QueryInterface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_QueryInterface
1409 #define IDisplayInformation4_AddRef __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_AddRef
1410 #define IDisplayInformation4_Release __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_Release
1411 #define IDisplayInformation4_GetIids __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_GetIids
1412 #define IDisplayInformation4_GetRuntimeClassName __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_GetRuntimeClassName
1413 #define IDisplayInformation4_GetTrustLevel __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_GetTrustLevel
1414 #define IDisplayInformation4_get_ScreenWidthInRawPixels __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_get_ScreenWidthInRawPixels
1415 #define IDisplayInformation4_get_ScreenHeightInRawPixels __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_get_ScreenHeightInRawPixels
1416 #endif /* WIDL_using_Windows_Graphics_Display */
1417 #endif
1418
1419 #endif
1420
1421 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation4_INTERFACE_DEFINED__ */
1422 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
1423
1424 /*****************************************************************************
1425 * IDisplayInformation5 interface
1426 */
1427 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000
1428 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_INTERFACE_DEFINED__
1429 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_INTERFACE_DEFINED__
1430
1431 DEFINE_GUID(IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5, 0x3a5442dc, 0x2cde, 0x4a8d, 0x80,0xd1, 0x21,0xdc,0x5a,0xdc,0xc1,0xaa);
1432 #if defined(__cplusplus) && !defined(CINTERFACE)
1433 } /* extern "C" */
1434 namespace ABI {
1435 namespace Windows {
1436 namespace Graphics {
1437 namespace Display {
1438 MIDL_INTERFACE("3a5442dc-2cde-4a8d-80d1-21dc5adcc1aa")
1439 IDisplayInformation5 : public IInspectable
1440 {
1441 virtual HRESULT STDMETHODCALLTYPE GetAdvancedColorInfo(
1442 ABI::Windows::Graphics::Display::IAdvancedColorInfo **value) = 0;
1443
1444 virtual HRESULT STDMETHODCALLTYPE add_AdvancedColorInfoChanged(
1445 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > *handler,
1446 EventRegistrationToken *token) = 0;
1447
1448 virtual HRESULT STDMETHODCALLTYPE remove_AdvancedColorInfoChanged(
1449 EventRegistrationToken token) = 0;
1450
1451 };
1452 }
1453 }
1454 }
1455 }
1456 extern "C" {
1457 #ifdef __CRT_UUID_DECL
1458 __CRT_UUID_DECL(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5, 0x3a5442dc, 0x2cde, 0x4a8d, 0x80,0xd1, 0x21,0xdc,0x5a,0xdc,0xc1,0xaa)
1459 #endif
1460 #else
1461 typedef struct __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5Vtbl {
1462 BEGIN_INTERFACE
1463
1464 /*** IUnknown methods ***/
1465 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1466 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 *This,
1467 REFIID riid,
1468 void **ppvObject);
1469
1470 ULONG (STDMETHODCALLTYPE *AddRef)(
1471 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 *This);
1472
1473 ULONG (STDMETHODCALLTYPE *Release)(
1474 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 *This);
1475
1476 /*** IInspectable methods ***/
1477 HRESULT (STDMETHODCALLTYPE *GetIids)(
1478 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 *This,
1479 ULONG *iidCount,
1480 IID **iids);
1481
1482 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1483 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 *This,
1484 HSTRING *className);
1485
1486 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1487 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 *This,
1488 TrustLevel *trustLevel);
1489
1490 /*** IDisplayInformation5 methods ***/
1491 HRESULT (STDMETHODCALLTYPE *GetAdvancedColorInfo)(
1492 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 *This,
1493 __x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo **value);
1494
1495 HRESULT (STDMETHODCALLTYPE *add_AdvancedColorInfoChanged)(
1496 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 *This,
1497 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
1498 EventRegistrationToken *token);
1499
1500 HRESULT (STDMETHODCALLTYPE *remove_AdvancedColorInfoChanged)(
1501 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 *This,
1502 EventRegistrationToken token);
1503
1504 END_INTERFACE
1505 } __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5Vtbl;
1506
1507 interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5 {
1508 CONST_VTBL __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5Vtbl* lpVtbl;
1509 };
1510
1511 #ifdef COBJMACROS
1512 #ifndef WIDL_C_INLINE_WRAPPERS
1513 /*** IUnknown methods ***/
1514 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1515 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_AddRef(This) (This)->lpVtbl->AddRef(This)
1516 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_Release(This) (This)->lpVtbl->Release(This)
1517 /*** IInspectable methods ***/
1518 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1519 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1520 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1521 /*** IDisplayInformation5 methods ***/
1522 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetAdvancedColorInfo(This,value) (This)->lpVtbl->GetAdvancedColorInfo(This,value)
1523 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_add_AdvancedColorInfoChanged(This,handler,token) (This)->lpVtbl->add_AdvancedColorInfoChanged(This,handler,token)
1524 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_remove_AdvancedColorInfoChanged(This,token) (This)->lpVtbl->remove_AdvancedColorInfoChanged(This,token)
1525 #else
1526 /*** IUnknown methods ***/
1527 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_QueryInterface(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5* This,REFIID riid,void **ppvObject) {
1528 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1529 }
1530 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_AddRef(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5* This) {
1531 return This->lpVtbl->AddRef(This);
1532 }
1533 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_Release(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5* This) {
1534 return This->lpVtbl->Release(This);
1535 }
1536 /*** IInspectable methods ***/
1537 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetIids(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5* This,ULONG *iidCount,IID **iids) {
1538 return This->lpVtbl->GetIids(This,iidCount,iids);
1539 }
1540 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetRuntimeClassName(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5* This,HSTRING *className) {
1541 return This->lpVtbl->GetRuntimeClassName(This,className);
1542 }
1543 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetTrustLevel(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5* This,TrustLevel *trustLevel) {
1544 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1545 }
1546 /*** IDisplayInformation5 methods ***/
1547 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetAdvancedColorInfo(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5* This,__x_ABI_CWindows_CGraphics_CDisplay_CIAdvancedColorInfo **value) {
1548 return This->lpVtbl->GetAdvancedColorInfo(This,value);
1549 }
1550 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_add_AdvancedColorInfoChanged(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5* This,__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,EventRegistrationToken *token) {
1551 return This->lpVtbl->add_AdvancedColorInfoChanged(This,handler,token);
1552 }
1553 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_remove_AdvancedColorInfoChanged(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5* This,EventRegistrationToken token) {
1554 return This->lpVtbl->remove_AdvancedColorInfoChanged(This,token);
1555 }
1556 #endif
1557 #ifdef WIDL_using_Windows_Graphics_Display
1558 #define IID_IDisplayInformation5 IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5
1559 #define IDisplayInformation5Vtbl __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5Vtbl
1560 #define IDisplayInformation5 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5
1561 #define IDisplayInformation5_QueryInterface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_QueryInterface
1562 #define IDisplayInformation5_AddRef __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_AddRef
1563 #define IDisplayInformation5_Release __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_Release
1564 #define IDisplayInformation5_GetIids __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetIids
1565 #define IDisplayInformation5_GetRuntimeClassName __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetRuntimeClassName
1566 #define IDisplayInformation5_GetTrustLevel __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetTrustLevel
1567 #define IDisplayInformation5_GetAdvancedColorInfo __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_GetAdvancedColorInfo
1568 #define IDisplayInformation5_add_AdvancedColorInfoChanged __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_add_AdvancedColorInfoChanged
1569 #define IDisplayInformation5_remove_AdvancedColorInfoChanged __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_remove_AdvancedColorInfoChanged
1570 #endif /* WIDL_using_Windows_Graphics_Display */
1571 #endif
1572
1573 #endif
1574
1575 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation5_INTERFACE_DEFINED__ */
1576 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 */
1577
1578 /*****************************************************************************
1579 * IDisplayInformationStatics interface
1580 */
1581 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
1582 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_INTERFACE_DEFINED__
1583 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_INTERFACE_DEFINED__
1584
1585 DEFINE_GUID(IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics, 0xc6a02a6c, 0xd452, 0x44dc, 0xba,0x07, 0x96,0xf3,0xc6,0xad,0xf9,0xd1);
1586 #if defined(__cplusplus) && !defined(CINTERFACE)
1587 } /* extern "C" */
1588 namespace ABI {
1589 namespace Windows {
1590 namespace Graphics {
1591 namespace Display {
1592 MIDL_INTERFACE("c6a02a6c-d452-44dc-ba07-96f3c6adf9d1")
1593 IDisplayInformationStatics : public IInspectable
1594 {
1595 virtual HRESULT STDMETHODCALLTYPE GetForCurrentView(
1596 ABI::Windows::Graphics::Display::IDisplayInformation **current) = 0;
1597
1598 virtual HRESULT STDMETHODCALLTYPE get_AutoRotationPreferences(
1599 ABI::Windows::Graphics::Display::DisplayOrientations *value) = 0;
1600
1601 virtual HRESULT STDMETHODCALLTYPE put_AutoRotationPreferences(
1602 ABI::Windows::Graphics::Display::DisplayOrientations value) = 0;
1603
1604 virtual HRESULT STDMETHODCALLTYPE add_DisplayContentsInvalidated(
1605 ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > *handler,
1606 EventRegistrationToken *token) = 0;
1607
1608 virtual HRESULT STDMETHODCALLTYPE remove_DisplayContentsInvalidated(
1609 EventRegistrationToken token) = 0;
1610
1611 };
1612 }
1613 }
1614 }
1615 }
1616 extern "C" {
1617 #ifdef __CRT_UUID_DECL
1618 __CRT_UUID_DECL(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics, 0xc6a02a6c, 0xd452, 0x44dc, 0xba,0x07, 0x96,0xf3,0xc6,0xad,0xf9,0xd1)
1619 #endif
1620 #else
1621 typedef struct __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStaticsVtbl {
1622 BEGIN_INTERFACE
1623
1624 /*** IUnknown methods ***/
1625 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1626 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This,
1627 REFIID riid,
1628 void **ppvObject);
1629
1630 ULONG (STDMETHODCALLTYPE *AddRef)(
1631 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This);
1632
1633 ULONG (STDMETHODCALLTYPE *Release)(
1634 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This);
1635
1636 /*** IInspectable methods ***/
1637 HRESULT (STDMETHODCALLTYPE *GetIids)(
1638 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This,
1639 ULONG *iidCount,
1640 IID **iids);
1641
1642 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1643 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This,
1644 HSTRING *className);
1645
1646 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1647 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This,
1648 TrustLevel *trustLevel);
1649
1650 /*** IDisplayInformationStatics methods ***/
1651 HRESULT (STDMETHODCALLTYPE *GetForCurrentView)(
1652 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This,
1653 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation **current);
1654
1655 HRESULT (STDMETHODCALLTYPE *get_AutoRotationPreferences)(
1656 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This,
1657 __x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations *value);
1658
1659 HRESULT (STDMETHODCALLTYPE *put_AutoRotationPreferences)(
1660 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This,
1661 __x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations value);
1662
1663 HRESULT (STDMETHODCALLTYPE *add_DisplayContentsInvalidated)(
1664 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This,
1665 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
1666 EventRegistrationToken *token);
1667
1668 HRESULT (STDMETHODCALLTYPE *remove_DisplayContentsInvalidated)(
1669 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics *This,
1670 EventRegistrationToken token);
1671
1672 END_INTERFACE
1673 } __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStaticsVtbl;
1674
1675 interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics {
1676 CONST_VTBL __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStaticsVtbl* lpVtbl;
1677 };
1678
1679 #ifdef COBJMACROS
1680 #ifndef WIDL_C_INLINE_WRAPPERS
1681 /*** IUnknown methods ***/
1682 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1683 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
1684 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_Release(This) (This)->lpVtbl->Release(This)
1685 /*** IInspectable methods ***/
1686 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1687 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1688 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1689 /*** IDisplayInformationStatics methods ***/
1690 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetForCurrentView(This,current) (This)->lpVtbl->GetForCurrentView(This,current)
1691 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_get_AutoRotationPreferences(This,value) (This)->lpVtbl->get_AutoRotationPreferences(This,value)
1692 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_put_AutoRotationPreferences(This,value) (This)->lpVtbl->put_AutoRotationPreferences(This,value)
1693 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_add_DisplayContentsInvalidated(This,handler,token) (This)->lpVtbl->add_DisplayContentsInvalidated(This,handler,token)
1694 #define __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_remove_DisplayContentsInvalidated(This,token) (This)->lpVtbl->remove_DisplayContentsInvalidated(This,token)
1695 #else
1696 /*** IUnknown methods ***/
1697 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_QueryInterface(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This,REFIID riid,void **ppvObject) {
1698 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1699 }
1700 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_AddRef(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This) {
1701 return This->lpVtbl->AddRef(This);
1702 }
1703 static inline ULONG __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_Release(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This) {
1704 return This->lpVtbl->Release(This);
1705 }
1706 /*** IInspectable methods ***/
1707 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetIids(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This,ULONG *iidCount,IID **iids) {
1708 return This->lpVtbl->GetIids(This,iidCount,iids);
1709 }
1710 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetRuntimeClassName(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This,HSTRING *className) {
1711 return This->lpVtbl->GetRuntimeClassName(This,className);
1712 }
1713 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetTrustLevel(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This,TrustLevel *trustLevel) {
1714 return This->lpVtbl->GetTrustLevel(This,trustLevel);
1715 }
1716 /*** IDisplayInformationStatics methods ***/
1717 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetForCurrentView(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This,__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation **current) {
1718 return This->lpVtbl->GetForCurrentView(This,current);
1719 }
1720 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_get_AutoRotationPreferences(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This,__x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations *value) {
1721 return This->lpVtbl->get_AutoRotationPreferences(This,value);
1722 }
1723 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_put_AutoRotationPreferences(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This,__x_ABI_CWindows_CGraphics_CDisplay_CDisplayOrientations value) {
1724 return This->lpVtbl->put_AutoRotationPreferences(This,value);
1725 }
1726 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_add_DisplayContentsInvalidated(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This,__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,EventRegistrationToken *token) {
1727 return This->lpVtbl->add_DisplayContentsInvalidated(This,handler,token);
1728 }
1729 static inline HRESULT __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_remove_DisplayContentsInvalidated(__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics* This,EventRegistrationToken token) {
1730 return This->lpVtbl->remove_DisplayContentsInvalidated(This,token);
1731 }
1732 #endif
1733 #ifdef WIDL_using_Windows_Graphics_Display
1734 #define IID_IDisplayInformationStatics IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics
1735 #define IDisplayInformationStaticsVtbl __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStaticsVtbl
1736 #define IDisplayInformationStatics __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics
1737 #define IDisplayInformationStatics_QueryInterface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_QueryInterface
1738 #define IDisplayInformationStatics_AddRef __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_AddRef
1739 #define IDisplayInformationStatics_Release __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_Release
1740 #define IDisplayInformationStatics_GetIids __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetIids
1741 #define IDisplayInformationStatics_GetRuntimeClassName __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetRuntimeClassName
1742 #define IDisplayInformationStatics_GetTrustLevel __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetTrustLevel
1743 #define IDisplayInformationStatics_GetForCurrentView __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_GetForCurrentView
1744 #define IDisplayInformationStatics_get_AutoRotationPreferences __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_get_AutoRotationPreferences
1745 #define IDisplayInformationStatics_put_AutoRotationPreferences __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_put_AutoRotationPreferences
1746 #define IDisplayInformationStatics_add_DisplayContentsInvalidated __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_add_DisplayContentsInvalidated
1747 #define IDisplayInformationStatics_remove_DisplayContentsInvalidated __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_remove_DisplayContentsInvalidated
1748 #endif /* WIDL_using_Windows_Graphics_Display */
1749 #endif
1750
1751 #endif
1752
1753 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_INTERFACE_DEFINED__ */
1754 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1755
1756 /*
1757 * Class Windows.Graphics.Display.AdvancedColorInfo
1758 */
1759 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000
1760 #ifndef RUNTIMECLASS_Windows_Graphics_Display_AdvancedColorInfo_DEFINED
1761 #define RUNTIMECLASS_Windows_Graphics_Display_AdvancedColorInfo_DEFINED
1762 #if !defined(_MSC_VER) && !defined(__MINGW32__)
1763 static const WCHAR RuntimeClass_Windows_Graphics_Display_AdvancedColorInfo[] = {'W','i','n','d','o','w','s','.','G','r','a','p','h','i','c','s','.','D','i','s','p','l','a','y','.','A','d','v','a','n','c','e','d','C','o','l','o','r','I','n','f','o',0};
1764 #elif defined(__GNUC__) && !defined(__cplusplus)
1765 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Graphics_Display_AdvancedColorInfo[] = L"Windows.Graphics.Display.AdvancedColorInfo";
1766 #else
1767 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Graphics_Display_AdvancedColorInfo[] = {'W','i','n','d','o','w','s','.','G','r','a','p','h','i','c','s','.','D','i','s','p','l','a','y','.','A','d','v','a','n','c','e','d','C','o','l','o','r','I','n','f','o',0};
1768 #endif
1769 #endif /* RUNTIMECLASS_Windows_Graphics_Display_AdvancedColorInfo_DEFINED */
1770 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 */
1771
1772 /*
1773 * Class Windows.Graphics.Display.DisplayInformation
1774 */
1775 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
1776 #ifndef RUNTIMECLASS_Windows_Graphics_Display_DisplayInformation_DEFINED
1777 #define RUNTIMECLASS_Windows_Graphics_Display_DisplayInformation_DEFINED
1778 #if !defined(_MSC_VER) && !defined(__MINGW32__)
1779 static const WCHAR RuntimeClass_Windows_Graphics_Display_DisplayInformation[] = {'W','i','n','d','o','w','s','.','G','r','a','p','h','i','c','s','.','D','i','s','p','l','a','y','.','D','i','s','p','l','a','y','I','n','f','o','r','m','a','t','i','o','n',0};
1780 #elif defined(__GNUC__) && !defined(__cplusplus)
1781 const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Graphics_Display_DisplayInformation[] = L"Windows.Graphics.Display.DisplayInformation";
1782 #else
1783 extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Graphics_Display_DisplayInformation[] = {'W','i','n','d','o','w','s','.','G','r','a','p','h','i','c','s','.','D','i','s','p','l','a','y','.','D','i','s','p','l','a','y','I','n','f','o','r','m','a','t','i','o','n',0};
1784 #endif
1785 #endif /* RUNTIMECLASS_Windows_Graphics_Display_DisplayInformation_DEFINED */
1786 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
1787
1788 /*****************************************************************************
1789 * ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > interface
1790 */
1791 #ifndef ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_INTERFACE_DEFINED__
1792 #define ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_INTERFACE_DEFINED__
1793
1794 DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable, 0x86c4f619, 0x67b6, 0x51c7, 0xb3,0x0d, 0xd8,0xcf,0x13,0x62,0x53,0x27);
1795 #if defined(__cplusplus) && !defined(CINTERFACE)
1796 } /* extern "C" */
1797 namespace ABI {
1798 namespace Windows {
1799 namespace Foundation {
1800 template<>
1801 MIDL_INTERFACE("86c4f619-67b6-51c7-b30d-d8cf13625327")
1802 ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > : ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Graphics::Display::DisplayInformation*, ABI::Windows::Graphics::Display::IDisplayInformation* >, IInspectable* >
1803 {
1804 };
1805 }
1806 }
1807 }
1808 extern "C" {
1809 #ifdef __CRT_UUID_DECL
1810 __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable, 0x86c4f619, 0x67b6, 0x51c7, 0xb3,0x0d, 0xd8,0xcf,0x13,0x62,0x53,0x27)
1811 #endif
1812 #else
1813 typedef struct __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectableVtbl {
1814 BEGIN_INTERFACE
1815
1816 /*** IUnknown methods ***/
1817 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1818 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *This,
1819 REFIID riid,
1820 void **ppvObject);
1821
1822 ULONG (STDMETHODCALLTYPE *AddRef)(
1823 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *This);
1824
1825 ULONG (STDMETHODCALLTYPE *Release)(
1826 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *This);
1827
1828 /*** ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > methods ***/
1829 HRESULT (STDMETHODCALLTYPE *Invoke)(
1830 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *This,
1831 __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *sender,
1832 IInspectable *args);
1833
1834 END_INTERFACE
1835 } __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectableVtbl;
1836
1837 interface __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable {
1838 CONST_VTBL __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectableVtbl* lpVtbl;
1839 };
1840
1841 #ifdef COBJMACROS
1842 #ifndef WIDL_C_INLINE_WRAPPERS
1843 /*** IUnknown methods ***/
1844 #define __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1845 #define __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_AddRef(This) (This)->lpVtbl->AddRef(This)
1846 #define __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_Release(This) (This)->lpVtbl->Release(This)
1847 /*** ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > methods ***/
1848 #define __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
1849 #else
1850 /*** IUnknown methods ***/
1851 static inline HRESULT __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_QueryInterface(__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable* This,REFIID riid,void **ppvObject) {
1852 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1853 }
1854 static inline ULONG __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_AddRef(__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable* This) {
1855 return This->lpVtbl->AddRef(This);
1856 }
1857 static inline ULONG __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_Release(__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable* This) {
1858 return This->lpVtbl->Release(This);
1859 }
1860 /*** ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable* > methods ***/
1861 static inline HRESULT __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_Invoke(__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable* This,__x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *sender,IInspectable *args) {
1862 return This->lpVtbl->Invoke(This,sender,args);
1863 }
1864 #endif
1865 #ifdef WIDL_using_Windows_Foundation
1866 #define IID_ITypedEventHandler_DisplayInformation_IInspectable IID___FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable
1867 #define ITypedEventHandler_DisplayInformation_IInspectableVtbl __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectableVtbl
1868 #define ITypedEventHandler_DisplayInformation_IInspectable __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable
1869 #define ITypedEventHandler_DisplayInformation_IInspectable_QueryInterface __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_QueryInterface
1870 #define ITypedEventHandler_DisplayInformation_IInspectable_AddRef __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_AddRef
1871 #define ITypedEventHandler_DisplayInformation_IInspectable_Release __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_Release
1872 #define ITypedEventHandler_DisplayInformation_IInspectable_Invoke __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_Invoke
1873 #endif /* WIDL_using_Windows_Foundation */
1874 #endif
1875
1876 #endif
1877
1878 #endif /* ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_INTERFACE_DEFINED__ */
1879
1880 /* Begin additional prototypes for all interfaces */
1881
1882
1883 /* End additional prototypes */
1884
1885 #ifdef __cplusplus
1886 }
1887 #endif
1888
1889 #endif /* __windows_graphics_display_h__ */