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