windows.system.threading.h 53 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096
  1. /*** Autogenerated by WIDL 7.7 from include/windows.system.threading.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __windows_system_threading_h__
  14. #define __windows_system_threading_h__
  15. /* Forward declarations */
  16. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_FWD_DEFINED__
  17. #define ____x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_FWD_DEFINED__
  18. typedef interface __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler;
  19. #ifdef __cplusplus
  20. #define __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler ABI::Windows::System::Threading::TimerElapsedHandler
  21. namespace ABI {
  22. namespace Windows {
  23. namespace System {
  24. namespace Threading {
  25. interface TimerElapsedHandler;
  26. }
  27. }
  28. }
  29. }
  30. #endif /* __cplusplus */
  31. #endif
  32. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_FWD_DEFINED__
  33. #define ____x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_FWD_DEFINED__
  34. typedef interface __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler;
  35. #ifdef __cplusplus
  36. #define __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler ABI::Windows::System::Threading::TimerDestroyedHandler
  37. namespace ABI {
  38. namespace Windows {
  39. namespace System {
  40. namespace Threading {
  41. interface TimerDestroyedHandler;
  42. }
  43. }
  44. }
  45. }
  46. #endif /* __cplusplus */
  47. #endif
  48. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_FWD_DEFINED__
  49. #define ____x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_FWD_DEFINED__
  50. typedef interface __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler;
  51. #ifdef __cplusplus
  52. #define __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler ABI::Windows::System::Threading::WorkItemHandler
  53. namespace ABI {
  54. namespace Windows {
  55. namespace System {
  56. namespace Threading {
  57. interface WorkItemHandler;
  58. }
  59. }
  60. }
  61. }
  62. #endif /* __cplusplus */
  63. #endif
  64. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_FWD_DEFINED__
  65. #define ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_FWD_DEFINED__
  66. typedef interface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics;
  67. #ifdef __cplusplus
  68. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics ABI::Windows::System::Threading::IThreadPoolStatics
  69. namespace ABI {
  70. namespace Windows {
  71. namespace System {
  72. namespace Threading {
  73. interface IThreadPoolStatics;
  74. }
  75. }
  76. }
  77. }
  78. #endif /* __cplusplus */
  79. #endif
  80. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_FWD_DEFINED__
  81. #define ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_FWD_DEFINED__
  82. typedef interface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer;
  83. #ifdef __cplusplus
  84. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer ABI::Windows::System::Threading::IThreadPoolTimer
  85. namespace ABI {
  86. namespace Windows {
  87. namespace System {
  88. namespace Threading {
  89. interface IThreadPoolTimer;
  90. }
  91. }
  92. }
  93. }
  94. #endif /* __cplusplus */
  95. #endif
  96. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_FWD_DEFINED__
  97. #define ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_FWD_DEFINED__
  98. typedef interface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics;
  99. #ifdef __cplusplus
  100. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics ABI::Windows::System::Threading::IThreadPoolTimerStatics
  101. namespace ABI {
  102. namespace Windows {
  103. namespace System {
  104. namespace Threading {
  105. interface IThreadPoolTimerStatics;
  106. }
  107. }
  108. }
  109. }
  110. #endif /* __cplusplus */
  111. #endif
  112. /* Headers for imported files */
  113. #include <inspectable.h>
  114. #include <windows.foundation.h>
  115. #ifdef __cplusplus
  116. extern "C" {
  117. #endif
  118. #ifndef ____x_ABI_CWindows_CFoundation_CIAsyncAction_FWD_DEFINED__
  119. #define ____x_ABI_CWindows_CFoundation_CIAsyncAction_FWD_DEFINED__
  120. typedef interface __x_ABI_CWindows_CFoundation_CIAsyncAction __x_ABI_CWindows_CFoundation_CIAsyncAction;
  121. #ifdef __cplusplus
  122. #define __x_ABI_CWindows_CFoundation_CIAsyncAction ABI::Windows::Foundation::IAsyncAction
  123. namespace ABI {
  124. namespace Windows {
  125. namespace Foundation {
  126. interface IAsyncAction;
  127. }
  128. }
  129. }
  130. #endif /* __cplusplus */
  131. #endif
  132. #ifndef __cplusplus
  133. typedef enum __x_ABI_CWindows_CSystem_CThreading_CWorkItemPriority __x_ABI_CWindows_CSystem_CThreading_CWorkItemPriority;
  134. #endif /* __cplusplus */
  135. #ifndef __cplusplus
  136. typedef enum __x_ABI_CWindows_CSystem_CThreading_CWorkItemOptions __x_ABI_CWindows_CSystem_CThreading_CWorkItemOptions;
  137. #endif /* __cplusplus */
  138. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_FWD_DEFINED__
  139. #define ____x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_FWD_DEFINED__
  140. typedef interface __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler;
  141. #ifdef __cplusplus
  142. #define __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler ABI::Windows::System::Threading::TimerElapsedHandler
  143. namespace ABI {
  144. namespace Windows {
  145. namespace System {
  146. namespace Threading {
  147. interface TimerElapsedHandler;
  148. }
  149. }
  150. }
  151. }
  152. #endif /* __cplusplus */
  153. #endif
  154. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_FWD_DEFINED__
  155. #define ____x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_FWD_DEFINED__
  156. typedef interface __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler;
  157. #ifdef __cplusplus
  158. #define __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler ABI::Windows::System::Threading::TimerDestroyedHandler
  159. namespace ABI {
  160. namespace Windows {
  161. namespace System {
  162. namespace Threading {
  163. interface TimerDestroyedHandler;
  164. }
  165. }
  166. }
  167. }
  168. #endif /* __cplusplus */
  169. #endif
  170. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_FWD_DEFINED__
  171. #define ____x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_FWD_DEFINED__
  172. typedef interface __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler;
  173. #ifdef __cplusplus
  174. #define __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler ABI::Windows::System::Threading::WorkItemHandler
  175. namespace ABI {
  176. namespace Windows {
  177. namespace System {
  178. namespace Threading {
  179. interface WorkItemHandler;
  180. }
  181. }
  182. }
  183. }
  184. #endif /* __cplusplus */
  185. #endif
  186. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_FWD_DEFINED__
  187. #define ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_FWD_DEFINED__
  188. typedef interface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics;
  189. #ifdef __cplusplus
  190. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics ABI::Windows::System::Threading::IThreadPoolStatics
  191. namespace ABI {
  192. namespace Windows {
  193. namespace System {
  194. namespace Threading {
  195. interface IThreadPoolStatics;
  196. }
  197. }
  198. }
  199. }
  200. #endif /* __cplusplus */
  201. #endif
  202. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_FWD_DEFINED__
  203. #define ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_FWD_DEFINED__
  204. typedef interface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer;
  205. #ifdef __cplusplus
  206. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer ABI::Windows::System::Threading::IThreadPoolTimer
  207. namespace ABI {
  208. namespace Windows {
  209. namespace System {
  210. namespace Threading {
  211. interface IThreadPoolTimer;
  212. }
  213. }
  214. }
  215. }
  216. #endif /* __cplusplus */
  217. #endif
  218. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_FWD_DEFINED__
  219. #define ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_FWD_DEFINED__
  220. typedef interface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics;
  221. #ifdef __cplusplus
  222. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics ABI::Windows::System::Threading::IThreadPoolTimerStatics
  223. namespace ABI {
  224. namespace Windows {
  225. namespace System {
  226. namespace Threading {
  227. interface IThreadPoolTimerStatics;
  228. }
  229. }
  230. }
  231. }
  232. #endif /* __cplusplus */
  233. #endif
  234. #ifdef __cplusplus
  235. } /* extern "C" */
  236. namespace ABI {
  237. namespace Windows {
  238. namespace System {
  239. namespace Threading {
  240. enum WorkItemPriority {
  241. WorkItemPriority_Low = -1,
  242. WorkItemPriority_Normal = 0,
  243. WorkItemPriority_High = 1
  244. };
  245. }
  246. }
  247. }
  248. }
  249. extern "C" {
  250. #else
  251. enum __x_ABI_CWindows_CSystem_CThreading_CWorkItemPriority {
  252. WorkItemPriority_Low = -1,
  253. WorkItemPriority_Normal = 0,
  254. WorkItemPriority_High = 1
  255. };
  256. #ifdef WIDL_using_Windows_System_Threading
  257. #define WorkItemPriority __x_ABI_CWindows_CSystem_CThreading_CWorkItemPriority
  258. #endif /* WIDL_using_Windows_System_Threading */
  259. #endif
  260. #ifdef __cplusplus
  261. } /* extern "C" */
  262. namespace ABI {
  263. namespace Windows {
  264. namespace System {
  265. namespace Threading {
  266. enum WorkItemOptions {
  267. WorkItemOptions_None = 0,
  268. WorkItemOptions_TimeSliced = 1
  269. };
  270. }
  271. }
  272. }
  273. }
  274. extern "C" {
  275. #else
  276. enum __x_ABI_CWindows_CSystem_CThreading_CWorkItemOptions {
  277. WorkItemOptions_None = 0,
  278. WorkItemOptions_TimeSliced = 1
  279. };
  280. #ifdef WIDL_using_Windows_System_Threading
  281. #define WorkItemOptions __x_ABI_CWindows_CSystem_CThreading_CWorkItemOptions
  282. #endif /* WIDL_using_Windows_System_Threading */
  283. #endif
  284. /*****************************************************************************
  285. * TimerElapsedHandler interface
  286. */
  287. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_INTERFACE_DEFINED__
  288. #define ____x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_INTERFACE_DEFINED__
  289. DEFINE_GUID(IID___x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler, 0xfaaea667, 0xfbeb, 0x49cb, 0xad,0xb2, 0x71,0x18,0x4c,0x55,0x6e,0x43);
  290. #if defined(__cplusplus) && !defined(CINTERFACE)
  291. } /* extern "C" */
  292. namespace ABI {
  293. namespace Windows {
  294. namespace System {
  295. namespace Threading {
  296. MIDL_INTERFACE("faaea667-fbeb-49cb-adb2-71184c556e43")
  297. TimerElapsedHandler : public IUnknown
  298. {
  299. virtual HRESULT STDMETHODCALLTYPE Invoke(
  300. ABI::Windows::System::Threading::IThreadPoolTimer *timer) = 0;
  301. };
  302. }
  303. }
  304. }
  305. }
  306. extern "C" {
  307. #ifdef __CRT_UUID_DECL
  308. __CRT_UUID_DECL(__x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler, 0xfaaea667, 0xfbeb, 0x49cb, 0xad,0xb2, 0x71,0x18,0x4c,0x55,0x6e,0x43)
  309. #endif
  310. #else
  311. typedef struct __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandlerVtbl {
  312. BEGIN_INTERFACE
  313. /*** IUnknown methods ***/
  314. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  315. __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *This,
  316. REFIID riid,
  317. void **ppvObject);
  318. ULONG (STDMETHODCALLTYPE *AddRef)(
  319. __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *This);
  320. ULONG (STDMETHODCALLTYPE *Release)(
  321. __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *This);
  322. /*** TimerElapsedHandler methods ***/
  323. HRESULT (STDMETHODCALLTYPE *Invoke)(
  324. __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *This,
  325. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *timer);
  326. END_INTERFACE
  327. } __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandlerVtbl;
  328. interface __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler {
  329. CONST_VTBL __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandlerVtbl* lpVtbl;
  330. };
  331. #ifdef COBJMACROS
  332. #ifndef WIDL_C_INLINE_WRAPPERS
  333. /*** IUnknown methods ***/
  334. #define __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  335. #define __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
  336. #define __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_Release(This) (This)->lpVtbl->Release(This)
  337. /*** TimerElapsedHandler methods ***/
  338. #define __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_Invoke(This,timer) (This)->lpVtbl->Invoke(This,timer)
  339. #else
  340. /*** IUnknown methods ***/
  341. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_QueryInterface(__x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler* This,REFIID riid,void **ppvObject) {
  342. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  343. }
  344. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_AddRef(__x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler* This) {
  345. return This->lpVtbl->AddRef(This);
  346. }
  347. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_Release(__x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler* This) {
  348. return This->lpVtbl->Release(This);
  349. }
  350. /*** TimerElapsedHandler methods ***/
  351. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_Invoke(__x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler* This,__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *timer) {
  352. return This->lpVtbl->Invoke(This,timer);
  353. }
  354. #endif
  355. #ifdef WIDL_using_Windows_System_Threading
  356. #define IID_TimerElapsedHandler IID___x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler
  357. #define TimerElapsedHandlerVtbl __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandlerVtbl
  358. #define TimerElapsedHandler __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler
  359. #define TimerElapsedHandler_QueryInterface __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_QueryInterface
  360. #define TimerElapsedHandler_AddRef __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_AddRef
  361. #define TimerElapsedHandler_Release __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_Release
  362. #define TimerElapsedHandler_Invoke __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_Invoke
  363. #endif /* WIDL_using_Windows_System_Threading */
  364. #endif
  365. #endif
  366. #endif /* ____x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler_INTERFACE_DEFINED__ */
  367. /*****************************************************************************
  368. * TimerDestroyedHandler interface
  369. */
  370. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_INTERFACE_DEFINED__
  371. #define ____x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_INTERFACE_DEFINED__
  372. DEFINE_GUID(IID___x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler, 0x34ed19fa, 0x8384, 0x4eb9, 0x82,0x09, 0xfb,0x50,0x94,0xee,0xec,0x35);
  373. #if defined(__cplusplus) && !defined(CINTERFACE)
  374. } /* extern "C" */
  375. namespace ABI {
  376. namespace Windows {
  377. namespace System {
  378. namespace Threading {
  379. MIDL_INTERFACE("34ed19fa-8384-4eb9-8209-fb5094eeec35")
  380. TimerDestroyedHandler : public IUnknown
  381. {
  382. virtual HRESULT STDMETHODCALLTYPE Invoke(
  383. ABI::Windows::System::Threading::IThreadPoolTimer *timer) = 0;
  384. };
  385. }
  386. }
  387. }
  388. }
  389. extern "C" {
  390. #ifdef __CRT_UUID_DECL
  391. __CRT_UUID_DECL(__x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler, 0x34ed19fa, 0x8384, 0x4eb9, 0x82,0x09, 0xfb,0x50,0x94,0xee,0xec,0x35)
  392. #endif
  393. #else
  394. typedef struct __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandlerVtbl {
  395. BEGIN_INTERFACE
  396. /*** IUnknown methods ***/
  397. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  398. __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler *This,
  399. REFIID riid,
  400. void **ppvObject);
  401. ULONG (STDMETHODCALLTYPE *AddRef)(
  402. __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler *This);
  403. ULONG (STDMETHODCALLTYPE *Release)(
  404. __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler *This);
  405. /*** TimerDestroyedHandler methods ***/
  406. HRESULT (STDMETHODCALLTYPE *Invoke)(
  407. __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler *This,
  408. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *timer);
  409. END_INTERFACE
  410. } __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandlerVtbl;
  411. interface __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler {
  412. CONST_VTBL __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandlerVtbl* lpVtbl;
  413. };
  414. #ifdef COBJMACROS
  415. #ifndef WIDL_C_INLINE_WRAPPERS
  416. /*** IUnknown methods ***/
  417. #define __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  418. #define __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
  419. #define __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_Release(This) (This)->lpVtbl->Release(This)
  420. /*** TimerDestroyedHandler methods ***/
  421. #define __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_Invoke(This,timer) (This)->lpVtbl->Invoke(This,timer)
  422. #else
  423. /*** IUnknown methods ***/
  424. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_QueryInterface(__x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler* This,REFIID riid,void **ppvObject) {
  425. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  426. }
  427. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_AddRef(__x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler* This) {
  428. return This->lpVtbl->AddRef(This);
  429. }
  430. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_Release(__x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler* This) {
  431. return This->lpVtbl->Release(This);
  432. }
  433. /*** TimerDestroyedHandler methods ***/
  434. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_Invoke(__x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler* This,__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *timer) {
  435. return This->lpVtbl->Invoke(This,timer);
  436. }
  437. #endif
  438. #ifdef WIDL_using_Windows_System_Threading
  439. #define IID_TimerDestroyedHandler IID___x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler
  440. #define TimerDestroyedHandlerVtbl __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandlerVtbl
  441. #define TimerDestroyedHandler __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler
  442. #define TimerDestroyedHandler_QueryInterface __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_QueryInterface
  443. #define TimerDestroyedHandler_AddRef __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_AddRef
  444. #define TimerDestroyedHandler_Release __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_Release
  445. #define TimerDestroyedHandler_Invoke __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_Invoke
  446. #endif /* WIDL_using_Windows_System_Threading */
  447. #endif
  448. #endif
  449. #endif /* ____x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler_INTERFACE_DEFINED__ */
  450. /*****************************************************************************
  451. * WorkItemHandler interface
  452. */
  453. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_INTERFACE_DEFINED__
  454. #define ____x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_INTERFACE_DEFINED__
  455. DEFINE_GUID(IID___x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler, 0x1d1a8b8b, 0xfa66, 0x414f, 0x9c,0xbd, 0xb6,0x5f,0xc9,0x9d,0x17,0xfa);
  456. #if defined(__cplusplus) && !defined(CINTERFACE)
  457. } /* extern "C" */
  458. namespace ABI {
  459. namespace Windows {
  460. namespace System {
  461. namespace Threading {
  462. MIDL_INTERFACE("1d1a8b8b-fa66-414f-9cbd-b65fc99d17fa")
  463. WorkItemHandler : public IUnknown
  464. {
  465. virtual HRESULT STDMETHODCALLTYPE Invoke(
  466. ABI::Windows::Foundation::IAsyncAction *operation) = 0;
  467. };
  468. }
  469. }
  470. }
  471. }
  472. extern "C" {
  473. #ifdef __CRT_UUID_DECL
  474. __CRT_UUID_DECL(__x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler, 0x1d1a8b8b, 0xfa66, 0x414f, 0x9c,0xbd, 0xb6,0x5f,0xc9,0x9d,0x17,0xfa)
  475. #endif
  476. #else
  477. typedef struct __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandlerVtbl {
  478. BEGIN_INTERFACE
  479. /*** IUnknown methods ***/
  480. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  481. __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler *This,
  482. REFIID riid,
  483. void **ppvObject);
  484. ULONG (STDMETHODCALLTYPE *AddRef)(
  485. __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler *This);
  486. ULONG (STDMETHODCALLTYPE *Release)(
  487. __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler *This);
  488. /*** WorkItemHandler methods ***/
  489. HRESULT (STDMETHODCALLTYPE *Invoke)(
  490. __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler *This,
  491. __x_ABI_CWindows_CFoundation_CIAsyncAction *operation);
  492. END_INTERFACE
  493. } __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandlerVtbl;
  494. interface __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler {
  495. CONST_VTBL __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandlerVtbl* lpVtbl;
  496. };
  497. #ifdef COBJMACROS
  498. #ifndef WIDL_C_INLINE_WRAPPERS
  499. /*** IUnknown methods ***/
  500. #define __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  501. #define __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
  502. #define __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_Release(This) (This)->lpVtbl->Release(This)
  503. /*** WorkItemHandler methods ***/
  504. #define __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_Invoke(This,operation) (This)->lpVtbl->Invoke(This,operation)
  505. #else
  506. /*** IUnknown methods ***/
  507. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_QueryInterface(__x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler* This,REFIID riid,void **ppvObject) {
  508. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  509. }
  510. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_AddRef(__x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler* This) {
  511. return This->lpVtbl->AddRef(This);
  512. }
  513. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_Release(__x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler* This) {
  514. return This->lpVtbl->Release(This);
  515. }
  516. /*** WorkItemHandler methods ***/
  517. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_Invoke(__x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler* This,__x_ABI_CWindows_CFoundation_CIAsyncAction *operation) {
  518. return This->lpVtbl->Invoke(This,operation);
  519. }
  520. #endif
  521. #ifdef WIDL_using_Windows_System_Threading
  522. #define IID_WorkItemHandler IID___x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler
  523. #define WorkItemHandlerVtbl __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandlerVtbl
  524. #define WorkItemHandler __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler
  525. #define WorkItemHandler_QueryInterface __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_QueryInterface
  526. #define WorkItemHandler_AddRef __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_AddRef
  527. #define WorkItemHandler_Release __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_Release
  528. #define WorkItemHandler_Invoke __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_Invoke
  529. #endif /* WIDL_using_Windows_System_Threading */
  530. #endif
  531. #endif
  532. #endif /* ____x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler_INTERFACE_DEFINED__ */
  533. /*****************************************************************************
  534. * IThreadPoolStatics interface
  535. */
  536. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_INTERFACE_DEFINED__
  537. #define ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_INTERFACE_DEFINED__
  538. DEFINE_GUID(IID___x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics, 0xb6bf67dd, 0x84bd, 0x44f8, 0xac,0x1c, 0x93,0xeb,0xcb,0x9d,0xba,0x91);
  539. #if defined(__cplusplus) && !defined(CINTERFACE)
  540. } /* extern "C" */
  541. namespace ABI {
  542. namespace Windows {
  543. namespace System {
  544. namespace Threading {
  545. MIDL_INTERFACE("b6bf67dd-84bd-44f8-ac1c-93ebcb9dba91")
  546. IThreadPoolStatics : public IInspectable
  547. {
  548. virtual HRESULT STDMETHODCALLTYPE RunAsync(
  549. ABI::Windows::System::Threading::WorkItemHandler *handler,
  550. ABI::Windows::Foundation::IAsyncAction **operation) = 0;
  551. virtual HRESULT STDMETHODCALLTYPE RunWithPriorityAsync(
  552. ABI::Windows::System::Threading::WorkItemHandler *handler,
  553. enum WorkItemPriority priority,
  554. ABI::Windows::Foundation::IAsyncAction **operation) = 0;
  555. virtual HRESULT STDMETHODCALLTYPE RunWithPriorityAndOptionsAsync(
  556. ABI::Windows::System::Threading::WorkItemHandler *handler,
  557. enum WorkItemPriority priority,
  558. enum WorkItemOptions options,
  559. ABI::Windows::Foundation::IAsyncAction **operation) = 0;
  560. };
  561. }
  562. }
  563. }
  564. }
  565. extern "C" {
  566. #ifdef __CRT_UUID_DECL
  567. __CRT_UUID_DECL(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics, 0xb6bf67dd, 0x84bd, 0x44f8, 0xac,0x1c, 0x93,0xeb,0xcb,0x9d,0xba,0x91)
  568. #endif
  569. #else
  570. typedef struct __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStaticsVtbl {
  571. BEGIN_INTERFACE
  572. /*** IUnknown methods ***/
  573. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  574. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics *This,
  575. REFIID riid,
  576. void **ppvObject);
  577. ULONG (STDMETHODCALLTYPE *AddRef)(
  578. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics *This);
  579. ULONG (STDMETHODCALLTYPE *Release)(
  580. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics *This);
  581. /*** IInspectable methods ***/
  582. HRESULT (STDMETHODCALLTYPE *GetIids)(
  583. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics *This,
  584. ULONG *iidCount,
  585. IID **iids);
  586. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  587. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics *This,
  588. HSTRING *className);
  589. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  590. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics *This,
  591. TrustLevel *trustLevel);
  592. /*** IThreadPoolStatics methods ***/
  593. HRESULT (STDMETHODCALLTYPE *RunAsync)(
  594. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics *This,
  595. __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler *handler,
  596. __x_ABI_CWindows_CFoundation_CIAsyncAction **operation);
  597. HRESULT (STDMETHODCALLTYPE *RunWithPriorityAsync)(
  598. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics *This,
  599. __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler *handler,
  600. enum __x_ABI_CWindows_CSystem_CThreading_CWorkItemPriority priority,
  601. __x_ABI_CWindows_CFoundation_CIAsyncAction **operation);
  602. HRESULT (STDMETHODCALLTYPE *RunWithPriorityAndOptionsAsync)(
  603. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics *This,
  604. __x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler *handler,
  605. enum __x_ABI_CWindows_CSystem_CThreading_CWorkItemPriority priority,
  606. enum __x_ABI_CWindows_CSystem_CThreading_CWorkItemOptions options,
  607. __x_ABI_CWindows_CFoundation_CIAsyncAction **operation);
  608. END_INTERFACE
  609. } __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStaticsVtbl;
  610. interface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics {
  611. CONST_VTBL __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStaticsVtbl* lpVtbl;
  612. };
  613. #ifdef COBJMACROS
  614. #ifndef WIDL_C_INLINE_WRAPPERS
  615. /*** IUnknown methods ***/
  616. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  617. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
  618. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_Release(This) (This)->lpVtbl->Release(This)
  619. /*** IInspectable methods ***/
  620. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  621. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  622. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  623. /*** IThreadPoolStatics methods ***/
  624. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_RunAsync(This,handler,operation) (This)->lpVtbl->RunAsync(This,handler,operation)
  625. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_RunWithPriorityAsync(This,handler,priority,operation) (This)->lpVtbl->RunWithPriorityAsync(This,handler,priority,operation)
  626. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_RunWithPriorityAndOptionsAsync(This,handler,priority,options,operation) (This)->lpVtbl->RunWithPriorityAndOptionsAsync(This,handler,priority,options,operation)
  627. #else
  628. /*** IUnknown methods ***/
  629. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_QueryInterface(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics* This,REFIID riid,void **ppvObject) {
  630. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  631. }
  632. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_AddRef(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics* This) {
  633. return This->lpVtbl->AddRef(This);
  634. }
  635. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_Release(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics* This) {
  636. return This->lpVtbl->Release(This);
  637. }
  638. /*** IInspectable methods ***/
  639. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_GetIids(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics* This,ULONG *iidCount,IID **iids) {
  640. return This->lpVtbl->GetIids(This,iidCount,iids);
  641. }
  642. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_GetRuntimeClassName(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics* This,HSTRING *className) {
  643. return This->lpVtbl->GetRuntimeClassName(This,className);
  644. }
  645. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_GetTrustLevel(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics* This,TrustLevel *trustLevel) {
  646. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  647. }
  648. /*** IThreadPoolStatics methods ***/
  649. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_RunAsync(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics* This,__x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler *handler,__x_ABI_CWindows_CFoundation_CIAsyncAction **operation) {
  650. return This->lpVtbl->RunAsync(This,handler,operation);
  651. }
  652. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_RunWithPriorityAsync(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics* This,__x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler *handler,enum __x_ABI_CWindows_CSystem_CThreading_CWorkItemPriority priority,__x_ABI_CWindows_CFoundation_CIAsyncAction **operation) {
  653. return This->lpVtbl->RunWithPriorityAsync(This,handler,priority,operation);
  654. }
  655. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_RunWithPriorityAndOptionsAsync(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics* This,__x_ABI_CWindows_CSystem_CThreading_CWorkItemHandler *handler,enum __x_ABI_CWindows_CSystem_CThreading_CWorkItemPriority priority,enum __x_ABI_CWindows_CSystem_CThreading_CWorkItemOptions options,__x_ABI_CWindows_CFoundation_CIAsyncAction **operation) {
  656. return This->lpVtbl->RunWithPriorityAndOptionsAsync(This,handler,priority,options,operation);
  657. }
  658. #endif
  659. #ifdef WIDL_using_Windows_System_Threading
  660. #define IID_IThreadPoolStatics IID___x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics
  661. #define IThreadPoolStaticsVtbl __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStaticsVtbl
  662. #define IThreadPoolStatics __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics
  663. #define IThreadPoolStatics_QueryInterface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_QueryInterface
  664. #define IThreadPoolStatics_AddRef __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_AddRef
  665. #define IThreadPoolStatics_Release __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_Release
  666. #define IThreadPoolStatics_GetIids __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_GetIids
  667. #define IThreadPoolStatics_GetRuntimeClassName __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_GetRuntimeClassName
  668. #define IThreadPoolStatics_GetTrustLevel __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_GetTrustLevel
  669. #define IThreadPoolStatics_RunAsync __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_RunAsync
  670. #define IThreadPoolStatics_RunWithPriorityAsync __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_RunWithPriorityAsync
  671. #define IThreadPoolStatics_RunWithPriorityAndOptionsAsync __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_RunWithPriorityAndOptionsAsync
  672. #endif /* WIDL_using_Windows_System_Threading */
  673. #endif
  674. #endif
  675. #endif /* ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolStatics_INTERFACE_DEFINED__ */
  676. /*****************************************************************************
  677. * IThreadPoolTimer interface
  678. */
  679. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_INTERFACE_DEFINED__
  680. #define ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_INTERFACE_DEFINED__
  681. DEFINE_GUID(IID___x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer, 0x594ebe78, 0x55ea, 0x4a88, 0xa5,0x0d, 0x34,0x02,0xae,0x1f,0x9c,0xf2);
  682. #if defined(__cplusplus) && !defined(CINTERFACE)
  683. } /* extern "C" */
  684. namespace ABI {
  685. namespace Windows {
  686. namespace System {
  687. namespace Threading {
  688. MIDL_INTERFACE("594ebe78-55ea-4a88-a50d-3402ae1f9cf2")
  689. IThreadPoolTimer : public IInspectable
  690. {
  691. virtual HRESULT STDMETHODCALLTYPE get_Period(
  692. struct TimeSpan *value) = 0;
  693. virtual HRESULT STDMETHODCALLTYPE get_Delay(
  694. struct TimeSpan *value) = 0;
  695. virtual HRESULT STDMETHODCALLTYPE Cancel(
  696. ) = 0;
  697. };
  698. }
  699. }
  700. }
  701. }
  702. extern "C" {
  703. #ifdef __CRT_UUID_DECL
  704. __CRT_UUID_DECL(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer, 0x594ebe78, 0x55ea, 0x4a88, 0xa5,0x0d, 0x34,0x02,0xae,0x1f,0x9c,0xf2)
  705. #endif
  706. #else
  707. typedef struct __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerVtbl {
  708. BEGIN_INTERFACE
  709. /*** IUnknown methods ***/
  710. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  711. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *This,
  712. REFIID riid,
  713. void **ppvObject);
  714. ULONG (STDMETHODCALLTYPE *AddRef)(
  715. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *This);
  716. ULONG (STDMETHODCALLTYPE *Release)(
  717. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *This);
  718. /*** IInspectable methods ***/
  719. HRESULT (STDMETHODCALLTYPE *GetIids)(
  720. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *This,
  721. ULONG *iidCount,
  722. IID **iids);
  723. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  724. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *This,
  725. HSTRING *className);
  726. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  727. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *This,
  728. TrustLevel *trustLevel);
  729. /*** IThreadPoolTimer methods ***/
  730. HRESULT (STDMETHODCALLTYPE *get_Period)(
  731. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *This,
  732. struct __x_ABI_CWindows_CFoundation_CTimeSpan *value);
  733. HRESULT (STDMETHODCALLTYPE *get_Delay)(
  734. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *This,
  735. struct __x_ABI_CWindows_CFoundation_CTimeSpan *value);
  736. HRESULT (STDMETHODCALLTYPE *Cancel)(
  737. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer *This);
  738. END_INTERFACE
  739. } __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerVtbl;
  740. interface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer {
  741. CONST_VTBL __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerVtbl* lpVtbl;
  742. };
  743. #ifdef COBJMACROS
  744. #ifndef WIDL_C_INLINE_WRAPPERS
  745. /*** IUnknown methods ***/
  746. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  747. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_AddRef(This) (This)->lpVtbl->AddRef(This)
  748. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_Release(This) (This)->lpVtbl->Release(This)
  749. /*** IInspectable methods ***/
  750. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  751. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  752. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  753. /*** IThreadPoolTimer methods ***/
  754. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_get_Period(This,value) (This)->lpVtbl->get_Period(This,value)
  755. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_get_Delay(This,value) (This)->lpVtbl->get_Delay(This,value)
  756. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_Cancel(This) (This)->lpVtbl->Cancel(This)
  757. #else
  758. /*** IUnknown methods ***/
  759. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_QueryInterface(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer* This,REFIID riid,void **ppvObject) {
  760. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  761. }
  762. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_AddRef(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer* This) {
  763. return This->lpVtbl->AddRef(This);
  764. }
  765. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_Release(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer* This) {
  766. return This->lpVtbl->Release(This);
  767. }
  768. /*** IInspectable methods ***/
  769. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_GetIids(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer* This,ULONG *iidCount,IID **iids) {
  770. return This->lpVtbl->GetIids(This,iidCount,iids);
  771. }
  772. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_GetRuntimeClassName(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer* This,HSTRING *className) {
  773. return This->lpVtbl->GetRuntimeClassName(This,className);
  774. }
  775. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_GetTrustLevel(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer* This,TrustLevel *trustLevel) {
  776. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  777. }
  778. /*** IThreadPoolTimer methods ***/
  779. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_get_Period(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer* This,struct __x_ABI_CWindows_CFoundation_CTimeSpan *value) {
  780. return This->lpVtbl->get_Period(This,value);
  781. }
  782. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_get_Delay(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer* This,struct __x_ABI_CWindows_CFoundation_CTimeSpan *value) {
  783. return This->lpVtbl->get_Delay(This,value);
  784. }
  785. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_Cancel(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer* This) {
  786. return This->lpVtbl->Cancel(This);
  787. }
  788. #endif
  789. #ifdef WIDL_using_Windows_System_Threading
  790. #define IID_IThreadPoolTimer IID___x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer
  791. #define IThreadPoolTimerVtbl __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerVtbl
  792. #define IThreadPoolTimer __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer
  793. #define IThreadPoolTimer_QueryInterface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_QueryInterface
  794. #define IThreadPoolTimer_AddRef __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_AddRef
  795. #define IThreadPoolTimer_Release __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_Release
  796. #define IThreadPoolTimer_GetIids __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_GetIids
  797. #define IThreadPoolTimer_GetRuntimeClassName __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_GetRuntimeClassName
  798. #define IThreadPoolTimer_GetTrustLevel __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_GetTrustLevel
  799. #define IThreadPoolTimer_get_Period __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_get_Period
  800. #define IThreadPoolTimer_get_Delay __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_get_Delay
  801. #define IThreadPoolTimer_Cancel __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_Cancel
  802. #endif /* WIDL_using_Windows_System_Threading */
  803. #endif
  804. #endif
  805. #endif /* ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer_INTERFACE_DEFINED__ */
  806. /*****************************************************************************
  807. * IThreadPoolTimerStatics interface
  808. */
  809. #ifndef ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_INTERFACE_DEFINED__
  810. #define ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_INTERFACE_DEFINED__
  811. DEFINE_GUID(IID___x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics, 0x1a8a9d02, 0xe482, 0x461b, 0xb8,0xc7, 0x8e,0xfa,0xd1,0xcc,0xe5,0x90);
  812. #if defined(__cplusplus) && !defined(CINTERFACE)
  813. } /* extern "C" */
  814. namespace ABI {
  815. namespace Windows {
  816. namespace System {
  817. namespace Threading {
  818. MIDL_INTERFACE("1a8a9d02-e482-461b-b8c7-8efad1cce590")
  819. IThreadPoolTimerStatics : public IInspectable
  820. {
  821. virtual HRESULT STDMETHODCALLTYPE CreatePeriodicTimer(
  822. ABI::Windows::System::Threading::TimerElapsedHandler *handler,
  823. struct TimeSpan period,
  824. ABI::Windows::System::Threading::IThreadPoolTimer **timer) = 0;
  825. virtual HRESULT STDMETHODCALLTYPE CreateTimer(
  826. ABI::Windows::System::Threading::TimerElapsedHandler *handler,
  827. struct TimeSpan delay,
  828. ABI::Windows::System::Threading::IThreadPoolTimer **timer) = 0;
  829. virtual HRESULT STDMETHODCALLTYPE CreatePeriodicTimerWithCompletion(
  830. ABI::Windows::System::Threading::TimerElapsedHandler *handler,
  831. struct TimeSpan period,
  832. ABI::Windows::System::Threading::TimerDestroyedHandler *destroyed,
  833. ABI::Windows::System::Threading::IThreadPoolTimer **timer) = 0;
  834. virtual HRESULT STDMETHODCALLTYPE CreateTimerWithCompletion(
  835. ABI::Windows::System::Threading::TimerElapsedHandler *handler,
  836. struct TimeSpan delay,
  837. ABI::Windows::System::Threading::TimerDestroyedHandler *destroyed,
  838. ABI::Windows::System::Threading::IThreadPoolTimer **timer) = 0;
  839. };
  840. }
  841. }
  842. }
  843. }
  844. extern "C" {
  845. #ifdef __CRT_UUID_DECL
  846. __CRT_UUID_DECL(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics, 0x1a8a9d02, 0xe482, 0x461b, 0xb8,0xc7, 0x8e,0xfa,0xd1,0xcc,0xe5,0x90)
  847. #endif
  848. #else
  849. typedef struct __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStaticsVtbl {
  850. BEGIN_INTERFACE
  851. /*** IUnknown methods ***/
  852. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  853. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics *This,
  854. REFIID riid,
  855. void **ppvObject);
  856. ULONG (STDMETHODCALLTYPE *AddRef)(
  857. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics *This);
  858. ULONG (STDMETHODCALLTYPE *Release)(
  859. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics *This);
  860. /*** IInspectable methods ***/
  861. HRESULT (STDMETHODCALLTYPE *GetIids)(
  862. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics *This,
  863. ULONG *iidCount,
  864. IID **iids);
  865. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  866. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics *This,
  867. HSTRING *className);
  868. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  869. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics *This,
  870. TrustLevel *trustLevel);
  871. /*** IThreadPoolTimerStatics methods ***/
  872. HRESULT (STDMETHODCALLTYPE *CreatePeriodicTimer)(
  873. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics *This,
  874. __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *handler,
  875. struct __x_ABI_CWindows_CFoundation_CTimeSpan period,
  876. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer **timer);
  877. HRESULT (STDMETHODCALLTYPE *CreateTimer)(
  878. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics *This,
  879. __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *handler,
  880. struct __x_ABI_CWindows_CFoundation_CTimeSpan delay,
  881. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer **timer);
  882. HRESULT (STDMETHODCALLTYPE *CreatePeriodicTimerWithCompletion)(
  883. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics *This,
  884. __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *handler,
  885. struct __x_ABI_CWindows_CFoundation_CTimeSpan period,
  886. __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler *destroyed,
  887. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer **timer);
  888. HRESULT (STDMETHODCALLTYPE *CreateTimerWithCompletion)(
  889. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics *This,
  890. __x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *handler,
  891. struct __x_ABI_CWindows_CFoundation_CTimeSpan delay,
  892. __x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler *destroyed,
  893. __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer **timer);
  894. END_INTERFACE
  895. } __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStaticsVtbl;
  896. interface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics {
  897. CONST_VTBL __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStaticsVtbl* lpVtbl;
  898. };
  899. #ifdef COBJMACROS
  900. #ifndef WIDL_C_INLINE_WRAPPERS
  901. /*** IUnknown methods ***/
  902. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  903. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
  904. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_Release(This) (This)->lpVtbl->Release(This)
  905. /*** IInspectable methods ***/
  906. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  907. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  908. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  909. /*** IThreadPoolTimerStatics methods ***/
  910. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreatePeriodicTimer(This,handler,period,timer) (This)->lpVtbl->CreatePeriodicTimer(This,handler,period,timer)
  911. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreateTimer(This,handler,delay,timer) (This)->lpVtbl->CreateTimer(This,handler,delay,timer)
  912. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreatePeriodicTimerWithCompletion(This,handler,period,destroyed,timer) (This)->lpVtbl->CreatePeriodicTimerWithCompletion(This,handler,period,destroyed,timer)
  913. #define __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreateTimerWithCompletion(This,handler,delay,destroyed,timer) (This)->lpVtbl->CreateTimerWithCompletion(This,handler,delay,destroyed,timer)
  914. #else
  915. /*** IUnknown methods ***/
  916. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_QueryInterface(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics* This,REFIID riid,void **ppvObject) {
  917. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  918. }
  919. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_AddRef(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics* This) {
  920. return This->lpVtbl->AddRef(This);
  921. }
  922. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_Release(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics* This) {
  923. return This->lpVtbl->Release(This);
  924. }
  925. /*** IInspectable methods ***/
  926. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_GetIids(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics* This,ULONG *iidCount,IID **iids) {
  927. return This->lpVtbl->GetIids(This,iidCount,iids);
  928. }
  929. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_GetRuntimeClassName(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics* This,HSTRING *className) {
  930. return This->lpVtbl->GetRuntimeClassName(This,className);
  931. }
  932. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_GetTrustLevel(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics* This,TrustLevel *trustLevel) {
  933. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  934. }
  935. /*** IThreadPoolTimerStatics methods ***/
  936. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreatePeriodicTimer(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics* This,__x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *handler,struct __x_ABI_CWindows_CFoundation_CTimeSpan period,__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer **timer) {
  937. return This->lpVtbl->CreatePeriodicTimer(This,handler,period,timer);
  938. }
  939. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreateTimer(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics* This,__x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *handler,struct __x_ABI_CWindows_CFoundation_CTimeSpan delay,__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer **timer) {
  940. return This->lpVtbl->CreateTimer(This,handler,delay,timer);
  941. }
  942. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreatePeriodicTimerWithCompletion(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics* This,__x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *handler,struct __x_ABI_CWindows_CFoundation_CTimeSpan period,__x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler *destroyed,__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer **timer) {
  943. return This->lpVtbl->CreatePeriodicTimerWithCompletion(This,handler,period,destroyed,timer);
  944. }
  945. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreateTimerWithCompletion(__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics* This,__x_ABI_CWindows_CSystem_CThreading_CTimerElapsedHandler *handler,struct __x_ABI_CWindows_CFoundation_CTimeSpan delay,__x_ABI_CWindows_CSystem_CThreading_CTimerDestroyedHandler *destroyed,__x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimer **timer) {
  946. return This->lpVtbl->CreateTimerWithCompletion(This,handler,delay,destroyed,timer);
  947. }
  948. #endif
  949. #ifdef WIDL_using_Windows_System_Threading
  950. #define IID_IThreadPoolTimerStatics IID___x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics
  951. #define IThreadPoolTimerStaticsVtbl __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStaticsVtbl
  952. #define IThreadPoolTimerStatics __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics
  953. #define IThreadPoolTimerStatics_QueryInterface __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_QueryInterface
  954. #define IThreadPoolTimerStatics_AddRef __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_AddRef
  955. #define IThreadPoolTimerStatics_Release __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_Release
  956. #define IThreadPoolTimerStatics_GetIids __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_GetIids
  957. #define IThreadPoolTimerStatics_GetRuntimeClassName __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_GetRuntimeClassName
  958. #define IThreadPoolTimerStatics_GetTrustLevel __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_GetTrustLevel
  959. #define IThreadPoolTimerStatics_CreatePeriodicTimer __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreatePeriodicTimer
  960. #define IThreadPoolTimerStatics_CreateTimer __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreateTimer
  961. #define IThreadPoolTimerStatics_CreatePeriodicTimerWithCompletion __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreatePeriodicTimerWithCompletion
  962. #define IThreadPoolTimerStatics_CreateTimerWithCompletion __x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_CreateTimerWithCompletion
  963. #endif /* WIDL_using_Windows_System_Threading */
  964. #endif
  965. #endif
  966. #endif /* ____x_ABI_CWindows_CSystem_CThreading_CIThreadPoolTimerStatics_INTERFACE_DEFINED__ */
  967. /* Begin additional prototypes for all interfaces */
  968. /* End additional prototypes */
  969. #ifdef __cplusplus
  970. }
  971. #endif
  972. #endif /* __windows_system_threading_h__ */