// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_System_Implementation_FileExplorer_0_H #define WINRT_Windows_System_Implementation_FileExplorer_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Web::Http { struct HttpRequestMessage; } WINRT_EXPORT namespace winrt::Windows::System::Implementation::FileExplorer { struct ISysStorageProviderEventReceivedEventArgs; struct ISysStorageProviderEventReceivedEventArgsFactory; struct ISysStorageProviderEventSource; struct ISysStorageProviderHandlerFactory; struct ISysStorageProviderHttpRequestProvider; struct SysStorageProviderEventReceivedEventArgs; } 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 = class_category; }; template <> inline constexpr auto& name_v = L"Windows.System.Implementation.FileExplorer.SysStorageProviderEventReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.System.Implementation.FileExplorer.ISysStorageProviderEventReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.System.Implementation.FileExplorer.ISysStorageProviderEventReceivedEventArgsFactory"; template <> inline constexpr auto& name_v = L"Windows.System.Implementation.FileExplorer.ISysStorageProviderEventSource"; template <> inline constexpr auto& name_v = L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHandlerFactory"; template <> inline constexpr auto& name_v = L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHttpRequestProvider"; template <> inline constexpr guid guid_v{ 0xE132D1B9,0x7B9D,0x5820,{ 0x97,0x28,0x42,0x62,0xB5,0x28,0x91,0x42 } }; // E132D1B9-7B9D-5820-9728-4262B5289142 template <> inline constexpr guid guid_v{ 0xDE1A780E,0xE975,0x5F68,{ 0xBC,0xC6,0xFB,0x46,0x28,0x1C,0x6A,0x61 } }; // DE1A780E-E975-5F68-BCC6-FB46281C6A61 template <> inline constexpr guid guid_v{ 0x1F36C476,0x9546,0x536A,{ 0x83,0x81,0x2F,0x9A,0x2C,0x08,0xCE,0xDD } }; // 1F36C476-9546-536A-8381-2F9A2C08CEDD template <> inline constexpr guid guid_v{ 0xEE798431,0x8213,0x5E89,{ 0xA6,0x23,0x14,0xD8,0xC7,0x2B,0x8A,0x61 } }; // EE798431-8213-5E89-A623-14D8C72B8A61 template <> inline constexpr guid guid_v{ 0xCB6FEFB6,0xE76A,0x5C25,{ 0xA3,0x3E,0x3E,0x78,0xA6,0xE0,0xE0,0xCE } }; // CB6FEFB6-E76A-5C25-A33E-3E78A6E0E0CE template <> struct default_interface{ using type = winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventReceivedEventArgs; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Json(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall add_EventReceived(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_EventReceived(winrt::event_token) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetHttpRequestProvider(void*, void**) noexcept = 0; virtual int32_t __stdcall GetEventSource(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall SendRequestAsync(void*, void**) noexcept = 0; }; }; template struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgs { [[nodiscard]] auto Json() const; }; template <> struct consume { template using type = consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgs; }; template struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgsFactory { auto CreateInstance(param::hstring const& json) const; }; template <> struct consume { template using type = consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgsFactory; }; template struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource { auto EventReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EventReceived_revoker = impl::event_revoker::remove_EventReceived>; [[nodiscard]] auto EventReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto EventReceived(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource; }; template struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory { auto GetHttpRequestProvider(param::hstring const& syncRootId) const; auto GetEventSource(param::hstring const& syncRootId, param::hstring const& eventName) const; }; template <> struct consume { template using type = consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory; }; template struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHttpRequestProvider { auto SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; }; template <> struct consume { template using type = consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHttpRequestProvider; }; } #endif