// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Web_Http_Diagnostics_0_H #define WINRT_Windows_Web_Http_Diagnostics_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; struct Uri; } WINRT_EXPORT namespace winrt::Windows::System::Diagnostics { struct ProcessDiagnosticInfo; } WINRT_EXPORT namespace winrt::Windows::Web::Http { struct HttpRequestMessage; struct HttpResponseMessage; } WINRT_EXPORT namespace winrt::Windows::Web::Http::Diagnostics { enum class HttpDiagnosticRequestInitiator : int32_t { ParsedElement = 0, Script = 1, Image = 2, Link = 3, Style = 4, XmlHttpRequest = 5, Media = 6, HtmlDownload = 7, Prefetch = 8, Other = 9, CrossOriginPreFlight = 10, Fetch = 11, Beacon = 12, }; struct IHttpDiagnosticProvider; struct IHttpDiagnosticProviderRequestResponseCompletedEventArgs; struct IHttpDiagnosticProviderRequestResponseTimestamps; struct IHttpDiagnosticProviderRequestSentEventArgs; struct IHttpDiagnosticProviderResponseReceivedEventArgs; struct IHttpDiagnosticProviderStatics; struct IHttpDiagnosticSourceLocation; struct HttpDiagnosticProvider; struct HttpDiagnosticProviderRequestResponseCompletedEventArgs; struct HttpDiagnosticProviderRequestResponseTimestamps; struct HttpDiagnosticProviderRequestSentEventArgs; struct HttpDiagnosticProviderResponseReceivedEventArgs; struct HttpDiagnosticSourceLocation; struct HttpDiagnosticsContract; } 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 = 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 <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.HttpDiagnosticRequestInitiator"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.IHttpDiagnosticProvider"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.IHttpDiagnosticProviderRequestResponseCompletedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.IHttpDiagnosticProviderRequestResponseTimestamps"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.IHttpDiagnosticProviderRequestSentEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.IHttpDiagnosticProviderResponseReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.IHttpDiagnosticProviderStatics"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.IHttpDiagnosticSourceLocation"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.Diagnostics.HttpDiagnosticsContract"; template <> inline constexpr guid guid_v{ 0xBD811501,0xA056,0x4D39,{ 0xB1,0x74,0x83,0x3B,0x7B,0x03,0xB0,0x2C } }; // BD811501-A056-4D39-B174-833B7B03B02C template <> inline constexpr guid guid_v{ 0x735F98EE,0x94F6,0x4532,{ 0xB2,0x6E,0x61,0xE1,0xB1,0xE4,0xEF,0xD4 } }; // 735F98EE-94F6-4532-B26E-61E1B1E4EFD4 template <> inline constexpr guid guid_v{ 0xE0AFDE10,0x55CF,0x4C01,{ 0x91,0xD4,0xA2,0x05,0x57,0xD8,0x49,0xF0 } }; // E0AFDE10-55CF-4C01-91D4-A20557D849F0 template <> inline constexpr guid guid_v{ 0x3F5196D0,0x4C1F,0x4EBE,{ 0xA5,0x7A,0x06,0x93,0x07,0x71,0xC5,0x0D } }; // 3F5196D0-4C1F-4EBE-A57A-06930771C50D template <> inline constexpr guid guid_v{ 0xA0A2566C,0xAB5F,0x4D66,{ 0xBB,0x2D,0x08,0x4C,0xF4,0x16,0x35,0xD0 } }; // A0A2566C-AB5F-4D66-BB2D-084CF41635D0 template <> inline constexpr guid guid_v{ 0x5B824EC1,0x6A6C,0x47CC,{ 0xAF,0xEC,0x1E,0x86,0xBC,0x26,0x05,0x3B } }; // 5B824EC1-6A6C-47CC-AFEC-1E86BC26053B template <> inline constexpr guid guid_v{ 0x54A9D260,0x8860,0x423F,{ 0xB6,0xFA,0xD7,0x77,0x16,0xF6,0x47,0xA7 } }; // 54A9D260-8860-423F-B6FA-D77716F647A7 template <> struct default_interface{ using type = winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderResponseReceivedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticSourceLocation; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Start() noexcept = 0; virtual int32_t __stdcall Stop() noexcept = 0; virtual int32_t __stdcall add_RequestSent(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_RequestSent(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_ResponseReceived(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_ResponseReceived(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_RequestResponseCompleted(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_RequestResponseCompleted(winrt::event_token) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0; virtual int32_t __stdcall get_Timestamps(void**) noexcept = 0; virtual int32_t __stdcall get_RequestedUri(void**) noexcept = 0; virtual int32_t __stdcall get_ProcessId(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_ThreadId(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_Initiator(int32_t*) noexcept = 0; virtual int32_t __stdcall get_SourceLocations(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_CacheCheckedTimestamp(void**) noexcept = 0; virtual int32_t __stdcall get_ConnectionInitiatedTimestamp(void**) noexcept = 0; virtual int32_t __stdcall get_NameResolvedTimestamp(void**) noexcept = 0; virtual int32_t __stdcall get_SslNegotiatedTimestamp(void**) noexcept = 0; virtual int32_t __stdcall get_ConnectionCompletedTimestamp(void**) noexcept = 0; virtual int32_t __stdcall get_RequestSentTimestamp(void**) noexcept = 0; virtual int32_t __stdcall get_RequestCompletedTimestamp(void**) noexcept = 0; virtual int32_t __stdcall get_ResponseReceivedTimestamp(void**) noexcept = 0; virtual int32_t __stdcall get_ResponseCompletedTimestamp(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0; virtual int32_t __stdcall get_Message(void**) noexcept = 0; virtual int32_t __stdcall get_ProcessId(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_ThreadId(uint32_t*) noexcept = 0; virtual int32_t __stdcall get_Initiator(int32_t*) noexcept = 0; virtual int32_t __stdcall get_SourceLocations(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0; virtual int32_t __stdcall get_Message(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateFromProcessDiagnosticInfo(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_SourceUri(void**) noexcept = 0; virtual int32_t __stdcall get_LineNumber(uint64_t*) noexcept = 0; virtual int32_t __stdcall get_ColumnNumber(uint64_t*) noexcept = 0; }; }; template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider { auto Start() const; auto Stop() const; auto RequestSent(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RequestSent_revoker = impl::event_revoker::remove_RequestSent>; [[nodiscard]] auto RequestSent(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto RequestSent(winrt::event_token const& token) const noexcept; auto ResponseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ResponseReceived_revoker = impl::event_revoker::remove_ResponseReceived>; [[nodiscard]] auto ResponseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto ResponseReceived(winrt::event_token const& token) const noexcept; auto RequestResponseCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RequestResponseCompleted_revoker = impl::event_revoker::remove_RequestResponseCompleted>; [[nodiscard]] auto RequestResponseCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto RequestResponseCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider; }; template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs { [[nodiscard]] auto ActivityId() const; [[nodiscard]] auto Timestamps() const; [[nodiscard]] auto RequestedUri() const; [[nodiscard]] auto ProcessId() const; [[nodiscard]] auto ThreadId() const; [[nodiscard]] auto Initiator() const; [[nodiscard]] auto SourceLocations() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs; }; template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps { [[nodiscard]] auto CacheCheckedTimestamp() const; [[nodiscard]] auto ConnectionInitiatedTimestamp() const; [[nodiscard]] auto NameResolvedTimestamp() const; [[nodiscard]] auto SslNegotiatedTimestamp() const; [[nodiscard]] auto ConnectionCompletedTimestamp() const; [[nodiscard]] auto RequestSentTimestamp() const; [[nodiscard]] auto RequestCompletedTimestamp() const; [[nodiscard]] auto ResponseReceivedTimestamp() const; [[nodiscard]] auto ResponseCompletedTimestamp() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps; }; template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs { [[nodiscard]] auto Timestamp() const; [[nodiscard]] auto ActivityId() const; [[nodiscard]] auto Message() const; [[nodiscard]] auto ProcessId() const; [[nodiscard]] auto ThreadId() const; [[nodiscard]] auto Initiator() const; [[nodiscard]] auto SourceLocations() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs; }; template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs { [[nodiscard]] auto Timestamp() const; [[nodiscard]] auto ActivityId() const; [[nodiscard]] auto Message() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs; }; template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderStatics { auto CreateFromProcessDiagnosticInfo(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo const& processDiagnosticInfo) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderStatics; }; template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation { [[nodiscard]] auto SourceUri() const; [[nodiscard]] auto LineNumber() const; [[nodiscard]] auto ColumnNumber() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation; }; } #endif