// WARNING: Please don't edit this file. It was generated by C++/WinRT // v2.0.250303.1 #pragma once #ifndef WINRT_Microsoft_UI_Input_DragDrop_0_H #define WINRT_Microsoft_UI_Input_DragDrop_0_H WINRT_EXPORT namespace winrt::Microsoft::UI::Content { struct ContentIsland; } WINRT_EXPORT namespace winrt::Microsoft::UI::Input { struct PointerPoint; } WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer { struct DataPackage; enum class DataPackageOperation : uint32_t; struct DataPackageView; } WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; struct Point; template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging { struct SoftwareBitmap; } WINRT_EXPORT namespace winrt::Microsoft::UI::Input::DragDrop { enum class DragDropModifiers : uint32_t { None = 0, Shift = 0x1, Control = 0x2, Alt = 0x4, LeftButton = 0x8, MiddleButton = 0x10, RightButton = 0x20, }; enum class DragUIContentMode : int32_t { Auto = 0, Deferred = 1, }; struct IDragDropManager; struct IDragDropManagerStatics; struct IDragInfo; struct IDragOperation; struct IDragUIOverride; struct IDropOperationTarget; struct IDropOperationTargetRequestedEventArgs; struct DragDropManager; struct DragInfo; struct DragOperation; struct DragUIOverride; struct DropOperationTargetRequestedEventArgs; } namespace winrt::impl { template <> struct category { using type = interface_category; }; template <> struct category< winrt::Microsoft::UI::Input::DragDrop::IDragDropManagerStatics> { 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 = enum_category; }; template <> struct category { using type = enum_category; }; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.DragDropManager"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.DragInfo"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.DragOperation"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.DragUIOverride"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.DropOperationTargetRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.DragDropModifiers"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.DragUIContentMode"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.IDragDropManager"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.IDragDropManagerStatics"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.IDragInfo"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.IDragOperation"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.IDragUIOverride"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.IDropOperationTarget"; template <> inline constexpr auto& name_v = L"Microsoft.UI.Input.DragDrop.IDropOperationTargetRequestedEventArgs"; template <> inline constexpr guid guid_v{ 0x4FEA9EFC, 0xB073, 0x5FBE, {0x9C, 0x95, 0xA4, 0x11, 0x3E, 0xF6, 0x39, 0x3F}}; // 4FEA9EFC-B073-5FBE-9C95-A4113EF6393F template <> inline constexpr guid guid_v{ 0x5587C863, 0x57D7, 0x5D0F, {0x8E, 0xA9, 0xE5, 0xDC, 0xF0, 0x6A, 0x0F, 0x83}}; // 5587C863-57D7-5D0F-8EA9-E5DCF06A0F83 template <> inline constexpr guid guid_v{ 0x7507D891, 0x62A8, 0x5A79, {0xA8, 0x80, 0xAC, 0x73, 0x53, 0xD0, 0x01, 0xEC}}; // 7507D891-62A8-5A79-A880-AC7353D001EC template <> inline constexpr guid guid_v{ 0xEF122288, 0x7984, 0x53D3, {0x84, 0x88, 0x13, 0x3D, 0xCD, 0x3D, 0xE7, 0x93}}; // EF122288-7984-53D3-8488-133DCD3DE793 template <> inline constexpr guid guid_v{ 0x8432FBAC, 0xA17F, 0x5A95, {0x8F, 0x56, 0xFB, 0x43, 0x22, 0x80, 0xB5, 0x4D}}; // 8432FBAC-A17F-5A95-8F56-FB432280B54D template <> inline constexpr guid guid_v{ 0x1C2707D9, 0x0065, 0x53C7, {0xBB, 0xFB, 0x50, 0x85, 0x03, 0x78, 0xCA, 0xF3}}; // 1C2707D9-0065-53C7-BBFB-50850378CAF3 template <> inline constexpr guid guid_v{ 0xF61C5B62, 0x720E, 0x59FF, {0xAD, 0x0B, 0xE7, 0x7F, 0xC5, 0xB8, 0xA4, 0xA3}}; // F61C5B62-720E-59FF-AD0B-E77FC5B8A4A3 template <> struct default_interface< winrt::Microsoft::UI::Input::DragDrop::DragDropManager> { using type = winrt::Microsoft::UI::Input::DragDrop::IDragDropManager; }; template <> struct default_interface { using type = winrt::Microsoft::UI::Input::DragDrop::IDragInfo; }; template <> struct default_interface { using type = winrt::Microsoft::UI::Input::DragDrop::IDragOperation; }; template <> struct default_interface< winrt::Microsoft::UI::Input::DragDrop::DragUIOverride> { using type = winrt::Microsoft::UI::Input::DragDrop::IDragUIOverride; }; template <> struct default_interface { using type = winrt::Microsoft::UI::Input::DragDrop:: IDropOperationTargetRequestedEventArgs; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_AreConcurrentOperationsEnabled( bool*) noexcept = 0; virtual int32_t __stdcall put_AreConcurrentOperationsEnabled( bool) noexcept = 0; virtual int32_t __stdcall add_TargetRequested( void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_TargetRequested( winrt::event_token) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetForIsland(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_AllowedOperations(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_Data(void**) noexcept = 0; virtual int32_t __stdcall get_Modifiers(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_Position( winrt::Windows::Foundation::Point*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_AllowedOperations(uint32_t*) noexcept = 0; virtual int32_t __stdcall put_AllowedOperations(uint32_t) noexcept = 0; virtual int32_t __stdcall get_Data(void**) noexcept = 0; virtual int32_t __stdcall get_DragUIContentMode(int32_t*) noexcept = 0; virtual int32_t __stdcall put_DragUIContentMode(int32_t) noexcept = 0; virtual int32_t __stdcall SetDragUIContentFromSoftwareBitmap( void*) noexcept = 0; virtual int32_t __stdcall SetDragUIContentFromSoftwareBitmap2( void*, winrt::Windows::Foundation::Point) noexcept = 0; virtual int32_t __stdcall StartAsync(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Caption(void**) noexcept = 0; virtual int32_t __stdcall put_Caption(void*) noexcept = 0; virtual int32_t __stdcall get_IsCaptionVisible(bool*) noexcept = 0; virtual int32_t __stdcall put_IsCaptionVisible(bool) noexcept = 0; virtual int32_t __stdcall get_IsContentVisible(bool*) noexcept = 0; virtual int32_t __stdcall put_IsContentVisible(bool) noexcept = 0; virtual int32_t __stdcall get_IsGlyphVisible(bool*) noexcept = 0; virtual int32_t __stdcall put_IsGlyphVisible(bool) noexcept = 0; virtual int32_t __stdcall Clear() noexcept = 0; virtual int32_t __stdcall SetContentFromSoftwareBitmap(void*) noexcept = 0; virtual int32_t __stdcall SetContentFromSoftwareBitmap2( void*, winrt::Windows::Foundation::Point) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall DropAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall EnterAsync(void*, void*, void**) noexcept = 0; virtual int32_t __stdcall LeaveAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall OverAsync(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall SetTarget(void*) noexcept = 0; }; }; template struct consume_Microsoft_UI_Input_DragDrop_IDragDropManager { [[nodiscard]] auto AreConcurrentOperationsEnabled() const; auto AreConcurrentOperationsEnabled(bool value) const; auto TargetRequested( winrt::Windows::Foundation::TypedEventHandler< winrt::Microsoft::UI::Input::DragDrop::DragDropManager, winrt::Microsoft::UI::Input::DragDrop:: DropOperationTargetRequestedEventArgs> const& handler) const; using TargetRequested_revoker = impl::event_revoker< winrt::Microsoft::UI::Input::DragDrop::IDragDropManager, &impl::abi_t:: remove_TargetRequested>; [[nodiscard]] auto TargetRequested( auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler< winrt::Microsoft::UI::Input::DragDrop::DragDropManager, winrt::Microsoft::UI::Input::DragDrop:: DropOperationTargetRequestedEventArgs> const& handler) const; auto TargetRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Microsoft_UI_Input_DragDrop_IDragDropManager; }; template struct consume_Microsoft_UI_Input_DragDrop_IDragDropManagerStatics { auto GetForIsland( winrt::Microsoft::UI::Content::ContentIsland const& content) const; }; template <> struct consume { template using type = consume_Microsoft_UI_Input_DragDrop_IDragDropManagerStatics; }; template struct consume_Microsoft_UI_Input_DragDrop_IDragInfo { [[nodiscard]] auto AllowedOperations() const; [[nodiscard]] auto Data() const; [[nodiscard]] auto Modifiers() const; [[nodiscard]] auto Position() const; }; template <> struct consume { template using type = consume_Microsoft_UI_Input_DragDrop_IDragInfo; }; template struct consume_Microsoft_UI_Input_DragDrop_IDragOperation { [[nodiscard]] auto AllowedOperations() const; auto AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer:: DataPackageOperation const& value) const; [[nodiscard]] auto Data() const; [[nodiscard]] auto DragUIContentMode() const; auto DragUIContentMode( winrt::Microsoft::UI::Input::DragDrop::DragUIContentMode const& value) const; auto SetDragUIContentFromSoftwareBitmap( winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; auto SetDragUIContentFromSoftwareBitmap( winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap, winrt::Windows::Foundation::Point const& anchorPoint) const; auto StartAsync(winrt::Microsoft::UI::Input::DragDrop::DragDropManager const& initialTarget, winrt::Microsoft::UI::Input::PointerPoint const& initialPointerPoint) const; }; template <> struct consume { template using type = consume_Microsoft_UI_Input_DragDrop_IDragOperation; }; template struct consume_Microsoft_UI_Input_DragDrop_IDragUIOverride { [[nodiscard]] auto Caption() const; auto Caption(param::hstring const& value) const; [[nodiscard]] auto IsCaptionVisible() const; auto IsCaptionVisible(bool value) const; [[nodiscard]] auto IsContentVisible() const; auto IsContentVisible(bool value) const; [[nodiscard]] auto IsGlyphVisible() const; auto IsGlyphVisible(bool value) const; auto Clear() const; auto SetContentFromSoftwareBitmap( winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; auto SetContentFromSoftwareBitmap( winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap, winrt::Windows::Foundation::Point const& anchorPoint) const; }; template <> struct consume { template using type = consume_Microsoft_UI_Input_DragDrop_IDragUIOverride; }; template struct consume_Microsoft_UI_Input_DragDrop_IDropOperationTarget { auto DropAsync( winrt::Microsoft::UI::Input::DragDrop::DragInfo const& dragInfo) const; auto EnterAsync( winrt::Microsoft::UI::Input::DragDrop::DragInfo const& dragInfo, winrt::Microsoft::UI::Input::DragDrop::DragUIOverride const& dragUIOverride) const; auto LeaveAsync( winrt::Microsoft::UI::Input::DragDrop::DragInfo const& dragInfo) const; auto OverAsync( winrt::Microsoft::UI::Input::DragDrop::DragInfo const& dragInfo, winrt::Microsoft::UI::Input::DragDrop::DragUIOverride const& dragUIOverride) const; }; template <> struct consume { template using type = consume_Microsoft_UI_Input_DragDrop_IDropOperationTarget; }; template struct consume_Microsoft_UI_Input_DragDrop_IDropOperationTargetRequestedEventArgs { auto SetTarget( winrt::Microsoft::UI::Input::DragDrop::IDropOperationTarget const& target) const; }; template <> struct consume { template using type = consume_Microsoft_UI_Input_DragDrop_IDropOperationTargetRequestedEventArgs< D>; }; } // namespace winrt::impl #endif