// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_UI_WindowManagement_0_H #define WINRT_Windows_UI_WindowManagement_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; struct IAsyncAction; template struct WINRT_IMPL_EMPTY_BASES IReference; struct Point; struct Rect; struct Size; template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::System { struct DispatcherQueue; } WINRT_EXPORT namespace winrt::Windows::UI { struct Color; struct UIContentRoot; struct UIContext; } WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement { enum class AppWindowClosedReason : int32_t { Other = 0, AppInitiated = 1, UserInitiated = 2, }; enum class AppWindowFrameStyle : int32_t { Default = 0, NoFrame = 1, }; enum class AppWindowPresentationKind : int32_t { Default = 0, CompactOverlay = 1, FullScreen = 2, }; enum class AppWindowTitleBarVisibility : int32_t { Default = 0, AlwaysHidden = 1, }; enum class WindowingEnvironmentKind : int32_t { Unknown = 0, Overlapped = 1, Tiled = 2, }; struct IAppWindow; struct IAppWindowChangedEventArgs; struct IAppWindowCloseRequestedEventArgs; struct IAppWindowClosedEventArgs; struct IAppWindowFrame; struct IAppWindowFrameStyle; struct IAppWindowPlacement; struct IAppWindowPresentationConfiguration; struct IAppWindowPresentationConfigurationFactory; struct IAppWindowPresenter; struct IAppWindowStatics; struct IAppWindowTitleBar; struct IAppWindowTitleBarOcclusion; struct IAppWindowTitleBarVisibility; struct ICompactOverlayPresentationConfiguration; struct IDefaultPresentationConfiguration; struct IDisplayRegion; struct IFullScreenPresentationConfiguration; struct IWindowServicesStatics; struct IWindowingEnvironment; struct IWindowingEnvironmentAddedEventArgs; struct IWindowingEnvironmentChangedEventArgs; struct IWindowingEnvironmentRemovedEventArgs; struct IWindowingEnvironmentStatics; struct AppWindow; struct AppWindowChangedEventArgs; struct AppWindowCloseRequestedEventArgs; struct AppWindowClosedEventArgs; struct AppWindowFrame; struct AppWindowPlacement; struct AppWindowPresentationConfiguration; struct AppWindowPresenter; struct AppWindowTitleBar; struct AppWindowTitleBarOcclusion; struct CompactOverlayPresentationConfiguration; struct DefaultPresentationConfiguration; struct DisplayRegion; struct FullScreenPresentationConfiguration; struct WindowServices; struct WindowingEnvironment; struct WindowingEnvironmentAddedEventArgs; struct WindowingEnvironmentChangedEventArgs; struct WindowingEnvironmentRemovedEventArgs; } 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 = 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 <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindow"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowClosedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowFrame"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowPlacement"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowPresentationConfiguration"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowPresenter"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowTitleBar"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowTitleBarOcclusion"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.CompactOverlayPresentationConfiguration"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.DefaultPresentationConfiguration"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.DisplayRegion"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.FullScreenPresentationConfiguration"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.WindowServices"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.WindowingEnvironment"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.WindowingEnvironmentAddedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.WindowingEnvironmentChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.WindowingEnvironmentRemovedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowClosedReason"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowFrameStyle"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowPresentationKind"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.AppWindowTitleBarVisibility"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.WindowingEnvironmentKind"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindow"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowCloseRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowClosedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowFrame"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowFrameStyle"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowPlacement"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowPresentationConfiguration"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowPresentationConfigurationFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowPresenter"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowTitleBar"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowTitleBarOcclusion"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IAppWindowTitleBarVisibility"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.ICompactOverlayPresentationConfiguration"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IDefaultPresentationConfiguration"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IDisplayRegion"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IFullScreenPresentationConfiguration"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IWindowServicesStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IWindowingEnvironment"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IWindowingEnvironmentAddedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IWindowingEnvironmentChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IWindowingEnvironmentRemovedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IWindowingEnvironmentStatics"; template <> inline constexpr guid guid_v{ 0x663014A6,0xB75E,0x5DBD,{ 0x99,0x5C,0xF0,0x11,0x7F,0xA3,0xFB,0x61 } }; // 663014A6-B75E-5DBD-995C-F0117FA3FB61 template <> inline constexpr guid guid_v{ 0x1DE1F3BE,0xA655,0x55AD,{ 0xB2,0xB6,0xEB,0x24,0x0F,0x88,0x03,0x56 } }; // 1DE1F3BE-A655-55AD-B2B6-EB240F880356 template <> inline constexpr guid guid_v{ 0xE9FF01DA,0xE7A2,0x57A8,{ 0x8B,0x5E,0x39,0xC4,0x00,0x3A,0xFD,0xBB } }; // E9FF01DA-E7A2-57A8-8B5E-39C4003AFDBB template <> inline constexpr guid guid_v{ 0xCC7DF816,0x9520,0x5A06,{ 0x82,0x1E,0x45,0x6A,0xD8,0xB3,0x58,0xAA } }; // CC7DF816-9520-5A06-821E-456AD8B358AA template <> inline constexpr guid guid_v{ 0x9EE22601,0x7E5D,0x52AF,{ 0x84,0x6B,0x01,0xDC,0x6C,0x29,0x65,0x67 } }; // 9EE22601-7E5D-52AF-846B-01DC6C296567 template <> inline constexpr guid guid_v{ 0xAC412946,0xE1AC,0x5230,{ 0x94,0x4A,0xC6,0x08,0x73,0xDC,0xF4,0xA9 } }; // AC412946-E1AC-5230-944A-C60873DCF4A9 template <> inline constexpr guid guid_v{ 0x03DC815E,0xE7A9,0x5857,{ 0x9C,0x03,0x7D,0x67,0x05,0x94,0x41,0x0E } }; // 03DC815E-E7A9-5857-9C03-7D670594410E template <> inline constexpr guid guid_v{ 0xB5A43EE3,0xDF33,0x5E67,{ 0xBD,0x31,0x10,0x72,0x45,0x73,0x00,0xDF } }; // B5A43EE3-DF33-5E67-BD31-1072457300DF template <> inline constexpr guid guid_v{ 0xFD3606A6,0x7875,0x5DE8,{ 0x84,0xFF,0x63,0x51,0xEE,0x13,0xDD,0x0D } }; // FD3606A6-7875-5DE8-84FF-6351EE13DD0D template <> inline constexpr guid guid_v{ 0x5AE9ED73,0xE1FD,0x5317,{ 0xAD,0x78,0x5A,0x3E,0xD2,0x71,0xBB,0xDE } }; // 5AE9ED73-E1FD-5317-AD78-5A3ED271BBDE template <> inline constexpr guid guid_v{ 0xFF1F3EA3,0xB769,0x50EF,{ 0x98,0x73,0x10,0x8C,0xD0,0xE8,0x97,0x46 } }; // FF1F3EA3-B769-50EF-9873-108CD0E89746 template <> inline constexpr guid guid_v{ 0x6E932C84,0xF644,0x541D,{ 0xA2,0xD7,0x0C,0x26,0x24,0x37,0x84,0x2D } }; // 6E932C84-F644-541D-A2D7-0C262437842D template <> inline constexpr guid guid_v{ 0xFEA3CFFD,0x2CCF,0x5FC3,{ 0xAE,0xAE,0xF8,0x43,0x87,0x6B,0xF3,0x7E } }; // FEA3CFFD-2CCF-5FC3-AEAE-F843876BF37E template <> inline constexpr guid guid_v{ 0xA215A4E3,0x6E7E,0x5651,{ 0x8C,0x3B,0x62,0x48,0x19,0x52,0x81,0x54 } }; // A215A4E3-6E7E-5651-8C3B-624819528154 template <> inline constexpr guid guid_v{ 0xA7E5750F,0x5730,0x56C6,{ 0x8E,0x1F,0xD6,0x3F,0xF4,0xD7,0x98,0x0D } }; // A7E5750F-5730-56C6-8E1F-D63FF4D7980D template <> inline constexpr guid guid_v{ 0xD8C2B53B,0x2168,0x5703,{ 0xA8,0x53,0xD5,0x25,0x58,0x9F,0xE2,0xB9 } }; // D8C2B53B-2168-5703-A853-D525589FE2B9 template <> inline constexpr guid guid_v{ 0xDB50C3A2,0x4094,0x5F47,{ 0x8C,0xB1,0xEA,0x01,0xDD,0xAF,0xAA,0x94 } }; // DB50C3A2-4094-5F47-8CB1-EA01DDAFAA94 template <> inline constexpr guid guid_v{ 0x43D3DCD8,0xD2A8,0x503D,{ 0xA6,0x26,0x15,0x53,0x3D,0x6D,0x5F,0x62 } }; // 43D3DCD8-D2A8-503D-A626-15533D6D5F62 template <> inline constexpr guid guid_v{ 0xCFF4D519,0x50A6,0x5C64,{ 0x97,0xF6,0xC2,0xD9,0x6A,0xDD,0x7F,0x42 } }; // CFF4D519-50A6-5C64-97F6-C2D96ADD7F42 template <> inline constexpr guid guid_v{ 0x264363C0,0x2A49,0x5417,{ 0xB3,0xAE,0x48,0xA7,0x1C,0x63,0xA3,0xBD } }; // 264363C0-2A49-5417-B3AE-48A71C63A3BD template <> inline constexpr guid guid_v{ 0xFF2A5B7F,0xF183,0x5C66,{ 0x99,0xB2,0x42,0x90,0x82,0x06,0x92,0x99 } }; // FF2A5B7F-F183-5C66-99B2-429082069299 template <> inline constexpr guid guid_v{ 0x4160CFC6,0x023D,0x5E9A,{ 0xB4,0x31,0x35,0x0E,0x67,0xDC,0x97,0x8A } }; // 4160CFC6-023D-5E9A-B431-350E67DC978A template <> inline constexpr guid guid_v{ 0x2E5B5473,0xBEFF,0x5E53,{ 0x93,0x16,0x7E,0x77,0x5F,0xE5,0x68,0xB3 } }; // 2E5B5473-BEFF-5E53-9316-7E775FE568B3 template <> inline constexpr guid guid_v{ 0x874E9FB7,0xC642,0x55AB,{ 0x8A,0xA2,0x16,0x2F,0x73,0x4A,0x9A,0x72 } }; // 874E9FB7-C642-55AB-8AA2-162F734A9A72 template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IAppWindow; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IAppWindowCloseRequestedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IAppWindowClosedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IAppWindowFrame; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IAppWindowPlacement; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IAppWindowPresentationConfiguration; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IAppWindowPresenter; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IAppWindowTitleBar; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IAppWindowTitleBarOcclusion; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::ICompactOverlayPresentationConfiguration; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IDefaultPresentationConfiguration; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IDisplayRegion; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IWindowingEnvironment; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IWindowingEnvironmentAddedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IWindowingEnvironmentChangedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::WindowManagement::IWindowingEnvironmentRemovedEventArgs; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Content(void**) noexcept = 0; virtual int32_t __stdcall get_DispatcherQueue(void**) noexcept = 0; virtual int32_t __stdcall get_Frame(void**) noexcept = 0; virtual int32_t __stdcall get_IsVisible(bool*) noexcept = 0; virtual int32_t __stdcall get_PersistedStateId(void**) noexcept = 0; virtual int32_t __stdcall put_PersistedStateId(void*) noexcept = 0; virtual int32_t __stdcall get_Presenter(void**) noexcept = 0; virtual int32_t __stdcall get_Title(void**) noexcept = 0; virtual int32_t __stdcall put_Title(void*) noexcept = 0; virtual int32_t __stdcall get_TitleBar(void**) noexcept = 0; virtual int32_t __stdcall get_UIContext(void**) noexcept = 0; virtual int32_t __stdcall get_WindowingEnvironment(void**) noexcept = 0; virtual int32_t __stdcall CloseAsync(void**) noexcept = 0; virtual int32_t __stdcall GetPlacement(void**) noexcept = 0; virtual int32_t __stdcall GetDisplayRegions(void**) noexcept = 0; virtual int32_t __stdcall RequestMoveToDisplayRegion(void*) noexcept = 0; virtual int32_t __stdcall RequestMoveAdjacentToCurrentView() noexcept = 0; virtual int32_t __stdcall RequestMoveAdjacentToWindow(void*) noexcept = 0; virtual int32_t __stdcall RequestMoveRelativeToWindowContent(void*, winrt::Windows::Foundation::Point) noexcept = 0; virtual int32_t __stdcall RequestMoveRelativeToCurrentViewContent(winrt::Windows::Foundation::Point) noexcept = 0; virtual int32_t __stdcall RequestMoveRelativeToDisplayRegion(void*, winrt::Windows::Foundation::Point) noexcept = 0; virtual int32_t __stdcall RequestSize(winrt::Windows::Foundation::Size) noexcept = 0; virtual int32_t __stdcall TryShowAsync(void**) 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_Closed(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_Closed(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_CloseRequested(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_CloseRequested(winrt::event_token) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DidAvailableWindowPresentationsChange(bool*) noexcept = 0; virtual int32_t __stdcall get_DidDisplayRegionsChange(bool*) noexcept = 0; virtual int32_t __stdcall get_DidFrameChange(bool*) noexcept = 0; virtual int32_t __stdcall get_DidSizeChange(bool*) noexcept = 0; virtual int32_t __stdcall get_DidTitleBarChange(bool*) noexcept = 0; virtual int32_t __stdcall get_DidVisibilityChange(bool*) noexcept = 0; virtual int32_t __stdcall get_DidWindowingEnvironmentChange(bool*) noexcept = 0; virtual int32_t __stdcall get_DidWindowPresentationChange(bool*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Cancel(bool*) noexcept = 0; virtual int32_t __stdcall put_Cancel(bool) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DragRegionVisuals(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetFrameStyle(int32_t*) noexcept = 0; virtual int32_t __stdcall SetFrameStyle(int32_t) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DisplayRegion(void**) noexcept = 0; virtual int32_t __stdcall get_Offset(winrt::Windows::Foundation::Point*) noexcept = 0; virtual int32_t __stdcall get_Size(winrt::Windows::Foundation::Size*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetConfiguration(void**) noexcept = 0; virtual int32_t __stdcall IsPresentationSupported(int32_t, bool*) noexcept = 0; virtual int32_t __stdcall RequestPresentation(void*, bool*) noexcept = 0; virtual int32_t __stdcall RequestPresentationByKind(int32_t, bool*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall TryCreateAsync(void**) noexcept = 0; virtual int32_t __stdcall ClearAllPersistedState() noexcept = 0; virtual int32_t __stdcall ClearPersistedState(void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_BackgroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_BackgroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_ButtonBackgroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_ButtonBackgroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_ButtonForegroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_ButtonForegroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_ButtonHoverBackgroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_ButtonHoverBackgroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_ButtonHoverForegroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_ButtonHoverForegroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_ButtonInactiveBackgroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_ButtonInactiveBackgroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_ButtonInactiveForegroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_ButtonInactiveForegroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_ButtonPressedBackgroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_ButtonPressedBackgroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_ButtonPressedForegroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_ButtonPressedForegroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_ExtendsContentIntoTitleBar(bool*) noexcept = 0; virtual int32_t __stdcall put_ExtendsContentIntoTitleBar(bool) noexcept = 0; virtual int32_t __stdcall get_ForegroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_ForegroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_InactiveBackgroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_InactiveBackgroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_InactiveForegroundColor(void**) noexcept = 0; virtual int32_t __stdcall put_InactiveForegroundColor(void*) noexcept = 0; virtual int32_t __stdcall get_IsVisible(bool*) noexcept = 0; virtual int32_t __stdcall GetTitleBarOcclusions(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_OccludingRect(winrt::Windows::Foundation::Rect*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetPreferredVisibility(int32_t*) noexcept = 0; virtual int32_t __stdcall SetPreferredVisibility(int32_t) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DisplayMonitorDeviceId(void**) noexcept = 0; virtual int32_t __stdcall get_IsVisible(bool*) noexcept = 0; virtual int32_t __stdcall get_WorkAreaOffset(winrt::Windows::Foundation::Point*) noexcept = 0; virtual int32_t __stdcall get_WorkAreaSize(winrt::Windows::Foundation::Size*) noexcept = 0; virtual int32_t __stdcall get_WindowingEnvironment(void**) 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; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_IsExclusive(bool*) noexcept = 0; virtual int32_t __stdcall put_IsExclusive(bool) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall FindAllTopLevelWindowIds(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; virtual int32_t __stdcall get_Kind(int32_t*) noexcept = 0; virtual int32_t __stdcall GetDisplayRegions(void**) 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; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_WindowingEnvironment(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_WindowingEnvironment(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall FindAll(void**) noexcept = 0; virtual int32_t __stdcall FindAllWithKind(int32_t, void**) noexcept = 0; }; }; template struct consume_Windows_UI_WindowManagement_IAppWindow { [[nodiscard]] auto Content() const; [[nodiscard]] auto DispatcherQueue() const; [[nodiscard]] auto Frame() const; [[nodiscard]] auto IsVisible() const; [[nodiscard]] auto PersistedStateId() const; auto PersistedStateId(param::hstring const& value) const; [[nodiscard]] auto Presenter() const; [[nodiscard]] auto Title() const; auto Title(param::hstring const& value) const; [[nodiscard]] auto TitleBar() const; [[nodiscard]] auto UIContext() const; [[nodiscard]] auto WindowingEnvironment() const; auto CloseAsync() const; auto GetPlacement() const; auto GetDisplayRegions() const; auto RequestMoveToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const; auto RequestMoveAdjacentToCurrentView() const; auto RequestMoveAdjacentToWindow(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow) const; auto RequestMoveRelativeToWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow, winrt::Windows::Foundation::Point const& contentOffset) const; auto RequestMoveRelativeToCurrentViewContent(winrt::Windows::Foundation::Point const& contentOffset) const; auto RequestMoveRelativeToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion, winrt::Windows::Foundation::Point const& displayRegionOffset) const; auto RequestSize(winrt::Windows::Foundation::Size const& frameSize) const; auto TryShowAsync() const; auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto Changed(winrt::event_token const& token) const noexcept; auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto Closed(winrt::event_token const& token) const noexcept; auto CloseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CloseRequested_revoker = impl::event_revoker::remove_CloseRequested>; [[nodiscard]] auto CloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto CloseRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindow; }; template struct consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs { [[nodiscard]] auto DidAvailableWindowPresentationsChange() const; [[nodiscard]] auto DidDisplayRegionsChange() const; [[nodiscard]] auto DidFrameChange() const; [[nodiscard]] auto DidSizeChange() const; [[nodiscard]] auto DidTitleBarChange() const; [[nodiscard]] auto DidVisibilityChange() const; [[nodiscard]] auto DidWindowingEnvironmentChange() const; [[nodiscard]] auto DidWindowPresentationChange() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs; }; template struct consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs { [[nodiscard]] auto Cancel() const; auto Cancel(bool value) const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs; }; template struct consume_Windows_UI_WindowManagement_IAppWindowClosedEventArgs { [[nodiscard]] auto Reason() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowClosedEventArgs; }; template struct consume_Windows_UI_WindowManagement_IAppWindowFrame { [[nodiscard]] auto DragRegionVisuals() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowFrame; }; template struct consume_Windows_UI_WindowManagement_IAppWindowFrameStyle { auto GetFrameStyle() const; auto SetFrameStyle(winrt::Windows::UI::WindowManagement::AppWindowFrameStyle const& frameStyle) const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowFrameStyle; }; template struct consume_Windows_UI_WindowManagement_IAppWindowPlacement { [[nodiscard]] auto DisplayRegion() const; [[nodiscard]] auto Offset() const; [[nodiscard]] auto Size() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowPlacement; }; template struct consume_Windows_UI_WindowManagement_IAppWindowPresentationConfiguration { [[nodiscard]] auto Kind() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowPresentationConfiguration; }; template struct consume_Windows_UI_WindowManagement_IAppWindowPresentationConfigurationFactory { }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowPresentationConfigurationFactory; }; template struct consume_Windows_UI_WindowManagement_IAppWindowPresenter { auto GetConfiguration() const; auto IsPresentationSupported(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const; auto RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationConfiguration const& configuration) const; auto RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowPresenter; }; template struct consume_Windows_UI_WindowManagement_IAppWindowStatics { auto TryCreateAsync() const; auto ClearAllPersistedState() const; auto ClearPersistedState(param::hstring const& key) const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowStatics; }; template struct consume_Windows_UI_WindowManagement_IAppWindowTitleBar { [[nodiscard]] auto BackgroundColor() const; auto BackgroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto ButtonBackgroundColor() const; auto ButtonBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto ButtonForegroundColor() const; auto ButtonForegroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto ButtonHoverBackgroundColor() const; auto ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto ButtonHoverForegroundColor() const; auto ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto ButtonInactiveBackgroundColor() const; auto ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto ButtonInactiveForegroundColor() const; auto ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto ButtonPressedBackgroundColor() const; auto ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto ButtonPressedForegroundColor() const; auto ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto ExtendsContentIntoTitleBar() const; auto ExtendsContentIntoTitleBar(bool value) const; [[nodiscard]] auto ForegroundColor() const; auto ForegroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto InactiveBackgroundColor() const; auto InactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto InactiveForegroundColor() const; auto InactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto IsVisible() const; auto GetTitleBarOcclusions() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowTitleBar; }; template struct consume_Windows_UI_WindowManagement_IAppWindowTitleBarOcclusion { [[nodiscard]] auto OccludingRect() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowTitleBarOcclusion; }; template struct consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility { auto GetPreferredVisibility() const; auto SetPreferredVisibility(winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility const& visibilityMode) const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility; }; template struct consume_Windows_UI_WindowManagement_ICompactOverlayPresentationConfiguration { }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_ICompactOverlayPresentationConfiguration; }; template struct consume_Windows_UI_WindowManagement_IDefaultPresentationConfiguration { }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IDefaultPresentationConfiguration; }; template struct consume_Windows_UI_WindowManagement_IDisplayRegion { [[nodiscard]] auto DisplayMonitorDeviceId() const; [[nodiscard]] auto IsVisible() const; [[nodiscard]] auto WorkAreaOffset() const; [[nodiscard]] auto WorkAreaSize() const; [[nodiscard]] auto WindowingEnvironment() const; auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto Changed(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IDisplayRegion; }; template struct consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration { [[nodiscard]] auto IsExclusive() const; auto IsExclusive(bool value) const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration; }; template struct consume_Windows_UI_WindowManagement_IWindowServicesStatics { auto FindAllTopLevelWindowIds() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IWindowServicesStatics; }; template struct consume_Windows_UI_WindowManagement_IWindowingEnvironment { [[nodiscard]] auto IsEnabled() const; [[nodiscard]] auto Kind() const; auto GetDisplayRegions() const; auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto Changed(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IWindowingEnvironment; }; template struct consume_Windows_UI_WindowManagement_IWindowingEnvironmentAddedEventArgs { [[nodiscard]] auto WindowingEnvironment() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IWindowingEnvironmentAddedEventArgs; }; template struct consume_Windows_UI_WindowManagement_IWindowingEnvironmentChangedEventArgs { }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IWindowingEnvironmentChangedEventArgs; }; template struct consume_Windows_UI_WindowManagement_IWindowingEnvironmentRemovedEventArgs { [[nodiscard]] auto WindowingEnvironment() const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IWindowingEnvironmentRemovedEventArgs; }; template struct consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics { auto FindAll() const; auto FindAll(winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind const& kind) const; }; template <> struct consume { template using type = consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics; }; } #endif