// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_UI_Xaml_Hosting_0_H #define WINRT_Windows_UI_Xaml_Hosting_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; struct Rect; struct Size; template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::UI::Composition { struct CompositionPropertySet; struct ICompositionAnimationBase; struct Visual; } WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement { struct AppWindow; } WINRT_EXPORT namespace winrt::Windows::UI::Xaml { struct FrameworkElement; struct ResourceDictionary; struct UIElement; } WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls { struct ScrollViewer; } WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives { enum class FlyoutPlacementMode : int32_t; } WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Hosting { enum class DesignerAppViewState : int32_t { Visible = 0, Hidden = 1, }; enum class XamlSourceFocusNavigationReason : int32_t { Programmatic = 0, Restore = 1, First = 3, Last = 4, Left = 7, Up = 8, Right = 9, Down = 10, }; struct IDesignerAppExitedEventArgs; struct IDesignerAppManager; struct IDesignerAppManagerFactory; struct IDesignerAppView; struct IDesktopWindowXamlSource; struct IDesktopWindowXamlSourceFactory; struct IDesktopWindowXamlSourceGotFocusEventArgs; struct IDesktopWindowXamlSourceTakeFocusRequestedEventArgs; struct IElementCompositionPreview; struct IElementCompositionPreviewStatics; struct IElementCompositionPreviewStatics2; struct IElementCompositionPreviewStatics3; struct IWindowsXamlManager; struct IWindowsXamlManagerStatics; struct IXamlSourceFocusNavigationRequest; struct IXamlSourceFocusNavigationRequestFactory; struct IXamlSourceFocusNavigationResult; struct IXamlSourceFocusNavigationResultFactory; struct IXamlUIPresenter; struct IXamlUIPresenterHost; struct IXamlUIPresenterHost2; struct IXamlUIPresenterHost3; struct IXamlUIPresenterStatics; struct IXamlUIPresenterStatics2; struct DesignerAppExitedEventArgs; struct DesignerAppManager; struct DesignerAppView; struct DesktopWindowXamlSource; struct DesktopWindowXamlSourceGotFocusEventArgs; struct DesktopWindowXamlSourceTakeFocusRequestedEventArgs; struct ElementCompositionPreview; struct WindowsXamlManager; struct XamlSourceFocusNavigationRequest; struct XamlSourceFocusNavigationResult; struct XamlUIPresenter; struct HostingContract; } 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 = enum_category; }; template <> struct category{ using type = enum_category; }; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.DesignerAppExitedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.DesignerAppManager"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.DesignerAppView"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSource"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSourceGotFocusEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.DesktopWindowXamlSourceTakeFocusRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.ElementCompositionPreview"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.WindowsXamlManager"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationResult"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.XamlUIPresenter"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.DesignerAppViewState"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationReason"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IDesignerAppExitedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IDesignerAppManager"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IDesignerAppManagerFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IDesignerAppView"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IDesktopWindowXamlSource"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IDesktopWindowXamlSourceFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IDesktopWindowXamlSourceGotFocusEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IDesktopWindowXamlSourceTakeFocusRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IElementCompositionPreview"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IElementCompositionPreviewStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IElementCompositionPreviewStatics2"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IElementCompositionPreviewStatics3"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IWindowsXamlManager"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IWindowsXamlManagerStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequest"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IXamlSourceFocusNavigationResult"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IXamlSourceFocusNavigationResultFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IXamlUIPresenter"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IXamlUIPresenterHost"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IXamlUIPresenterHost2"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IXamlUIPresenterHost3"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IXamlUIPresenterStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.IXamlUIPresenterStatics2"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Hosting.HostingContract"; template <> inline constexpr guid guid_v{ 0xF6AAC86A,0x0CAD,0x410C,{ 0x8F,0x62,0xDC,0x29,0x36,0x15,0x1C,0x74 } }; // F6AAC86A-0CAD-410C-8F62-DC2936151C74 template <> inline constexpr guid guid_v{ 0xA6272CAA,0xD5C6,0x40CB,{ 0xAB,0xD9,0x27,0xBA,0x43,0x83,0x1B,0xB7 } }; // A6272CAA-D5C6-40CB-ABD9-27BA43831BB7 template <> inline constexpr guid guid_v{ 0x8F9D633B,0x1266,0x4C0E,{ 0x84,0x99,0x0D,0xB8,0x5B,0xBD,0x4C,0x43 } }; // 8F9D633B-1266-4C0E-8499-0DB85BBD4C43 template <> inline constexpr guid guid_v{ 0x5C777CEA,0xDD71,0x4A84,{ 0xA5,0x6F,0xDA,0xCB,0x4B,0x14,0x70,0x6F } }; // 5C777CEA-DD71-4A84-A56F-DACB4B14706F template <> inline constexpr guid guid_v{ 0xD585BFE1,0x00FF,0x51BE,{ 0xBA,0x1D,0xA1,0x32,0x99,0x56,0xEA,0x0A } }; // D585BFE1-00FF-51BE-BA1D-A1329956EA0A template <> inline constexpr guid guid_v{ 0x5CD61DC0,0x2561,0x56E1,{ 0x8E,0x75,0x6E,0x44,0x17,0x38,0x05,0xE3 } }; // 5CD61DC0-2561-56E1-8E75-6E44173805E3 template <> inline constexpr guid guid_v{ 0x39BE4849,0xD9CC,0x5B70,{ 0x8F,0x05,0x1A,0xD9,0xA4,0xAA,0xA3,0x42 } }; // 39BE4849-D9CC-5B70-8F05-1AD9A4AAA342 template <> inline constexpr guid guid_v{ 0xFE61E4B9,0xA7AF,0x52B3,{ 0xBD,0xB9,0xC3,0x30,0x5C,0x0B,0x8D,0xF2 } }; // FE61E4B9-A7AF-52B3-BDB9-C3305C0B8DF2 template <> inline constexpr guid guid_v{ 0xB6F1A676,0xCFE6,0x46AC,{ 0xAC,0xF6,0xC4,0x68,0x7B,0xB6,0x5E,0x60 } }; // B6F1A676-CFE6-46AC-ACF6-C4687BB65E60 template <> inline constexpr guid guid_v{ 0x08C92B38,0xEC99,0x4C55,{ 0xBC,0x85,0xA1,0xC1,0x80,0xB2,0x76,0x46 } }; // 08C92B38-EC99-4C55-BC85-A1C180B27646 template <> inline constexpr guid guid_v{ 0x24148FBB,0x23D6,0x4F37,{ 0xBA,0x0C,0x07,0x33,0xE7,0x99,0x72,0x2D } }; // 24148FBB-23D6-4F37-BA0C-0733E799722D template <> inline constexpr guid guid_v{ 0x843BC4C3,0xC105,0x59FE,{ 0xA3,0xD1,0x37,0x3C,0x1D,0x3E,0x6F,0xBC } }; // 843BC4C3-C105-59FE-A3D1-373C1D3E6FBC template <> inline constexpr guid guid_v{ 0x56096C31,0x1AA0,0x5288,{ 0x88,0x18,0x6E,0x74,0xA2,0xDC,0xAF,0xF5 } }; // 56096C31-1AA0-5288-8818-6E74A2DCAFF5 template <> inline constexpr guid guid_v{ 0x28258A12,0x7D82,0x505B,{ 0xB2,0x10,0x71,0x2B,0x04,0xA5,0x88,0x82 } }; // 28258A12-7D82-505B-B210-712B04A58882 template <> inline constexpr guid guid_v{ 0xFBB93BB5,0x1496,0x5A80,{ 0xAC,0x00,0xE7,0x57,0x35,0x97,0x55,0xE6 } }; // FBB93BB5-1496-5A80-AC00-E757359755E6 template <> inline constexpr guid guid_v{ 0xE746AB8F,0xB4EF,0x5390,{ 0x97,0xE5,0xCC,0x0A,0x27,0x79,0xC5,0x74 } }; // E746AB8F-B4EF-5390-97E5-CC0A2779C574 template <> inline constexpr guid guid_v{ 0x88D55A5F,0x9603,0x5D8F,{ 0x9C,0xC7,0xD1,0xC4,0x07,0x0D,0x98,0x01 } }; // 88D55A5F-9603-5D8F-9CC7-D1C4070D9801 template <> inline constexpr guid guid_v{ 0x43BBADBF,0xF9E1,0x5527,{ 0xB8,0xC5,0x09,0x33,0x9F,0xF2,0xCA,0x76 } }; // 43BBADBF-F9E1-5527-B8C5-09339FF2CA76 template <> inline constexpr guid guid_v{ 0xA714944A,0x1619,0x4FC6,{ 0xB3,0x1B,0x89,0x51,0x2E,0xF0,0x22,0xA2 } }; // A714944A-1619-4FC6-B31B-89512EF022A2 template <> inline constexpr guid guid_v{ 0xAAFB84CD,0x9F6D,0x4F80,{ 0xAC,0x2C,0x0E,0x6C,0xB9,0xF3,0x16,0x59 } }; // AAFB84CD-9F6D-4F80-AC2C-0E6CB9F31659 template <> inline constexpr guid guid_v{ 0x61595672,0x7CA4,0x4A21,{ 0xB5,0x6A,0x88,0xF4,0x81,0x23,0x88,0xCA } }; // 61595672-7CA4-4A21-B56A-88F4812388CA template <> inline constexpr guid guid_v{ 0xB14292BF,0x7320,0x41BB,{ 0x9F,0x26,0x4D,0x6F,0xD3,0x4D,0xB4,0x5A } }; // B14292BF-7320-41BB-9F26-4D6FD34DB45A template <> inline constexpr guid guid_v{ 0x71EAEAC8,0x45E1,0x4192,{ 0x85,0xAA,0x3A,0x42,0x2E,0xDD,0x23,0xCF } }; // 71EAEAC8-45E1-4192-85AA-3A422EDD23CF template <> inline constexpr guid guid_v{ 0x5C6B68D2,0xCF1C,0x4F53,{ 0xBF,0x09,0x6A,0x74,0x5F,0x7A,0x97,0x03 } }; // 5C6B68D2-CF1C-4F53-BF09-6A745F7A9703 template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IDesignerAppExitedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IDesignerAppView; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceGotFocusEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceTakeFocusRequestedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreview; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IWindowsXamlManager; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequest; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationResult; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ExitCode(uint32_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_AppUserModelId(void**) noexcept = 0; virtual int32_t __stdcall add_DesignerAppExited(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_DesignerAppExited(winrt::event_token) noexcept = 0; virtual int32_t __stdcall CreateNewViewAsync(int32_t, winrt::Windows::Foundation::Size, void**) noexcept = 0; virtual int32_t __stdcall LoadObjectIntoAppAsync(void*, winrt::guid, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ApplicationViewId(int32_t*) noexcept = 0; virtual int32_t __stdcall get_AppUserModelId(void**) noexcept = 0; virtual int32_t __stdcall get_ViewState(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ViewSize(winrt::Windows::Foundation::Size*) noexcept = 0; virtual int32_t __stdcall UpdateViewAsync(int32_t, winrt::Windows::Foundation::Size, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Content(void**) noexcept = 0; virtual int32_t __stdcall put_Content(void*) noexcept = 0; virtual int32_t __stdcall get_HasFocus(bool*) noexcept = 0; virtual int32_t __stdcall add_TakeFocusRequested(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_TakeFocusRequested(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_GotFocus(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_GotFocus(winrt::event_token) noexcept = 0; virtual int32_t __stdcall NavigateFocus(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Request(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Request(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 GetElementVisual(void*, void**) noexcept = 0; virtual int32_t __stdcall GetElementChildVisual(void*, void**) noexcept = 0; virtual int32_t __stdcall SetElementChildVisual(void*, void*) noexcept = 0; virtual int32_t __stdcall GetScrollViewerManipulationPropertySet(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall SetImplicitShowAnimation(void*, void*) noexcept = 0; virtual int32_t __stdcall SetImplicitHideAnimation(void*, void*) noexcept = 0; virtual int32_t __stdcall SetIsTranslationEnabled(void*, bool) noexcept = 0; virtual int32_t __stdcall GetPointerPositionPropertySet(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall SetAppWindowContent(void*, void*) noexcept = 0; virtual int32_t __stdcall GetAppWindowContent(void*, 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 InitializeForCurrentThread(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; virtual int32_t __stdcall get_HintRect(winrt::Windows::Foundation::Rect*) noexcept = 0; virtual int32_t __stdcall get_CorrelationId(winrt::guid*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateInstance(int32_t, void**) noexcept = 0; virtual int32_t __stdcall CreateInstanceWithHintRect(int32_t, winrt::Windows::Foundation::Rect, void**) noexcept = 0; virtual int32_t __stdcall CreateInstanceWithHintRectAndCorrelationId(int32_t, winrt::Windows::Foundation::Rect, winrt::guid, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_WasFocusMoved(bool*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateInstance(bool, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_RootElement(void**) noexcept = 0; virtual int32_t __stdcall put_RootElement(void*) noexcept = 0; virtual int32_t __stdcall get_ThemeKey(void**) noexcept = 0; virtual int32_t __stdcall put_ThemeKey(void*) noexcept = 0; virtual int32_t __stdcall get_ThemeResourcesXaml(void**) noexcept = 0; virtual int32_t __stdcall put_ThemeResourcesXaml(void*) noexcept = 0; virtual int32_t __stdcall SetSize(int32_t, int32_t) noexcept = 0; virtual int32_t __stdcall Render() noexcept = 0; virtual int32_t __stdcall Present() noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall ResolveFileResource(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetGenericXamlFilePath(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall ResolveDictionaryResource(void*, void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_CompleteTimelinesAutomatically(bool*) noexcept = 0; virtual int32_t __stdcall put_CompleteTimelinesAutomatically(bool) noexcept = 0; virtual int32_t __stdcall SetHost(void*) noexcept = 0; virtual int32_t __stdcall NotifyWindowSizeChanged() noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetFlyoutPlacementTargetInfo(void*, int32_t, int32_t*, bool*, winrt::Windows::Foundation::Rect*) noexcept = 0; virtual int32_t __stdcall GetFlyoutPlacement(winrt::Windows::Foundation::Rect, winrt::Windows::Foundation::Size, winrt::Windows::Foundation::Size, winrt::Windows::Foundation::Rect, int32_t, bool, int32_t*, winrt::Windows::Foundation::Rect*) noexcept = 0; }; }; template struct consume_Windows_UI_Xaml_Hosting_IDesignerAppExitedEventArgs { [[nodiscard]] auto ExitCode() const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IDesignerAppExitedEventArgs; }; template struct consume_Windows_UI_Xaml_Hosting_IDesignerAppManager { [[nodiscard]] auto AppUserModelId() const; auto DesignerAppExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DesignerAppExited_revoker = impl::event_revoker::remove_DesignerAppExited>; [[nodiscard]] auto DesignerAppExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto DesignerAppExited(winrt::event_token const& token) const noexcept; auto CreateNewViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& initialViewState, winrt::Windows::Foundation::Size const& initialViewSize) const; auto LoadObjectIntoAppAsync(param::hstring const& dllName, winrt::guid const& classId, param::hstring const& initializationData) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IDesignerAppManager; }; template struct consume_Windows_UI_Xaml_Hosting_IDesignerAppManagerFactory { auto Create(param::hstring const& appUserModelId) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IDesignerAppManagerFactory; }; template struct consume_Windows_UI_Xaml_Hosting_IDesignerAppView { [[nodiscard]] auto ApplicationViewId() const; [[nodiscard]] auto AppUserModelId() const; [[nodiscard]] auto ViewState() const; [[nodiscard]] auto ViewSize() const; auto UpdateViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& viewState, winrt::Windows::Foundation::Size const& viewSize) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IDesignerAppView; }; template struct consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource { [[nodiscard]] auto Content() const; auto Content(winrt::Windows::UI::Xaml::UIElement const& value) const; [[nodiscard]] auto HasFocus() const; auto TakeFocusRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TakeFocusRequested_revoker = impl::event_revoker::remove_TakeFocusRequested>; [[nodiscard]] auto TakeFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto TakeFocusRequested(winrt::event_token const& token) const noexcept; auto GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GotFocus_revoker = impl::event_revoker::remove_GotFocus>; [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto GotFocus(winrt::event_token const& token) const noexcept; auto NavigateFocus(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest const& request) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource; }; template struct consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceFactory { auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceFactory; }; template struct consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceGotFocusEventArgs { [[nodiscard]] auto Request() const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceGotFocusEventArgs; }; template struct consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceTakeFocusRequestedEventArgs { [[nodiscard]] auto Request() const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceTakeFocusRequestedEventArgs; }; template struct consume_Windows_UI_Xaml_Hosting_IElementCompositionPreview { }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IElementCompositionPreview; }; template struct consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics { auto GetElementVisual(winrt::Windows::UI::Xaml::UIElement const& element) const; auto GetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element) const; auto SetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::Visual const& visual) const; auto GetScrollViewerManipulationPropertySet(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& scrollViewer) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics; }; template struct consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2 { auto SetImplicitShowAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; auto SetImplicitHideAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; auto SetIsTranslationEnabled(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; auto GetPointerPositionPropertySet(winrt::Windows::UI::Xaml::UIElement const& targetElement) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2; }; template struct consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3 { auto SetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow, winrt::Windows::UI::Xaml::UIElement const& xamlContent) const; auto GetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3; }; template struct consume_Windows_UI_Xaml_Hosting_IWindowsXamlManager { }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IWindowsXamlManager; }; template struct consume_Windows_UI_Xaml_Hosting_IWindowsXamlManagerStatics { auto InitializeForCurrentThread() const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IWindowsXamlManagerStatics; }; template struct consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest { [[nodiscard]] auto Reason() const; [[nodiscard]] auto HintRect() const; [[nodiscard]] auto CorrelationId() const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest; }; template struct consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory { auto CreateInstance(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason) const; auto CreateInstanceWithHintRect(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect) const; auto CreateInstanceWithHintRectAndCorrelationId(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect, winrt::guid const& correlationId) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory; }; template struct consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResult { [[nodiscard]] auto WasFocusMoved() const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResult; }; template struct consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResultFactory { auto CreateInstance(bool focusMoved) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResultFactory; }; template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter { [[nodiscard]] auto RootElement() const; auto RootElement(winrt::Windows::UI::Xaml::UIElement const& value) const; [[nodiscard]] auto ThemeKey() const; auto ThemeKey(param::hstring const& value) const; [[nodiscard]] auto ThemeResourcesXaml() const; auto ThemeResourcesXaml(param::hstring const& value) const; auto SetSize(int32_t width, int32_t height) const; auto Render() const; auto Present() const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter; }; template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost { auto ResolveFileResource(param::hstring const& path) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost; }; template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost2 { auto GetGenericXamlFilePath() const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost2; }; template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost3 { auto ResolveDictionaryResource(winrt::Windows::UI::Xaml::ResourceDictionary const& dictionary, winrt::Windows::Foundation::IInspectable const& dictionaryKey, winrt::Windows::Foundation::IInspectable const& suggestedValue) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost3; }; template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics { [[nodiscard]] auto CompleteTimelinesAutomatically() const; auto CompleteTimelinesAutomatically(bool value) const; auto SetHost(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost const& host) const; auto NotifyWindowSizeChanged() const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics; }; template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2 { auto GetFlyoutPlacementTargetInfo(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& preferredPlacement, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& targetPreferredPlacement, bool& allowFallbacks) const; auto GetFlyoutPlacement(winrt::Windows::Foundation::Rect const& placementTargetBounds, winrt::Windows::Foundation::Size const& controlSize, winrt::Windows::Foundation::Size const& minControlSize, winrt::Windows::Foundation::Rect const& containerRect, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& targetPreferredPlacement, bool allowFallbacks, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& chosenPlacement) const; }; template <> struct consume { template using type = consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2; }; } #endif