// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_UI_Composition_Desktop_0_H #define WINRT_Windows_UI_Composition_Desktop_0_H WINRT_EXPORT namespace winrt::Windows::UI::Composition::Desktop { struct IDesktopWindowTarget; struct DesktopWindowTarget; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.Desktop.DesktopWindowTarget"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.Desktop.IDesktopWindowTarget"; template <> inline constexpr guid guid_v{ 0x6329D6CA,0x3366,0x490E,{ 0x9D,0xB3,0x25,0x31,0x29,0x29,0xAC,0x51 } }; // 6329D6CA-3366-490E-9DB3-25312929AC51 template <> struct default_interface{ using type = winrt::Windows::UI::Composition::Desktop::IDesktopWindowTarget; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_IsTopmost(bool*) noexcept = 0; }; }; template struct consume_Windows_UI_Composition_Desktop_IDesktopWindowTarget { [[nodiscard]] auto IsTopmost() const; }; template <> struct consume { template using type = consume_Windows_UI_Composition_Desktop_IDesktopWindowTarget; }; } #endif