/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

Large files are truncated click here to view the full 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 er