/FedoraRemixWSLUI/Generated Files/winrt/impl/Windows.Foundation.Diagnostics.0.h

https://github.com/WhitewaterFoundry/WSLFedoraRemix · C Header · 971 lines · 969 code · 1 blank · 1 comment · 0 complexity · 81801a218e060a2237780f538f61fe36 MD5 · raw file

  1. // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210505.3
  2. #ifndef WINRT_Windows_Foundation_Diagnostics_0_H
  3. #define WINRT_Windows_Foundation_Diagnostics_0_H
  4. WINRT_EXPORT namespace winrt::Windows::Foundation
  5. {
  6. enum class AsyncStatus : int32_t;
  7. template <typename T> struct __declspec(empty_bases) EventHandler;
  8. struct EventRegistrationToken;
  9. template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
  10. struct Point;
  11. struct Rect;
  12. struct Size;
  13. template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
  14. struct Uri;
  15. }
  16. WINRT_EXPORT namespace winrt::Windows::Storage
  17. {
  18. struct IStorageFolder;
  19. struct StorageFile;
  20. }
  21. WINRT_EXPORT namespace winrt::Windows::Foundation::Diagnostics
  22. {
  23. enum class CausalityRelation : int32_t
  24. {
  25. AssignDelegate = 0,
  26. Join = 1,
  27. Choice = 2,
  28. Cancel = 3,
  29. Error = 4,
  30. };
  31. enum class CausalitySource : int32_t
  32. {
  33. Application = 0,
  34. Library = 1,
  35. System = 2,
  36. };
  37. enum class CausalitySynchronousWork : int32_t
  38. {
  39. CompletionNotification = 0,
  40. ProgressNotification = 1,
  41. Execution = 2,
  42. };
  43. enum class CausalityTraceLevel : int32_t
  44. {
  45. Required = 0,
  46. Important = 1,
  47. Verbose = 2,
  48. };
  49. enum class ErrorOptions : uint32_t
  50. {
  51. None = 0,
  52. SuppressExceptions = 0x1,
  53. ForceExceptions = 0x2,
  54. UseSetErrorInfo = 0x4,
  55. SuppressSetErrorInfo = 0x8,
  56. };
  57. enum class LoggingFieldFormat : int32_t
  58. {
  59. Default = 0,
  60. Hidden = 1,
  61. String = 2,
  62. Boolean = 3,
  63. Hexadecimal = 4,
  64. ProcessId = 5,
  65. ThreadId = 6,
  66. Port = 7,
  67. Ipv4Address = 8,
  68. Ipv6Address = 9,
  69. SocketAddress = 10,
  70. Xml = 11,
  71. Json = 12,
  72. Win32Error = 13,
  73. NTStatus = 14,
  74. HResult = 15,
  75. FileTime = 16,
  76. Signed = 17,
  77. Unsigned = 18,
  78. };
  79. enum class LoggingLevel : int32_t
  80. {
  81. Verbose = 0,
  82. Information = 1,
  83. Warning = 2,
  84. Error = 3,
  85. Critical = 4,
  86. };
  87. enum class LoggingOpcode : int32_t
  88. {
  89. Info = 0,
  90. Start = 1,
  91. Stop = 2,
  92. Reply = 6,
  93. Resume = 7,
  94. Suspend = 8,
  95. Send = 9,
  96. };
  97. struct IAsyncCausalityTracerStatics;
  98. struct IErrorDetails;
  99. struct IErrorDetailsStatics;
  100. struct IErrorReportingSettings;
  101. struct IFileLoggingSession;
  102. struct IFileLoggingSessionFactory;
  103. struct ILogFileGeneratedEventArgs;
  104. struct ILoggingActivity;
  105. struct ILoggingActivity2;
  106. struct ILoggingActivityFactory;
  107. struct ILoggingChannel;
  108. struct ILoggingChannel2;
  109. struct ILoggingChannelFactory;
  110. struct ILoggingChannelFactory2;
  111. struct ILoggingChannelOptions;
  112. struct ILoggingChannelOptionsFactory;
  113. struct ILoggingFields;
  114. struct ILoggingOptions;
  115. struct ILoggingOptionsFactory;
  116. struct ILoggingSession;
  117. struct ILoggingSessionFactory;
  118. struct ILoggingTarget;
  119. struct ITracingStatusChangedEventArgs;
  120. struct AsyncCausalityTracer;
  121. struct ErrorDetails;
  122. struct FileLoggingSession;
  123. struct LogFileGeneratedEventArgs;
  124. struct LoggingActivity;
  125. struct LoggingChannel;
  126. struct LoggingChannelOptions;
  127. struct LoggingFields;
  128. struct LoggingOptions;
  129. struct LoggingSession;
  130. struct RuntimeBrokerErrorSettings;
  131. struct TracingStatusChangedEventArgs;
  132. }
  133. namespace winrt::impl
  134. {
  135. template <> struct category<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics>{ using type = interface_category; };
  136. template <> struct category<winrt::Windows::Foundation::Diagnostics::IErrorDetails>{ using type = interface_category; };
  137. template <> struct category<winrt::Windows::Foundation::Diagnostics::IErrorDetailsStatics>{ using type = interface_category; };
  138. template <> struct category<winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings>{ using type = interface_category; };
  139. template <> struct category<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession>{ using type = interface_category; };
  140. template <> struct category<winrt::Windows::Foundation::Diagnostics::IFileLoggingSessionFactory>{ using type = interface_category; };
  141. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs>{ using type = interface_category; };
  142. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingActivity>{ using type = interface_category; };
  143. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingActivity2>{ using type = interface_category; };
  144. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingActivityFactory>{ using type = interface_category; };
  145. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingChannel>{ using type = interface_category; };
  146. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingChannel2>{ using type = interface_category; };
  147. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory>{ using type = interface_category; };
  148. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory2>{ using type = interface_category; };
  149. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions>{ using type = interface_category; };
  150. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptionsFactory>{ using type = interface_category; };
  151. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingFields>{ using type = interface_category; };
  152. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingOptions>{ using type = interface_category; };
  153. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingOptionsFactory>{ using type = interface_category; };
  154. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingSession>{ using type = interface_category; };
  155. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingSessionFactory>{ using type = interface_category; };
  156. template <> struct category<winrt::Windows::Foundation::Diagnostics::ILoggingTarget>{ using type = interface_category; };
  157. template <> struct category<winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs>{ using type = interface_category; };
  158. template <> struct category<winrt::Windows::Foundation::Diagnostics::AsyncCausalityTracer>{ using type = class_category; };
  159. template <> struct category<winrt::Windows::Foundation::Diagnostics::ErrorDetails>{ using type = class_category; };
  160. template <> struct category<winrt::Windows::Foundation::Diagnostics::FileLoggingSession>{ using type = class_category; };
  161. template <> struct category<winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs>{ using type = class_category; };
  162. template <> struct category<winrt::Windows::Foundation::Diagnostics::LoggingActivity>{ using type = class_category; };
  163. template <> struct category<winrt::Windows::Foundation::Diagnostics::LoggingChannel>{ using type = class_category; };
  164. template <> struct category<winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions>{ using type = class_category; };
  165. template <> struct category<winrt::Windows::Foundation::Diagnostics::LoggingFields>{ using type = class_category; };
  166. template <> struct category<winrt::Windows::Foundation::Diagnostics::LoggingOptions>{ using type = class_category; };
  167. template <> struct category<winrt::Windows::Foundation::Diagnostics::LoggingSession>{ using type = class_category; };
  168. template <> struct category<winrt::Windows::Foundation::Diagnostics::RuntimeBrokerErrorSettings>{ using type = class_category; };
  169. template <> struct category<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs>{ using type = class_category; };
  170. template <> struct category<winrt::Windows::Foundation::Diagnostics::CausalityRelation>{ using type = enum_category; };
  171. template <> struct category<winrt::Windows::Foundation::Diagnostics::CausalitySource>{ using type = enum_category; };
  172. template <> struct category<winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork>{ using type = enum_category; };
  173. template <> struct category<winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel>{ using type = enum_category; };
  174. template <> struct category<winrt::Windows::Foundation::Diagnostics::ErrorOptions>{ using type = enum_category; };
  175. template <> struct category<winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat>{ using type = enum_category; };
  176. template <> struct category<winrt::Windows::Foundation::Diagnostics::LoggingLevel>{ using type = enum_category; };
  177. template <> struct category<winrt::Windows::Foundation::Diagnostics::LoggingOpcode>{ using type = enum_category; };
  178. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::AsyncCausalityTracer> = L"Windows.Foundation.Diagnostics.AsyncCausalityTracer";
  179. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ErrorDetails> = L"Windows.Foundation.Diagnostics.ErrorDetails";
  180. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::FileLoggingSession> = L"Windows.Foundation.Diagnostics.FileLoggingSession";
  181. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> = L"Windows.Foundation.Diagnostics.LogFileGeneratedEventArgs";
  182. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::LoggingActivity> = L"Windows.Foundation.Diagnostics.LoggingActivity";
  183. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::LoggingChannel> = L"Windows.Foundation.Diagnostics.LoggingChannel";
  184. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions> = L"Windows.Foundation.Diagnostics.LoggingChannelOptions";
  185. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::LoggingFields> = L"Windows.Foundation.Diagnostics.LoggingFields";
  186. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::LoggingOptions> = L"Windows.Foundation.Diagnostics.LoggingOptions";
  187. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::LoggingSession> = L"Windows.Foundation.Diagnostics.LoggingSession";
  188. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::RuntimeBrokerErrorSettings> = L"Windows.Foundation.Diagnostics.RuntimeBrokerErrorSettings";
  189. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> = L"Windows.Foundation.Diagnostics.TracingStatusChangedEventArgs";
  190. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::CausalityRelation> = L"Windows.Foundation.Diagnostics.CausalityRelation";
  191. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::CausalitySource> = L"Windows.Foundation.Diagnostics.CausalitySource";
  192. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork> = L"Windows.Foundation.Diagnostics.CausalitySynchronousWork";
  193. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel> = L"Windows.Foundation.Diagnostics.CausalityTraceLevel";
  194. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ErrorOptions> = L"Windows.Foundation.Diagnostics.ErrorOptions";
  195. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat> = L"Windows.Foundation.Diagnostics.LoggingFieldFormat";
  196. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::LoggingLevel> = L"Windows.Foundation.Diagnostics.LoggingLevel";
  197. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::LoggingOpcode> = L"Windows.Foundation.Diagnostics.LoggingOpcode";
  198. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics> = L"Windows.Foundation.Diagnostics.IAsyncCausalityTracerStatics";
  199. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::IErrorDetails> = L"Windows.Foundation.Diagnostics.IErrorDetails";
  200. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::IErrorDetailsStatics> = L"Windows.Foundation.Diagnostics.IErrorDetailsStatics";
  201. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings> = L"Windows.Foundation.Diagnostics.IErrorReportingSettings";
  202. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession> = L"Windows.Foundation.Diagnostics.IFileLoggingSession";
  203. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::IFileLoggingSessionFactory> = L"Windows.Foundation.Diagnostics.IFileLoggingSessionFactory";
  204. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs> = L"Windows.Foundation.Diagnostics.ILogFileGeneratedEventArgs";
  205. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingActivity> = L"Windows.Foundation.Diagnostics.ILoggingActivity";
  206. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingActivity2> = L"Windows.Foundation.Diagnostics.ILoggingActivity2";
  207. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingActivityFactory> = L"Windows.Foundation.Diagnostics.ILoggingActivityFactory";
  208. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannel> = L"Windows.Foundation.Diagnostics.ILoggingChannel";
  209. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannel2> = L"Windows.Foundation.Diagnostics.ILoggingChannel2";
  210. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory> = L"Windows.Foundation.Diagnostics.ILoggingChannelFactory";
  211. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory2> = L"Windows.Foundation.Diagnostics.ILoggingChannelFactory2";
  212. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions> = L"Windows.Foundation.Diagnostics.ILoggingChannelOptions";
  213. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptionsFactory> = L"Windows.Foundation.Diagnostics.ILoggingChannelOptionsFactory";
  214. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingFields> = L"Windows.Foundation.Diagnostics.ILoggingFields";
  215. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingOptions> = L"Windows.Foundation.Diagnostics.ILoggingOptions";
  216. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingOptionsFactory> = L"Windows.Foundation.Diagnostics.ILoggingOptionsFactory";
  217. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingSession> = L"Windows.Foundation.Diagnostics.ILoggingSession";
  218. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingSessionFactory> = L"Windows.Foundation.Diagnostics.ILoggingSessionFactory";
  219. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ILoggingTarget> = L"Windows.Foundation.Diagnostics.ILoggingTarget";
  220. template <> inline constexpr auto& name_v<winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs> = L"Windows.Foundation.Diagnostics.ITracingStatusChangedEventArgs";
  221. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics>{ 0x50850B26,0x267E,0x451B,{ 0xA8,0x90,0xAB,0x6A,0x37,0x02,0x45,0xEE } }; // 50850B26-267E-451B-A890-AB6A370245EE
  222. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::IErrorDetails>{ 0x378CBB01,0x2CC9,0x428F,{ 0x8C,0x55,0x2C,0x99,0x0D,0x46,0x3E,0x8F } }; // 378CBB01-2CC9-428F-8C55-2C990D463E8F
  223. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::IErrorDetailsStatics>{ 0xB7703750,0x0B1D,0x46C8,{ 0xAA,0x0E,0x4B,0x81,0x78,0xE4,0xFC,0xE9 } }; // B7703750-0B1D-46C8-AA0E-4B8178E4FCE9
  224. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings>{ 0x16369792,0xB03E,0x4BA1,{ 0x8B,0xB8,0xD2,0x8F,0x4A,0xB4,0xD2,0xC0 } }; // 16369792-B03E-4BA1-8BB8-D28F4AB4D2C0
  225. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession>{ 0x24C74216,0xFED2,0x404C,{ 0x89,0x5F,0x1F,0x96,0x99,0xCB,0x02,0xF7 } }; // 24C74216-FED2-404C-895F-1F9699CB02F7
  226. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::IFileLoggingSessionFactory>{ 0xEEA08DCE,0x8447,0x4DAA,{ 0x91,0x33,0x12,0xEB,0x46,0xF6,0x97,0xD4 } }; // EEA08DCE-8447-4DAA-9133-12EB46F697D4
  227. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs>{ 0x269E976F,0x0D38,0x4C1A,{ 0xB5,0x3F,0xB3,0x95,0xD8,0x81,0xDF,0x84 } }; // 269E976F-0D38-4C1A-B53F-B395D881DF84
  228. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingActivity>{ 0xBC032941,0xB766,0x4CB5,{ 0x98,0x48,0x97,0xAC,0x6B,0xA6,0xD6,0x0C } }; // BC032941-B766-4CB5-9848-97AC6BA6D60C
  229. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingActivity2>{ 0x26C29808,0x6322,0x456A,{ 0xAF,0x82,0x80,0xC8,0x64,0x2F,0x17,0x8B } }; // 26C29808-6322-456A-AF82-80C8642F178B
  230. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingActivityFactory>{ 0x6B33B483,0xE10A,0x4C58,{ 0x97,0xD5,0x10,0xFB,0x45,0x10,0x74,0xFB } }; // 6B33B483-E10A-4C58-97D5-10FB451074FB
  231. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannel>{ 0xE9A50343,0x11D7,0x4F01,{ 0xB5,0xCA,0xCF,0x49,0x52,0x78,0xC0,0xA8 } }; // E9A50343-11D7-4F01-B5CA-CF495278C0A8
  232. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannel2>{ 0x9F4C3CF3,0x0BAC,0x45A5,{ 0x9E,0x33,0xBA,0xF3,0xF3,0xA2,0x46,0xA5 } }; // 9F4C3CF3-0BAC-45A5-9E33-BAF3F3A246A5
  233. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory>{ 0x4EDC5B9C,0xAF80,0x4A9B,{ 0xB0,0xDC,0x39,0x8F,0x9A,0xE5,0x20,0x7B } }; // 4EDC5B9C-AF80-4A9B-B0DC-398F9AE5207B
  234. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory2>{ 0x4C6EF5DD,0x3B27,0x4DC9,{ 0x99,0xF0,0x29,0x9C,0x6E,0x46,0x03,0xA1 } }; // 4C6EF5DD-3B27-4DC9-99F0-299C6E4603A1
  235. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions>{ 0xC3E847FF,0x0EBB,0x4A53,{ 0x8C,0x54,0xDE,0xC2,0x49,0x26,0xCB,0x2C } }; // C3E847FF-0EBB-4A53-8C54-DEC24926CB2C
  236. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptionsFactory>{ 0xA93151DA,0x7FAF,0x4191,{ 0x87,0x55,0x5E,0x86,0xDC,0x65,0xD8,0x96 } }; // A93151DA-7FAF-4191-8755-5E86DC65D896
  237. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingFields>{ 0xD7F6B7AF,0x762D,0x4579,{ 0x83,0xBD,0x52,0xC2,0x3B,0xC3,0x33,0xBC } }; // D7F6B7AF-762D-4579-83BD-52C23BC333BC
  238. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingOptions>{ 0x90BC7850,0x0192,0x4F5D,{ 0xAC,0x26,0x00,0x6A,0xDA,0xCA,0x12,0xD8 } }; // 90BC7850-0192-4F5D-AC26-006ADACA12D8
  239. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingOptionsFactory>{ 0xD713C6CB,0x98AB,0x464B,{ 0x9F,0x22,0xA3,0x26,0x84,0x78,0x36,0x8A } }; // D713C6CB-98AB-464B-9F22-A3268478368A
  240. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingSession>{ 0x6221F306,0x9380,0x4AD7,{ 0xBA,0xF5,0x41,0xEA,0x93,0x10,0xD7,0x68 } }; // 6221F306-9380-4AD7-BAF5-41EA9310D768
  241. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingSessionFactory>{ 0x4E937EE5,0x58FD,0x45E0,{ 0x8C,0x2F,0xA1,0x32,0xEF,0xF9,0x5C,0x1E } }; // 4E937EE5-58FD-45E0-8C2F-A132EFF95C1E
  242. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ILoggingTarget>{ 0x65F16C35,0xE388,0x4E26,{ 0xB1,0x7A,0xF5,0x1C,0xD3,0xA8,0x39,0x16 } }; // 65F16C35-E388-4E26-B17A-F51CD3A83916
  243. template <> inline constexpr guid guid_v<winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs>{ 0x410B7711,0xFF3B,0x477F,{ 0x9C,0x9A,0xD2,0xEF,0xDA,0x30,0x2D,0xC3 } }; // 410B7711-FF3B-477F-9C9A-D2EFDA302DC3
  244. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::ErrorDetails>{ using type = winrt::Windows::Foundation::Diagnostics::IErrorDetails; };
  245. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::FileLoggingSession>{ using type = winrt::Windows::Foundation::Diagnostics::IFileLoggingSession; };
  246. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs>{ using type = winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs; };
  247. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::LoggingActivity>{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingActivity; };
  248. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::LoggingChannel>{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingChannel; };
  249. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions>{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions; };
  250. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::LoggingFields>{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingFields; };
  251. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::LoggingOptions>{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingOptions; };
  252. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::LoggingSession>{ using type = winrt::Windows::Foundation::Diagnostics::ILoggingSession; };
  253. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::RuntimeBrokerErrorSettings>{ using type = winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings; };
  254. template <> struct default_interface<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs>{ using type = winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs; };
  255. template <> struct abi<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics>
  256. {
  257. struct __declspec(novtable) type : inspectable_abi
  258. {
  259. virtual int32_t __stdcall TraceOperationCreation(int32_t, int32_t, winrt::guid, uint64_t, void*, uint64_t) noexcept = 0;
  260. virtual int32_t __stdcall TraceOperationCompletion(int32_t, int32_t, winrt::guid, uint64_t, int32_t) noexcept = 0;
  261. virtual int32_t __stdcall TraceOperationRelation(int32_t, int32_t, winrt::guid, uint64_t, int32_t) noexcept = 0;
  262. virtual int32_t __stdcall TraceSynchronousWorkStart(int32_t, int32_t, winrt::guid, uint64_t, int32_t) noexcept = 0;
  263. virtual int32_t __stdcall TraceSynchronousWorkCompletion(int32_t, int32_t, int32_t) noexcept = 0;
  264. virtual int32_t __stdcall add_TracingStatusChanged(void*, winrt::event_token*) noexcept = 0;
  265. virtual int32_t __stdcall remove_TracingStatusChanged(winrt::event_token) noexcept = 0;
  266. };
  267. };
  268. template <> struct abi<winrt::Windows::Foundation::Diagnostics::IErrorDetails>
  269. {
  270. struct __declspec(novtable) type : inspectable_abi
  271. {
  272. virtual int32_t __stdcall get_Description(void**) noexcept = 0;
  273. virtual int32_t __stdcall get_LongDescription(void**) noexcept = 0;
  274. virtual int32_t __stdcall get_HelpUri(void**) noexcept = 0;
  275. };
  276. };
  277. template <> struct abi<winrt::Windows::Foundation::Diagnostics::IErrorDetailsStatics>
  278. {
  279. struct __declspec(novtable) type : inspectable_abi
  280. {
  281. virtual int32_t __stdcall CreateFromHResultAsync(int32_t, void**) noexcept = 0;
  282. };
  283. };
  284. template <> struct abi<winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings>
  285. {
  286. struct __declspec(novtable) type : inspectable_abi
  287. {
  288. virtual int32_t __stdcall SetErrorOptions(uint32_t) noexcept = 0;
  289. virtual int32_t __stdcall GetErrorOptions(uint32_t*) noexcept = 0;
  290. };
  291. };
  292. template <> struct abi<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession>
  293. {
  294. struct __declspec(novtable) type : inspectable_abi
  295. {
  296. virtual int32_t __stdcall get_Name(void**) noexcept = 0;
  297. virtual int32_t __stdcall AddLoggingChannel(void*) noexcept = 0;
  298. virtual int32_t __stdcall AddLoggingChannelWithLevel(void*, int32_t) noexcept = 0;
  299. virtual int32_t __stdcall RemoveLoggingChannel(void*) noexcept = 0;
  300. virtual int32_t __stdcall CloseAndSaveToFileAsync(void**) noexcept = 0;
  301. virtual int32_t __stdcall add_LogFileGenerated(void*, winrt::event_token*) noexcept = 0;
  302. virtual int32_t __stdcall remove_LogFileGenerated(winrt::event_token) noexcept = 0;
  303. };
  304. };
  305. template <> struct abi<winrt::Windows::Foundation::Diagnostics::IFileLoggingSessionFactory>
  306. {
  307. struct __declspec(novtable) type : inspectable_abi
  308. {
  309. virtual int32_t __stdcall Create(void*, void**) noexcept = 0;
  310. };
  311. };
  312. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs>
  313. {
  314. struct __declspec(novtable) type : inspectable_abi
  315. {
  316. virtual int32_t __stdcall get_File(void**) noexcept = 0;
  317. };
  318. };
  319. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingActivity>
  320. {
  321. struct __declspec(novtable) type : inspectable_abi
  322. {
  323. virtual int32_t __stdcall get_Name(void**) noexcept = 0;
  324. virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0;
  325. };
  326. };
  327. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingActivity2>
  328. {
  329. struct __declspec(novtable) type : inspectable_abi
  330. {
  331. virtual int32_t __stdcall get_Channel(void**) noexcept = 0;
  332. virtual int32_t __stdcall StopActivity(void*) noexcept = 0;
  333. virtual int32_t __stdcall StopActivityWithFields(void*, void*) noexcept = 0;
  334. virtual int32_t __stdcall StopActivityWithFieldsAndOptions(void*, void*, void*) noexcept = 0;
  335. };
  336. };
  337. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingActivityFactory>
  338. {
  339. struct __declspec(novtable) type : inspectable_abi
  340. {
  341. virtual int32_t __stdcall CreateLoggingActivity(void*, void*, void**) noexcept = 0;
  342. virtual int32_t __stdcall CreateLoggingActivityWithLevel(void*, void*, int32_t, void**) noexcept = 0;
  343. };
  344. };
  345. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingChannel>
  346. {
  347. struct __declspec(novtable) type : inspectable_abi
  348. {
  349. virtual int32_t __stdcall get_Name(void**) noexcept = 0;
  350. virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0;
  351. virtual int32_t __stdcall get_Level(int32_t*) noexcept = 0;
  352. virtual int32_t __stdcall LogMessage(void*) noexcept = 0;
  353. virtual int32_t __stdcall LogMessageWithLevel(void*, int32_t) noexcept = 0;
  354. virtual int32_t __stdcall LogValuePair(void*, int32_t) noexcept = 0;
  355. virtual int32_t __stdcall LogValuePairWithLevel(void*, int32_t, int32_t) noexcept = 0;
  356. virtual int32_t __stdcall add_LoggingEnabled(void*, winrt::event_token*) noexcept = 0;
  357. virtual int32_t __stdcall remove_LoggingEnabled(winrt::event_token) noexcept = 0;
  358. };
  359. };
  360. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingChannel2>
  361. {
  362. struct __declspec(novtable) type : inspectable_abi
  363. {
  364. virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0;
  365. };
  366. };
  367. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory>
  368. {
  369. struct __declspec(novtable) type : inspectable_abi
  370. {
  371. virtual int32_t __stdcall Create(void*, void**) noexcept = 0;
  372. };
  373. };
  374. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory2>
  375. {
  376. struct __declspec(novtable) type : inspectable_abi
  377. {
  378. virtual int32_t __stdcall CreateWithOptions(void*, void*, void**) noexcept = 0;
  379. virtual int32_t __stdcall CreateWithOptionsAndId(void*, void*, winrt::guid, void**) noexcept = 0;
  380. };
  381. };
  382. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions>
  383. {
  384. struct __declspec(novtable) type : inspectable_abi
  385. {
  386. virtual int32_t __stdcall get_Group(winrt::guid*) noexcept = 0;
  387. virtual int32_t __stdcall put_Group(winrt::guid) noexcept = 0;
  388. };
  389. };
  390. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptionsFactory>
  391. {
  392. struct __declspec(novtable) type : inspectable_abi
  393. {
  394. virtual int32_t __stdcall Create(winrt::guid, void**) noexcept = 0;
  395. };
  396. };
  397. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingFields>
  398. {
  399. struct __declspec(novtable) type : inspectable_abi
  400. {
  401. virtual int32_t __stdcall Clear() noexcept = 0;
  402. virtual int32_t __stdcall BeginStruct(void*) noexcept = 0;
  403. virtual int32_t __stdcall BeginStructWithTags(void*, int32_t) noexcept = 0;
  404. virtual int32_t __stdcall EndStruct() noexcept = 0;
  405. virtual int32_t __stdcall AddEmpty(void*) noexcept = 0;
  406. virtual int32_t __stdcall AddEmptyWithFormat(void*, int32_t) noexcept = 0;
  407. virtual int32_t __stdcall AddEmptyWithFormatAndTags(void*, int32_t, int32_t) noexcept = 0;
  408. virtual int32_t __stdcall AddUInt8(void*, uint8_t) noexcept = 0;
  409. virtual int32_t __stdcall AddUInt8WithFormat(void*, uint8_t, int32_t) noexcept = 0;
  410. virtual int32_t __stdcall AddUInt8WithFormatAndTags(void*, uint8_t, int32_t, int32_t) noexcept = 0;
  411. virtual int32_t __stdcall AddUInt8Array(void*, uint32_t, uint8_t*) noexcept = 0;
  412. virtual int32_t __stdcall AddUInt8ArrayWithFormat(void*, uint32_t, uint8_t*, int32_t) noexcept = 0;
  413. virtual int32_t __stdcall AddUInt8ArrayWithFormatAndTags(void*, uint32_t, uint8_t*, int32_t, int32_t) noexcept = 0;
  414. virtual int32_t __stdcall AddInt16(void*, int16_t) noexcept = 0;
  415. virtual int32_t __stdcall AddInt16WithFormat(void*, int16_t, int32_t) noexcept = 0;
  416. virtual int32_t __stdcall AddInt16WithFormatAndTags(void*, int16_t, int32_t, int32_t) noexcept = 0;
  417. virtual int32_t __stdcall AddInt16Array(void*, uint32_t, int16_t*) noexcept = 0;
  418. virtual int32_t __stdcall AddInt16ArrayWithFormat(void*, uint32_t, int16_t*, int32_t) noexcept = 0;
  419. virtual int32_t __stdcall AddInt16ArrayWithFormatAndTags(void*, uint32_t, int16_t*, int32_t, int32_t) noexcept = 0;
  420. virtual int32_t __stdcall AddUInt16(void*, uint16_t) noexcept = 0;
  421. virtual int32_t __stdcall AddUInt16WithFormat(void*, uint16_t, int32_t) noexcept = 0;
  422. virtual int32_t __stdcall AddUInt16WithFormatAndTags(void*, uint16_t, int32_t, int32_t) noexcept = 0;
  423. virtual int32_t __stdcall AddUInt16Array(void*, uint32_t, uint16_t*) noexcept = 0;
  424. virtual int32_t __stdcall AddUInt16ArrayWithFormat(void*, uint32_t, uint16_t*, int32_t) noexcept = 0;
  425. virtual int32_t __stdcall AddUInt16ArrayWithFormatAndTags(void*, uint32_t, uint16_t*, int32_t, int32_t) noexcept = 0;
  426. virtual int32_t __stdcall AddInt32(void*, int32_t) noexcept = 0;
  427. virtual int32_t __stdcall AddInt32WithFormat(void*, int32_t, int32_t) noexcept = 0;
  428. virtual int32_t __stdcall AddInt32WithFormatAndTags(void*, int32_t, int32_t, int32_t) noexcept = 0;
  429. virtual int32_t __stdcall AddInt32Array(void*, uint32_t, int32_t*) noexcept = 0;
  430. virtual int32_t __stdcall AddInt32ArrayWithFormat(void*, uint32_t, int32_t*, int32_t) noexcept = 0;
  431. virtual int32_t __stdcall AddInt32ArrayWithFormatAndTags(void*, uint32_t, int32_t*, int32_t, int32_t) noexcept = 0;
  432. virtual int32_t __stdcall AddUInt32(void*, uint32_t) noexcept = 0;
  433. virtual int32_t __stdcall AddUInt32WithFormat(void*, uint32_t, int32_t) noexcept = 0;
  434. virtual int32_t __stdcall AddUInt32WithFormatAndTags(void*, uint32_t, int32_t, int32_t) noexcept = 0;
  435. virtual int32_t __stdcall AddUInt32Array(void*, uint32_t, uint32_t*) noexcept = 0;
  436. virtual int32_t __stdcall AddUInt32ArrayWithFormat(void*, uint32_t, uint32_t*, int32_t) noexcept = 0;
  437. virtual int32_t __stdcall AddUInt32ArrayWithFormatAndTags(void*, uint32_t, uint32_t*, int32_t, int32_t) noexcept = 0;
  438. virtual int32_t __stdcall AddInt64(void*, int64_t) noexcept = 0;
  439. virtual int32_t __stdcall AddInt64WithFormat(void*, int64_t, int32_t) noexcept = 0;
  440. virtual int32_t __stdcall AddInt64WithFormatAndTags(void*, int64_t, int32_t, int32_t) noexcept = 0;
  441. virtual int32_t __stdcall AddInt64Array(void*, uint32_t, int64_t*) noexcept = 0;
  442. virtual int32_t __stdcall AddInt64ArrayWithFormat(void*, uint32_t, int64_t*, int32_t) noexcept = 0;
  443. virtual int32_t __stdcall AddInt64ArrayWithFormatAndTags(void*, uint32_t, int64_t*, int32_t, int32_t) noexcept = 0;
  444. virtual int32_t __stdcall AddUInt64(void*, uint64_t) noexcept = 0;
  445. virtual int32_t __stdcall AddUInt64WithFormat(void*, uint64_t, int32_t) noexcept = 0;
  446. virtual int32_t __stdcall AddUInt64WithFormatAndTags(void*, uint64_t, int32_t, int32_t) noexcept = 0;
  447. virtual int32_t __stdcall AddUInt64Array(void*, uint32_t, uint64_t*) noexcept = 0;
  448. virtual int32_t __stdcall AddUInt64ArrayWithFormat(void*, uint32_t, uint64_t*, int32_t) noexcept = 0;
  449. virtual int32_t __stdcall AddUInt64ArrayWithFormatAndTags(void*, uint32_t, uint64_t*, int32_t, int32_t) noexcept = 0;
  450. virtual int32_t __stdcall AddSingle(void*, float) noexcept = 0;
  451. virtual int32_t __stdcall AddSingleWithFormat(void*, float, int32_t) noexcept = 0;
  452. virtual int32_t __stdcall AddSingleWithFormatAndTags(void*, float, int32_t, int32_t) noexcept = 0;
  453. virtual int32_t __stdcall AddSingleArray(void*, uint32_t, float*) noexcept = 0;
  454. virtual int32_t __stdcall AddSingleArrayWithFormat(void*, uint32_t, float*, int32_t) noexcept = 0;
  455. virtual int32_t __stdcall AddSingleArrayWithFormatAndTags(void*, uint32_t, float*, int32_t, int32_t) noexcept = 0;
  456. virtual int32_t __stdcall AddDouble(void*, double) noexcept = 0;
  457. virtual int32_t __stdcall AddDoubleWithFormat(void*, double, int32_t) noexcept = 0;
  458. virtual int32_t __stdcall AddDoubleWithFormatAndTags(void*, double, int32_t, int32_t) noexcept = 0;
  459. virtual int32_t __stdcall AddDoubleArray(void*, uint32_t, double*) noexcept = 0;
  460. virtual int32_t __stdcall AddDoubleArrayWithFormat(void*, uint32_t, double*, int32_t) noexcept = 0;
  461. virtual int32_t __stdcall AddDoubleArrayWithFormatAndTags(void*, uint32_t, double*, int32_t, int32_t) noexcept = 0;
  462. virtual int32_t __stdcall AddChar16(void*, char16_t) noexcept = 0;
  463. virtual int32_t __stdcall AddChar16WithFormat(void*, char16_t, int32_t) noexcept = 0;
  464. virtual int32_t __stdcall AddChar16WithFormatAndTags(void*, char16_t, int32_t, int32_t) noexcept = 0;
  465. virtual int32_t __stdcall AddChar16Array(void*, uint32_t, char16_t*) noexcept = 0;
  466. virtual int32_t __stdcall AddChar16ArrayWithFormat(void*, uint32_t, char16_t*, int32_t) noexcept = 0;
  467. virtual int32_t __stdcall AddChar16ArrayWithFormatAndTags(void*, uint32_t, char16_t*, int32_t, int32_t) noexcept = 0;
  468. virtual int32_t __stdcall AddBoolean(void*, bool) noexcept = 0;
  469. virtual int32_t __stdcall AddBooleanWithFormat(void*, bool, int32_t) noexcept = 0;
  470. virtual int32_t __stdcall AddBooleanWithFormatAndTags(void*, bool, int32_t, int32_t) noexcept = 0;
  471. virtual int32_t __stdcall AddBooleanArray(void*, uint32_t, bool*) noexcept = 0;
  472. virtual int32_t __stdcall AddBooleanArrayWithFormat(void*, uint32_t, bool*, int32_t) noexcept = 0;
  473. virtual int32_t __stdcall AddBooleanArrayWithFormatAndTags(void*, uint32_t, bool*, int32_t, int32_t) noexcept = 0;
  474. virtual int32_t __stdcall AddString(void*, void*) noexcept = 0;
  475. virtual int32_t __stdcall AddStringWithFormat(void*, void*, int32_t) noexcept = 0;
  476. virtual int32_t __stdcall AddStringWithFormatAndTags(void*, void*, int32_t, int32_t) noexcept = 0;
  477. virtual int32_t __stdcall AddStringArray(void*, uint32_t, void**) noexcept = 0;
  478. virtual int32_t __stdcall AddStringArrayWithFormat(void*, uint32_t, void**, int32_t) noexcept = 0;
  479. virtual int32_t __stdcall AddStringArrayWithFormatAndTags(void*, uint32_t, void**, int32_t, int32_t) noexcept = 0;
  480. virtual int32_t __stdcall AddGuid(void*, winrt::guid) noexcept = 0;
  481. virtual int32_t __stdcall AddGuidWithFormat(void*, winrt::guid, int32_t) noexcept = 0;
  482. virtual int32_t __stdcall AddGuidWithFormatAndTags(void*, winrt::guid, int32_t, int32_t) noexcept = 0;
  483. virtual int32_t __stdcall AddGuidArray(void*, uint32_t, winrt::guid*) noexcept = 0;
  484. virtual int32_t __stdcall AddGuidArrayWithFormat(void*, uint32_t, winrt::guid*, int32_t) noexcept = 0;
  485. virtual int32_t __stdcall AddGuidArrayWithFormatAndTags(void*, uint32_t, winrt::guid*, int32_t, int32_t) noexcept = 0;
  486. virtual int32_t __stdcall AddDateTime(void*, int64_t) noexcept = 0;
  487. virtual int32_t __stdcall AddDateTimeWithFormat(void*, int64_t, int32_t) noexcept = 0;
  488. virtual int32_t __stdcall AddDateTimeWithFormatAndTags(void*, int64_t, int32_t, int32_t) noexcept = 0;
  489. virtual int32_t __stdcall AddDateTimeArray(void*, uint32_t, int64_t*) noexcept = 0;
  490. virtual int32_t __stdcall AddDateTimeArrayWithFormat(void*, uint32_t, int64_t*, int32_t) noexcept = 0;
  491. virtual int32_t __stdcall AddDateTimeArrayWithFormatAndTags(void*, uint32_t, int64_t*, int32_t, int32_t) noexcept = 0;
  492. virtual int32_t __stdcall AddTimeSpan(void*, int64_t) noexcept = 0;
  493. virtual int32_t __stdcall AddTimeSpanWithFormat(void*, int64_t, int32_t) noexcept = 0;
  494. virtual int32_t __stdcall AddTimeSpanWithFormatAndTags(void*, int64_t, int32_t, int32_t) noexcept = 0;
  495. virtual int32_t __stdcall AddTimeSpanArray(void*, uint32_t, int64_t*) noexcept = 0;
  496. virtual int32_t __stdcall AddTimeSpanArrayWithFormat(void*, uint32_t, int64_t*, int32_t) noexcept = 0;
  497. virtual int32_t __stdcall AddTimeSpanArrayWithFormatAndTags(void*, uint32_t, int64_t*, int32_t, int32_t) noexcept = 0;
  498. virtual int32_t __stdcall AddPoint(void*, winrt::Windows::Foundation::Point) noexcept = 0;
  499. virtual int32_t __stdcall AddPointWithFormat(void*, winrt::Windows::Foundation::Point, int32_t) noexcept = 0;
  500. virtual int32_t __stdcall AddPointWithFormatAndTags(void*, winrt::Windows::Foundation::Point, int32_t, int32_t) noexcept = 0;
  501. virtual int32_t __stdcall AddPointArray(void*, uint32_t, winrt::Windows::Foundation::Point*) noexcept = 0;
  502. virtual int32_t __stdcall AddPointArrayWithFormat(void*, uint32_t, winrt::Windows::Foundation::Point*, int32_t) noexcept = 0;
  503. virtual int32_t __stdcall AddPointArrayWithFormatAndTags(void*, uint32_t, winrt::Windows::Foundation::Point*, int32_t, int32_t) noexcept = 0;
  504. virtual int32_t __stdcall AddSize(void*, winrt::Windows::Foundation::Size) noexcept = 0;
  505. virtual int32_t __stdcall AddSizeWithFormat(void*, winrt::Windows::Foundation::Size, int32_t) noexcept = 0;
  506. virtual int32_t __stdcall AddSizeWithFormatAndTags(void*, winrt::Windows::Foundation::Size, int32_t, int32_t) noexcept = 0;
  507. virtual int32_t __stdcall AddSizeArray(void*, uint32_t, winrt::Windows::Foundation::Size*) noexcept = 0;
  508. virtual int32_t __stdcall AddSizeArrayWithFormat(void*, uint32_t, winrt::Windows::Foundation::Size*, int32_t) noexcept = 0;
  509. virtual int32_t __stdcall AddSizeArrayWithFormatAndTags(void*, uint32_t, winrt::Windows::Foundation::Size*, int32_t, int32_t) noexcept = 0;
  510. virtual int32_t __stdcall AddRect(void*, winrt::Windows::Foundation::Rect) noexcept = 0;
  511. virtual int32_t __stdcall AddRectWithFormat(void*, winrt::Windows::Foundation::Rect, int32_t) noexcept = 0;
  512. virtual int32_t __stdcall AddRectWithFormatAndTags(void*, winrt::Windows::Foundation::Rect, int32_t, int32_t) noexcept = 0;
  513. virtual int32_t __stdcall AddRectArray(void*, uint32_t, winrt::Windows::Foundation::Rect*) noexcept = 0;
  514. virtual int32_t __stdcall AddRectArrayWithFormat(void*, uint32_t, winrt::Windows::Foundation::Rect*, int32_t) noexcept = 0;
  515. virtual int32_t __stdcall AddRectArrayWithFormatAndTags(void*, uint32_t, winrt::Windows::Foundation::Rect*, int32_t, int32_t) noexcept = 0;
  516. };
  517. };
  518. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingOptions>
  519. {
  520. struct __declspec(novtable) type : inspectable_abi
  521. {
  522. virtual int32_t __stdcall get_Keywords(int64_t*) noexcept = 0;
  523. virtual int32_t __stdcall put_Keywords(int64_t) noexcept = 0;
  524. virtual int32_t __stdcall get_Tags(int32_t*) noexcept = 0;
  525. virtual int32_t __stdcall put_Tags(int32_t) noexcept = 0;
  526. virtual int32_t __stdcall get_Task(int16_t*) noexcept = 0;
  527. virtual int32_t __stdcall put_Task(int16_t) noexcept = 0;
  528. virtual int32_t __stdcall get_Opcode(int32_t*) noexcept = 0;
  529. virtual int32_t __stdcall put_Opcode(int32_t) noexcept = 0;
  530. virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0;
  531. virtual int32_t __stdcall put_ActivityId(winrt::guid) noexcept = 0;
  532. virtual int32_t __stdcall get_RelatedActivityId(winrt::guid*) noexcept = 0;
  533. virtual int32_t __stdcall put_RelatedActivityId(winrt::guid) noexcept = 0;
  534. };
  535. };
  536. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingOptionsFactory>
  537. {
  538. struct __declspec(novtable) type : inspectable_abi
  539. {
  540. virtual int32_t __stdcall CreateWithKeywords(int64_t, void**) noexcept = 0;
  541. };
  542. };
  543. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingSession>
  544. {
  545. struct __declspec(novtable) type : inspectable_abi
  546. {
  547. virtual int32_t __stdcall get_Name(void**) noexcept = 0;
  548. virtual int32_t __stdcall SaveToFileAsync(void*, void*, void**) noexcept = 0;
  549. virtual int32_t __stdcall AddLoggingChannel(void*) noexcept = 0;
  550. virtual int32_t __stdcall AddLoggingChannelWithLevel(void*, int32_t) noexcept = 0;
  551. virtual int32_t __stdcall RemoveLoggingChannel(void*) noexcept = 0;
  552. };
  553. };
  554. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingSessionFactory>
  555. {
  556. struct __declspec(novtable) type : inspectable_abi
  557. {
  558. virtual int32_t __stdcall Create(void*, void**) noexcept = 0;
  559. };
  560. };
  561. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ILoggingTarget>
  562. {
  563. struct __declspec(novtable) type : inspectable_abi
  564. {
  565. virtual int32_t __stdcall IsEnabled(bool*) noexcept = 0;
  566. virtual int32_t __stdcall IsEnabledWithLevel(int32_t, bool*) noexcept = 0;
  567. virtual int32_t __stdcall IsEnabledWithLevelAndKeywords(int32_t, int64_t, bool*) noexcept = 0;
  568. virtual int32_t __stdcall LogEvent(void*) noexcept = 0;
  569. virtual int32_t __stdcall LogEventWithFields(void*, void*) noexcept = 0;
  570. virtual int32_t __stdcall LogEventWithFieldsAndLevel(void*, void*, int32_t) noexcept = 0;
  571. virtual int32_t __stdcall LogEventWithFieldsAndOptions(void*, void*, int32_t, void*) noexcept = 0;
  572. virtual int32_t __stdcall StartActivity(void*, void**) noexcept = 0;
  573. virtual int32_t __stdcall StartActivityWithFields(void*, void*, void**) noexcept = 0;
  574. virtual int32_t __stdcall StartActivityWithFieldsAndLevel(void*, void*, int32_t, void**) noexcept = 0;
  575. virtual int32_t __stdcall StartActivityWithFieldsAndOptions(void*, void*, int32_t, void*, void**) noexcept = 0;
  576. };
  577. };
  578. template <> struct abi<winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs>
  579. {
  580. struct __declspec(novtable) type : inspectable_abi
  581. {
  582. virtual int32_t __stdcall get_Enabled(bool*) noexcept = 0;
  583. virtual int32_t __stdcall get_TraceLevel(int32_t*) noexcept = 0;
  584. };
  585. };
  586. template <typename D>
  587. struct consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics
  588. {
  589. WINRT_IMPL_AUTO(void) TraceOperationCreation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, param::hstring const& operationName, uint64_t relatedContext) const;
  590. WINRT_IMPL_AUTO(void) TraceOperationCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::AsyncStatus const& status) const;
  591. WINRT_IMPL_AUTO(void) TraceOperationRelation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalityRelation const& relation) const;
  592. WINRT_IMPL_AUTO(void) TraceSynchronousWorkStart(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const;
  593. WINRT_IMPL_AUTO(void) TraceSynchronousWorkCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const;
  594. WINRT_IMPL_AUTO(winrt::event_token) TracingStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler) const;
  595. using TracingStatusChanged_revoker = impl::event_revoker<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics, &impl::abi_t<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics>::remove_TracingStatusChanged>;
  596. [[nodiscard]] TracingStatusChanged_revoker TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler) const;
  597. WINRT_IMPL_AUTO(void) TracingStatusChanged(winrt::event_token const& cookie) const noexcept;
  598. };
  599. template <> struct consume<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics>
  600. {
  601. template <typename D> using type = consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>;
  602. };
  603. template <typename D>
  604. struct consume_Windows_Foundation_Diagnostics_IErrorDetails
  605. {
  606. [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const;
  607. [[nodiscard]] WINRT_IMPL_AUTO(hstring) LongDescription() const;
  608. [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) HelpUri() const;
  609. };
  610. template <> struct consume<winrt::Windows::Foundation::Diagnostics::IErrorDetails>
  611. {
  612. template <typename D> using type = consume_Windows_Foundation_Diagnostics_IErrorDetails<D>;
  613. };
  614. template <typename D>
  615. struct consume_Windows_Foundation_Diagnostics_IErrorDetailsStatics
  616. {
  617. WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Diagnostics::ErrorDetails>) CreateFromHResultAsync(int32_t errorCode) const;
  618. };
  619. template <> struct consume<winrt::Windows::Foundation::Diagnostics::IErrorDetailsStatics>
  620. {
  621. template <typename D> using type = consume_Windows_Foundation_Diagnostics_IErrorDetailsStatics<D>;
  622. };
  623. template <typename D>
  624. struct consume_Windows_Foundation_Diagnostics_IErrorReportingSettings
  625. {
  626. WINRT_IMPL_AUTO(void) SetErrorOptions(winrt::Windows::Foundation::Diagnostics::ErrorOptions const& value) const;
  627. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::ErrorOptions) GetErrorOptions() const;
  628. };
  629. template <> struct consume<winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings>
  630. {
  631. template <typename D> using type = consume_Windows_Foundation_Diagnostics_IErrorReportingSettings<D>;
  632. };
  633. template <typename D>
  634. struct consume_Windows_Foundation_Diagnostics_IFileLoggingSession
  635. {
  636. [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
  637. WINRT_IMPL_AUTO(void) AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const;
  638. WINRT_IMPL_AUTO(void) AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const;
  639. WINRT_IMPL_AUTO(void) RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const;
  640. WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) CloseAndSaveToFileAsync() const;
  641. WINRT_IMPL_AUTO(winrt::event_token) LogFileGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> const& handler) const;
  642. using LogFileGenerated_revoker = impl::event_revoker<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, &impl::abi_t<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession>::remove_LogFileGenerated>;
  643. [[nodiscard]] LogFileGenerated_revoker LogFileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> const& handler) const;
  644. WINRT_IMPL_AUTO(void) LogFileGenerated(winrt::event_token const& token) const noexcept;
  645. };
  646. template <> struct consume<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession>
  647. {
  648. template <typename D> using type = consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>;
  649. };
  650. template <typename D>
  651. struct consume_Windows_Foundation_Diagnostics_IFileLoggingSessionFactory
  652. {
  653. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::FileLoggingSession) Create(param::hstring const& name) const;
  654. };
  655. template <> struct consume<winrt::Windows::Foundation::Diagnostics::IFileLoggingSessionFactory>
  656. {
  657. template <typename D> using type = consume_Windows_Foundation_Diagnostics_IFileLoggingSessionFactory<D>;
  658. };
  659. template <typename D>
  660. struct consume_Windows_Foundation_Diagnostics_ILogFileGeneratedEventArgs
  661. {
  662. [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const;
  663. };
  664. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs>
  665. {
  666. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILogFileGeneratedEventArgs<D>;
  667. };
  668. template <typename D>
  669. struct consume_Windows_Foundation_Diagnostics_ILoggingActivity
  670. {
  671. [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
  672. [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const;
  673. };
  674. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingActivity>
  675. {
  676. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingActivity<D>;
  677. };
  678. template <typename D>
  679. struct consume_Windows_Foundation_Diagnostics_ILoggingActivity2
  680. {
  681. [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) Channel() const;
  682. WINRT_IMPL_AUTO(void) StopActivity(param::hstring const& stopEventName) const;
  683. WINRT_IMPL_AUTO(void) StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const;
  684. WINRT_IMPL_AUTO(void) StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const;
  685. };
  686. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingActivity2>
  687. {
  688. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingActivity2<D>;
  689. };
  690. template <typename D>
  691. struct consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory
  692. {
  693. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) CreateLoggingActivity(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const;
  694. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) CreateLoggingActivityWithLevel(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const;
  695. };
  696. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingActivityFactory>
  697. {
  698. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory<D>;
  699. };
  700. template <typename D>
  701. struct consume_Windows_Foundation_Diagnostics_ILoggingChannel
  702. {
  703. [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
  704. [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const;
  705. [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingLevel) Level() const;
  706. WINRT_IMPL_AUTO(void) LogMessage(param::hstring const& eventString) const;
  707. WINRT_IMPL_AUTO(void) LogMessage(param::hstring const& eventString, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const;
  708. WINRT_IMPL_AUTO(void) LogValuePair(param::hstring const& value1, int32_t value2) const;
  709. WINRT_IMPL_AUTO(void) LogValuePair(param::hstring const& value1, int32_t value2, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const;
  710. WINRT_IMPL_AUTO(winrt::event_token) LoggingEnabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, winrt::Windows::Foundation::IInspectable> const& handler) const;
  711. using LoggingEnabled_revoker = impl::event_revoker<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, &impl::abi_t<winrt::Windows::Foundation::Diagnostics::ILoggingChannel>::remove_LoggingEnabled>;
  712. [[nodiscard]] LoggingEnabled_revoker LoggingEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, winrt::Windows::Foundation::IInspectable> const& handler) const;
  713. WINRT_IMPL_AUTO(void) LoggingEnabled(winrt::event_token const& token) const noexcept;
  714. };
  715. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingChannel>
  716. {
  717. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>;
  718. };
  719. template <typename D>
  720. struct consume_Windows_Foundation_Diagnostics_ILoggingChannel2
  721. {
  722. [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const;
  723. };
  724. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingChannel2>
  725. {
  726. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingChannel2<D>;
  727. };
  728. template <typename D>
  729. struct consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory
  730. {
  731. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) Create(param::hstring const& name) const;
  732. };
  733. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory>
  734. {
  735. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory<D>;
  736. };
  737. template <typename D>
  738. struct consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2
  739. {
  740. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) CreateWithOptions(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options) const;
  741. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) CreateWithOptionsAndId(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options, winrt::guid const& id) const;
  742. };
  743. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory2>
  744. {
  745. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2<D>;
  746. };
  747. template <typename D>
  748. struct consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions
  749. {
  750. [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Group() const;
  751. WINRT_IMPL_AUTO(void) Group(winrt::guid const& value) const;
  752. };
  753. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions>
  754. {
  755. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions<D>;
  756. };
  757. template <typename D>
  758. struct consume_Windows_Foundation_Diagnostics_ILoggingChannelOptionsFactory
  759. {
  760. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions) Create(winrt::guid const& group) const;
  761. };
  762. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptionsFactory>
  763. {
  764. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingChannelOptionsFactory<D>;
  765. };
  766. template <typename D>
  767. struct consume_Windows_Foundation_Diagnostics_ILoggingFields
  768. {
  769. WINRT_IMPL_AUTO(void) Clear() const;
  770. WINRT_IMPL_AUTO(void) BeginStruct(param::hstring const& name) const;
  771. WINRT_IMPL_AUTO(void) BeginStruct(param::hstring const& name, int32_t tags) const;
  772. WINRT_IMPL_AUTO(void) EndStruct() const;
  773. WINRT_IMPL_AUTO(void) AddEmpty(param::hstring const& name) const;
  774. WINRT_IMPL_AUTO(void) AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  775. WINRT_IMPL_AUTO(void) AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  776. WINRT_IMPL_AUTO(void) AddUInt8(param::hstring const& name, uint8_t value) const;
  777. WINRT_IMPL_AUTO(void) AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  778. WINRT_IMPL_AUTO(void) AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  779. WINRT_IMPL_AUTO(void) AddUInt8Array(param::hstring const& name, array_view<uint8_t const> value) const;
  780. WINRT_IMPL_AUTO(void) AddUInt8Array(param::hstring const& name, array_view<uint8_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  781. WINRT_IMPL_AUTO(void) AddUInt8Array(param::hstring const& name, array_view<uint8_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  782. WINRT_IMPL_AUTO(void) AddInt16(param::hstring const& name, int16_t value) const;
  783. WINRT_IMPL_AUTO(void) AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  784. WINRT_IMPL_AUTO(void) AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  785. WINRT_IMPL_AUTO(void) AddInt16Array(param::hstring const& name, array_view<int16_t const> value) const;
  786. WINRT_IMPL_AUTO(void) AddInt16Array(param::hstring const& name, array_view<int16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  787. WINRT_IMPL_AUTO(void) AddInt16Array(param::hstring const& name, array_view<int16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  788. WINRT_IMPL_AUTO(void) AddUInt16(param::hstring const& name, uint16_t value) const;
  789. WINRT_IMPL_AUTO(void) AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  790. WINRT_IMPL_AUTO(void) AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  791. WINRT_IMPL_AUTO(void) AddUInt16Array(param::hstring const& name, array_view<uint16_t const> value) const;
  792. WINRT_IMPL_AUTO(void) AddUInt16Array(param::hstring const& name, array_view<uint16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  793. WINRT_IMPL_AUTO(void) AddUInt16Array(param::hstring const& name, array_view<uint16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  794. WINRT_IMPL_AUTO(void) AddInt32(param::hstring const& name, int32_t value) const;
  795. WINRT_IMPL_AUTO(void) AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  796. WINRT_IMPL_AUTO(void) AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  797. WINRT_IMPL_AUTO(void) AddInt32Array(param::hstring const& name, array_view<int32_t const> value) const;
  798. WINRT_IMPL_AUTO(void) AddInt32Array(param::hstring const& name, array_view<int32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  799. WINRT_IMPL_AUTO(void) AddInt32Array(param::hstring const& name, array_view<int32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  800. WINRT_IMPL_AUTO(void) AddUInt32(param::hstring const& name, uint32_t value) const;
  801. WINRT_IMPL_AUTO(void) AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  802. WINRT_IMPL_AUTO(void) AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  803. WINRT_IMPL_AUTO(void) AddUInt32Array(param::hstring const& name, array_view<uint32_t const> value) const;
  804. WINRT_IMPL_AUTO(void) AddUInt32Array(param::hstring const& name, array_view<uint32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  805. WINRT_IMPL_AUTO(void) AddUInt32Array(param::hstring const& name, array_view<uint32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  806. WINRT_IMPL_AUTO(void) AddInt64(param::hstring const& name, int64_t value) const;
  807. WINRT_IMPL_AUTO(void) AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  808. WINRT_IMPL_AUTO(void) AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  809. WINRT_IMPL_AUTO(void) AddInt64Array(param::hstring const& name, array_view<int64_t const> value) const;
  810. WINRT_IMPL_AUTO(void) AddInt64Array(param::hstring const& name, array_view<int64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  811. WINRT_IMPL_AUTO(void) AddInt64Array(param::hstring const& name, array_view<int64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  812. WINRT_IMPL_AUTO(void) AddUInt64(param::hstring const& name, uint64_t value) const;
  813. WINRT_IMPL_AUTO(void) AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  814. WINRT_IMPL_AUTO(void) AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  815. WINRT_IMPL_AUTO(void) AddUInt64Array(param::hstring const& name, array_view<uint64_t const> value) const;
  816. WINRT_IMPL_AUTO(void) AddUInt64Array(param::hstring const& name, array_view<uint64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  817. WINRT_IMPL_AUTO(void) AddUInt64Array(param::hstring const& name, array_view<uint64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  818. WINRT_IMPL_AUTO(void) AddSingle(param::hstring const& name, float value) const;
  819. WINRT_IMPL_AUTO(void) AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  820. WINRT_IMPL_AUTO(void) AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  821. WINRT_IMPL_AUTO(void) AddSingleArray(param::hstring const& name, array_view<float const> value) const;
  822. WINRT_IMPL_AUTO(void) AddSingleArray(param::hstring const& name, array_view<float const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  823. WINRT_IMPL_AUTO(void) AddSingleArray(param::hstring const& name, array_view<float const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  824. WINRT_IMPL_AUTO(void) AddDouble(param::hstring const& name, double value) const;
  825. WINRT_IMPL_AUTO(void) AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  826. WINRT_IMPL_AUTO(void) AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  827. WINRT_IMPL_AUTO(void) AddDoubleArray(param::hstring const& name, array_view<double const> value) const;
  828. WINRT_IMPL_AUTO(void) AddDoubleArray(param::hstring const& name, array_view<double const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  829. WINRT_IMPL_AUTO(void) AddDoubleArray(param::hstring const& name, array_view<double const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  830. WINRT_IMPL_AUTO(void) AddChar16(param::hstring const& name, char16_t value) const;
  831. WINRT_IMPL_AUTO(void) AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  832. WINRT_IMPL_AUTO(void) AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  833. WINRT_IMPL_AUTO(void) AddChar16Array(param::hstring const& name, array_view<char16_t const> value) const;
  834. WINRT_IMPL_AUTO(void) AddChar16Array(param::hstring const& name, array_view<char16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  835. WINRT_IMPL_AUTO(void) AddChar16Array(param::hstring const& name, array_view<char16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  836. WINRT_IMPL_AUTO(void) AddBoolean(param::hstring const& name, bool value) const;
  837. WINRT_IMPL_AUTO(void) AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  838. WINRT_IMPL_AUTO(void) AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  839. WINRT_IMPL_AUTO(void) AddBooleanArray(param::hstring const& name, array_view<bool const> value) const;
  840. WINRT_IMPL_AUTO(void) AddBooleanArray(param::hstring const& name, array_view<bool const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  841. WINRT_IMPL_AUTO(void) AddBooleanArray(param::hstring const& name, array_view<bool const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  842. WINRT_IMPL_AUTO(void) AddString(param::hstring const& name, param::hstring const& value) const;
  843. WINRT_IMPL_AUTO(void) AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  844. WINRT_IMPL_AUTO(void) AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  845. WINRT_IMPL_AUTO(void) AddStringArray(param::hstring const& name, array_view<hstring const> value) const;
  846. WINRT_IMPL_AUTO(void) AddStringArray(param::hstring const& name, array_view<hstring const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  847. WINRT_IMPL_AUTO(void) AddStringArray(param::hstring const& name, array_view<hstring const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  848. WINRT_IMPL_AUTO(void) AddGuid(param::hstring const& name, winrt::guid const& value) const;
  849. WINRT_IMPL_AUTO(void) AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  850. WINRT_IMPL_AUTO(void) AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  851. WINRT_IMPL_AUTO(void) AddGuidArray(param::hstring const& name, array_view<winrt::guid const> value) const;
  852. WINRT_IMPL_AUTO(void) AddGuidArray(param::hstring const& name, array_view<winrt::guid const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  853. WINRT_IMPL_AUTO(void) AddGuidArray(param::hstring const& name, array_view<winrt::guid const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  854. WINRT_IMPL_AUTO(void) AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value) const;
  855. WINRT_IMPL_AUTO(void) AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  856. WINRT_IMPL_AUTO(void) AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  857. WINRT_IMPL_AUTO(void) AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> value) const;
  858. WINRT_IMPL_AUTO(void) AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  859. WINRT_IMPL_AUTO(void) AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  860. WINRT_IMPL_AUTO(void) AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value) const;
  861. WINRT_IMPL_AUTO(void) AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  862. WINRT_IMPL_AUTO(void) AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  863. WINRT_IMPL_AUTO(void) AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> value) const;
  864. WINRT_IMPL_AUTO(void) AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  865. WINRT_IMPL_AUTO(void) AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  866. WINRT_IMPL_AUTO(void) AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value) const;
  867. WINRT_IMPL_AUTO(void) AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  868. WINRT_IMPL_AUTO(void) AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  869. WINRT_IMPL_AUTO(void) AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> value) const;
  870. WINRT_IMPL_AUTO(void) AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  871. WINRT_IMPL_AUTO(void) AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  872. WINRT_IMPL_AUTO(void) AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value) const;
  873. WINRT_IMPL_AUTO(void) AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  874. WINRT_IMPL_AUTO(void) AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  875. WINRT_IMPL_AUTO(void) AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> value) const;
  876. WINRT_IMPL_AUTO(void) AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  877. WINRT_IMPL_AUTO(void) AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  878. WINRT_IMPL_AUTO(void) AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value) const;
  879. WINRT_IMPL_AUTO(void) AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  880. WINRT_IMPL_AUTO(void) AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  881. WINRT_IMPL_AUTO(void) AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> value) const;
  882. WINRT_IMPL_AUTO(void) AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
  883. WINRT_IMPL_AUTO(void) AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
  884. };
  885. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingFields>
  886. {
  887. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingFields<D>;
  888. };
  889. template <typename D>
  890. struct consume_Windows_Foundation_Diagnostics_ILoggingOptions
  891. {
  892. [[nodiscard]] WINRT_IMPL_AUTO(int64_t) Keywords() const;
  893. WINRT_IMPL_AUTO(void) Keywords(int64_t value) const;
  894. [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Tags() const;
  895. WINRT_IMPL_AUTO(void) Tags(int32_t value) const;
  896. [[nodiscard]] WINRT_IMPL_AUTO(int16_t) Task() const;
  897. WINRT_IMPL_AUTO(void) Task(int16_t value) const;
  898. [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingOpcode) Opcode() const;
  899. WINRT_IMPL_AUTO(void) Opcode(winrt::Windows::Foundation::Diagnostics::LoggingOpcode const& value) const;
  900. [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const;
  901. WINRT_IMPL_AUTO(void) ActivityId(winrt::guid const& value) const;
  902. [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) RelatedActivityId() const;
  903. WINRT_IMPL_AUTO(void) RelatedActivityId(winrt::guid const& value) const;
  904. };
  905. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingOptions>
  906. {
  907. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>;
  908. };
  909. template <typename D>
  910. struct consume_Windows_Foundation_Diagnostics_ILoggingOptionsFactory
  911. {
  912. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingOptions) CreateWithKeywords(int64_t keywords) const;
  913. };
  914. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingOptionsFactory>
  915. {
  916. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingOptionsFactory<D>;
  917. };
  918. template <typename D>
  919. struct consume_Windows_Foundation_Diagnostics_ILoggingSession
  920. {
  921. [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
  922. WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) SaveToFileAsync(winrt::Windows::Storage::IStorageFolder const& folder, param::hstring const& fileName) const;
  923. WINRT_IMPL_AUTO(void) AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const;
  924. WINRT_IMPL_AUTO(void) AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const;
  925. WINRT_IMPL_AUTO(void) RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const;
  926. };
  927. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingSession>
  928. {
  929. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingSession<D>;
  930. };
  931. template <typename D>
  932. struct consume_Windows_Foundation_Diagnostics_ILoggingSessionFactory
  933. {
  934. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingSession) Create(param::hstring const& name) const;
  935. };
  936. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingSessionFactory>
  937. {
  938. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingSessionFactory<D>;
  939. };
  940. template <typename D>
  941. struct consume_Windows_Foundation_Diagnostics_ILoggingTarget
  942. {
  943. WINRT_IMPL_AUTO(bool) IsEnabled() const;
  944. WINRT_IMPL_AUTO(bool) IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const;
  945. WINRT_IMPL_AUTO(bool) IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, int64_t keywords) const;
  946. WINRT_IMPL_AUTO(void) LogEvent(param::hstring const& eventName) const;
  947. WINRT_IMPL_AUTO(void) LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const;
  948. WINRT_IMPL_AUTO(void) LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const;
  949. WINRT_IMPL_AUTO(void) LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const;
  950. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) StartActivity(param::hstring const& startEventName) const;
  951. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const;
  952. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const;
  953. WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const;
  954. };
  955. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingTarget>
  956. {
  957. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>;
  958. };
  959. template <typename D>
  960. struct consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs
  961. {
  962. [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const;
  963. [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel) TraceLevel() const;
  964. };
  965. template <> struct consume<winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs>
  966. {
  967. template <typename D> using type = consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs<D>;
  968. };
  969. }
  970. #endif