widget/windows/winrt/DisplayInfo_sdk81.h

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1
michael@0 2 /* this file contains the definitions for DisplayInformation related interfaces
michael@0 3 copied over from Windows.Graphics.Display.h file in the windows 8.1 SDK
michael@0 4 This file can be deleted once our build system moves to 8.1. */
michael@0 5
michael@0 6 /* File created by MIDL compiler version 8.00.0603 */
michael@0 7 /* @@MIDL_FILE_HEADING( ) */
michael@0 8
michael@0 9 /* Forward Declarations */
michael@0 10
michael@0 11 #ifndef ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_FWD_DEFINED__
michael@0 12 #define ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_FWD_DEFINED__
michael@0 13 typedef interface __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable;
michael@0 14
michael@0 15 #endif /* ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_FWD_DEFINED__ */
michael@0 16
michael@0 17
michael@0 18 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_FWD_DEFINED__
michael@0 19 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_FWD_DEFINED__
michael@0 20 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics;
michael@0 21
michael@0 22 #ifdef __cplusplus
michael@0 23 namespace ABI {
michael@0 24 namespace Windows {
michael@0 25 namespace Graphics {
michael@0 26 namespace Display {
michael@0 27 interface IDisplayInformationStatics;
michael@0 28 } /* end namespace */
michael@0 29 } /* end namespace */
michael@0 30 } /* end namespace */
michael@0 31 } /* end namespace */
michael@0 32
michael@0 33 #endif /* __cplusplus */
michael@0 34
michael@0 35 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_FWD_DEFINED__ */
michael@0 36
michael@0 37
michael@0 38 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_FWD_DEFINED__
michael@0 39 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_FWD_DEFINED__
michael@0 40 typedef interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation;
michael@0 41
michael@0 42 #ifdef __cplusplus
michael@0 43 namespace ABI {
michael@0 44 namespace Windows {
michael@0 45 namespace Graphics {
michael@0 46 namespace Display {
michael@0 47 interface IDisplayInformation;
michael@0 48 } /* end namespace */
michael@0 49 } /* end namespace */
michael@0 50 } /* end namespace */
michael@0 51 } /* end namespace */
michael@0 52
michael@0 53 #endif /* __cplusplus */
michael@0 54
michael@0 55 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_FWD_DEFINED__ */
michael@0 56
michael@0 57
michael@0 58 #ifdef __cplusplus
michael@0 59 namespace ABI {
michael@0 60 namespace Windows {
michael@0 61 namespace Graphics {
michael@0 62 namespace Display {
michael@0 63 class DisplayInformation;
michael@0 64 } /*Display*/
michael@0 65 } /*Graphics*/
michael@0 66 } /*Windows*/
michael@0 67 }
michael@0 68 #endif
michael@0 69
michael@0 70 #ifdef __cplusplus
michael@0 71 namespace ABI {
michael@0 72 namespace Windows {
michael@0 73 namespace Graphics {
michael@0 74 namespace Display {
michael@0 75 interface IDisplayInformation;
michael@0 76 } /*Display*/
michael@0 77 } /*Graphics*/
michael@0 78 } /*Windows*/
michael@0 79 }
michael@0 80 #endif
michael@0 81
michael@0 82 interface IInspectable;
michael@0 83
michael@0 84
michael@0 85 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0000 */
michael@0 86 /* [local] */
michael@0 87
michael@0 88
michael@0 89
michael@0 90
michael@0 91
michael@0 92 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0000_v0_0_c_ifspec;
michael@0 93 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0000_v0_0_s_ifspec;
michael@0 94
michael@0 95 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0580 */
michael@0 96
michael@0 97
michael@0 98
michael@0 99
michael@0 100 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0580 */
michael@0 101
michael@0 102
michael@0 103
michael@0 104
michael@0 105 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0580_v0_0_c_ifspec;
michael@0 106 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0580_v0_0_s_ifspec;
michael@0 107
michael@0 108 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0001 */
michael@0 109 /* [local] */
michael@0 110
michael@0 111 #ifndef DEF___FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_USE
michael@0 112 #define DEF___FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_USE
michael@0 113 #if defined(__cplusplus) && !defined(RO_NO_TEMPLATE_NAME)
michael@0 114 namespace ABI { namespace Windows { namespace Foundation {
michael@0 115 template <>
michael@0 116 struct __declspec(uuid("86c4f619-67b6-51c7-b30d-d8cf13625327"))
michael@0 117 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*> {
michael@0 118 static const wchar_t* z_get_rc_name_impl() {
michael@0 119 return L"Windows.Foundation.TypedEventHandler`2<Windows.Graphics.Display.DisplayInformation, Object>"; }
michael@0 120 };
michael@0 121 typedef ITypedEventHandler<ABI::Windows::Graphics::Display::DisplayInformation*,IInspectable*> __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t;
michael@0 122 #define ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_FWD_DEFINED__
michael@0 123 #define __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t
michael@0 124
michael@0 125 /* ABI */ } /* Windows */ } /* Foundation */ }
michael@0 126 #endif //__cplusplus
michael@0 127 #endif /* DEF___FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_USE */
michael@0 128
michael@0 129 #ifndef DEF___FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable
michael@0 130 #define DEF___FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable
michael@0 131 #if !defined(__cplusplus) || defined(RO_NO_TEMPLATE_NAME)
michael@0 132
michael@0 133
michael@0 134 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0004 */
michael@0 135 /* [local] */
michael@0 136
michael@0 137
michael@0 138
michael@0 139 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0004_v0_0_c_ifspec;
michael@0 140 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0004_v0_0_s_ifspec;
michael@0 141
michael@0 142 #ifndef ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_INTERFACE_DEFINED__
michael@0 143 #define ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_INTERFACE_DEFINED__
michael@0 144
michael@0 145 /* interface __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable */
michael@0 146 /* [unique][uuid][object] */
michael@0 147
michael@0 148
michael@0 149
michael@0 150 /* interface __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable */
michael@0 151 /* [unique][uuid][object] */
michael@0 152
michael@0 153
michael@0 154 EXTERN_C const IID IID___FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable;
michael@0 155
michael@0 156 #if defined(__cplusplus) && !defined(CINTERFACE)
michael@0 157
michael@0 158 MIDL_INTERFACE("86c4f619-67b6-51c7-b30d-d8cf13625327")
michael@0 159 __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable : public IUnknown
michael@0 160 {
michael@0 161 public:
michael@0 162 virtual HRESULT STDMETHODCALLTYPE Invoke(
michael@0 163 /* [in] */ __RPC__in_opt ABI::Windows::Graphics::Display::IDisplayInformation *sender,
michael@0 164 /* [in] */ __RPC__in_opt IInspectable *e) = 0;
michael@0 165
michael@0 166 };
michael@0 167
michael@0 168
michael@0 169 #else /* C style interface */
michael@0 170
michael@0 171 typedef struct __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectableVtbl
michael@0 172 {
michael@0 173 BEGIN_INTERFACE
michael@0 174
michael@0 175 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
michael@0 176 __RPC__in __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable * This,
michael@0 177 /* [in] */ __RPC__in REFIID riid,
michael@0 178 /* [annotation][iid_is][out] */
michael@0 179 _COM_Outptr_ void **ppvObject);
michael@0 180
michael@0 181 ULONG ( STDMETHODCALLTYPE *AddRef )(
michael@0 182 __RPC__in __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable * This);
michael@0 183
michael@0 184 ULONG ( STDMETHODCALLTYPE *Release )(
michael@0 185 __RPC__in __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable * This);
michael@0 186
michael@0 187 HRESULT ( STDMETHODCALLTYPE *Invoke )(
michael@0 188 __RPC__in __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable * This,
michael@0 189 /* [in] */ __RPC__in_opt __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation *sender,
michael@0 190 /* [in] */ __RPC__in_opt IInspectable *e);
michael@0 191
michael@0 192 END_INTERFACE
michael@0 193 } __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectableVtbl;
michael@0 194
michael@0 195 interface __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable
michael@0 196 {
michael@0 197 CONST_VTBL struct __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectableVtbl *lpVtbl;
michael@0 198 };
michael@0 199
michael@0 200
michael@0 201
michael@0 202 #ifdef COBJMACROS
michael@0 203
michael@0 204
michael@0 205 #define __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_QueryInterface(This,riid,ppvObject) \
michael@0 206 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
michael@0 207
michael@0 208 #define __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_AddRef(This) \
michael@0 209 ( (This)->lpVtbl -> AddRef(This) )
michael@0 210
michael@0 211 #define __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_Release(This) \
michael@0 212 ( (This)->lpVtbl -> Release(This) )
michael@0 213
michael@0 214
michael@0 215 #define __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_Invoke(This,sender,e) \
michael@0 216 ( (This)->lpVtbl -> Invoke(This,sender,e) )
michael@0 217
michael@0 218 #endif /* COBJMACROS */
michael@0 219
michael@0 220
michael@0 221 #endif /* C style interface */
michael@0 222
michael@0 223
michael@0 224
michael@0 225
michael@0 226 #endif /* ____FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_INTERFACE_DEFINED__ */
michael@0 227
michael@0 228
michael@0 229 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0005 */
michael@0 230 /* [local] */
michael@0 231
michael@0 232 #endif /* pinterface */
michael@0 233 #endif /* DEF___FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable */
michael@0 234
michael@0 235
michael@0 236 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0005 */
michael@0 237 /* [local] */
michael@0 238
michael@0 239
michael@0 240 /* interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayPropertiesEventHandler */
michael@0 241 /* [uuid][object] */
michael@0 242
michael@0 243
michael@0 244
michael@0 245 /* interface ABI::Windows::Graphics::Display::IDisplayPropertiesEventHandler */
michael@0 246 /* [uuid][object] */
michael@0 247
michael@0 248
michael@0 249
michael@0 250
michael@0 251 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0006 */
michael@0 252 /* [local] */
michael@0 253
michael@0 254 #if !defined(____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_INTERFACE_DEFINED__)
michael@0 255 extern const __declspec(selectany) _Null_terminated_ WCHAR InterfaceName_Windows_Graphics_Display_IDisplayInformationStatics[] = L"Windows.Graphics.Display.IDisplayInformationStatics";
michael@0 256 #endif /* !defined(____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_INTERFACE_DEFINED__) */
michael@0 257
michael@0 258
michael@0 259 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0006 */
michael@0 260 /* [local] */
michael@0 261
michael@0 262
michael@0 263
michael@0 264 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0006_v0_0_c_ifspec;
michael@0 265 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0006_v0_0_s_ifspec;
michael@0 266
michael@0 267 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_INTERFACE_DEFINED__
michael@0 268 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_INTERFACE_DEFINED__
michael@0 269
michael@0 270 /* interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics */
michael@0 271 /* [uuid][object] */
michael@0 272
michael@0 273
michael@0 274
michael@0 275 /* interface ABI::Windows::Graphics::Display::IDisplayInformationStatics */
michael@0 276 /* [uuid][object] */
michael@0 277
michael@0 278
michael@0 279 EXTERN_C const IID IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics;
michael@0 280
michael@0 281 #if defined(__cplusplus) && !defined(CINTERFACE)
michael@0 282 namespace ABI {
michael@0 283 namespace Windows {
michael@0 284 namespace Graphics {
michael@0 285 namespace Display {
michael@0 286
michael@0 287 MIDL_INTERFACE("C6A02A6C-D452-44DC-BA07-96F3C6ADF9D1")
michael@0 288 IDisplayInformationStatics : public IInspectable
michael@0 289 {
michael@0 290 public:
michael@0 291 virtual HRESULT STDMETHODCALLTYPE GetForCurrentView(
michael@0 292 /* [out][retval] */ __RPC__deref_out_opt ABI::Windows::Graphics::Display::IDisplayInformation **current) = 0;
michael@0 293
michael@0 294 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_AutoRotationPreferences(
michael@0 295 /* [out][retval] */ __RPC__out ABI::Windows::Graphics::Display::DisplayOrientations *value) = 0;
michael@0 296
michael@0 297 virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_AutoRotationPreferences(
michael@0 298 /* [in] */ ABI::Windows::Graphics::Display::DisplayOrientations value) = 0;
michael@0 299
michael@0 300 virtual HRESULT STDMETHODCALLTYPE add_DisplayContentsInvalidated(
michael@0 301 /* [in] */ __RPC__in_opt __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
michael@0 302 /* [out][retval] */ __RPC__out EventRegistrationToken *token) = 0;
michael@0 303
michael@0 304 virtual HRESULT STDMETHODCALLTYPE remove_DisplayContentsInvalidated(
michael@0 305 /* [in] */ EventRegistrationToken token) = 0;
michael@0 306
michael@0 307 };
michael@0 308
michael@0 309 extern const __declspec(selectany) IID & IID_IDisplayInformationStatics = __uuidof(IDisplayInformationStatics);
michael@0 310
michael@0 311
michael@0 312 } /* end namespace */
michael@0 313 } /* end namespace */
michael@0 314 } /* end namespace */
michael@0 315 } /* end namespace */
michael@0 316
michael@0 317 #endif /* C style interface */
michael@0 318
michael@0 319
michael@0 320
michael@0 321
michael@0 322 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformationStatics_INTERFACE_DEFINED__ */
michael@0 323
michael@0 324
michael@0 325 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0007 */
michael@0 326 /* [local] */
michael@0 327
michael@0 328 #if !defined(____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_INTERFACE_DEFINED__)
michael@0 329 extern const __declspec(selectany) _Null_terminated_ WCHAR InterfaceName_Windows_Graphics_Display_IDisplayInformation[] = L"Windows.Graphics.Display.IDisplayInformation";
michael@0 330 #endif /* !defined(____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_INTERFACE_DEFINED__) */
michael@0 331
michael@0 332
michael@0 333 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0007 */
michael@0 334 /* [local] */
michael@0 335
michael@0 336
michael@0 337
michael@0 338 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0007_v0_0_c_ifspec;
michael@0 339 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0007_v0_0_s_ifspec;
michael@0 340
michael@0 341 #ifndef ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_INTERFACE_DEFINED__
michael@0 342 #define ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_INTERFACE_DEFINED__
michael@0 343
michael@0 344 /* interface __x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation */
michael@0 345 /* [uuid][object] */
michael@0 346
michael@0 347
michael@0 348
michael@0 349 /* interface ABI::Windows::Graphics::Display::IDisplayInformation */
michael@0 350 /* [uuid][object] */
michael@0 351
michael@0 352
michael@0 353 EXTERN_C const IID IID___x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation;
michael@0 354
michael@0 355 #if defined(__cplusplus) && !defined(CINTERFACE)
michael@0 356 namespace ABI {
michael@0 357 namespace Windows {
michael@0 358 namespace Graphics {
michael@0 359 namespace Display {
michael@0 360
michael@0 361 MIDL_INTERFACE("BED112AE-ADC3-4DC9-AE65-851F4D7D4799")
michael@0 362 IDisplayInformation : public IInspectable
michael@0 363 {
michael@0 364 public:
michael@0 365 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CurrentOrientation(
michael@0 366 /* [out][retval] */ __RPC__out ABI::Windows::Graphics::Display::DisplayOrientations *value) = 0;
michael@0 367
michael@0 368 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_NativeOrientation(
michael@0 369 /* [out][retval] */ __RPC__out ABI::Windows::Graphics::Display::DisplayOrientations *value) = 0;
michael@0 370
michael@0 371 virtual HRESULT STDMETHODCALLTYPE add_OrientationChanged(
michael@0 372 /* [in] */ __RPC__in_opt __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
michael@0 373 /* [out][retval] */ __RPC__out EventRegistrationToken *token) = 0;
michael@0 374
michael@0 375 virtual HRESULT STDMETHODCALLTYPE remove_OrientationChanged(
michael@0 376 /* [in] */ EventRegistrationToken token) = 0;
michael@0 377
michael@0 378 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ResolutionScale(
michael@0 379 /* [out][retval] */ __RPC__out ABI::Windows::Graphics::Display::ResolutionScale *value) = 0;
michael@0 380
michael@0 381 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_LogicalDpi(
michael@0 382 /* [out][retval] */ __RPC__out FLOAT *value) = 0;
michael@0 383
michael@0 384 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_RawDpiX(
michael@0 385 /* [out][retval] */ __RPC__out FLOAT *value) = 0;
michael@0 386
michael@0 387 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_RawDpiY(
michael@0 388 /* [out][retval] */ __RPC__out FLOAT *value) = 0;
michael@0 389
michael@0 390 virtual HRESULT STDMETHODCALLTYPE add_DpiChanged(
michael@0 391 /* [in] */ __RPC__in_opt __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
michael@0 392 /* [out][retval] */ __RPC__out EventRegistrationToken *token) = 0;
michael@0 393
michael@0 394 virtual HRESULT STDMETHODCALLTYPE remove_DpiChanged(
michael@0 395 /* [in] */ EventRegistrationToken token) = 0;
michael@0 396
michael@0 397 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_StereoEnabled(
michael@0 398 /* [out][retval] */ __RPC__out boolean *value) = 0;
michael@0 399
michael@0 400 virtual HRESULT STDMETHODCALLTYPE add_StereoEnabledChanged(
michael@0 401 /* [in] */ __RPC__in_opt __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
michael@0 402 /* [out][retval] */ __RPC__out EventRegistrationToken *token) = 0;
michael@0 403
michael@0 404 virtual HRESULT STDMETHODCALLTYPE remove_StereoEnabledChanged(
michael@0 405 /* [in] */ EventRegistrationToken token) = 0;
michael@0 406
michael@0 407 virtual HRESULT STDMETHODCALLTYPE GetColorProfileAsync(
michael@0 408 /* [out][retval] */ __RPC__deref_out_opt __FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream **asyncInfo) = 0;
michael@0 409
michael@0 410 virtual HRESULT STDMETHODCALLTYPE add_ColorProfileChanged(
michael@0 411 /* [in] */ __RPC__in_opt __FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable *handler,
michael@0 412 /* [out][retval] */ __RPC__out EventRegistrationToken *token) = 0;
michael@0 413
michael@0 414 virtual HRESULT STDMETHODCALLTYPE remove_ColorProfileChanged(
michael@0 415 /* [in] */ EventRegistrationToken token) = 0;
michael@0 416
michael@0 417 };
michael@0 418
michael@0 419 extern const __declspec(selectany) IID & IID_IDisplayInformation = __uuidof(IDisplayInformation);
michael@0 420
michael@0 421
michael@0 422 } /* end namespace */
michael@0 423 } /* end namespace */
michael@0 424 } /* end namespace */
michael@0 425 } /* end namespace */
michael@0 426
michael@0 427 #endif /* C style interface */
michael@0 428
michael@0 429
michael@0 430
michael@0 431
michael@0 432 #endif /* ____x_ABI_CWindows_CGraphics_CDisplay_CIDisplayInformation_INTERFACE_DEFINED__ */
michael@0 433
michael@0 434
michael@0 435 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0008 */
michael@0 436 /* [local] */
michael@0 437
michael@0 438
michael@0 439 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0009 */
michael@0 440 /* [local] */
michael@0 441
michael@0 442 #ifndef RUNTIMECLASS_Windows_Graphics_Display_DisplayInformation_DEFINED
michael@0 443 #define RUNTIMECLASS_Windows_Graphics_Display_DisplayInformation_DEFINED
michael@0 444 extern const __declspec(selectany) _Null_terminated_ WCHAR RuntimeClass_Windows_Graphics_Display_DisplayInformation[] = L"Windows.Graphics.Display.DisplayInformation";
michael@0 445 #endif
michael@0 446
michael@0 447
michael@0 448 /* interface __MIDL_itf_windows2Egraphics2Edisplay_0000_0009 */
michael@0 449 /* [local] */
michael@0 450
michael@0 451
michael@0 452
michael@0 453 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0009_v0_0_c_ifspec;
michael@0 454 extern RPC_IF_HANDLE __MIDL_itf_windows2Egraphics2Edisplay_0000_0009_v0_0_s_ifspec;
michael@0 455
michael@0 456 /* Additional Prototypes for ALL interfaces */
michael@0 457
michael@0 458 /* end of Additional Prototypes */

mercurial