// C++/WinRT v2.0.220110.5 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_Devices_Display_Core_0_H #define WINRT_Windows_Devices_Display_Core_0_H WINRT_EXPORT namespace winrt::Windows::Devices::Display { struct DisplayMonitor; enum class DisplayMonitorUsageKind : int32_t; } WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; struct HResult; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IKeyValuePair; template struct __declspec(empty_bases) IMapView; template struct __declspec(empty_bases) IMap; template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { struct Rational; } WINRT_EXPORT namespace winrt::Windows::Graphics { struct DisplayAdapterId; struct RectInt32; struct SizeInt32; } WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX { enum class DirectXColorSpace : int32_t; enum class DirectXPixelFormat : int32_t; } WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 { struct Direct3DMultisampleDescription; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; } WINRT_EXPORT namespace winrt::Windows::Devices::Display::Core { enum class DisplayBitsPerChannel : uint32_t { None = 0, Bpc6 = 0x1, Bpc8 = 0x2, Bpc10 = 0x4, Bpc12 = 0x8, Bpc14 = 0x10, Bpc16 = 0x20, }; enum class DisplayDeviceCapability : int32_t { FlipOverride = 0, }; enum class DisplayManagerOptions : uint32_t { None = 0, EnforceSourceOwnership = 0x1, VirtualRefreshRateAware = 0x2, }; enum class DisplayManagerResult : int32_t { Success = 0, UnknownFailure = 1, TargetAccessDenied = 2, TargetStale = 3, RemoteSessionNotSupported = 4, }; enum class DisplayModeQueryOptions : uint32_t { None = 0, OnlyPreferredResolution = 0x1, }; enum class DisplayPathScaling : int32_t { Identity = 0, Centered = 1, Stretched = 2, AspectRatioStretched = 3, Custom = 4, DriverPreferred = 5, }; enum class DisplayPathStatus : int32_t { Unknown = 0, Succeeded = 1, Pending = 2, Failed = 3, FailedAsync = 4, InvalidatedAsync = 5, }; enum class DisplayPresentStatus : int32_t { Success = 0, SourceStatusPreventedPresent = 1, ScanoutInvalid = 2, SourceInvalid = 3, DeviceInvalid = 4, UnknownFailure = 5, }; enum class DisplayRotation : int32_t { None = 0, Clockwise90Degrees = 1, Clockwise180Degrees = 2, Clockwise270Degrees = 3, }; enum class DisplayScanoutOptions : uint32_t { None = 0, AllowTearing = 0x2, }; enum class DisplaySourceStatus : int32_t { Active = 0, PoweredOff = 1, Invalid = 2, OwnedByAnotherDevice = 3, Unowned = 4, }; enum class DisplayStateApplyOptions : uint32_t { None = 0, FailIfStateChanged = 0x1, ForceReapply = 0x2, ForceModeEnumeration = 0x4, }; enum class DisplayStateFunctionalizeOptions : uint32_t { None = 0, FailIfStateChanged = 0x1, ValidateTopologyOnly = 0x2, }; enum class DisplayStateOperationStatus : int32_t { Success = 0, PartialFailure = 1, UnknownFailure = 2, TargetOwnershipLost = 3, SystemStateChanged = 4, TooManyPathsForAdapter = 5, ModesNotSupported = 6, RemoteSessionNotSupported = 7, }; enum class DisplayTargetPersistence : int32_t { None = 0, BootPersisted = 1, TemporaryPersisted = 2, PathPersisted = 3, }; enum class DisplayTaskSignalKind : int32_t { OnPresentFlipAway = 0, OnPresentFlipTo = 1, }; enum class DisplayWireFormatColorSpace : int32_t { BT709 = 0, BT2020 = 1, ProfileDefinedWideColorGamut = 2, }; enum class DisplayWireFormatEotf : int32_t { Sdr = 0, HdrSmpte2084 = 1, }; enum class DisplayWireFormatHdrMetadata : int32_t { None = 0, Hdr10 = 1, Hdr10Plus = 2, DolbyVisionLowLatency = 3, }; enum class DisplayWireFormatPixelEncoding : int32_t { Rgb444 = 0, Ycc444 = 1, Ycc422 = 2, Ycc420 = 3, Intensity = 4, }; struct IDisplayAdapter; struct IDisplayAdapterStatics; struct IDisplayDevice; struct IDisplayDevice2; struct IDisplayFence; struct IDisplayManager; struct IDisplayManagerChangedEventArgs; struct IDisplayManagerDisabledEventArgs; struct IDisplayManagerEnabledEventArgs; struct IDisplayManagerPathsFailedOrInvalidatedEventArgs; struct IDisplayManagerResultWithState; struct IDisplayManagerStatics; struct IDisplayModeInfo; struct IDisplayModeInfo2; struct IDisplayPath; struct IDisplayPath2; struct IDisplayPrimaryDescription; struct IDisplayPrimaryDescriptionFactory; struct IDisplayPrimaryDescriptionStatics; struct IDisplayScanout; struct IDisplaySource; struct IDisplaySource2; struct IDisplayState; struct IDisplayStateOperationResult; struct IDisplaySurface; struct IDisplayTarget; struct IDisplayTask; struct IDisplayTask2; struct IDisplayTaskPool; struct IDisplayTaskPool2; struct IDisplayTaskResult; struct IDisplayView; struct IDisplayWireFormat; struct IDisplayWireFormatFactory; struct IDisplayWireFormatStatics; struct DisplayAdapter; struct DisplayDevice; struct DisplayFence; struct DisplayManager; struct DisplayManagerChangedEventArgs; struct DisplayManagerDisabledEventArgs; struct DisplayManagerEnabledEventArgs; struct DisplayManagerPathsFailedOrInvalidatedEventArgs; struct DisplayManagerResultWithState; struct DisplayModeInfo; struct DisplayPath; struct DisplayPrimaryDescription; struct DisplayScanout; struct DisplaySource; struct DisplayState; struct DisplayStateOperationResult; struct DisplaySurface; struct DisplayTarget; struct DisplayTask; struct DisplayTaskPool; struct DisplayTaskResult; struct DisplayView; struct DisplayWireFormat; struct DisplayPresentationRate; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = struct_category; }; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayAdapter"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayDevice"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayFence"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManager"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerResultWithState"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayModeInfo"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPath"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPrimaryDescription"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayScanout"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplaySource"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayState"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayStateOperationResult"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplaySurface"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTarget"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTask"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTaskPool"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTaskResult"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayView"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayWireFormat"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayBitsPerChannel"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayDeviceCapability"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerOptions"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayManagerResult"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayModeQueryOptions"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPathScaling"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPathStatus"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPresentStatus"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayRotation"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayScanoutOptions"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplaySourceStatus"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayStateApplyOptions"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayStateFunctionalizeOptions"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayStateOperationStatus"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTargetPersistence"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayTaskSignalKind"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayWireFormatColorSpace"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayWireFormatEotf"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayWireFormatHdrMetadata"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayWireFormatPixelEncoding"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.DisplayPresentationRate"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayAdapter"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayAdapterStatics"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayDevice"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayDevice2"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayFence"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManager"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerDisabledEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerEnabledEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerPathsFailedOrInvalidatedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerResultWithState"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayManagerStatics"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayModeInfo"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayModeInfo2"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayPath"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayPath2"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayPrimaryDescription"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayPrimaryDescriptionFactory"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayPrimaryDescriptionStatics"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayScanout"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplaySource"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplaySource2"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayState"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayStateOperationResult"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplaySurface"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTarget"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTask"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTask2"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTaskPool"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTaskPool2"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayTaskResult"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayView"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayWireFormat"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayWireFormatFactory"; template <> inline constexpr auto& name_v = L"Windows.Devices.Display.Core.IDisplayWireFormatStatics"; template <> inline constexpr guid guid_v{ 0xA56F5287,0xF000,0x5F2E,{ 0xB5,0xAC,0x37,0x83,0xA2,0xB6,0x9A,0xF5 } }; // A56F5287-F000-5F2E-B5AC-3783A2B69AF5 template <> inline constexpr guid guid_v{ 0x1DAC3CDA,0x481F,0x5469,{ 0x84,0x70,0x82,0xC4,0xBA,0x68,0x0A,0x28 } }; // 1DAC3CDA-481F-5469-8470-82C4BA680A28 template <> inline constexpr guid guid_v{ 0xA4C9B62C,0x335F,0x5731,{ 0x8C,0xB4,0xC1,0xCC,0xD4,0x73,0x10,0x70 } }; // A4C9B62C-335F-5731-8CB4-C1CCD4731070 template <> inline constexpr guid guid_v{ 0x3FEFE50C,0x0940,0x54BD,{ 0xA0,0x2F,0xF9,0xC7,0xA5,0x36,0xAD,0x60 } }; // 3FEFE50C-0940-54BD-A02F-F9C7A536AD60 template <> inline constexpr guid guid_v{ 0x04DCF9EF,0x3406,0x5700,{ 0x8F,0xEC,0x77,0xEB,0xA4,0xC5,0xA7,0x4B } }; // 04DCF9EF-3406-5700-8FEC-77EBA4C5A74B template <> inline constexpr guid guid_v{ 0x4ED9245B,0x15EC,0x56E2,{ 0x90,0x72,0x7F,0xE5,0x08,0x4A,0x31,0xA7 } }; // 4ED9245B-15EC-56E2-9072-7FE5084A31A7 template <> inline constexpr guid guid_v{ 0x6ABFA285,0x6CCA,0x5731,{ 0xBC,0xDC,0x42,0xE5,0xD2,0xF5,0xC5,0x0F } }; // 6ABFA285-6CCA-5731-BCDC-42E5D2F5C50F template <> inline constexpr guid guid_v{ 0x8726DDE4,0x6793,0x5973,{ 0xA1,0x1F,0x5F,0xFB,0xC9,0x3F,0xDB,0x90 } }; // 8726DDE4-6793-5973-A11F-5FFBC93FDB90 template <> inline constexpr guid guid_v{ 0xF0CF3F6F,0x42FA,0x59A2,{ 0xB2,0x97,0x26,0xE1,0x71,0x3D,0xE8,0x48 } }; // F0CF3F6F-42FA-59A2-B297-26E1713DE848 template <> inline constexpr guid guid_v{ 0x03A65659,0x1DEC,0x5C15,{ 0xB2,0xA2,0x8F,0xE9,0x12,0x98,0x69,0xFE } }; // 03A65659-1DEC-5C15-B2A2-8FE9129869FE template <> inline constexpr guid guid_v{ 0x8E656AA6,0x6614,0x54BE,{ 0xBF,0xEF,0x49,0x94,0x54,0x7F,0x7B,0xE1 } }; // 8E656AA6-6614-54BE-BFEF-4994547F7BE1 template <> inline constexpr guid guid_v{ 0x2B6B9446,0xB999,0x5535,{ 0x9D,0x69,0x53,0xF0,0x92,0xC7,0x80,0xA1 } }; // 2B6B9446-B999-5535-9D69-53F092C780A1 template <> inline constexpr guid guid_v{ 0x48D513A0,0xF79B,0x5A74,{ 0xA0,0x5E,0xDA,0x82,0x1F,0x47,0x08,0x68 } }; // 48D513A0-F79B-5A74-A05E-DA821F470868 template <> inline constexpr guid guid_v{ 0xC86FA386,0x0DDB,0x5473,{ 0xBF,0xB0,0x4B,0x78,0x07,0xB5,0xF9,0x09 } }; // C86FA386-0DDB-5473-BFB0-4B7807B5F909 template <> inline constexpr guid guid_v{ 0xB3DFD64A,0x7460,0x5CDE,{ 0x81,0x1B,0xD5,0xAE,0x9F,0x3D,0x9F,0x84 } }; // B3DFD64A-7460-5CDE-811B-D5AE9F3D9F84 template <> inline constexpr guid guid_v{ 0xF32459C5,0xE994,0x570B,{ 0x9E,0xC8,0xEF,0x42,0xC3,0x5A,0x85,0x47 } }; // F32459C5-E994-570B-9EC8-EF42C35A8547 template <> inline constexpr guid guid_v{ 0x872591D2,0xD533,0x50FF,{ 0xA8,0x5E,0x06,0x69,0x61,0x94,0xB7,0x7C } }; // 872591D2-D533-50FF-A85E-06696194B77C template <> inline constexpr guid guid_v{ 0x1A6AFF7B,0x3637,0x5C46,{ 0xB4,0x79,0x76,0xD5,0x76,0x21,0x6E,0x65 } }; // 1A6AFF7B-3637-5C46-B479-76D576216E65 template <> inline constexpr guid guid_v{ 0xE60E4CFB,0x36C9,0x56DD,{ 0x8F,0xA1,0x6F,0xF8,0xC4,0xE0,0xFF,0x07 } }; // E60E4CFB-36C9-56DD-8FA1-6FF8C4E0FF07 template <> inline constexpr guid guid_v{ 0xE3051828,0x1BA5,0x50E7,{ 0x8A,0x39,0xBB,0x1F,0xD2,0xF4,0xF8,0xB9 } }; // E3051828-1BA5-50E7-8A39-BB1FD2F4F8B9 template <> inline constexpr guid guid_v{ 0xECD15FC1,0xEADC,0x51BC,{ 0x97,0x1D,0x3B,0xC6,0x28,0xDB,0x2D,0xD4 } }; // ECD15FC1-EADC-51BC-971D-3BC628DB2DD4 template <> inline constexpr guid guid_v{ 0x71E18952,0xB321,0x5AF4,{ 0xBF,0xE8,0x03,0xFB,0xEA,0x31,0xE4,0x0D } }; // 71E18952-B321-5AF4-BFE8-03FBEA31E40D template <> inline constexpr guid guid_v{ 0x08129321,0x11B5,0x5CB2,{ 0x99,0xF8,0xE9,0x0B,0x47,0x9A,0x8A,0x1D } }; // 08129321-11B5-5CB2-99F8-E90B479A8A1D template <> inline constexpr guid guid_v{ 0xFCADBFDF,0xDC27,0x5638,{ 0xB7,0xF2,0xEB,0xDF,0xA4,0xF7,0xEA,0x93 } }; // FCADBFDF-DC27-5638-B7F2-EBDFA4F7EA93 template <> inline constexpr guid guid_v{ 0x594F6CC6,0x139A,0x56D6,{ 0xA4,0xB1,0x15,0xFE,0x2C,0xB7,0x6A,0xDB } }; // 594F6CC6-139A-56D6-A4B1-15FE2CB76ADB template <> inline constexpr guid guid_v{ 0xAEC57C6F,0x47B4,0x546B,{ 0x98,0x7C,0xE7,0x3F,0xA7,0x91,0xFE,0x3A } }; // AEC57C6F-47B4-546B-987C-E73FA791FE3A template <> inline constexpr guid guid_v{ 0x5E087448,0x135B,0x5BB0,{ 0xBF,0x63,0x63,0x7F,0x84,0x22,0x7C,0x7A } }; // 5E087448-135B-5BB0-BF63-637F84227C7A template <> inline constexpr guid guid_v{ 0x0957EA19,0xBD55,0x55DE,{ 0x92,0x67,0xC9,0x7B,0x61,0xE7,0x1C,0x37 } }; // 0957EA19-BD55-55DE-9267-C97B61E71C37 template <> inline constexpr guid guid_v{ 0xC676253D,0x237D,0x5548,{ 0xAA,0xFA,0x3E,0x51,0x7F,0xEF,0xEF,0x1C } }; // C676253D-237D-5548-AAFA-3E517FEFEF1C template <> inline constexpr guid guid_v{ 0x46B879B6,0x5D17,0x5955,{ 0xA8,0x72,0xEB,0x38,0x00,0x3D,0xB5,0x86 } }; // 46B879B6-5D17-5955-A872-EB38003DB586 template <> inline constexpr guid guid_v{ 0x6FBC7D67,0xF9B1,0x55E0,{ 0x9D,0x88,0xD3,0xA5,0x19,0x7A,0x3F,0x59 } }; // 6FBC7D67-F9B1-55E0-9D88-D3A5197A3F59 template <> inline constexpr guid guid_v{ 0xB0C98CA1,0xB759,0x5B59,{ 0xB1,0xAD,0xF0,0x78,0x6A,0xA9,0xE5,0x3D } }; // B0C98CA1-B759-5B59-B1AD-F0786AA9E53D template <> inline constexpr guid guid_v{ 0x1ACC967D,0x872C,0x5A38,{ 0xBB,0xB9,0x1D,0x48,0x72,0xB7,0x62,0x55 } }; // 1ACC967D-872C-5A38-BBB9-1D4872B76255 template <> inline constexpr guid guid_v{ 0xB2EFC8D5,0x09D6,0x55E6,{ 0xAD,0x22,0x90,0x14,0xB3,0xD2,0x52,0x29 } }; // B2EFC8D5-09D6-55E6-AD22-9014B3D25229 template <> inline constexpr guid guid_v{ 0xC575A22D,0xC3E6,0x5F7A,{ 0xBD,0xFB,0x87,0xC6,0xAB,0x86,0x61,0xD5 } }; // C575A22D-C3E6-5F7A-BDFB-87C6AB8661D5 template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayAdapter; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayDevice; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayFence; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManager; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManagerChangedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManagerDisabledEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManagerEnabledEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManagerPathsFailedOrInvalidatedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayManagerResultWithState; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayModeInfo; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayPath; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayScanout; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplaySource; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayState; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayStateOperationResult; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplaySurface; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayTarget; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayTask; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayTaskPool; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayTaskResult; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayView; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Display::Core::IDisplayWireFormat; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_Id(struct struct_Windows_Graphics_DisplayAdapterId*) noexcept = 0; virtual int32_t __stdcall get_DeviceInterfacePath(void**) noexcept = 0; virtual int32_t __stdcall get_SourceCount(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_PciVendorId(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_PciDeviceId(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_PciSubSystemId(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_PciRevision(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_Properties(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall FromId(struct struct_Windows_Graphics_DisplayAdapterId, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall CreateScanoutSource(void*, void**) noexcept = 0; virtual int32_t __stdcall CreatePrimary(void*, void*, void**) noexcept = 0; virtual int32_t __stdcall CreateTaskPool(void**) noexcept = 0; virtual int32_t __stdcall CreatePeriodicFence(void*, int64_t, void**) noexcept = 0; virtual int32_t __stdcall WaitForVBlank(void*) noexcept = 0; virtual int32_t __stdcall CreateSimpleScanout(void*, void*, uint32_t, uint32_t, void**) noexcept = 0; virtual int32_t __stdcall IsCapabilitySupported(int32_t, bool*) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall CreateSimpleScanoutWithDirtyRectsAndOptions(void*, void*, uint32_t, uint32_t, void*, uint32_t, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall GetCurrentTargets(void**) noexcept = 0; virtual int32_t __stdcall GetCurrentAdapters(void**) noexcept = 0; virtual int32_t __stdcall TryAcquireTarget(void*, int32_t*) noexcept = 0; virtual int32_t __stdcall ReleaseTarget(void*) noexcept = 0; virtual int32_t __stdcall TryReadCurrentStateForAllTargets(void**) noexcept = 0; virtual int32_t __stdcall TryAcquireTargetsAndReadCurrentState(void*, void**) noexcept = 0; virtual int32_t __stdcall TryAcquireTargetsAndCreateEmptyState(void*, void**) noexcept = 0; virtual int32_t __stdcall TryAcquireTargetsAndCreateSubstate(void*, void*, void**) noexcept = 0; virtual int32_t __stdcall CreateDisplayDevice(void*, void**) noexcept = 0; virtual int32_t __stdcall add_Enabled(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_Enabled(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_Disabled(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_Disabled(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_Changed(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_Changed(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_PathsFailedOrInvalidated(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_PathsFailedOrInvalidated(winrt::event_token) noexcept = 0; virtual int32_t __stdcall Start() noexcept = 0; virtual int32_t __stdcall Stop() noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; virtual int32_t __stdcall put_Handled(bool) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; virtual int32_t __stdcall put_Handled(bool) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; virtual int32_t __stdcall put_Handled(bool) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; virtual int32_t __stdcall put_Handled(bool) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_ErrorCode(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ExtendedErrorCode(winrt::hresult*) noexcept = 0; virtual int32_t __stdcall get_State(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall Create(uint32_t, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_SourceResolution(struct struct_Windows_Graphics_SizeInt32*) noexcept = 0; virtual int32_t __stdcall get_IsStereo(bool*) noexcept = 0; virtual int32_t __stdcall get_SourcePixelFormat(int32_t*) noexcept = 0; virtual int32_t __stdcall get_TargetResolution(struct struct_Windows_Graphics_SizeInt32*) noexcept = 0; virtual int32_t __stdcall get_PresentationRate(struct struct_Windows_Devices_Display_Core_DisplayPresentationRate*) noexcept = 0; virtual int32_t __stdcall get_IsInterlaced(bool*) noexcept = 0; virtual int32_t __stdcall GetWireFormatSupportedBitsPerChannel(int32_t, uint32_t*) noexcept = 0; virtual int32_t __stdcall IsWireFormatSupported(void*, bool*) noexcept = 0; virtual int32_t __stdcall get_Properties(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_PhysicalPresentationRate(struct struct_Windows_Devices_Display_Core_DisplayPresentationRate*) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_View(void**) noexcept = 0; virtual int32_t __stdcall get_Target(void**) noexcept = 0; virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; virtual int32_t __stdcall get_SourceResolution(void**) noexcept = 0; virtual int32_t __stdcall put_SourceResolution(void*) noexcept = 0; virtual int32_t __stdcall get_SourcePixelFormat(int32_t*) noexcept = 0; virtual int32_t __stdcall put_SourcePixelFormat(int32_t) noexcept = 0; virtual int32_t __stdcall get_IsStereo(bool*) noexcept = 0; virtual int32_t __stdcall put_IsStereo(bool) noexcept = 0; virtual int32_t __stdcall get_TargetResolution(void**) noexcept = 0; virtual int32_t __stdcall put_TargetResolution(void*) noexcept = 0; virtual int32_t __stdcall get_PresentationRate(void**) noexcept = 0; virtual int32_t __stdcall put_PresentationRate(void*) noexcept = 0; virtual int32_t __stdcall get_IsInterlaced(void**) noexcept = 0; virtual int32_t __stdcall put_IsInterlaced(void*) noexcept = 0; virtual int32_t __stdcall get_WireFormat(void**) noexcept = 0; virtual int32_t __stdcall put_WireFormat(void*) noexcept = 0; virtual int32_t __stdcall get_Rotation(int32_t*) noexcept = 0; virtual int32_t __stdcall put_Rotation(int32_t) noexcept = 0; virtual int32_t __stdcall get_Scaling(int32_t*) noexcept = 0; virtual int32_t __stdcall put_Scaling(int32_t) noexcept = 0; virtual int32_t __stdcall FindModes(uint32_t, void**) noexcept = 0; virtual int32_t __stdcall ApplyPropertiesFromMode(void*) noexcept = 0; virtual int32_t __stdcall get_Properties(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_PhysicalPresentationRate(void**) noexcept = 0; virtual int32_t __stdcall put_PhysicalPresentationRate(void*) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_Width(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_Height(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_Format(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ColorSpace(int32_t*) noexcept = 0; virtual int32_t __stdcall get_IsStereo(bool*) noexcept = 0; virtual int32_t __stdcall get_MultisampleDescription(struct struct_Windows_Graphics_DirectX_Direct3D11_Direct3DMultisampleDescription*) noexcept = 0; virtual int32_t __stdcall get_Properties(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall CreateInstance(uint32_t, uint32_t, int32_t, int32_t, bool, struct struct_Windows_Graphics_DirectX_Direct3D11_Direct3DMultisampleDescription, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall CreateWithProperties(void*, uint32_t, uint32_t, int32_t, int32_t, bool, struct struct_Windows_Graphics_DirectX_Direct3D11_Direct3DMultisampleDescription, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_AdapterId(struct struct_Windows_Graphics_DisplayAdapterId*) noexcept = 0; virtual int32_t __stdcall get_SourceId(uint32_t*) noexcept = 0; virtual int32_t __stdcall GetMetadata(winrt::guid, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; virtual int32_t __stdcall add_StatusChanged(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_StatusChanged(winrt::event_token) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; virtual int32_t __stdcall get_IsStale(bool*) noexcept = 0; virtual int32_t __stdcall get_Targets(void**) noexcept = 0; virtual int32_t __stdcall get_Views(void**) noexcept = 0; virtual int32_t __stdcall get_Properties(void**) noexcept = 0; virtual int32_t __stdcall ConnectTarget(void*, void**) noexcept = 0; virtual int32_t __stdcall ConnectTargetToView(void*, void*, void**) noexcept = 0; virtual int32_t __stdcall CanConnectTargetToView(void*, void*, bool*) noexcept = 0; virtual int32_t __stdcall GetViewForTarget(void*, void**) noexcept = 0; virtual int32_t __stdcall GetPathForTarget(void*, void**) noexcept = 0; virtual int32_t __stdcall DisconnectTarget(void*) noexcept = 0; virtual int32_t __stdcall TryFunctionalize(uint32_t, void**) noexcept = 0; virtual int32_t __stdcall TryApply(uint32_t, void**) noexcept = 0; virtual int32_t __stdcall Clone(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ExtendedErrorCode(winrt::hresult*) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_Adapter(void**) noexcept = 0; virtual int32_t __stdcall get_DeviceInterfacePath(void**) noexcept = 0; virtual int32_t __stdcall get_AdapterRelativeId(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_IsConnected(bool*) noexcept = 0; virtual int32_t __stdcall get_IsVirtualModeEnabled(bool*) noexcept = 0; virtual int32_t __stdcall get_IsVirtualTopologyEnabled(bool*) noexcept = 0; virtual int32_t __stdcall get_UsageKind(int32_t*) noexcept = 0; virtual int32_t __stdcall get_MonitorPersistence(int32_t*) noexcept = 0; virtual int32_t __stdcall get_StableMonitorId(void**) noexcept = 0; virtual int32_t __stdcall TryGetMonitor(void**) noexcept = 0; virtual int32_t __stdcall get_Properties(void**) noexcept = 0; virtual int32_t __stdcall get_IsStale(bool*) noexcept = 0; virtual int32_t __stdcall IsSame(void*, bool*) noexcept = 0; virtual int32_t __stdcall IsEqual(void*, bool*) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall SetScanout(void*) noexcept = 0; virtual int32_t __stdcall SetWait(void*, uint64_t) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall SetSignal(int32_t, void*) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall CreateTask(void**) noexcept = 0; virtual int32_t __stdcall ExecuteTask(void*) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall TryExecuteTask(void*, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_PresentStatus(int32_t*) noexcept = 0; virtual int32_t __stdcall get_PresentId(uint64_t*) noexcept = 0; virtual int32_t __stdcall get_SourceStatus(int32_t*) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_Paths(void**) noexcept = 0; virtual int32_t __stdcall get_ContentResolution(void**) noexcept = 0; virtual int32_t __stdcall put_ContentResolution(void*) noexcept = 0; virtual int32_t __stdcall SetPrimaryPath(void*) noexcept = 0; virtual int32_t __stdcall get_Properties(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_PixelEncoding(int32_t*) noexcept = 0; virtual int32_t __stdcall get_BitsPerChannel(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ColorSpace(int32_t*) noexcept = 0; virtual int32_t __stdcall get_Eotf(int32_t*) noexcept = 0; virtual int32_t __stdcall get_HdrMetadata(int32_t*) noexcept = 0; virtual int32_t __stdcall get_Properties(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall CreateInstance(int32_t, int32_t, int32_t, int32_t, int32_t, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall CreateWithProperties(void*, int32_t, int32_t, int32_t, int32_t, int32_t, void**) noexcept = 0; }; }; template struct consume_Windows_Devices_Display_Core_IDisplayAdapter { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) Id() const; [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceInterfacePath() const; [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SourceCount() const; [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PciVendorId() const; [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PciDeviceId() const; [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PciSubSystemId() const; [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PciRevision() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayAdapter; }; template struct consume_Windows_Devices_Display_Core_IDisplayAdapterStatics { WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayAdapter) FromId(winrt::Windows::Graphics::DisplayAdapterId const& id) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayAdapterStatics; }; template struct consume_Windows_Devices_Display_Core_IDisplayDevice { WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplaySource) CreateScanoutSource(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplaySurface) CreatePrimary(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription const& desc) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTaskPool) CreateTaskPool() const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayFence) CreatePeriodicFence(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Foundation::TimeSpan const& offsetFromVBlank) const; WINRT_IMPL_AUTO(void) WaitForVBlank(winrt::Windows::Devices::Display::Core::DisplaySource const& source) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayScanout) CreateSimpleScanout(winrt::Windows::Devices::Display::Core::DisplaySource const& pSource, winrt::Windows::Devices::Display::Core::DisplaySurface const& pSurface, uint32_t SubResourceIndex, uint32_t SyncInterval) const; WINRT_IMPL_AUTO(bool) IsCapabilitySupported(winrt::Windows::Devices::Display::Core::DisplayDeviceCapability const& capability) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayDevice; }; template struct consume_Windows_Devices_Display_Core_IDisplayDevice2 { WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayScanout) CreateSimpleScanoutWithDirtyRectsAndOptions(winrt::Windows::Devices::Display::Core::DisplaySource const& source, winrt::Windows::Devices::Display::Core::DisplaySurface const& surface, uint32_t subresourceIndex, uint32_t syncInterval, param::iterable const& dirtyRects, winrt::Windows::Devices::Display::Core::DisplayScanoutOptions const& options) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayDevice2; }; template struct consume_Windows_Devices_Display_Core_IDisplayFence { }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayFence; }; template struct consume_Windows_Devices_Display_Core_IDisplayManager { WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetCurrentTargets() const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetCurrentAdapters() const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResult) TryAcquireTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; WINRT_IMPL_AUTO(void) ReleaseTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) TryReadCurrentStateForAllTargets() const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) TryAcquireTargetsAndReadCurrentState(param::iterable const& targets) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) TryAcquireTargetsAndCreateEmptyState(param::iterable const& targets) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) TryAcquireTargetsAndCreateSubstate(winrt::Windows::Devices::Display::Core::DisplayState const& existingState, param::iterable const& targets) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayDevice) CreateDisplayDevice(winrt::Windows::Devices::Display::Core::DisplayAdapter const& adapter) const; WINRT_IMPL_AUTO(winrt::event_token) Enabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Enabled_revoker = impl::event_revoker::remove_Enabled>; [[nodiscard]] Enabled_revoker Enabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; WINRT_IMPL_AUTO(void) Enabled(winrt::event_token const& token) const noexcept; WINRT_IMPL_AUTO(winrt::event_token) Disabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Disabled_revoker = impl::event_revoker::remove_Disabled>; [[nodiscard]] Disabled_revoker Disabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; WINRT_IMPL_AUTO(void) Disabled(winrt::event_token const& token) const noexcept; WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; WINRT_IMPL_AUTO(winrt::event_token) PathsFailedOrInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PathsFailedOrInvalidated_revoker = impl::event_revoker::remove_PathsFailedOrInvalidated>; [[nodiscard]] PathsFailedOrInvalidated_revoker PathsFailedOrInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; WINRT_IMPL_AUTO(void) PathsFailedOrInvalidated(winrt::event_token const& token) const noexcept; WINRT_IMPL_AUTO(void) Start() const; WINRT_IMPL_AUTO(void) Stop() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayManager; }; template struct consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs { [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; WINRT_IMPL_AUTO(void) Handled(bool value) const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs; }; template struct consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs { [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; WINRT_IMPL_AUTO(void) Handled(bool value) const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs; }; template struct consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs { [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; WINRT_IMPL_AUTO(void) Handled(bool value) const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs; }; template struct consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs { [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; WINRT_IMPL_AUTO(void) Handled(bool value) const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs; }; template struct consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResult) ErrorCode() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedErrorCode() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayState) State() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState; }; template struct consume_Windows_Devices_Display_Core_IDisplayManagerStatics { WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManager) Create(winrt::Windows::Devices::Display::Core::DisplayManagerOptions const& options) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayManagerStatics; }; template struct consume_Windows_Devices_Display_Core_IDisplayModeInfo { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) SourceResolution() const; [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStereo() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) SourcePixelFormat() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) TargetResolution() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPresentationRate) PresentationRate() const; [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInterlaced() const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayBitsPerChannel) GetWireFormatSupportedBitsPerChannel(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& encoding) const; WINRT_IMPL_AUTO(bool) IsWireFormatSupported(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& wireFormat) const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayModeInfo; }; template struct consume_Windows_Devices_Display_Core_IDisplayModeInfo2 { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPresentationRate) PhysicalPresentationRate() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayModeInfo2; }; template struct consume_Windows_Devices_Display_Core_IDisplayPath { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayView) View() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTarget) Target() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPathStatus) Status() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SourceResolution() const; WINRT_IMPL_AUTO(void) SourceResolution(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) SourcePixelFormat() const; WINRT_IMPL_AUTO(void) SourcePixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStereo() const; WINRT_IMPL_AUTO(void) IsStereo(bool value) const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TargetResolution() const; WINRT_IMPL_AUTO(void) TargetResolution(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PresentationRate() const; WINRT_IMPL_AUTO(void) PresentationRate(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsInterlaced() const; WINRT_IMPL_AUTO(void) IsInterlaced(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) WireFormat() const; WINRT_IMPL_AUTO(void) WireFormat(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& value) const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayRotation) Rotation() const; WINRT_IMPL_AUTO(void) Rotation(winrt::Windows::Devices::Display::Core::DisplayRotation const& value) const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPathScaling) Scaling() const; WINRT_IMPL_AUTO(void) Scaling(winrt::Windows::Devices::Display::Core::DisplayPathScaling const& value) const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindModes(winrt::Windows::Devices::Display::Core::DisplayModeQueryOptions const& flags) const; WINRT_IMPL_AUTO(void) ApplyPropertiesFromMode(winrt::Windows::Devices::Display::Core::DisplayModeInfo const& modeResult) const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayPath; }; template struct consume_Windows_Devices_Display_Core_IDisplayPath2 { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PhysicalPresentationRate() const; WINRT_IMPL_AUTO(void) PhysicalPresentationRate(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayPath2; }; template struct consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription { [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) Format() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXColorSpace) ColorSpace() const; [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStereo() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription) MultisampleDescription() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription; }; template struct consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionFactory { WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription) CreateInstance(uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionFactory; }; template struct consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionStatics { WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription) CreateWithProperties(param::iterable> const& extraProperties, uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionStatics; }; template struct consume_Windows_Devices_Display_Core_IDisplayScanout { }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayScanout; }; template struct consume_Windows_Devices_Display_Core_IDisplaySource { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) AdapterId() const; [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SourceId() const; WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetMetadata(winrt::guid const& Key) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplaySource; }; template struct consume_Windows_Devices_Display_Core_IDisplaySource2 { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplaySourceStatus) Status() const; WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplaySource2; }; template struct consume_Windows_Devices_Display_Core_IDisplayState { [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStale() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Targets() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Views() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const; WINRT_IMPL_AUTO(bool) CanConnectTargetToView(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayView) GetViewForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) GetPathForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; WINRT_IMPL_AUTO(void) DisconnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationResult) TryFunctionalize(winrt::Windows::Devices::Display::Core::DisplayStateFunctionalizeOptions const& options) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationResult) TryApply(winrt::Windows::Devices::Display::Core::DisplayStateApplyOptions const& options) const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayState) Clone() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayState; }; template struct consume_Windows_Devices_Display_Core_IDisplayStateOperationResult { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationStatus) Status() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedErrorCode() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayStateOperationResult; }; template struct consume_Windows_Devices_Display_Core_IDisplaySurface { }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplaySurface; }; template struct consume_Windows_Devices_Display_Core_IDisplayTarget { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayAdapter) Adapter() const; [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceInterfacePath() const; [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AdapterRelativeId() const; [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConnected() const; [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVirtualModeEnabled() const; [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVirtualTopologyEnabled() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorUsageKind) UsageKind() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTargetPersistence) MonitorPersistence() const; [[nodiscard]] WINRT_IMPL_AUTO(hstring) StableMonitorId() const; WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitor) TryGetMonitor() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStale() const; WINRT_IMPL_AUTO(bool) IsSame(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const; WINRT_IMPL_AUTO(bool) IsEqual(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayTarget; }; template struct consume_Windows_Devices_Display_Core_IDisplayTask { WINRT_IMPL_AUTO(void) SetScanout(winrt::Windows::Devices::Display::Core::DisplayScanout const& scanout) const; WINRT_IMPL_AUTO(void) SetWait(winrt::Windows::Devices::Display::Core::DisplayFence const& readyFence, uint64_t readyFenceValue) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayTask; }; template struct consume_Windows_Devices_Display_Core_IDisplayTask2 { WINRT_IMPL_AUTO(void) SetSignal(winrt::Windows::Devices::Display::Core::DisplayTaskSignalKind const& signalKind, winrt::Windows::Devices::Display::Core::DisplayFence const& fence) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayTask2; }; template struct consume_Windows_Devices_Display_Core_IDisplayTaskPool { WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTask) CreateTask() const; WINRT_IMPL_AUTO(void) ExecuteTask(winrt::Windows::Devices::Display::Core::DisplayTask const& task) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayTaskPool; }; template struct consume_Windows_Devices_Display_Core_IDisplayTaskPool2 { WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTaskResult) TryExecuteTask(winrt::Windows::Devices::Display::Core::DisplayTask const& task) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayTaskPool2; }; template struct consume_Windows_Devices_Display_Core_IDisplayTaskResult { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPresentStatus) PresentStatus() const; [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PresentId() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplaySourceStatus) SourceStatus() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayTaskResult; }; template struct consume_Windows_Devices_Display_Core_IDisplayView { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Paths() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ContentResolution() const; WINRT_IMPL_AUTO(void) ContentResolution(winrt::Windows::Foundation::IReference const& value) const; WINRT_IMPL_AUTO(void) SetPrimaryPath(winrt::Windows::Devices::Display::Core::DisplayPath const& path) const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayView; }; template struct consume_Windows_Devices_Display_Core_IDisplayWireFormat { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding) PixelEncoding() const; [[nodiscard]] WINRT_IMPL_AUTO(int32_t) BitsPerChannel() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace) ColorSpace() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf) Eotf() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata) HdrMetadata() const; [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayWireFormat; }; template struct consume_Windows_Devices_Display_Core_IDisplayWireFormatFactory { WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) CreateInstance(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayWireFormatFactory; }; template struct consume_Windows_Devices_Display_Core_IDisplayWireFormatStatics { WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) CreateWithProperties(param::iterable> const& extraProperties, winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const; }; template <> struct consume { template using type = consume_Windows_Devices_Display_Core_IDisplayWireFormatStatics; }; struct struct_Windows_Devices_Display_Core_DisplayPresentationRate { winrt::Windows::Foundation::Numerics::Rational VerticalSyncRate; int32_t VerticalSyncsPerPresentation; }; template <> struct abi { using type = struct_Windows_Devices_Display_Core_DisplayPresentationRate; }; } #endif