1 | /*** Autogenerated by WIDL 6.4 from include/taskschd.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 __taskschd_h__
|
---|
17 | #define __taskschd_h__
|
---|
18 |
|
---|
19 | /* Forward declarations */
|
---|
20 |
|
---|
21 | #ifndef __ITaskService_FWD_DEFINED__
|
---|
22 | #define __ITaskService_FWD_DEFINED__
|
---|
23 | typedef interface ITaskService ITaskService;
|
---|
24 | #ifdef __cplusplus
|
---|
25 | interface ITaskService;
|
---|
26 | #endif /* __cplusplus */
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #ifndef __IRegisteredTask_FWD_DEFINED__
|
---|
30 | #define __IRegisteredTask_FWD_DEFINED__
|
---|
31 | typedef interface IRegisteredTask IRegisteredTask;
|
---|
32 | #ifdef __cplusplus
|
---|
33 | interface IRegisteredTask;
|
---|
34 | #endif /* __cplusplus */
|
---|
35 | #endif
|
---|
36 |
|
---|
37 | #ifndef __IRegisteredTaskCollection_FWD_DEFINED__
|
---|
38 | #define __IRegisteredTaskCollection_FWD_DEFINED__
|
---|
39 | typedef interface IRegisteredTaskCollection IRegisteredTaskCollection;
|
---|
40 | #ifdef __cplusplus
|
---|
41 | interface IRegisteredTaskCollection;
|
---|
42 | #endif /* __cplusplus */
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | #ifndef __IRegistrationInfo_FWD_DEFINED__
|
---|
46 | #define __IRegistrationInfo_FWD_DEFINED__
|
---|
47 | typedef interface IRegistrationInfo IRegistrationInfo;
|
---|
48 | #ifdef __cplusplus
|
---|
49 | interface IRegistrationInfo;
|
---|
50 | #endif /* __cplusplus */
|
---|
51 | #endif
|
---|
52 |
|
---|
53 | #ifndef __ITaskFolder_FWD_DEFINED__
|
---|
54 | #define __ITaskFolder_FWD_DEFINED__
|
---|
55 | typedef interface ITaskFolder ITaskFolder;
|
---|
56 | #ifdef __cplusplus
|
---|
57 | interface ITaskFolder;
|
---|
58 | #endif /* __cplusplus */
|
---|
59 | #endif
|
---|
60 |
|
---|
61 | #ifndef __ITaskFolderCollection_FWD_DEFINED__
|
---|
62 | #define __ITaskFolderCollection_FWD_DEFINED__
|
---|
63 | typedef interface ITaskFolderCollection ITaskFolderCollection;
|
---|
64 | #ifdef __cplusplus
|
---|
65 | interface ITaskFolderCollection;
|
---|
66 | #endif /* __cplusplus */
|
---|
67 | #endif
|
---|
68 |
|
---|
69 | #ifndef __ITaskDefinition_FWD_DEFINED__
|
---|
70 | #define __ITaskDefinition_FWD_DEFINED__
|
---|
71 | typedef interface ITaskDefinition ITaskDefinition;
|
---|
72 | #ifdef __cplusplus
|
---|
73 | interface ITaskDefinition;
|
---|
74 | #endif /* __cplusplus */
|
---|
75 | #endif
|
---|
76 |
|
---|
77 | #ifndef __ITaskSettings_FWD_DEFINED__
|
---|
78 | #define __ITaskSettings_FWD_DEFINED__
|
---|
79 | typedef interface ITaskSettings ITaskSettings;
|
---|
80 | #ifdef __cplusplus
|
---|
81 | interface ITaskSettings;
|
---|
82 | #endif /* __cplusplus */
|
---|
83 | #endif
|
---|
84 |
|
---|
85 | #ifndef __IIdleSettings_FWD_DEFINED__
|
---|
86 | #define __IIdleSettings_FWD_DEFINED__
|
---|
87 | typedef interface IIdleSettings IIdleSettings;
|
---|
88 | #ifdef __cplusplus
|
---|
89 | interface IIdleSettings;
|
---|
90 | #endif /* __cplusplus */
|
---|
91 | #endif
|
---|
92 |
|
---|
93 | #ifndef __IRunningTask_FWD_DEFINED__
|
---|
94 | #define __IRunningTask_FWD_DEFINED__
|
---|
95 | typedef interface IRunningTask IRunningTask;
|
---|
96 | #ifdef __cplusplus
|
---|
97 | interface IRunningTask;
|
---|
98 | #endif /* __cplusplus */
|
---|
99 | #endif
|
---|
100 |
|
---|
101 | #ifndef __IRunningTaskCollection_FWD_DEFINED__
|
---|
102 | #define __IRunningTaskCollection_FWD_DEFINED__
|
---|
103 | typedef interface IRunningTaskCollection IRunningTaskCollection;
|
---|
104 | #ifdef __cplusplus
|
---|
105 | interface IRunningTaskCollection;
|
---|
106 | #endif /* __cplusplus */
|
---|
107 | #endif
|
---|
108 |
|
---|
109 | #ifndef __ITrigger_FWD_DEFINED__
|
---|
110 | #define __ITrigger_FWD_DEFINED__
|
---|
111 | typedef interface ITrigger ITrigger;
|
---|
112 | #ifdef __cplusplus
|
---|
113 | interface ITrigger;
|
---|
114 | #endif /* __cplusplus */
|
---|
115 | #endif
|
---|
116 |
|
---|
117 | #ifndef __IDailyTrigger_FWD_DEFINED__
|
---|
118 | #define __IDailyTrigger_FWD_DEFINED__
|
---|
119 | typedef interface IDailyTrigger IDailyTrigger;
|
---|
120 | #ifdef __cplusplus
|
---|
121 | interface IDailyTrigger;
|
---|
122 | #endif /* __cplusplus */
|
---|
123 | #endif
|
---|
124 |
|
---|
125 | #ifndef __ITriggerCollection_FWD_DEFINED__
|
---|
126 | #define __ITriggerCollection_FWD_DEFINED__
|
---|
127 | typedef interface ITriggerCollection ITriggerCollection;
|
---|
128 | #ifdef __cplusplus
|
---|
129 | interface ITriggerCollection;
|
---|
130 | #endif /* __cplusplus */
|
---|
131 | #endif
|
---|
132 |
|
---|
133 | #ifndef __ITimeTrigger_FWD_DEFINED__
|
---|
134 | #define __ITimeTrigger_FWD_DEFINED__
|
---|
135 | typedef interface ITimeTrigger ITimeTrigger;
|
---|
136 | #ifdef __cplusplus
|
---|
137 | interface ITimeTrigger;
|
---|
138 | #endif /* __cplusplus */
|
---|
139 | #endif
|
---|
140 |
|
---|
141 | #ifndef __IRepetitionPattern_FWD_DEFINED__
|
---|
142 | #define __IRepetitionPattern_FWD_DEFINED__
|
---|
143 | typedef interface IRepetitionPattern IRepetitionPattern;
|
---|
144 | #ifdef __cplusplus
|
---|
145 | interface IRepetitionPattern;
|
---|
146 | #endif /* __cplusplus */
|
---|
147 | #endif
|
---|
148 |
|
---|
149 | #ifndef __IAction_FWD_DEFINED__
|
---|
150 | #define __IAction_FWD_DEFINED__
|
---|
151 | typedef interface IAction IAction;
|
---|
152 | #ifdef __cplusplus
|
---|
153 | interface IAction;
|
---|
154 | #endif /* __cplusplus */
|
---|
155 | #endif
|
---|
156 |
|
---|
157 | #ifndef __IActionCollection_FWD_DEFINED__
|
---|
158 | #define __IActionCollection_FWD_DEFINED__
|
---|
159 | typedef interface IActionCollection IActionCollection;
|
---|
160 | #ifdef __cplusplus
|
---|
161 | interface IActionCollection;
|
---|
162 | #endif /* __cplusplus */
|
---|
163 | #endif
|
---|
164 |
|
---|
165 | #ifndef __IExecAction_FWD_DEFINED__
|
---|
166 | #define __IExecAction_FWD_DEFINED__
|
---|
167 | typedef interface IExecAction IExecAction;
|
---|
168 | #ifdef __cplusplus
|
---|
169 | interface IExecAction;
|
---|
170 | #endif /* __cplusplus */
|
---|
171 | #endif
|
---|
172 |
|
---|
173 | #ifndef __INetworkSettings_FWD_DEFINED__
|
---|
174 | #define __INetworkSettings_FWD_DEFINED__
|
---|
175 | typedef interface INetworkSettings INetworkSettings;
|
---|
176 | #ifdef __cplusplus
|
---|
177 | interface INetworkSettings;
|
---|
178 | #endif /* __cplusplus */
|
---|
179 | #endif
|
---|
180 |
|
---|
181 | #ifndef __IPrincipal_FWD_DEFINED__
|
---|
182 | #define __IPrincipal_FWD_DEFINED__
|
---|
183 | typedef interface IPrincipal IPrincipal;
|
---|
184 | #ifdef __cplusplus
|
---|
185 | interface IPrincipal;
|
---|
186 | #endif /* __cplusplus */
|
---|
187 | #endif
|
---|
188 |
|
---|
189 | #ifndef __TaskScheduler_FWD_DEFINED__
|
---|
190 | #define __TaskScheduler_FWD_DEFINED__
|
---|
191 | #ifdef __cplusplus
|
---|
192 | typedef class TaskScheduler TaskScheduler;
|
---|
193 | #else
|
---|
194 | typedef struct TaskScheduler TaskScheduler;
|
---|
195 | #endif /* defined __cplusplus */
|
---|
196 | #endif /* defined __TaskScheduler_FWD_DEFINED__ */
|
---|
197 |
|
---|
198 | /* Headers for imported files */
|
---|
199 |
|
---|
200 | #include <oaidl.h>
|
---|
201 | #include <ocidl.h>
|
---|
202 |
|
---|
203 | #ifdef __cplusplus
|
---|
204 | extern "C" {
|
---|
205 | #endif
|
---|
206 |
|
---|
207 | #ifndef __TaskScheduler_LIBRARY_DEFINED__
|
---|
208 | #define __TaskScheduler_LIBRARY_DEFINED__
|
---|
209 |
|
---|
210 | DEFINE_GUID(LIBID_TaskScheduler, 0xe34cb9f1, 0xc7f7, 0x424c, 0xbe,0x29, 0x02,0x7d,0xcc,0x09,0x36,0x3a);
|
---|
211 |
|
---|
212 | typedef enum _TASK_STATE {
|
---|
213 | TASK_STATE_UNKNOWN = 0,
|
---|
214 | TASK_STATE_DISABLED = 1,
|
---|
215 | TASK_STATE_QUEUED = 2,
|
---|
216 | TASK_STATE_READY = 3,
|
---|
217 | TASK_STATE_RUNNING = 4
|
---|
218 | } TASK_STATE;
|
---|
219 | typedef enum _TASK_ENUM_FLAGS {
|
---|
220 | TASK_ENUM_HIDDEN = 0x1
|
---|
221 | } TASK_ENUM_FLAGS;
|
---|
222 | typedef enum _TASK_LOGON_TYPE {
|
---|
223 | TASK_LOGON_NONE = 0,
|
---|
224 | TASK_LOGON_PASSWORD = 1,
|
---|
225 | TASK_LOGON_S4U = 2,
|
---|
226 | TASK_LOGON_INTERACTIVE_TOKEN = 3,
|
---|
227 | TASK_LOGON_GROUP = 4,
|
---|
228 | TASK_LOGON_SERVICE_ACCOUNT = 5,
|
---|
229 | TASK_LOGON_INTERACTIVE_TOKEN_OR_PASSWORD = 6
|
---|
230 | } TASK_LOGON_TYPE;
|
---|
231 | typedef enum _TASK_RUNLEVEL {
|
---|
232 | TASK_RUNLEVEL_LUA = 0,
|
---|
233 | TASK_RUNLEVEL_HIGHEST = 1
|
---|
234 | } TASK_RUNLEVEL_TYPE;
|
---|
235 | typedef enum _TASK_TRIGGER_TYPE2 {
|
---|
236 | TASK_TRIGGER_EVENT = 0,
|
---|
237 | TASK_TRIGGER_TIME = 1,
|
---|
238 | TASK_TRIGGER_DAILY = 2,
|
---|
239 | TASK_TRIGGER_WEEKLY = 3,
|
---|
240 | TASK_TRIGGER_MONTHLY = 4,
|
---|
241 | TASK_TRIGGER_MONTHLYDOW = 5,
|
---|
242 | TASK_TRIGGER_IDLE = 6,
|
---|
243 | TASK_TRIGGER_REGISTRATION = 7,
|
---|
244 | TASK_TRIGGER_BOOT = 8,
|
---|
245 | TASK_TRIGGER_LOGON = 9,
|
---|
246 | TASK_TRIGGER_SESSION_STATE_CHANGE = 11
|
---|
247 | } TASK_TRIGGER_TYPE2;
|
---|
248 | typedef enum _TASK_ACTION_TYPE {
|
---|
249 | TASK_ACTION_EXEC = 0,
|
---|
250 | TASK_ACTION_COM_HANDLER = 5,
|
---|
251 | TASK_ACTION_SEND_EMAIL = 6,
|
---|
252 | TASK_ACTION_SHOW_MESSAGE = 7
|
---|
253 | } TASK_ACTION_TYPE;
|
---|
254 | typedef enum _TASK_INSTANCES_POLICY {
|
---|
255 | TASK_INSTANCES_PARALLEL = 0,
|
---|
256 | TASK_INSTANCES_QUEUE = 1,
|
---|
257 | TASK_INSTANCES_IGNORE_NEW = 2,
|
---|
258 | TASK_INSTANCES_STOP_EXISTING = 3
|
---|
259 | } TASK_INSTANCES_POLICY;
|
---|
260 | typedef enum _TASK_COMPATIBILITY {
|
---|
261 | TASK_COMPATIBILITY_AT = 0,
|
---|
262 | TASK_COMPATIBILITY_V1 = 1,
|
---|
263 | TASK_COMPATIBILITY_V2 = 2,
|
---|
264 | TASK_COMPATIBILITY_V2_1 = 3
|
---|
265 | } TASK_COMPATIBILITY;
|
---|
266 | typedef enum _TASK_CREATION {
|
---|
267 | TASK_VALIDATE_ONLY = 1,
|
---|
268 | TASK_CREATE = 2,
|
---|
269 | TASK_UPDATE = 4,
|
---|
270 | TASK_CREATE_OR_UPDATE = 6,
|
---|
271 | TASK_DISABLE = 8,
|
---|
272 | TASK_DONT_ADD_PRINCIPAL_ACE = 16,
|
---|
273 | TASK_IGNORE_REGISTRATION_TRIGGERS = 32
|
---|
274 | } TASK_CREATION;
|
---|
275 | #ifndef __ITaskService_FWD_DEFINED__
|
---|
276 | #define __ITaskService_FWD_DEFINED__
|
---|
277 | typedef interface ITaskService ITaskService;
|
---|
278 | #ifdef __cplusplus
|
---|
279 | interface ITaskService;
|
---|
280 | #endif /* __cplusplus */
|
---|
281 | #endif
|
---|
282 |
|
---|
283 | #ifndef __IRegisteredTask_FWD_DEFINED__
|
---|
284 | #define __IRegisteredTask_FWD_DEFINED__
|
---|
285 | typedef interface IRegisteredTask IRegisteredTask;
|
---|
286 | #ifdef __cplusplus
|
---|
287 | interface IRegisteredTask;
|
---|
288 | #endif /* __cplusplus */
|
---|
289 | #endif
|
---|
290 |
|
---|
291 | #ifndef __IRegisteredTaskCollection_FWD_DEFINED__
|
---|
292 | #define __IRegisteredTaskCollection_FWD_DEFINED__
|
---|
293 | typedef interface IRegisteredTaskCollection IRegisteredTaskCollection;
|
---|
294 | #ifdef __cplusplus
|
---|
295 | interface IRegisteredTaskCollection;
|
---|
296 | #endif /* __cplusplus */
|
---|
297 | #endif
|
---|
298 |
|
---|
299 | #ifndef __IRegistrationInfo_FWD_DEFINED__
|
---|
300 | #define __IRegistrationInfo_FWD_DEFINED__
|
---|
301 | typedef interface IRegistrationInfo IRegistrationInfo;
|
---|
302 | #ifdef __cplusplus
|
---|
303 | interface IRegistrationInfo;
|
---|
304 | #endif /* __cplusplus */
|
---|
305 | #endif
|
---|
306 |
|
---|
307 | #ifndef __ITaskFolder_FWD_DEFINED__
|
---|
308 | #define __ITaskFolder_FWD_DEFINED__
|
---|
309 | typedef interface ITaskFolder ITaskFolder;
|
---|
310 | #ifdef __cplusplus
|
---|
311 | interface ITaskFolder;
|
---|
312 | #endif /* __cplusplus */
|
---|
313 | #endif
|
---|
314 |
|
---|
315 | #ifndef __ITaskFolderCollection_FWD_DEFINED__
|
---|
316 | #define __ITaskFolderCollection_FWD_DEFINED__
|
---|
317 | typedef interface ITaskFolderCollection ITaskFolderCollection;
|
---|
318 | #ifdef __cplusplus
|
---|
319 | interface ITaskFolderCollection;
|
---|
320 | #endif /* __cplusplus */
|
---|
321 | #endif
|
---|
322 |
|
---|
323 | #ifndef __ITaskDefinition_FWD_DEFINED__
|
---|
324 | #define __ITaskDefinition_FWD_DEFINED__
|
---|
325 | typedef interface ITaskDefinition ITaskDefinition;
|
---|
326 | #ifdef __cplusplus
|
---|
327 | interface ITaskDefinition;
|
---|
328 | #endif /* __cplusplus */
|
---|
329 | #endif
|
---|
330 |
|
---|
331 | #ifndef __ITaskSettings_FWD_DEFINED__
|
---|
332 | #define __ITaskSettings_FWD_DEFINED__
|
---|
333 | typedef interface ITaskSettings ITaskSettings;
|
---|
334 | #ifdef __cplusplus
|
---|
335 | interface ITaskSettings;
|
---|
336 | #endif /* __cplusplus */
|
---|
337 | #endif
|
---|
338 |
|
---|
339 | #ifndef __IIdleSettings_FWD_DEFINED__
|
---|
340 | #define __IIdleSettings_FWD_DEFINED__
|
---|
341 | typedef interface IIdleSettings IIdleSettings;
|
---|
342 | #ifdef __cplusplus
|
---|
343 | interface IIdleSettings;
|
---|
344 | #endif /* __cplusplus */
|
---|
345 | #endif
|
---|
346 |
|
---|
347 | #ifndef __IRunningTask_FWD_DEFINED__
|
---|
348 | #define __IRunningTask_FWD_DEFINED__
|
---|
349 | typedef interface IRunningTask IRunningTask;
|
---|
350 | #ifdef __cplusplus
|
---|
351 | interface IRunningTask;
|
---|
352 | #endif /* __cplusplus */
|
---|
353 | #endif
|
---|
354 |
|
---|
355 | #ifndef __IRunningTaskCollection_FWD_DEFINED__
|
---|
356 | #define __IRunningTaskCollection_FWD_DEFINED__
|
---|
357 | typedef interface IRunningTaskCollection IRunningTaskCollection;
|
---|
358 | #ifdef __cplusplus
|
---|
359 | interface IRunningTaskCollection;
|
---|
360 | #endif /* __cplusplus */
|
---|
361 | #endif
|
---|
362 |
|
---|
363 | #ifndef __ITrigger_FWD_DEFINED__
|
---|
364 | #define __ITrigger_FWD_DEFINED__
|
---|
365 | typedef interface ITrigger ITrigger;
|
---|
366 | #ifdef __cplusplus
|
---|
367 | interface ITrigger;
|
---|
368 | #endif /* __cplusplus */
|
---|
369 | #endif
|
---|
370 |
|
---|
371 | #ifndef __ITriggerCollection_FWD_DEFINED__
|
---|
372 | #define __ITriggerCollection_FWD_DEFINED__
|
---|
373 | typedef interface ITriggerCollection ITriggerCollection;
|
---|
374 | #ifdef __cplusplus
|
---|
375 | interface ITriggerCollection;
|
---|
376 | #endif /* __cplusplus */
|
---|
377 | #endif
|
---|
378 |
|
---|
379 | #ifndef __ITimeTrigger_FWD_DEFINED__
|
---|
380 | #define __ITimeTrigger_FWD_DEFINED__
|
---|
381 | typedef interface ITimeTrigger ITimeTrigger;
|
---|
382 | #ifdef __cplusplus
|
---|
383 | interface ITimeTrigger;
|
---|
384 | #endif /* __cplusplus */
|
---|
385 | #endif
|
---|
386 |
|
---|
387 | #ifndef __IRepetitionPattern_FWD_DEFINED__
|
---|
388 | #define __IRepetitionPattern_FWD_DEFINED__
|
---|
389 | typedef interface IRepetitionPattern IRepetitionPattern;
|
---|
390 | #ifdef __cplusplus
|
---|
391 | interface IRepetitionPattern;
|
---|
392 | #endif /* __cplusplus */
|
---|
393 | #endif
|
---|
394 |
|
---|
395 | #ifndef __IAction_FWD_DEFINED__
|
---|
396 | #define __IAction_FWD_DEFINED__
|
---|
397 | typedef interface IAction IAction;
|
---|
398 | #ifdef __cplusplus
|
---|
399 | interface IAction;
|
---|
400 | #endif /* __cplusplus */
|
---|
401 | #endif
|
---|
402 |
|
---|
403 | #ifndef __IActionCollection_FWD_DEFINED__
|
---|
404 | #define __IActionCollection_FWD_DEFINED__
|
---|
405 | typedef interface IActionCollection IActionCollection;
|
---|
406 | #ifdef __cplusplus
|
---|
407 | interface IActionCollection;
|
---|
408 | #endif /* __cplusplus */
|
---|
409 | #endif
|
---|
410 |
|
---|
411 | #ifndef __IExecAction_FWD_DEFINED__
|
---|
412 | #define __IExecAction_FWD_DEFINED__
|
---|
413 | typedef interface IExecAction IExecAction;
|
---|
414 | #ifdef __cplusplus
|
---|
415 | interface IExecAction;
|
---|
416 | #endif /* __cplusplus */
|
---|
417 | #endif
|
---|
418 |
|
---|
419 | #ifndef __INetworkSettings_FWD_DEFINED__
|
---|
420 | #define __INetworkSettings_FWD_DEFINED__
|
---|
421 | typedef interface INetworkSettings INetworkSettings;
|
---|
422 | #ifdef __cplusplus
|
---|
423 | interface INetworkSettings;
|
---|
424 | #endif /* __cplusplus */
|
---|
425 | #endif
|
---|
426 |
|
---|
427 | #ifndef __IPrincipal_FWD_DEFINED__
|
---|
428 | #define __IPrincipal_FWD_DEFINED__
|
---|
429 | typedef interface IPrincipal IPrincipal;
|
---|
430 | #ifdef __cplusplus
|
---|
431 | interface IPrincipal;
|
---|
432 | #endif /* __cplusplus */
|
---|
433 | #endif
|
---|
434 |
|
---|
435 | /*****************************************************************************
|
---|
436 | * ITaskService interface
|
---|
437 | */
|
---|
438 | #ifndef __ITaskService_INTERFACE_DEFINED__
|
---|
439 | #define __ITaskService_INTERFACE_DEFINED__
|
---|
440 |
|
---|
441 | DEFINE_GUID(IID_ITaskService, 0x2faba4c7, 0x4da9, 0x4013, 0x96,0x97, 0x20,0xcc,0x3f,0xd4,0x0f,0x85);
|
---|
442 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
443 | MIDL_INTERFACE("2faba4c7-4da9-4013-9697-20cc3fd40f85")
|
---|
444 | ITaskService : public IDispatch
|
---|
445 | {
|
---|
446 | virtual HRESULT STDMETHODCALLTYPE GetFolder(
|
---|
447 | BSTR path,
|
---|
448 | ITaskFolder **folder) = 0;
|
---|
449 |
|
---|
450 | virtual HRESULT STDMETHODCALLTYPE GetRunningTasks(
|
---|
451 | LONG flags,
|
---|
452 | IRunningTaskCollection **tasks) = 0;
|
---|
453 |
|
---|
454 | virtual HRESULT STDMETHODCALLTYPE NewTask(
|
---|
455 | DWORD flags,
|
---|
456 | ITaskDefinition **definition) = 0;
|
---|
457 |
|
---|
458 | virtual HRESULT STDMETHODCALLTYPE Connect(
|
---|
459 | VARIANT server,
|
---|
460 | VARIANT user,
|
---|
461 | VARIANT domain,
|
---|
462 | VARIANT password) = 0;
|
---|
463 |
|
---|
464 | virtual HRESULT STDMETHODCALLTYPE get_Connected(
|
---|
465 | VARIANT_BOOL *connected) = 0;
|
---|
466 |
|
---|
467 | virtual HRESULT STDMETHODCALLTYPE get_TargetServer(
|
---|
468 | BSTR *server) = 0;
|
---|
469 |
|
---|
470 | virtual HRESULT STDMETHODCALLTYPE get_ConnectedUser(
|
---|
471 | BSTR *user) = 0;
|
---|
472 |
|
---|
473 | virtual HRESULT STDMETHODCALLTYPE get_ConnectedDomain(
|
---|
474 | BSTR *domain) = 0;
|
---|
475 |
|
---|
476 | virtual HRESULT STDMETHODCALLTYPE get_HighestVersion(
|
---|
477 | DWORD *version) = 0;
|
---|
478 |
|
---|
479 | };
|
---|
480 | #ifdef __CRT_UUID_DECL
|
---|
481 | __CRT_UUID_DECL(ITaskService, 0x2faba4c7, 0x4da9, 0x4013, 0x96,0x97, 0x20,0xcc,0x3f,0xd4,0x0f,0x85)
|
---|
482 | #endif
|
---|
483 | #else
|
---|
484 | typedef struct ITaskServiceVtbl {
|
---|
485 | BEGIN_INTERFACE
|
---|
486 |
|
---|
487 | /*** IUnknown methods ***/
|
---|
488 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
489 | ITaskService *This,
|
---|
490 | REFIID riid,
|
---|
491 | void **ppvObject);
|
---|
492 |
|
---|
493 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
494 | ITaskService *This);
|
---|
495 |
|
---|
496 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
497 | ITaskService *This);
|
---|
498 |
|
---|
499 | /*** IDispatch methods ***/
|
---|
500 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
501 | ITaskService *This,
|
---|
502 | UINT *pctinfo);
|
---|
503 |
|
---|
504 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
505 | ITaskService *This,
|
---|
506 | UINT iTInfo,
|
---|
507 | LCID lcid,
|
---|
508 | ITypeInfo **ppTInfo);
|
---|
509 |
|
---|
510 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
511 | ITaskService *This,
|
---|
512 | REFIID riid,
|
---|
513 | LPOLESTR *rgszNames,
|
---|
514 | UINT cNames,
|
---|
515 | LCID lcid,
|
---|
516 | DISPID *rgDispId);
|
---|
517 |
|
---|
518 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
519 | ITaskService *This,
|
---|
520 | DISPID dispIdMember,
|
---|
521 | REFIID riid,
|
---|
522 | LCID lcid,
|
---|
523 | WORD wFlags,
|
---|
524 | DISPPARAMS *pDispParams,
|
---|
525 | VARIANT *pVarResult,
|
---|
526 | EXCEPINFO *pExcepInfo,
|
---|
527 | UINT *puArgErr);
|
---|
528 |
|
---|
529 | /*** ITaskService methods ***/
|
---|
530 | HRESULT (STDMETHODCALLTYPE *GetFolder)(
|
---|
531 | ITaskService *This,
|
---|
532 | BSTR path,
|
---|
533 | ITaskFolder **folder);
|
---|
534 |
|
---|
535 | HRESULT (STDMETHODCALLTYPE *GetRunningTasks)(
|
---|
536 | ITaskService *This,
|
---|
537 | LONG flags,
|
---|
538 | IRunningTaskCollection **tasks);
|
---|
539 |
|
---|
540 | HRESULT (STDMETHODCALLTYPE *NewTask)(
|
---|
541 | ITaskService *This,
|
---|
542 | DWORD flags,
|
---|
543 | ITaskDefinition **definition);
|
---|
544 |
|
---|
545 | HRESULT (STDMETHODCALLTYPE *Connect)(
|
---|
546 | ITaskService *This,
|
---|
547 | VARIANT server,
|
---|
548 | VARIANT user,
|
---|
549 | VARIANT domain,
|
---|
550 | VARIANT password);
|
---|
551 |
|
---|
552 | HRESULT (STDMETHODCALLTYPE *get_Connected)(
|
---|
553 | ITaskService *This,
|
---|
554 | VARIANT_BOOL *connected);
|
---|
555 |
|
---|
556 | HRESULT (STDMETHODCALLTYPE *get_TargetServer)(
|
---|
557 | ITaskService *This,
|
---|
558 | BSTR *server);
|
---|
559 |
|
---|
560 | HRESULT (STDMETHODCALLTYPE *get_ConnectedUser)(
|
---|
561 | ITaskService *This,
|
---|
562 | BSTR *user);
|
---|
563 |
|
---|
564 | HRESULT (STDMETHODCALLTYPE *get_ConnectedDomain)(
|
---|
565 | ITaskService *This,
|
---|
566 | BSTR *domain);
|
---|
567 |
|
---|
568 | HRESULT (STDMETHODCALLTYPE *get_HighestVersion)(
|
---|
569 | ITaskService *This,
|
---|
570 | DWORD *version);
|
---|
571 |
|
---|
572 | END_INTERFACE
|
---|
573 | } ITaskServiceVtbl;
|
---|
574 |
|
---|
575 | interface ITaskService {
|
---|
576 | CONST_VTBL ITaskServiceVtbl* lpVtbl;
|
---|
577 | };
|
---|
578 |
|
---|
579 | #ifdef COBJMACROS
|
---|
580 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
581 | /*** IUnknown methods ***/
|
---|
582 | #define ITaskService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
583 | #define ITaskService_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
584 | #define ITaskService_Release(This) (This)->lpVtbl->Release(This)
|
---|
585 | /*** IDispatch methods ***/
|
---|
586 | #define ITaskService_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
587 | #define ITaskService_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
588 | #define ITaskService_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
589 | #define ITaskService_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
590 | /*** ITaskService methods ***/
|
---|
591 | #define ITaskService_GetFolder(This,path,folder) (This)->lpVtbl->GetFolder(This,path,folder)
|
---|
592 | #define ITaskService_GetRunningTasks(This,flags,tasks) (This)->lpVtbl->GetRunningTasks(This,flags,tasks)
|
---|
593 | #define ITaskService_NewTask(This,flags,definition) (This)->lpVtbl->NewTask(This,flags,definition)
|
---|
594 | #define ITaskService_Connect(This,server,user,domain,password) (This)->lpVtbl->Connect(This,server,user,domain,password)
|
---|
595 | #define ITaskService_get_Connected(This,connected) (This)->lpVtbl->get_Connected(This,connected)
|
---|
596 | #define ITaskService_get_TargetServer(This,server) (This)->lpVtbl->get_TargetServer(This,server)
|
---|
597 | #define ITaskService_get_ConnectedUser(This,user) (This)->lpVtbl->get_ConnectedUser(This,user)
|
---|
598 | #define ITaskService_get_ConnectedDomain(This,domain) (This)->lpVtbl->get_ConnectedDomain(This,domain)
|
---|
599 | #define ITaskService_get_HighestVersion(This,version) (This)->lpVtbl->get_HighestVersion(This,version)
|
---|
600 | #else
|
---|
601 | /*** IUnknown methods ***/
|
---|
602 | static FORCEINLINE HRESULT ITaskService_QueryInterface(ITaskService* This,REFIID riid,void **ppvObject) {
|
---|
603 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
604 | }
|
---|
605 | static FORCEINLINE ULONG ITaskService_AddRef(ITaskService* This) {
|
---|
606 | return This->lpVtbl->AddRef(This);
|
---|
607 | }
|
---|
608 | static FORCEINLINE ULONG ITaskService_Release(ITaskService* This) {
|
---|
609 | return This->lpVtbl->Release(This);
|
---|
610 | }
|
---|
611 | /*** IDispatch methods ***/
|
---|
612 | static FORCEINLINE HRESULT ITaskService_GetTypeInfoCount(ITaskService* This,UINT *pctinfo) {
|
---|
613 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
614 | }
|
---|
615 | static FORCEINLINE HRESULT ITaskService_GetTypeInfo(ITaskService* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
616 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
617 | }
|
---|
618 | static FORCEINLINE HRESULT ITaskService_GetIDsOfNames(ITaskService* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
619 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
620 | }
|
---|
621 | static FORCEINLINE HRESULT ITaskService_Invoke(ITaskService* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
622 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
623 | }
|
---|
624 | /*** ITaskService methods ***/
|
---|
625 | static FORCEINLINE HRESULT ITaskService_GetFolder(ITaskService* This,BSTR path,ITaskFolder **folder) {
|
---|
626 | return This->lpVtbl->GetFolder(This,path,folder);
|
---|
627 | }
|
---|
628 | static FORCEINLINE HRESULT ITaskService_GetRunningTasks(ITaskService* This,LONG flags,IRunningTaskCollection **tasks) {
|
---|
629 | return This->lpVtbl->GetRunningTasks(This,flags,tasks);
|
---|
630 | }
|
---|
631 | static FORCEINLINE HRESULT ITaskService_NewTask(ITaskService* This,DWORD flags,ITaskDefinition **definition) {
|
---|
632 | return This->lpVtbl->NewTask(This,flags,definition);
|
---|
633 | }
|
---|
634 | static FORCEINLINE HRESULT ITaskService_Connect(ITaskService* This,VARIANT server,VARIANT user,VARIANT domain,VARIANT password) {
|
---|
635 | return This->lpVtbl->Connect(This,server,user,domain,password);
|
---|
636 | }
|
---|
637 | static FORCEINLINE HRESULT ITaskService_get_Connected(ITaskService* This,VARIANT_BOOL *connected) {
|
---|
638 | return This->lpVtbl->get_Connected(This,connected);
|
---|
639 | }
|
---|
640 | static FORCEINLINE HRESULT ITaskService_get_TargetServer(ITaskService* This,BSTR *server) {
|
---|
641 | return This->lpVtbl->get_TargetServer(This,server);
|
---|
642 | }
|
---|
643 | static FORCEINLINE HRESULT ITaskService_get_ConnectedUser(ITaskService* This,BSTR *user) {
|
---|
644 | return This->lpVtbl->get_ConnectedUser(This,user);
|
---|
645 | }
|
---|
646 | static FORCEINLINE HRESULT ITaskService_get_ConnectedDomain(ITaskService* This,BSTR *domain) {
|
---|
647 | return This->lpVtbl->get_ConnectedDomain(This,domain);
|
---|
648 | }
|
---|
649 | static FORCEINLINE HRESULT ITaskService_get_HighestVersion(ITaskService* This,DWORD *version) {
|
---|
650 | return This->lpVtbl->get_HighestVersion(This,version);
|
---|
651 | }
|
---|
652 | #endif
|
---|
653 | #endif
|
---|
654 |
|
---|
655 | #endif
|
---|
656 |
|
---|
657 |
|
---|
658 | #endif /* __ITaskService_INTERFACE_DEFINED__ */
|
---|
659 |
|
---|
660 | /*****************************************************************************
|
---|
661 | * IRegisteredTask interface
|
---|
662 | */
|
---|
663 | #ifndef __IRegisteredTask_INTERFACE_DEFINED__
|
---|
664 | #define __IRegisteredTask_INTERFACE_DEFINED__
|
---|
665 |
|
---|
666 | DEFINE_GUID(IID_IRegisteredTask, 0x9c86f320, 0xdee3, 0x4dd1, 0xb9,0x72, 0xa3,0x03,0xf2,0x6b,0x06,0x1e);
|
---|
667 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
668 | MIDL_INTERFACE("9c86f320-dee3-4dd1-b972-a303f26b061e")
|
---|
669 | IRegisteredTask : public IDispatch
|
---|
670 | {
|
---|
671 | virtual HRESULT STDMETHODCALLTYPE get_Name(
|
---|
672 | BSTR *name) = 0;
|
---|
673 |
|
---|
674 | virtual HRESULT STDMETHODCALLTYPE get_Path(
|
---|
675 | BSTR *path) = 0;
|
---|
676 |
|
---|
677 | virtual HRESULT STDMETHODCALLTYPE get_State(
|
---|
678 | TASK_STATE *state) = 0;
|
---|
679 |
|
---|
680 | virtual HRESULT STDMETHODCALLTYPE get_Enabled(
|
---|
681 | VARIANT_BOOL *enabled) = 0;
|
---|
682 |
|
---|
683 | virtual HRESULT STDMETHODCALLTYPE put_Enabled(
|
---|
684 | VARIANT_BOOL enabled) = 0;
|
---|
685 |
|
---|
686 | virtual HRESULT STDMETHODCALLTYPE Run(
|
---|
687 | VARIANT params,
|
---|
688 | IRunningTask **task) = 0;
|
---|
689 |
|
---|
690 | virtual HRESULT STDMETHODCALLTYPE RunEx(
|
---|
691 | VARIANT params,
|
---|
692 | LONG flags,
|
---|
693 | LONG sessionID,
|
---|
694 | BSTR user,
|
---|
695 | IRunningTask **task) = 0;
|
---|
696 |
|
---|
697 | virtual HRESULT STDMETHODCALLTYPE GetInstances(
|
---|
698 | LONG flags,
|
---|
699 | IRunningTaskCollection **tasks) = 0;
|
---|
700 |
|
---|
701 | virtual HRESULT STDMETHODCALLTYPE get_LastRunTime(
|
---|
702 | DATE *date) = 0;
|
---|
703 |
|
---|
704 | virtual HRESULT STDMETHODCALLTYPE get_LastTaskResult(
|
---|
705 | LONG *result) = 0;
|
---|
706 |
|
---|
707 | virtual HRESULT STDMETHODCALLTYPE get_NumberOfMissedRuns(
|
---|
708 | LONG *runs) = 0;
|
---|
709 |
|
---|
710 | virtual HRESULT STDMETHODCALLTYPE get_NextRunTime(
|
---|
711 | DATE *date) = 0;
|
---|
712 |
|
---|
713 | virtual HRESULT STDMETHODCALLTYPE get_Definition(
|
---|
714 | ITaskDefinition **task) = 0;
|
---|
715 |
|
---|
716 | virtual HRESULT STDMETHODCALLTYPE get_Xml(
|
---|
717 | BSTR *xml) = 0;
|
---|
718 |
|
---|
719 | virtual HRESULT STDMETHODCALLTYPE GetSecurityDescriptor(
|
---|
720 | LONG info,
|
---|
721 | BSTR *sddl) = 0;
|
---|
722 |
|
---|
723 | virtual HRESULT STDMETHODCALLTYPE SetSecurityDescriptor(
|
---|
724 | BSTR sddl,
|
---|
725 | LONG flags) = 0;
|
---|
726 |
|
---|
727 | virtual HRESULT STDMETHODCALLTYPE Stop(
|
---|
728 | LONG flags) = 0;
|
---|
729 |
|
---|
730 | virtual HRESULT STDMETHODCALLTYPE GetRunTimes(
|
---|
731 | const LPSYSTEMTIME start,
|
---|
732 | const LPSYSTEMTIME end,
|
---|
733 | DWORD *count,
|
---|
734 | LPSYSTEMTIME *time) = 0;
|
---|
735 |
|
---|
736 | };
|
---|
737 | #ifdef __CRT_UUID_DECL
|
---|
738 | __CRT_UUID_DECL(IRegisteredTask, 0x9c86f320, 0xdee3, 0x4dd1, 0xb9,0x72, 0xa3,0x03,0xf2,0x6b,0x06,0x1e)
|
---|
739 | #endif
|
---|
740 | #else
|
---|
741 | typedef struct IRegisteredTaskVtbl {
|
---|
742 | BEGIN_INTERFACE
|
---|
743 |
|
---|
744 | /*** IUnknown methods ***/
|
---|
745 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
746 | IRegisteredTask *This,
|
---|
747 | REFIID riid,
|
---|
748 | void **ppvObject);
|
---|
749 |
|
---|
750 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
751 | IRegisteredTask *This);
|
---|
752 |
|
---|
753 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
754 | IRegisteredTask *This);
|
---|
755 |
|
---|
756 | /*** IDispatch methods ***/
|
---|
757 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
758 | IRegisteredTask *This,
|
---|
759 | UINT *pctinfo);
|
---|
760 |
|
---|
761 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
762 | IRegisteredTask *This,
|
---|
763 | UINT iTInfo,
|
---|
764 | LCID lcid,
|
---|
765 | ITypeInfo **ppTInfo);
|
---|
766 |
|
---|
767 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
768 | IRegisteredTask *This,
|
---|
769 | REFIID riid,
|
---|
770 | LPOLESTR *rgszNames,
|
---|
771 | UINT cNames,
|
---|
772 | LCID lcid,
|
---|
773 | DISPID *rgDispId);
|
---|
774 |
|
---|
775 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
776 | IRegisteredTask *This,
|
---|
777 | DISPID dispIdMember,
|
---|
778 | REFIID riid,
|
---|
779 | LCID lcid,
|
---|
780 | WORD wFlags,
|
---|
781 | DISPPARAMS *pDispParams,
|
---|
782 | VARIANT *pVarResult,
|
---|
783 | EXCEPINFO *pExcepInfo,
|
---|
784 | UINT *puArgErr);
|
---|
785 |
|
---|
786 | /*** IRegisteredTask methods ***/
|
---|
787 | HRESULT (STDMETHODCALLTYPE *get_Name)(
|
---|
788 | IRegisteredTask *This,
|
---|
789 | BSTR *name);
|
---|
790 |
|
---|
791 | HRESULT (STDMETHODCALLTYPE *get_Path)(
|
---|
792 | IRegisteredTask *This,
|
---|
793 | BSTR *path);
|
---|
794 |
|
---|
795 | HRESULT (STDMETHODCALLTYPE *get_State)(
|
---|
796 | IRegisteredTask *This,
|
---|
797 | TASK_STATE *state);
|
---|
798 |
|
---|
799 | HRESULT (STDMETHODCALLTYPE *get_Enabled)(
|
---|
800 | IRegisteredTask *This,
|
---|
801 | VARIANT_BOOL *enabled);
|
---|
802 |
|
---|
803 | HRESULT (STDMETHODCALLTYPE *put_Enabled)(
|
---|
804 | IRegisteredTask *This,
|
---|
805 | VARIANT_BOOL enabled);
|
---|
806 |
|
---|
807 | HRESULT (STDMETHODCALLTYPE *Run)(
|
---|
808 | IRegisteredTask *This,
|
---|
809 | VARIANT params,
|
---|
810 | IRunningTask **task);
|
---|
811 |
|
---|
812 | HRESULT (STDMETHODCALLTYPE *RunEx)(
|
---|
813 | IRegisteredTask *This,
|
---|
814 | VARIANT params,
|
---|
815 | LONG flags,
|
---|
816 | LONG sessionID,
|
---|
817 | BSTR user,
|
---|
818 | IRunningTask **task);
|
---|
819 |
|
---|
820 | HRESULT (STDMETHODCALLTYPE *GetInstances)(
|
---|
821 | IRegisteredTask *This,
|
---|
822 | LONG flags,
|
---|
823 | IRunningTaskCollection **tasks);
|
---|
824 |
|
---|
825 | HRESULT (STDMETHODCALLTYPE *get_LastRunTime)(
|
---|
826 | IRegisteredTask *This,
|
---|
827 | DATE *date);
|
---|
828 |
|
---|
829 | HRESULT (STDMETHODCALLTYPE *get_LastTaskResult)(
|
---|
830 | IRegisteredTask *This,
|
---|
831 | LONG *result);
|
---|
832 |
|
---|
833 | HRESULT (STDMETHODCALLTYPE *get_NumberOfMissedRuns)(
|
---|
834 | IRegisteredTask *This,
|
---|
835 | LONG *runs);
|
---|
836 |
|
---|
837 | HRESULT (STDMETHODCALLTYPE *get_NextRunTime)(
|
---|
838 | IRegisteredTask *This,
|
---|
839 | DATE *date);
|
---|
840 |
|
---|
841 | HRESULT (STDMETHODCALLTYPE *get_Definition)(
|
---|
842 | IRegisteredTask *This,
|
---|
843 | ITaskDefinition **task);
|
---|
844 |
|
---|
845 | HRESULT (STDMETHODCALLTYPE *get_Xml)(
|
---|
846 | IRegisteredTask *This,
|
---|
847 | BSTR *xml);
|
---|
848 |
|
---|
849 | HRESULT (STDMETHODCALLTYPE *GetSecurityDescriptor)(
|
---|
850 | IRegisteredTask *This,
|
---|
851 | LONG info,
|
---|
852 | BSTR *sddl);
|
---|
853 |
|
---|
854 | HRESULT (STDMETHODCALLTYPE *SetSecurityDescriptor)(
|
---|
855 | IRegisteredTask *This,
|
---|
856 | BSTR sddl,
|
---|
857 | LONG flags);
|
---|
858 |
|
---|
859 | HRESULT (STDMETHODCALLTYPE *Stop)(
|
---|
860 | IRegisteredTask *This,
|
---|
861 | LONG flags);
|
---|
862 |
|
---|
863 | HRESULT (STDMETHODCALLTYPE *GetRunTimes)(
|
---|
864 | IRegisteredTask *This,
|
---|
865 | const LPSYSTEMTIME start,
|
---|
866 | const LPSYSTEMTIME end,
|
---|
867 | DWORD *count,
|
---|
868 | LPSYSTEMTIME *time);
|
---|
869 |
|
---|
870 | END_INTERFACE
|
---|
871 | } IRegisteredTaskVtbl;
|
---|
872 |
|
---|
873 | interface IRegisteredTask {
|
---|
874 | CONST_VTBL IRegisteredTaskVtbl* lpVtbl;
|
---|
875 | };
|
---|
876 |
|
---|
877 | #ifdef COBJMACROS
|
---|
878 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
879 | /*** IUnknown methods ***/
|
---|
880 | #define IRegisteredTask_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
881 | #define IRegisteredTask_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
882 | #define IRegisteredTask_Release(This) (This)->lpVtbl->Release(This)
|
---|
883 | /*** IDispatch methods ***/
|
---|
884 | #define IRegisteredTask_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
885 | #define IRegisteredTask_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
886 | #define IRegisteredTask_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
887 | #define IRegisteredTask_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
888 | /*** IRegisteredTask methods ***/
|
---|
889 | #define IRegisteredTask_get_Name(This,name) (This)->lpVtbl->get_Name(This,name)
|
---|
890 | #define IRegisteredTask_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
|
---|
891 | #define IRegisteredTask_get_State(This,state) (This)->lpVtbl->get_State(This,state)
|
---|
892 | #define IRegisteredTask_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled)
|
---|
893 | #define IRegisteredTask_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled)
|
---|
894 | #define IRegisteredTask_Run(This,params,task) (This)->lpVtbl->Run(This,params,task)
|
---|
895 | #define IRegisteredTask_RunEx(This,params,flags,sessionID,user,task) (This)->lpVtbl->RunEx(This,params,flags,sessionID,user,task)
|
---|
896 | #define IRegisteredTask_GetInstances(This,flags,tasks) (This)->lpVtbl->GetInstances(This,flags,tasks)
|
---|
897 | #define IRegisteredTask_get_LastRunTime(This,date) (This)->lpVtbl->get_LastRunTime(This,date)
|
---|
898 | #define IRegisteredTask_get_LastTaskResult(This,result) (This)->lpVtbl->get_LastTaskResult(This,result)
|
---|
899 | #define IRegisteredTask_get_NumberOfMissedRuns(This,runs) (This)->lpVtbl->get_NumberOfMissedRuns(This,runs)
|
---|
900 | #define IRegisteredTask_get_NextRunTime(This,date) (This)->lpVtbl->get_NextRunTime(This,date)
|
---|
901 | #define IRegisteredTask_get_Definition(This,task) (This)->lpVtbl->get_Definition(This,task)
|
---|
902 | #define IRegisteredTask_get_Xml(This,xml) (This)->lpVtbl->get_Xml(This,xml)
|
---|
903 | #define IRegisteredTask_GetSecurityDescriptor(This,info,sddl) (This)->lpVtbl->GetSecurityDescriptor(This,info,sddl)
|
---|
904 | #define IRegisteredTask_SetSecurityDescriptor(This,sddl,flags) (This)->lpVtbl->SetSecurityDescriptor(This,sddl,flags)
|
---|
905 | #define IRegisteredTask_Stop(This,flags) (This)->lpVtbl->Stop(This,flags)
|
---|
906 | #define IRegisteredTask_GetRunTimes(This,start,end,count,time) (This)->lpVtbl->GetRunTimes(This,start,end,count,time)
|
---|
907 | #else
|
---|
908 | /*** IUnknown methods ***/
|
---|
909 | static FORCEINLINE HRESULT IRegisteredTask_QueryInterface(IRegisteredTask* This,REFIID riid,void **ppvObject) {
|
---|
910 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
911 | }
|
---|
912 | static FORCEINLINE ULONG IRegisteredTask_AddRef(IRegisteredTask* This) {
|
---|
913 | return This->lpVtbl->AddRef(This);
|
---|
914 | }
|
---|
915 | static FORCEINLINE ULONG IRegisteredTask_Release(IRegisteredTask* This) {
|
---|
916 | return This->lpVtbl->Release(This);
|
---|
917 | }
|
---|
918 | /*** IDispatch methods ***/
|
---|
919 | static FORCEINLINE HRESULT IRegisteredTask_GetTypeInfoCount(IRegisteredTask* This,UINT *pctinfo) {
|
---|
920 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
921 | }
|
---|
922 | static FORCEINLINE HRESULT IRegisteredTask_GetTypeInfo(IRegisteredTask* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
923 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
924 | }
|
---|
925 | static FORCEINLINE HRESULT IRegisteredTask_GetIDsOfNames(IRegisteredTask* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
926 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
927 | }
|
---|
928 | static FORCEINLINE HRESULT IRegisteredTask_Invoke(IRegisteredTask* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
929 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
930 | }
|
---|
931 | /*** IRegisteredTask methods ***/
|
---|
932 | static FORCEINLINE HRESULT IRegisteredTask_get_Name(IRegisteredTask* This,BSTR *name) {
|
---|
933 | return This->lpVtbl->get_Name(This,name);
|
---|
934 | }
|
---|
935 | static FORCEINLINE HRESULT IRegisteredTask_get_Path(IRegisteredTask* This,BSTR *path) {
|
---|
936 | return This->lpVtbl->get_Path(This,path);
|
---|
937 | }
|
---|
938 | static FORCEINLINE HRESULT IRegisteredTask_get_State(IRegisteredTask* This,TASK_STATE *state) {
|
---|
939 | return This->lpVtbl->get_State(This,state);
|
---|
940 | }
|
---|
941 | static FORCEINLINE HRESULT IRegisteredTask_get_Enabled(IRegisteredTask* This,VARIANT_BOOL *enabled) {
|
---|
942 | return This->lpVtbl->get_Enabled(This,enabled);
|
---|
943 | }
|
---|
944 | static FORCEINLINE HRESULT IRegisteredTask_put_Enabled(IRegisteredTask* This,VARIANT_BOOL enabled) {
|
---|
945 | return This->lpVtbl->put_Enabled(This,enabled);
|
---|
946 | }
|
---|
947 | static FORCEINLINE HRESULT IRegisteredTask_Run(IRegisteredTask* This,VARIANT params,IRunningTask **task) {
|
---|
948 | return This->lpVtbl->Run(This,params,task);
|
---|
949 | }
|
---|
950 | static FORCEINLINE HRESULT IRegisteredTask_RunEx(IRegisteredTask* This,VARIANT params,LONG flags,LONG sessionID,BSTR user,IRunningTask **task) {
|
---|
951 | return This->lpVtbl->RunEx(This,params,flags,sessionID,user,task);
|
---|
952 | }
|
---|
953 | static FORCEINLINE HRESULT IRegisteredTask_GetInstances(IRegisteredTask* This,LONG flags,IRunningTaskCollection **tasks) {
|
---|
954 | return This->lpVtbl->GetInstances(This,flags,tasks);
|
---|
955 | }
|
---|
956 | static FORCEINLINE HRESULT IRegisteredTask_get_LastRunTime(IRegisteredTask* This,DATE *date) {
|
---|
957 | return This->lpVtbl->get_LastRunTime(This,date);
|
---|
958 | }
|
---|
959 | static FORCEINLINE HRESULT IRegisteredTask_get_LastTaskResult(IRegisteredTask* This,LONG *result) {
|
---|
960 | return This->lpVtbl->get_LastTaskResult(This,result);
|
---|
961 | }
|
---|
962 | static FORCEINLINE HRESULT IRegisteredTask_get_NumberOfMissedRuns(IRegisteredTask* This,LONG *runs) {
|
---|
963 | return This->lpVtbl->get_NumberOfMissedRuns(This,runs);
|
---|
964 | }
|
---|
965 | static FORCEINLINE HRESULT IRegisteredTask_get_NextRunTime(IRegisteredTask* This,DATE *date) {
|
---|
966 | return This->lpVtbl->get_NextRunTime(This,date);
|
---|
967 | }
|
---|
968 | static FORCEINLINE HRESULT IRegisteredTask_get_Definition(IRegisteredTask* This,ITaskDefinition **task) {
|
---|
969 | return This->lpVtbl->get_Definition(This,task);
|
---|
970 | }
|
---|
971 | static FORCEINLINE HRESULT IRegisteredTask_get_Xml(IRegisteredTask* This,BSTR *xml) {
|
---|
972 | return This->lpVtbl->get_Xml(This,xml);
|
---|
973 | }
|
---|
974 | static FORCEINLINE HRESULT IRegisteredTask_GetSecurityDescriptor(IRegisteredTask* This,LONG info,BSTR *sddl) {
|
---|
975 | return This->lpVtbl->GetSecurityDescriptor(This,info,sddl);
|
---|
976 | }
|
---|
977 | static FORCEINLINE HRESULT IRegisteredTask_SetSecurityDescriptor(IRegisteredTask* This,BSTR sddl,LONG flags) {
|
---|
978 | return This->lpVtbl->SetSecurityDescriptor(This,sddl,flags);
|
---|
979 | }
|
---|
980 | static FORCEINLINE HRESULT IRegisteredTask_Stop(IRegisteredTask* This,LONG flags) {
|
---|
981 | return This->lpVtbl->Stop(This,flags);
|
---|
982 | }
|
---|
983 | static FORCEINLINE HRESULT IRegisteredTask_GetRunTimes(IRegisteredTask* This,const LPSYSTEMTIME start,const LPSYSTEMTIME end,DWORD *count,LPSYSTEMTIME *time) {
|
---|
984 | return This->lpVtbl->GetRunTimes(This,start,end,count,time);
|
---|
985 | }
|
---|
986 | #endif
|
---|
987 | #endif
|
---|
988 |
|
---|
989 | #endif
|
---|
990 |
|
---|
991 |
|
---|
992 | #endif /* __IRegisteredTask_INTERFACE_DEFINED__ */
|
---|
993 |
|
---|
994 | /*****************************************************************************
|
---|
995 | * IRegisteredTaskCollection interface
|
---|
996 | */
|
---|
997 | #ifndef __IRegisteredTaskCollection_INTERFACE_DEFINED__
|
---|
998 | #define __IRegisteredTaskCollection_INTERFACE_DEFINED__
|
---|
999 |
|
---|
1000 | DEFINE_GUID(IID_IRegisteredTaskCollection, 0x86627eb4, 0x42a7, 0x41e4, 0xa4,0xd9, 0xac,0x33,0xa7,0x2f,0x2d,0x52);
|
---|
1001 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1002 | MIDL_INTERFACE("86627eb4-42a7-41e4-a4d9-ac33a72f2d52")
|
---|
1003 | IRegisteredTaskCollection : public IDispatch
|
---|
1004 | {
|
---|
1005 | virtual HRESULT STDMETHODCALLTYPE get_Count(
|
---|
1006 | LONG *count) = 0;
|
---|
1007 |
|
---|
1008 | virtual HRESULT STDMETHODCALLTYPE get_Item(
|
---|
1009 | VARIANT index,
|
---|
1010 | IRegisteredTask **task) = 0;
|
---|
1011 |
|
---|
1012 | virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
|
---|
1013 | IUnknown **penum) = 0;
|
---|
1014 |
|
---|
1015 | };
|
---|
1016 | #ifdef __CRT_UUID_DECL
|
---|
1017 | __CRT_UUID_DECL(IRegisteredTaskCollection, 0x86627eb4, 0x42a7, 0x41e4, 0xa4,0xd9, 0xac,0x33,0xa7,0x2f,0x2d,0x52)
|
---|
1018 | #endif
|
---|
1019 | #else
|
---|
1020 | typedef struct IRegisteredTaskCollectionVtbl {
|
---|
1021 | BEGIN_INTERFACE
|
---|
1022 |
|
---|
1023 | /*** IUnknown methods ***/
|
---|
1024 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1025 | IRegisteredTaskCollection *This,
|
---|
1026 | REFIID riid,
|
---|
1027 | void **ppvObject);
|
---|
1028 |
|
---|
1029 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1030 | IRegisteredTaskCollection *This);
|
---|
1031 |
|
---|
1032 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1033 | IRegisteredTaskCollection *This);
|
---|
1034 |
|
---|
1035 | /*** IDispatch methods ***/
|
---|
1036 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
1037 | IRegisteredTaskCollection *This,
|
---|
1038 | UINT *pctinfo);
|
---|
1039 |
|
---|
1040 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
1041 | IRegisteredTaskCollection *This,
|
---|
1042 | UINT iTInfo,
|
---|
1043 | LCID lcid,
|
---|
1044 | ITypeInfo **ppTInfo);
|
---|
1045 |
|
---|
1046 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
1047 | IRegisteredTaskCollection *This,
|
---|
1048 | REFIID riid,
|
---|
1049 | LPOLESTR *rgszNames,
|
---|
1050 | UINT cNames,
|
---|
1051 | LCID lcid,
|
---|
1052 | DISPID *rgDispId);
|
---|
1053 |
|
---|
1054 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
1055 | IRegisteredTaskCollection *This,
|
---|
1056 | DISPID dispIdMember,
|
---|
1057 | REFIID riid,
|
---|
1058 | LCID lcid,
|
---|
1059 | WORD wFlags,
|
---|
1060 | DISPPARAMS *pDispParams,
|
---|
1061 | VARIANT *pVarResult,
|
---|
1062 | EXCEPINFO *pExcepInfo,
|
---|
1063 | UINT *puArgErr);
|
---|
1064 |
|
---|
1065 | /*** IRegisteredTaskCollection methods ***/
|
---|
1066 | HRESULT (STDMETHODCALLTYPE *get_Count)(
|
---|
1067 | IRegisteredTaskCollection *This,
|
---|
1068 | LONG *count);
|
---|
1069 |
|
---|
1070 | HRESULT (STDMETHODCALLTYPE *get_Item)(
|
---|
1071 | IRegisteredTaskCollection *This,
|
---|
1072 | VARIANT index,
|
---|
1073 | IRegisteredTask **task);
|
---|
1074 |
|
---|
1075 | HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
|
---|
1076 | IRegisteredTaskCollection *This,
|
---|
1077 | IUnknown **penum);
|
---|
1078 |
|
---|
1079 | END_INTERFACE
|
---|
1080 | } IRegisteredTaskCollectionVtbl;
|
---|
1081 |
|
---|
1082 | interface IRegisteredTaskCollection {
|
---|
1083 | CONST_VTBL IRegisteredTaskCollectionVtbl* lpVtbl;
|
---|
1084 | };
|
---|
1085 |
|
---|
1086 | #ifdef COBJMACROS
|
---|
1087 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
1088 | /*** IUnknown methods ***/
|
---|
1089 | #define IRegisteredTaskCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1090 | #define IRegisteredTaskCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1091 | #define IRegisteredTaskCollection_Release(This) (This)->lpVtbl->Release(This)
|
---|
1092 | /*** IDispatch methods ***/
|
---|
1093 | #define IRegisteredTaskCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
1094 | #define IRegisteredTaskCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
1095 | #define IRegisteredTaskCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
1096 | #define IRegisteredTaskCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
1097 | /*** IRegisteredTaskCollection methods ***/
|
---|
1098 | #define IRegisteredTaskCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count)
|
---|
1099 | #define IRegisteredTaskCollection_get_Item(This,index,task) (This)->lpVtbl->get_Item(This,index,task)
|
---|
1100 | #define IRegisteredTaskCollection_get__NewEnum(This,penum) (This)->lpVtbl->get__NewEnum(This,penum)
|
---|
1101 | #else
|
---|
1102 | /*** IUnknown methods ***/
|
---|
1103 | static FORCEINLINE HRESULT IRegisteredTaskCollection_QueryInterface(IRegisteredTaskCollection* This,REFIID riid,void **ppvObject) {
|
---|
1104 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
1105 | }
|
---|
1106 | static FORCEINLINE ULONG IRegisteredTaskCollection_AddRef(IRegisteredTaskCollection* This) {
|
---|
1107 | return This->lpVtbl->AddRef(This);
|
---|
1108 | }
|
---|
1109 | static FORCEINLINE ULONG IRegisteredTaskCollection_Release(IRegisteredTaskCollection* This) {
|
---|
1110 | return This->lpVtbl->Release(This);
|
---|
1111 | }
|
---|
1112 | /*** IDispatch methods ***/
|
---|
1113 | static FORCEINLINE HRESULT IRegisteredTaskCollection_GetTypeInfoCount(IRegisteredTaskCollection* This,UINT *pctinfo) {
|
---|
1114 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
1115 | }
|
---|
1116 | static FORCEINLINE HRESULT IRegisteredTaskCollection_GetTypeInfo(IRegisteredTaskCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
1117 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
1118 | }
|
---|
1119 | static FORCEINLINE HRESULT IRegisteredTaskCollection_GetIDsOfNames(IRegisteredTaskCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
1120 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
1121 | }
|
---|
1122 | static FORCEINLINE HRESULT IRegisteredTaskCollection_Invoke(IRegisteredTaskCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
1123 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
1124 | }
|
---|
1125 | /*** IRegisteredTaskCollection methods ***/
|
---|
1126 | static FORCEINLINE HRESULT IRegisteredTaskCollection_get_Count(IRegisteredTaskCollection* This,LONG *count) {
|
---|
1127 | return This->lpVtbl->get_Count(This,count);
|
---|
1128 | }
|
---|
1129 | static FORCEINLINE HRESULT IRegisteredTaskCollection_get_Item(IRegisteredTaskCollection* This,VARIANT index,IRegisteredTask **task) {
|
---|
1130 | return This->lpVtbl->get_Item(This,index,task);
|
---|
1131 | }
|
---|
1132 | static FORCEINLINE HRESULT IRegisteredTaskCollection_get__NewEnum(IRegisteredTaskCollection* This,IUnknown **penum) {
|
---|
1133 | return This->lpVtbl->get__NewEnum(This,penum);
|
---|
1134 | }
|
---|
1135 | #endif
|
---|
1136 | #endif
|
---|
1137 |
|
---|
1138 | #endif
|
---|
1139 |
|
---|
1140 |
|
---|
1141 | #endif /* __IRegisteredTaskCollection_INTERFACE_DEFINED__ */
|
---|
1142 |
|
---|
1143 | /*****************************************************************************
|
---|
1144 | * IRegistrationInfo interface
|
---|
1145 | */
|
---|
1146 | #ifndef __IRegistrationInfo_INTERFACE_DEFINED__
|
---|
1147 | #define __IRegistrationInfo_INTERFACE_DEFINED__
|
---|
1148 |
|
---|
1149 | DEFINE_GUID(IID_IRegistrationInfo, 0x416d8b73, 0xcb41, 0x4ea1, 0x80,0x5c, 0x9b,0xe9,0xa5,0xac,0x4a,0x74);
|
---|
1150 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1151 | MIDL_INTERFACE("416d8b73-cb41-4ea1-805c-9be9a5ac4a74")
|
---|
1152 | IRegistrationInfo : public IDispatch
|
---|
1153 | {
|
---|
1154 | virtual HRESULT STDMETHODCALLTYPE get_Description(
|
---|
1155 | BSTR *description) = 0;
|
---|
1156 |
|
---|
1157 | virtual HRESULT STDMETHODCALLTYPE put_Description(
|
---|
1158 | BSTR description) = 0;
|
---|
1159 |
|
---|
1160 | virtual HRESULT STDMETHODCALLTYPE get_Author(
|
---|
1161 | BSTR *author) = 0;
|
---|
1162 |
|
---|
1163 | virtual HRESULT STDMETHODCALLTYPE put_Author(
|
---|
1164 | BSTR author) = 0;
|
---|
1165 |
|
---|
1166 | virtual HRESULT STDMETHODCALLTYPE get_Version(
|
---|
1167 | BSTR *version) = 0;
|
---|
1168 |
|
---|
1169 | virtual HRESULT STDMETHODCALLTYPE put_Version(
|
---|
1170 | BSTR version) = 0;
|
---|
1171 |
|
---|
1172 | virtual HRESULT STDMETHODCALLTYPE get_Date(
|
---|
1173 | BSTR *date) = 0;
|
---|
1174 |
|
---|
1175 | virtual HRESULT STDMETHODCALLTYPE put_Date(
|
---|
1176 | BSTR date) = 0;
|
---|
1177 |
|
---|
1178 | virtual HRESULT STDMETHODCALLTYPE get_Documentation(
|
---|
1179 | BSTR *doc) = 0;
|
---|
1180 |
|
---|
1181 | virtual HRESULT STDMETHODCALLTYPE put_Documentation(
|
---|
1182 | BSTR doc) = 0;
|
---|
1183 |
|
---|
1184 | virtual HRESULT STDMETHODCALLTYPE get_XmlText(
|
---|
1185 | BSTR *xml) = 0;
|
---|
1186 |
|
---|
1187 | virtual HRESULT STDMETHODCALLTYPE put_XmlText(
|
---|
1188 | BSTR xml) = 0;
|
---|
1189 |
|
---|
1190 | virtual HRESULT STDMETHODCALLTYPE get_URI(
|
---|
1191 | BSTR *uri) = 0;
|
---|
1192 |
|
---|
1193 | virtual HRESULT STDMETHODCALLTYPE put_URI(
|
---|
1194 | BSTR uri) = 0;
|
---|
1195 |
|
---|
1196 | virtual HRESULT STDMETHODCALLTYPE get_SecurityDescriptor(
|
---|
1197 | VARIANT *sddl) = 0;
|
---|
1198 |
|
---|
1199 | virtual HRESULT STDMETHODCALLTYPE put_SecurityDescriptor(
|
---|
1200 | VARIANT sddl) = 0;
|
---|
1201 |
|
---|
1202 | virtual HRESULT STDMETHODCALLTYPE get_Source(
|
---|
1203 | BSTR *source) = 0;
|
---|
1204 |
|
---|
1205 | virtual HRESULT STDMETHODCALLTYPE put_Source(
|
---|
1206 | BSTR source) = 0;
|
---|
1207 |
|
---|
1208 | };
|
---|
1209 | #ifdef __CRT_UUID_DECL
|
---|
1210 | __CRT_UUID_DECL(IRegistrationInfo, 0x416d8b73, 0xcb41, 0x4ea1, 0x80,0x5c, 0x9b,0xe9,0xa5,0xac,0x4a,0x74)
|
---|
1211 | #endif
|
---|
1212 | #else
|
---|
1213 | typedef struct IRegistrationInfoVtbl {
|
---|
1214 | BEGIN_INTERFACE
|
---|
1215 |
|
---|
1216 | /*** IUnknown methods ***/
|
---|
1217 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1218 | IRegistrationInfo *This,
|
---|
1219 | REFIID riid,
|
---|
1220 | void **ppvObject);
|
---|
1221 |
|
---|
1222 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1223 | IRegistrationInfo *This);
|
---|
1224 |
|
---|
1225 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1226 | IRegistrationInfo *This);
|
---|
1227 |
|
---|
1228 | /*** IDispatch methods ***/
|
---|
1229 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
1230 | IRegistrationInfo *This,
|
---|
1231 | UINT *pctinfo);
|
---|
1232 |
|
---|
1233 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
1234 | IRegistrationInfo *This,
|
---|
1235 | UINT iTInfo,
|
---|
1236 | LCID lcid,
|
---|
1237 | ITypeInfo **ppTInfo);
|
---|
1238 |
|
---|
1239 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
1240 | IRegistrationInfo *This,
|
---|
1241 | REFIID riid,
|
---|
1242 | LPOLESTR *rgszNames,
|
---|
1243 | UINT cNames,
|
---|
1244 | LCID lcid,
|
---|
1245 | DISPID *rgDispId);
|
---|
1246 |
|
---|
1247 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
1248 | IRegistrationInfo *This,
|
---|
1249 | DISPID dispIdMember,
|
---|
1250 | REFIID riid,
|
---|
1251 | LCID lcid,
|
---|
1252 | WORD wFlags,
|
---|
1253 | DISPPARAMS *pDispParams,
|
---|
1254 | VARIANT *pVarResult,
|
---|
1255 | EXCEPINFO *pExcepInfo,
|
---|
1256 | UINT *puArgErr);
|
---|
1257 |
|
---|
1258 | /*** IRegistrationInfo methods ***/
|
---|
1259 | HRESULT (STDMETHODCALLTYPE *get_Description)(
|
---|
1260 | IRegistrationInfo *This,
|
---|
1261 | BSTR *description);
|
---|
1262 |
|
---|
1263 | HRESULT (STDMETHODCALLTYPE *put_Description)(
|
---|
1264 | IRegistrationInfo *This,
|
---|
1265 | BSTR description);
|
---|
1266 |
|
---|
1267 | HRESULT (STDMETHODCALLTYPE *get_Author)(
|
---|
1268 | IRegistrationInfo *This,
|
---|
1269 | BSTR *author);
|
---|
1270 |
|
---|
1271 | HRESULT (STDMETHODCALLTYPE *put_Author)(
|
---|
1272 | IRegistrationInfo *This,
|
---|
1273 | BSTR author);
|
---|
1274 |
|
---|
1275 | HRESULT (STDMETHODCALLTYPE *get_Version)(
|
---|
1276 | IRegistrationInfo *This,
|
---|
1277 | BSTR *version);
|
---|
1278 |
|
---|
1279 | HRESULT (STDMETHODCALLTYPE *put_Version)(
|
---|
1280 | IRegistrationInfo *This,
|
---|
1281 | BSTR version);
|
---|
1282 |
|
---|
1283 | HRESULT (STDMETHODCALLTYPE *get_Date)(
|
---|
1284 | IRegistrationInfo *This,
|
---|
1285 | BSTR *date);
|
---|
1286 |
|
---|
1287 | HRESULT (STDMETHODCALLTYPE *put_Date)(
|
---|
1288 | IRegistrationInfo *This,
|
---|
1289 | BSTR date);
|
---|
1290 |
|
---|
1291 | HRESULT (STDMETHODCALLTYPE *get_Documentation)(
|
---|
1292 | IRegistrationInfo *This,
|
---|
1293 | BSTR *doc);
|
---|
1294 |
|
---|
1295 | HRESULT (STDMETHODCALLTYPE *put_Documentation)(
|
---|
1296 | IRegistrationInfo *This,
|
---|
1297 | BSTR doc);
|
---|
1298 |
|
---|
1299 | HRESULT (STDMETHODCALLTYPE *get_XmlText)(
|
---|
1300 | IRegistrationInfo *This,
|
---|
1301 | BSTR *xml);
|
---|
1302 |
|
---|
1303 | HRESULT (STDMETHODCALLTYPE *put_XmlText)(
|
---|
1304 | IRegistrationInfo *This,
|
---|
1305 | BSTR xml);
|
---|
1306 |
|
---|
1307 | HRESULT (STDMETHODCALLTYPE *get_URI)(
|
---|
1308 | IRegistrationInfo *This,
|
---|
1309 | BSTR *uri);
|
---|
1310 |
|
---|
1311 | HRESULT (STDMETHODCALLTYPE *put_URI)(
|
---|
1312 | IRegistrationInfo *This,
|
---|
1313 | BSTR uri);
|
---|
1314 |
|
---|
1315 | HRESULT (STDMETHODCALLTYPE *get_SecurityDescriptor)(
|
---|
1316 | IRegistrationInfo *This,
|
---|
1317 | VARIANT *sddl);
|
---|
1318 |
|
---|
1319 | HRESULT (STDMETHODCALLTYPE *put_SecurityDescriptor)(
|
---|
1320 | IRegistrationInfo *This,
|
---|
1321 | VARIANT sddl);
|
---|
1322 |
|
---|
1323 | HRESULT (STDMETHODCALLTYPE *get_Source)(
|
---|
1324 | IRegistrationInfo *This,
|
---|
1325 | BSTR *source);
|
---|
1326 |
|
---|
1327 | HRESULT (STDMETHODCALLTYPE *put_Source)(
|
---|
1328 | IRegistrationInfo *This,
|
---|
1329 | BSTR source);
|
---|
1330 |
|
---|
1331 | END_INTERFACE
|
---|
1332 | } IRegistrationInfoVtbl;
|
---|
1333 |
|
---|
1334 | interface IRegistrationInfo {
|
---|
1335 | CONST_VTBL IRegistrationInfoVtbl* lpVtbl;
|
---|
1336 | };
|
---|
1337 |
|
---|
1338 | #ifdef COBJMACROS
|
---|
1339 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
1340 | /*** IUnknown methods ***/
|
---|
1341 | #define IRegistrationInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1342 | #define IRegistrationInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1343 | #define IRegistrationInfo_Release(This) (This)->lpVtbl->Release(This)
|
---|
1344 | /*** IDispatch methods ***/
|
---|
1345 | #define IRegistrationInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
1346 | #define IRegistrationInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
1347 | #define IRegistrationInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
1348 | #define IRegistrationInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
1349 | /*** IRegistrationInfo methods ***/
|
---|
1350 | #define IRegistrationInfo_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
|
---|
1351 | #define IRegistrationInfo_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
|
---|
1352 | #define IRegistrationInfo_get_Author(This,author) (This)->lpVtbl->get_Author(This,author)
|
---|
1353 | #define IRegistrationInfo_put_Author(This,author) (This)->lpVtbl->put_Author(This,author)
|
---|
1354 | #define IRegistrationInfo_get_Version(This,version) (This)->lpVtbl->get_Version(This,version)
|
---|
1355 | #define IRegistrationInfo_put_Version(This,version) (This)->lpVtbl->put_Version(This,version)
|
---|
1356 | #define IRegistrationInfo_get_Date(This,date) (This)->lpVtbl->get_Date(This,date)
|
---|
1357 | #define IRegistrationInfo_put_Date(This,date) (This)->lpVtbl->put_Date(This,date)
|
---|
1358 | #define IRegistrationInfo_get_Documentation(This,doc) (This)->lpVtbl->get_Documentation(This,doc)
|
---|
1359 | #define IRegistrationInfo_put_Documentation(This,doc) (This)->lpVtbl->put_Documentation(This,doc)
|
---|
1360 | #define IRegistrationInfo_get_XmlText(This,xml) (This)->lpVtbl->get_XmlText(This,xml)
|
---|
1361 | #define IRegistrationInfo_put_XmlText(This,xml) (This)->lpVtbl->put_XmlText(This,xml)
|
---|
1362 | #define IRegistrationInfo_get_URI(This,uri) (This)->lpVtbl->get_URI(This,uri)
|
---|
1363 | #define IRegistrationInfo_put_URI(This,uri) (This)->lpVtbl->put_URI(This,uri)
|
---|
1364 | #define IRegistrationInfo_get_SecurityDescriptor(This,sddl) (This)->lpVtbl->get_SecurityDescriptor(This,sddl)
|
---|
1365 | #define IRegistrationInfo_put_SecurityDescriptor(This,sddl) (This)->lpVtbl->put_SecurityDescriptor(This,sddl)
|
---|
1366 | #define IRegistrationInfo_get_Source(This,source) (This)->lpVtbl->get_Source(This,source)
|
---|
1367 | #define IRegistrationInfo_put_Source(This,source) (This)->lpVtbl->put_Source(This,source)
|
---|
1368 | #else
|
---|
1369 | /*** IUnknown methods ***/
|
---|
1370 | static FORCEINLINE HRESULT IRegistrationInfo_QueryInterface(IRegistrationInfo* This,REFIID riid,void **ppvObject) {
|
---|
1371 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
1372 | }
|
---|
1373 | static FORCEINLINE ULONG IRegistrationInfo_AddRef(IRegistrationInfo* This) {
|
---|
1374 | return This->lpVtbl->AddRef(This);
|
---|
1375 | }
|
---|
1376 | static FORCEINLINE ULONG IRegistrationInfo_Release(IRegistrationInfo* This) {
|
---|
1377 | return This->lpVtbl->Release(This);
|
---|
1378 | }
|
---|
1379 | /*** IDispatch methods ***/
|
---|
1380 | static FORCEINLINE HRESULT IRegistrationInfo_GetTypeInfoCount(IRegistrationInfo* This,UINT *pctinfo) {
|
---|
1381 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
1382 | }
|
---|
1383 | static FORCEINLINE HRESULT IRegistrationInfo_GetTypeInfo(IRegistrationInfo* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
1384 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
1385 | }
|
---|
1386 | static FORCEINLINE HRESULT IRegistrationInfo_GetIDsOfNames(IRegistrationInfo* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
1387 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
1388 | }
|
---|
1389 | static FORCEINLINE HRESULT IRegistrationInfo_Invoke(IRegistrationInfo* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
1390 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
1391 | }
|
---|
1392 | /*** IRegistrationInfo methods ***/
|
---|
1393 | static FORCEINLINE HRESULT IRegistrationInfo_get_Description(IRegistrationInfo* This,BSTR *description) {
|
---|
1394 | return This->lpVtbl->get_Description(This,description);
|
---|
1395 | }
|
---|
1396 | static FORCEINLINE HRESULT IRegistrationInfo_put_Description(IRegistrationInfo* This,BSTR description) {
|
---|
1397 | return This->lpVtbl->put_Description(This,description);
|
---|
1398 | }
|
---|
1399 | static FORCEINLINE HRESULT IRegistrationInfo_get_Author(IRegistrationInfo* This,BSTR *author) {
|
---|
1400 | return This->lpVtbl->get_Author(This,author);
|
---|
1401 | }
|
---|
1402 | static FORCEINLINE HRESULT IRegistrationInfo_put_Author(IRegistrationInfo* This,BSTR author) {
|
---|
1403 | return This->lpVtbl->put_Author(This,author);
|
---|
1404 | }
|
---|
1405 | static FORCEINLINE HRESULT IRegistrationInfo_get_Version(IRegistrationInfo* This,BSTR *version) {
|
---|
1406 | return This->lpVtbl->get_Version(This,version);
|
---|
1407 | }
|
---|
1408 | static FORCEINLINE HRESULT IRegistrationInfo_put_Version(IRegistrationInfo* This,BSTR version) {
|
---|
1409 | return This->lpVtbl->put_Version(This,version);
|
---|
1410 | }
|
---|
1411 | static FORCEINLINE HRESULT IRegistrationInfo_get_Date(IRegistrationInfo* This,BSTR *date) {
|
---|
1412 | return This->lpVtbl->get_Date(This,date);
|
---|
1413 | }
|
---|
1414 | static FORCEINLINE HRESULT IRegistrationInfo_put_Date(IRegistrationInfo* This,BSTR date) {
|
---|
1415 | return This->lpVtbl->put_Date(This,date);
|
---|
1416 | }
|
---|
1417 | static FORCEINLINE HRESULT IRegistrationInfo_get_Documentation(IRegistrationInfo* This,BSTR *doc) {
|
---|
1418 | return This->lpVtbl->get_Documentation(This,doc);
|
---|
1419 | }
|
---|
1420 | static FORCEINLINE HRESULT IRegistrationInfo_put_Documentation(IRegistrationInfo* This,BSTR doc) {
|
---|
1421 | return This->lpVtbl->put_Documentation(This,doc);
|
---|
1422 | }
|
---|
1423 | static FORCEINLINE HRESULT IRegistrationInfo_get_XmlText(IRegistrationInfo* This,BSTR *xml) {
|
---|
1424 | return This->lpVtbl->get_XmlText(This,xml);
|
---|
1425 | }
|
---|
1426 | static FORCEINLINE HRESULT IRegistrationInfo_put_XmlText(IRegistrationInfo* This,BSTR xml) {
|
---|
1427 | return This->lpVtbl->put_XmlText(This,xml);
|
---|
1428 | }
|
---|
1429 | static FORCEINLINE HRESULT IRegistrationInfo_get_URI(IRegistrationInfo* This,BSTR *uri) {
|
---|
1430 | return This->lpVtbl->get_URI(This,uri);
|
---|
1431 | }
|
---|
1432 | static FORCEINLINE HRESULT IRegistrationInfo_put_URI(IRegistrationInfo* This,BSTR uri) {
|
---|
1433 | return This->lpVtbl->put_URI(This,uri);
|
---|
1434 | }
|
---|
1435 | static FORCEINLINE HRESULT IRegistrationInfo_get_SecurityDescriptor(IRegistrationInfo* This,VARIANT *sddl) {
|
---|
1436 | return This->lpVtbl->get_SecurityDescriptor(This,sddl);
|
---|
1437 | }
|
---|
1438 | static FORCEINLINE HRESULT IRegistrationInfo_put_SecurityDescriptor(IRegistrationInfo* This,VARIANT sddl) {
|
---|
1439 | return This->lpVtbl->put_SecurityDescriptor(This,sddl);
|
---|
1440 | }
|
---|
1441 | static FORCEINLINE HRESULT IRegistrationInfo_get_Source(IRegistrationInfo* This,BSTR *source) {
|
---|
1442 | return This->lpVtbl->get_Source(This,source);
|
---|
1443 | }
|
---|
1444 | static FORCEINLINE HRESULT IRegistrationInfo_put_Source(IRegistrationInfo* This,BSTR source) {
|
---|
1445 | return This->lpVtbl->put_Source(This,source);
|
---|
1446 | }
|
---|
1447 | #endif
|
---|
1448 | #endif
|
---|
1449 |
|
---|
1450 | #endif
|
---|
1451 |
|
---|
1452 |
|
---|
1453 | #endif /* __IRegistrationInfo_INTERFACE_DEFINED__ */
|
---|
1454 |
|
---|
1455 | /*****************************************************************************
|
---|
1456 | * ITaskFolder interface
|
---|
1457 | */
|
---|
1458 | #ifndef __ITaskFolder_INTERFACE_DEFINED__
|
---|
1459 | #define __ITaskFolder_INTERFACE_DEFINED__
|
---|
1460 |
|
---|
1461 | DEFINE_GUID(IID_ITaskFolder, 0x8cfac062, 0xa080, 0x4c15, 0x9a,0x88, 0xaa,0x7c,0x2a,0xf8,0x0d,0xfc);
|
---|
1462 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1463 | MIDL_INTERFACE("8cfac062-a080-4c15-9a88-aa7c2af80dfc")
|
---|
1464 | ITaskFolder : public IDispatch
|
---|
1465 | {
|
---|
1466 | virtual HRESULT STDMETHODCALLTYPE get_Name(
|
---|
1467 | BSTR *name) = 0;
|
---|
1468 |
|
---|
1469 | virtual HRESULT STDMETHODCALLTYPE get_Path(
|
---|
1470 | BSTR *path) = 0;
|
---|
1471 |
|
---|
1472 | virtual HRESULT STDMETHODCALLTYPE GetFolder(
|
---|
1473 | BSTR path,
|
---|
1474 | ITaskFolder **folder) = 0;
|
---|
1475 |
|
---|
1476 | virtual HRESULT STDMETHODCALLTYPE GetFolders(
|
---|
1477 | LONG flags,
|
---|
1478 | ITaskFolderCollection **folders) = 0;
|
---|
1479 |
|
---|
1480 | virtual HRESULT STDMETHODCALLTYPE CreateFolder(
|
---|
1481 | BSTR name,
|
---|
1482 | VARIANT sddl,
|
---|
1483 | ITaskFolder **folder) = 0;
|
---|
1484 |
|
---|
1485 | virtual HRESULT STDMETHODCALLTYPE DeleteFolder(
|
---|
1486 | BSTR name,
|
---|
1487 | LONG flags) = 0;
|
---|
1488 |
|
---|
1489 | virtual HRESULT STDMETHODCALLTYPE GetTask(
|
---|
1490 | BSTR path,
|
---|
1491 | IRegisteredTask **task) = 0;
|
---|
1492 |
|
---|
1493 | virtual HRESULT STDMETHODCALLTYPE GetTasks(
|
---|
1494 | LONG flags,
|
---|
1495 | IRegisteredTaskCollection **tasks) = 0;
|
---|
1496 |
|
---|
1497 | virtual HRESULT STDMETHODCALLTYPE DeleteTask(
|
---|
1498 | BSTR name,
|
---|
1499 | LONG flags) = 0;
|
---|
1500 |
|
---|
1501 | virtual HRESULT STDMETHODCALLTYPE RegisterTask(
|
---|
1502 | BSTR path,
|
---|
1503 | BSTR xml,
|
---|
1504 | LONG flags,
|
---|
1505 | VARIANT user,
|
---|
1506 | VARIANT password,
|
---|
1507 | TASK_LOGON_TYPE logonType,
|
---|
1508 | VARIANT sddl,
|
---|
1509 | IRegisteredTask **task) = 0;
|
---|
1510 |
|
---|
1511 | virtual HRESULT STDMETHODCALLTYPE RegisterTaskDefinition(
|
---|
1512 | BSTR path,
|
---|
1513 | ITaskDefinition *definition,
|
---|
1514 | LONG flags,
|
---|
1515 | VARIANT user,
|
---|
1516 | VARIANT password,
|
---|
1517 | TASK_LOGON_TYPE logon,
|
---|
1518 | VARIANT sddl,
|
---|
1519 | IRegisteredTask **task) = 0;
|
---|
1520 |
|
---|
1521 | virtual HRESULT STDMETHODCALLTYPE GetSecurityDescriptor(
|
---|
1522 | LONG info,
|
---|
1523 | BSTR *sddl) = 0;
|
---|
1524 |
|
---|
1525 | virtual HRESULT STDMETHODCALLTYPE SetSecurityDescriptor(
|
---|
1526 | BSTR sddl,
|
---|
1527 | LONG flags) = 0;
|
---|
1528 |
|
---|
1529 | };
|
---|
1530 | #ifdef __CRT_UUID_DECL
|
---|
1531 | __CRT_UUID_DECL(ITaskFolder, 0x8cfac062, 0xa080, 0x4c15, 0x9a,0x88, 0xaa,0x7c,0x2a,0xf8,0x0d,0xfc)
|
---|
1532 | #endif
|
---|
1533 | #else
|
---|
1534 | typedef struct ITaskFolderVtbl {
|
---|
1535 | BEGIN_INTERFACE
|
---|
1536 |
|
---|
1537 | /*** IUnknown methods ***/
|
---|
1538 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1539 | ITaskFolder *This,
|
---|
1540 | REFIID riid,
|
---|
1541 | void **ppvObject);
|
---|
1542 |
|
---|
1543 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1544 | ITaskFolder *This);
|
---|
1545 |
|
---|
1546 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1547 | ITaskFolder *This);
|
---|
1548 |
|
---|
1549 | /*** IDispatch methods ***/
|
---|
1550 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
1551 | ITaskFolder *This,
|
---|
1552 | UINT *pctinfo);
|
---|
1553 |
|
---|
1554 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
1555 | ITaskFolder *This,
|
---|
1556 | UINT iTInfo,
|
---|
1557 | LCID lcid,
|
---|
1558 | ITypeInfo **ppTInfo);
|
---|
1559 |
|
---|
1560 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
1561 | ITaskFolder *This,
|
---|
1562 | REFIID riid,
|
---|
1563 | LPOLESTR *rgszNames,
|
---|
1564 | UINT cNames,
|
---|
1565 | LCID lcid,
|
---|
1566 | DISPID *rgDispId);
|
---|
1567 |
|
---|
1568 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
1569 | ITaskFolder *This,
|
---|
1570 | DISPID dispIdMember,
|
---|
1571 | REFIID riid,
|
---|
1572 | LCID lcid,
|
---|
1573 | WORD wFlags,
|
---|
1574 | DISPPARAMS *pDispParams,
|
---|
1575 | VARIANT *pVarResult,
|
---|
1576 | EXCEPINFO *pExcepInfo,
|
---|
1577 | UINT *puArgErr);
|
---|
1578 |
|
---|
1579 | /*** ITaskFolder methods ***/
|
---|
1580 | HRESULT (STDMETHODCALLTYPE *get_Name)(
|
---|
1581 | ITaskFolder *This,
|
---|
1582 | BSTR *name);
|
---|
1583 |
|
---|
1584 | HRESULT (STDMETHODCALLTYPE *get_Path)(
|
---|
1585 | ITaskFolder *This,
|
---|
1586 | BSTR *path);
|
---|
1587 |
|
---|
1588 | HRESULT (STDMETHODCALLTYPE *GetFolder)(
|
---|
1589 | ITaskFolder *This,
|
---|
1590 | BSTR path,
|
---|
1591 | ITaskFolder **folder);
|
---|
1592 |
|
---|
1593 | HRESULT (STDMETHODCALLTYPE *GetFolders)(
|
---|
1594 | ITaskFolder *This,
|
---|
1595 | LONG flags,
|
---|
1596 | ITaskFolderCollection **folders);
|
---|
1597 |
|
---|
1598 | HRESULT (STDMETHODCALLTYPE *CreateFolder)(
|
---|
1599 | ITaskFolder *This,
|
---|
1600 | BSTR name,
|
---|
1601 | VARIANT sddl,
|
---|
1602 | ITaskFolder **folder);
|
---|
1603 |
|
---|
1604 | HRESULT (STDMETHODCALLTYPE *DeleteFolder)(
|
---|
1605 | ITaskFolder *This,
|
---|
1606 | BSTR name,
|
---|
1607 | LONG flags);
|
---|
1608 |
|
---|
1609 | HRESULT (STDMETHODCALLTYPE *GetTask)(
|
---|
1610 | ITaskFolder *This,
|
---|
1611 | BSTR path,
|
---|
1612 | IRegisteredTask **task);
|
---|
1613 |
|
---|
1614 | HRESULT (STDMETHODCALLTYPE *GetTasks)(
|
---|
1615 | ITaskFolder *This,
|
---|
1616 | LONG flags,
|
---|
1617 | IRegisteredTaskCollection **tasks);
|
---|
1618 |
|
---|
1619 | HRESULT (STDMETHODCALLTYPE *DeleteTask)(
|
---|
1620 | ITaskFolder *This,
|
---|
1621 | BSTR name,
|
---|
1622 | LONG flags);
|
---|
1623 |
|
---|
1624 | HRESULT (STDMETHODCALLTYPE *RegisterTask)(
|
---|
1625 | ITaskFolder *This,
|
---|
1626 | BSTR path,
|
---|
1627 | BSTR xml,
|
---|
1628 | LONG flags,
|
---|
1629 | VARIANT user,
|
---|
1630 | VARIANT password,
|
---|
1631 | TASK_LOGON_TYPE logonType,
|
---|
1632 | VARIANT sddl,
|
---|
1633 | IRegisteredTask **task);
|
---|
1634 |
|
---|
1635 | HRESULT (STDMETHODCALLTYPE *RegisterTaskDefinition)(
|
---|
1636 | ITaskFolder *This,
|
---|
1637 | BSTR path,
|
---|
1638 | ITaskDefinition *definition,
|
---|
1639 | LONG flags,
|
---|
1640 | VARIANT user,
|
---|
1641 | VARIANT password,
|
---|
1642 | TASK_LOGON_TYPE logon,
|
---|
1643 | VARIANT sddl,
|
---|
1644 | IRegisteredTask **task);
|
---|
1645 |
|
---|
1646 | HRESULT (STDMETHODCALLTYPE *GetSecurityDescriptor)(
|
---|
1647 | ITaskFolder *This,
|
---|
1648 | LONG info,
|
---|
1649 | BSTR *sddl);
|
---|
1650 |
|
---|
1651 | HRESULT (STDMETHODCALLTYPE *SetSecurityDescriptor)(
|
---|
1652 | ITaskFolder *This,
|
---|
1653 | BSTR sddl,
|
---|
1654 | LONG flags);
|
---|
1655 |
|
---|
1656 | END_INTERFACE
|
---|
1657 | } ITaskFolderVtbl;
|
---|
1658 |
|
---|
1659 | interface ITaskFolder {
|
---|
1660 | CONST_VTBL ITaskFolderVtbl* lpVtbl;
|
---|
1661 | };
|
---|
1662 |
|
---|
1663 | #ifdef COBJMACROS
|
---|
1664 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
1665 | /*** IUnknown methods ***/
|
---|
1666 | #define ITaskFolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1667 | #define ITaskFolder_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1668 | #define ITaskFolder_Release(This) (This)->lpVtbl->Release(This)
|
---|
1669 | /*** IDispatch methods ***/
|
---|
1670 | #define ITaskFolder_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
1671 | #define ITaskFolder_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
1672 | #define ITaskFolder_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
1673 | #define ITaskFolder_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
1674 | /*** ITaskFolder methods ***/
|
---|
1675 | #define ITaskFolder_get_Name(This,name) (This)->lpVtbl->get_Name(This,name)
|
---|
1676 | #define ITaskFolder_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
|
---|
1677 | #define ITaskFolder_GetFolder(This,path,folder) (This)->lpVtbl->GetFolder(This,path,folder)
|
---|
1678 | #define ITaskFolder_GetFolders(This,flags,folders) (This)->lpVtbl->GetFolders(This,flags,folders)
|
---|
1679 | #define ITaskFolder_CreateFolder(This,name,sddl,folder) (This)->lpVtbl->CreateFolder(This,name,sddl,folder)
|
---|
1680 | #define ITaskFolder_DeleteFolder(This,name,flags) (This)->lpVtbl->DeleteFolder(This,name,flags)
|
---|
1681 | #define ITaskFolder_GetTask(This,path,task) (This)->lpVtbl->GetTask(This,path,task)
|
---|
1682 | #define ITaskFolder_GetTasks(This,flags,tasks) (This)->lpVtbl->GetTasks(This,flags,tasks)
|
---|
1683 | #define ITaskFolder_DeleteTask(This,name,flags) (This)->lpVtbl->DeleteTask(This,name,flags)
|
---|
1684 | #define ITaskFolder_RegisterTask(This,path,xml,flags,user,password,logonType,sddl,task) (This)->lpVtbl->RegisterTask(This,path,xml,flags,user,password,logonType,sddl,task)
|
---|
1685 | #define ITaskFolder_RegisterTaskDefinition(This,path,definition,flags,user,password,logon,sddl,task) (This)->lpVtbl->RegisterTaskDefinition(This,path,definition,flags,user,password,logon,sddl,task)
|
---|
1686 | #define ITaskFolder_GetSecurityDescriptor(This,info,sddl) (This)->lpVtbl->GetSecurityDescriptor(This,info,sddl)
|
---|
1687 | #define ITaskFolder_SetSecurityDescriptor(This,sddl,flags) (This)->lpVtbl->SetSecurityDescriptor(This,sddl,flags)
|
---|
1688 | #else
|
---|
1689 | /*** IUnknown methods ***/
|
---|
1690 | static FORCEINLINE HRESULT ITaskFolder_QueryInterface(ITaskFolder* This,REFIID riid,void **ppvObject) {
|
---|
1691 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
1692 | }
|
---|
1693 | static FORCEINLINE ULONG ITaskFolder_AddRef(ITaskFolder* This) {
|
---|
1694 | return This->lpVtbl->AddRef(This);
|
---|
1695 | }
|
---|
1696 | static FORCEINLINE ULONG ITaskFolder_Release(ITaskFolder* This) {
|
---|
1697 | return This->lpVtbl->Release(This);
|
---|
1698 | }
|
---|
1699 | /*** IDispatch methods ***/
|
---|
1700 | static FORCEINLINE HRESULT ITaskFolder_GetTypeInfoCount(ITaskFolder* This,UINT *pctinfo) {
|
---|
1701 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
1702 | }
|
---|
1703 | static FORCEINLINE HRESULT ITaskFolder_GetTypeInfo(ITaskFolder* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
1704 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
1705 | }
|
---|
1706 | static FORCEINLINE HRESULT ITaskFolder_GetIDsOfNames(ITaskFolder* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
1707 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
1708 | }
|
---|
1709 | static FORCEINLINE HRESULT ITaskFolder_Invoke(ITaskFolder* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
1710 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
1711 | }
|
---|
1712 | /*** ITaskFolder methods ***/
|
---|
1713 | static FORCEINLINE HRESULT ITaskFolder_get_Name(ITaskFolder* This,BSTR *name) {
|
---|
1714 | return This->lpVtbl->get_Name(This,name);
|
---|
1715 | }
|
---|
1716 | static FORCEINLINE HRESULT ITaskFolder_get_Path(ITaskFolder* This,BSTR *path) {
|
---|
1717 | return This->lpVtbl->get_Path(This,path);
|
---|
1718 | }
|
---|
1719 | static FORCEINLINE HRESULT ITaskFolder_GetFolder(ITaskFolder* This,BSTR path,ITaskFolder **folder) {
|
---|
1720 | return This->lpVtbl->GetFolder(This,path,folder);
|
---|
1721 | }
|
---|
1722 | static FORCEINLINE HRESULT ITaskFolder_GetFolders(ITaskFolder* This,LONG flags,ITaskFolderCollection **folders) {
|
---|
1723 | return This->lpVtbl->GetFolders(This,flags,folders);
|
---|
1724 | }
|
---|
1725 | static FORCEINLINE HRESULT ITaskFolder_CreateFolder(ITaskFolder* This,BSTR name,VARIANT sddl,ITaskFolder **folder) {
|
---|
1726 | return This->lpVtbl->CreateFolder(This,name,sddl,folder);
|
---|
1727 | }
|
---|
1728 | static FORCEINLINE HRESULT ITaskFolder_DeleteFolder(ITaskFolder* This,BSTR name,LONG flags) {
|
---|
1729 | return This->lpVtbl->DeleteFolder(This,name,flags);
|
---|
1730 | }
|
---|
1731 | static FORCEINLINE HRESULT ITaskFolder_GetTask(ITaskFolder* This,BSTR path,IRegisteredTask **task) {
|
---|
1732 | return This->lpVtbl->GetTask(This,path,task);
|
---|
1733 | }
|
---|
1734 | static FORCEINLINE HRESULT ITaskFolder_GetTasks(ITaskFolder* This,LONG flags,IRegisteredTaskCollection **tasks) {
|
---|
1735 | return This->lpVtbl->GetTasks(This,flags,tasks);
|
---|
1736 | }
|
---|
1737 | static FORCEINLINE HRESULT ITaskFolder_DeleteTask(ITaskFolder* This,BSTR name,LONG flags) {
|
---|
1738 | return This->lpVtbl->DeleteTask(This,name,flags);
|
---|
1739 | }
|
---|
1740 | static FORCEINLINE HRESULT ITaskFolder_RegisterTask(ITaskFolder* This,BSTR path,BSTR xml,LONG flags,VARIANT user,VARIANT password,TASK_LOGON_TYPE logonType,VARIANT sddl,IRegisteredTask **task) {
|
---|
1741 | return This->lpVtbl->RegisterTask(This,path,xml,flags,user,password,logonType,sddl,task);
|
---|
1742 | }
|
---|
1743 | static FORCEINLINE HRESULT ITaskFolder_RegisterTaskDefinition(ITaskFolder* This,BSTR path,ITaskDefinition *definition,LONG flags,VARIANT user,VARIANT password,TASK_LOGON_TYPE logon,VARIANT sddl,IRegisteredTask **task) {
|
---|
1744 | return This->lpVtbl->RegisterTaskDefinition(This,path,definition,flags,user,password,logon,sddl,task);
|
---|
1745 | }
|
---|
1746 | static FORCEINLINE HRESULT ITaskFolder_GetSecurityDescriptor(ITaskFolder* This,LONG info,BSTR *sddl) {
|
---|
1747 | return This->lpVtbl->GetSecurityDescriptor(This,info,sddl);
|
---|
1748 | }
|
---|
1749 | static FORCEINLINE HRESULT ITaskFolder_SetSecurityDescriptor(ITaskFolder* This,BSTR sddl,LONG flags) {
|
---|
1750 | return This->lpVtbl->SetSecurityDescriptor(This,sddl,flags);
|
---|
1751 | }
|
---|
1752 | #endif
|
---|
1753 | #endif
|
---|
1754 |
|
---|
1755 | #endif
|
---|
1756 |
|
---|
1757 |
|
---|
1758 | #endif /* __ITaskFolder_INTERFACE_DEFINED__ */
|
---|
1759 |
|
---|
1760 | /*****************************************************************************
|
---|
1761 | * ITaskFolderCollection interface
|
---|
1762 | */
|
---|
1763 | #ifndef __ITaskFolderCollection_INTERFACE_DEFINED__
|
---|
1764 | #define __ITaskFolderCollection_INTERFACE_DEFINED__
|
---|
1765 |
|
---|
1766 | DEFINE_GUID(IID_ITaskFolderCollection, 0x79184a66, 0x8664, 0x423f, 0x97,0xf1, 0x63,0x73,0x56,0xa5,0xd8,0x12);
|
---|
1767 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1768 | MIDL_INTERFACE("79184a66-8664-423f-97f1-637356a5d812")
|
---|
1769 | ITaskFolderCollection : public IDispatch
|
---|
1770 | {
|
---|
1771 | virtual HRESULT STDMETHODCALLTYPE get_Count(
|
---|
1772 | LONG *count) = 0;
|
---|
1773 |
|
---|
1774 | virtual HRESULT STDMETHODCALLTYPE get_Item(
|
---|
1775 | VARIANT index,
|
---|
1776 | ITaskFolder **folder) = 0;
|
---|
1777 |
|
---|
1778 | virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
|
---|
1779 | IUnknown **penum) = 0;
|
---|
1780 |
|
---|
1781 | };
|
---|
1782 | #ifdef __CRT_UUID_DECL
|
---|
1783 | __CRT_UUID_DECL(ITaskFolderCollection, 0x79184a66, 0x8664, 0x423f, 0x97,0xf1, 0x63,0x73,0x56,0xa5,0xd8,0x12)
|
---|
1784 | #endif
|
---|
1785 | #else
|
---|
1786 | typedef struct ITaskFolderCollectionVtbl {
|
---|
1787 | BEGIN_INTERFACE
|
---|
1788 |
|
---|
1789 | /*** IUnknown methods ***/
|
---|
1790 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1791 | ITaskFolderCollection *This,
|
---|
1792 | REFIID riid,
|
---|
1793 | void **ppvObject);
|
---|
1794 |
|
---|
1795 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1796 | ITaskFolderCollection *This);
|
---|
1797 |
|
---|
1798 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1799 | ITaskFolderCollection *This);
|
---|
1800 |
|
---|
1801 | /*** IDispatch methods ***/
|
---|
1802 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
1803 | ITaskFolderCollection *This,
|
---|
1804 | UINT *pctinfo);
|
---|
1805 |
|
---|
1806 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
1807 | ITaskFolderCollection *This,
|
---|
1808 | UINT iTInfo,
|
---|
1809 | LCID lcid,
|
---|
1810 | ITypeInfo **ppTInfo);
|
---|
1811 |
|
---|
1812 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
1813 | ITaskFolderCollection *This,
|
---|
1814 | REFIID riid,
|
---|
1815 | LPOLESTR *rgszNames,
|
---|
1816 | UINT cNames,
|
---|
1817 | LCID lcid,
|
---|
1818 | DISPID *rgDispId);
|
---|
1819 |
|
---|
1820 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
1821 | ITaskFolderCollection *This,
|
---|
1822 | DISPID dispIdMember,
|
---|
1823 | REFIID riid,
|
---|
1824 | LCID lcid,
|
---|
1825 | WORD wFlags,
|
---|
1826 | DISPPARAMS *pDispParams,
|
---|
1827 | VARIANT *pVarResult,
|
---|
1828 | EXCEPINFO *pExcepInfo,
|
---|
1829 | UINT *puArgErr);
|
---|
1830 |
|
---|
1831 | /*** ITaskFolderCollection methods ***/
|
---|
1832 | HRESULT (STDMETHODCALLTYPE *get_Count)(
|
---|
1833 | ITaskFolderCollection *This,
|
---|
1834 | LONG *count);
|
---|
1835 |
|
---|
1836 | HRESULT (STDMETHODCALLTYPE *get_Item)(
|
---|
1837 | ITaskFolderCollection *This,
|
---|
1838 | VARIANT index,
|
---|
1839 | ITaskFolder **folder);
|
---|
1840 |
|
---|
1841 | HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
|
---|
1842 | ITaskFolderCollection *This,
|
---|
1843 | IUnknown **penum);
|
---|
1844 |
|
---|
1845 | END_INTERFACE
|
---|
1846 | } ITaskFolderCollectionVtbl;
|
---|
1847 |
|
---|
1848 | interface ITaskFolderCollection {
|
---|
1849 | CONST_VTBL ITaskFolderCollectionVtbl* lpVtbl;
|
---|
1850 | };
|
---|
1851 |
|
---|
1852 | #ifdef COBJMACROS
|
---|
1853 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
1854 | /*** IUnknown methods ***/
|
---|
1855 | #define ITaskFolderCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1856 | #define ITaskFolderCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1857 | #define ITaskFolderCollection_Release(This) (This)->lpVtbl->Release(This)
|
---|
1858 | /*** IDispatch methods ***/
|
---|
1859 | #define ITaskFolderCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
1860 | #define ITaskFolderCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
1861 | #define ITaskFolderCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
1862 | #define ITaskFolderCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
1863 | /*** ITaskFolderCollection methods ***/
|
---|
1864 | #define ITaskFolderCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count)
|
---|
1865 | #define ITaskFolderCollection_get_Item(This,index,folder) (This)->lpVtbl->get_Item(This,index,folder)
|
---|
1866 | #define ITaskFolderCollection_get__NewEnum(This,penum) (This)->lpVtbl->get__NewEnum(This,penum)
|
---|
1867 | #else
|
---|
1868 | /*** IUnknown methods ***/
|
---|
1869 | static FORCEINLINE HRESULT ITaskFolderCollection_QueryInterface(ITaskFolderCollection* This,REFIID riid,void **ppvObject) {
|
---|
1870 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
1871 | }
|
---|
1872 | static FORCEINLINE ULONG ITaskFolderCollection_AddRef(ITaskFolderCollection* This) {
|
---|
1873 | return This->lpVtbl->AddRef(This);
|
---|
1874 | }
|
---|
1875 | static FORCEINLINE ULONG ITaskFolderCollection_Release(ITaskFolderCollection* This) {
|
---|
1876 | return This->lpVtbl->Release(This);
|
---|
1877 | }
|
---|
1878 | /*** IDispatch methods ***/
|
---|
1879 | static FORCEINLINE HRESULT ITaskFolderCollection_GetTypeInfoCount(ITaskFolderCollection* This,UINT *pctinfo) {
|
---|
1880 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
1881 | }
|
---|
1882 | static FORCEINLINE HRESULT ITaskFolderCollection_GetTypeInfo(ITaskFolderCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
1883 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
1884 | }
|
---|
1885 | static FORCEINLINE HRESULT ITaskFolderCollection_GetIDsOfNames(ITaskFolderCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
1886 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
1887 | }
|
---|
1888 | static FORCEINLINE HRESULT ITaskFolderCollection_Invoke(ITaskFolderCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
1889 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
1890 | }
|
---|
1891 | /*** ITaskFolderCollection methods ***/
|
---|
1892 | static FORCEINLINE HRESULT ITaskFolderCollection_get_Count(ITaskFolderCollection* This,LONG *count) {
|
---|
1893 | return This->lpVtbl->get_Count(This,count);
|
---|
1894 | }
|
---|
1895 | static FORCEINLINE HRESULT ITaskFolderCollection_get_Item(ITaskFolderCollection* This,VARIANT index,ITaskFolder **folder) {
|
---|
1896 | return This->lpVtbl->get_Item(This,index,folder);
|
---|
1897 | }
|
---|
1898 | static FORCEINLINE HRESULT ITaskFolderCollection_get__NewEnum(ITaskFolderCollection* This,IUnknown **penum) {
|
---|
1899 | return This->lpVtbl->get__NewEnum(This,penum);
|
---|
1900 | }
|
---|
1901 | #endif
|
---|
1902 | #endif
|
---|
1903 |
|
---|
1904 | #endif
|
---|
1905 |
|
---|
1906 |
|
---|
1907 | #endif /* __ITaskFolderCollection_INTERFACE_DEFINED__ */
|
---|
1908 |
|
---|
1909 | /*****************************************************************************
|
---|
1910 | * ITaskDefinition interface
|
---|
1911 | */
|
---|
1912 | #ifndef __ITaskDefinition_INTERFACE_DEFINED__
|
---|
1913 | #define __ITaskDefinition_INTERFACE_DEFINED__
|
---|
1914 |
|
---|
1915 | DEFINE_GUID(IID_ITaskDefinition, 0xf5bc8fc5, 0x536d, 0x4f77, 0xb8,0x52, 0xfb,0xc1,0x35,0x6f,0xde,0xb6);
|
---|
1916 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1917 | MIDL_INTERFACE("f5bc8fc5-536d-4f77-b852-fbc1356fdeb6")
|
---|
1918 | ITaskDefinition : public IDispatch
|
---|
1919 | {
|
---|
1920 | virtual HRESULT STDMETHODCALLTYPE get_RegistrationInfo(
|
---|
1921 | IRegistrationInfo **info) = 0;
|
---|
1922 |
|
---|
1923 | virtual HRESULT STDMETHODCALLTYPE put_RegistrationInfo(
|
---|
1924 | IRegistrationInfo *info) = 0;
|
---|
1925 |
|
---|
1926 | virtual HRESULT STDMETHODCALLTYPE get_Triggers(
|
---|
1927 | ITriggerCollection **triggers) = 0;
|
---|
1928 |
|
---|
1929 | virtual HRESULT STDMETHODCALLTYPE put_Triggers(
|
---|
1930 | ITriggerCollection *triggers) = 0;
|
---|
1931 |
|
---|
1932 | virtual HRESULT STDMETHODCALLTYPE get_Settings(
|
---|
1933 | ITaskSettings **settings) = 0;
|
---|
1934 |
|
---|
1935 | virtual HRESULT STDMETHODCALLTYPE put_Settings(
|
---|
1936 | ITaskSettings *settings) = 0;
|
---|
1937 |
|
---|
1938 | virtual HRESULT STDMETHODCALLTYPE get_Data(
|
---|
1939 | BSTR *data) = 0;
|
---|
1940 |
|
---|
1941 | virtual HRESULT STDMETHODCALLTYPE put_Data(
|
---|
1942 | BSTR data) = 0;
|
---|
1943 |
|
---|
1944 | virtual HRESULT STDMETHODCALLTYPE get_Principal(
|
---|
1945 | IPrincipal **principal) = 0;
|
---|
1946 |
|
---|
1947 | virtual HRESULT STDMETHODCALLTYPE put_Principal(
|
---|
1948 | IPrincipal *principal) = 0;
|
---|
1949 |
|
---|
1950 | virtual HRESULT STDMETHODCALLTYPE get_Actions(
|
---|
1951 | IActionCollection **actions) = 0;
|
---|
1952 |
|
---|
1953 | virtual HRESULT STDMETHODCALLTYPE put_Actions(
|
---|
1954 | IActionCollection *actions) = 0;
|
---|
1955 |
|
---|
1956 | virtual HRESULT STDMETHODCALLTYPE get_XmlText(
|
---|
1957 | BSTR *xml) = 0;
|
---|
1958 |
|
---|
1959 | virtual HRESULT STDMETHODCALLTYPE put_XmlText(
|
---|
1960 | BSTR xml) = 0;
|
---|
1961 |
|
---|
1962 | };
|
---|
1963 | #ifdef __CRT_UUID_DECL
|
---|
1964 | __CRT_UUID_DECL(ITaskDefinition, 0xf5bc8fc5, 0x536d, 0x4f77, 0xb8,0x52, 0xfb,0xc1,0x35,0x6f,0xde,0xb6)
|
---|
1965 | #endif
|
---|
1966 | #else
|
---|
1967 | typedef struct ITaskDefinitionVtbl {
|
---|
1968 | BEGIN_INTERFACE
|
---|
1969 |
|
---|
1970 | /*** IUnknown methods ***/
|
---|
1971 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1972 | ITaskDefinition *This,
|
---|
1973 | REFIID riid,
|
---|
1974 | void **ppvObject);
|
---|
1975 |
|
---|
1976 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1977 | ITaskDefinition *This);
|
---|
1978 |
|
---|
1979 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1980 | ITaskDefinition *This);
|
---|
1981 |
|
---|
1982 | /*** IDispatch methods ***/
|
---|
1983 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
1984 | ITaskDefinition *This,
|
---|
1985 | UINT *pctinfo);
|
---|
1986 |
|
---|
1987 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
1988 | ITaskDefinition *This,
|
---|
1989 | UINT iTInfo,
|
---|
1990 | LCID lcid,
|
---|
1991 | ITypeInfo **ppTInfo);
|
---|
1992 |
|
---|
1993 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
1994 | ITaskDefinition *This,
|
---|
1995 | REFIID riid,
|
---|
1996 | LPOLESTR *rgszNames,
|
---|
1997 | UINT cNames,
|
---|
1998 | LCID lcid,
|
---|
1999 | DISPID *rgDispId);
|
---|
2000 |
|
---|
2001 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
2002 | ITaskDefinition *This,
|
---|
2003 | DISPID dispIdMember,
|
---|
2004 | REFIID riid,
|
---|
2005 | LCID lcid,
|
---|
2006 | WORD wFlags,
|
---|
2007 | DISPPARAMS *pDispParams,
|
---|
2008 | VARIANT *pVarResult,
|
---|
2009 | EXCEPINFO *pExcepInfo,
|
---|
2010 | UINT *puArgErr);
|
---|
2011 |
|
---|
2012 | /*** ITaskDefinition methods ***/
|
---|
2013 | HRESULT (STDMETHODCALLTYPE *get_RegistrationInfo)(
|
---|
2014 | ITaskDefinition *This,
|
---|
2015 | IRegistrationInfo **info);
|
---|
2016 |
|
---|
2017 | HRESULT (STDMETHODCALLTYPE *put_RegistrationInfo)(
|
---|
2018 | ITaskDefinition *This,
|
---|
2019 | IRegistrationInfo *info);
|
---|
2020 |
|
---|
2021 | HRESULT (STDMETHODCALLTYPE *get_Triggers)(
|
---|
2022 | ITaskDefinition *This,
|
---|
2023 | ITriggerCollection **triggers);
|
---|
2024 |
|
---|
2025 | HRESULT (STDMETHODCALLTYPE *put_Triggers)(
|
---|
2026 | ITaskDefinition *This,
|
---|
2027 | ITriggerCollection *triggers);
|
---|
2028 |
|
---|
2029 | HRESULT (STDMETHODCALLTYPE *get_Settings)(
|
---|
2030 | ITaskDefinition *This,
|
---|
2031 | ITaskSettings **settings);
|
---|
2032 |
|
---|
2033 | HRESULT (STDMETHODCALLTYPE *put_Settings)(
|
---|
2034 | ITaskDefinition *This,
|
---|
2035 | ITaskSettings *settings);
|
---|
2036 |
|
---|
2037 | HRESULT (STDMETHODCALLTYPE *get_Data)(
|
---|
2038 | ITaskDefinition *This,
|
---|
2039 | BSTR *data);
|
---|
2040 |
|
---|
2041 | HRESULT (STDMETHODCALLTYPE *put_Data)(
|
---|
2042 | ITaskDefinition *This,
|
---|
2043 | BSTR data);
|
---|
2044 |
|
---|
2045 | HRESULT (STDMETHODCALLTYPE *get_Principal)(
|
---|
2046 | ITaskDefinition *This,
|
---|
2047 | IPrincipal **principal);
|
---|
2048 |
|
---|
2049 | HRESULT (STDMETHODCALLTYPE *put_Principal)(
|
---|
2050 | ITaskDefinition *This,
|
---|
2051 | IPrincipal *principal);
|
---|
2052 |
|
---|
2053 | HRESULT (STDMETHODCALLTYPE *get_Actions)(
|
---|
2054 | ITaskDefinition *This,
|
---|
2055 | IActionCollection **actions);
|
---|
2056 |
|
---|
2057 | HRESULT (STDMETHODCALLTYPE *put_Actions)(
|
---|
2058 | ITaskDefinition *This,
|
---|
2059 | IActionCollection *actions);
|
---|
2060 |
|
---|
2061 | HRESULT (STDMETHODCALLTYPE *get_XmlText)(
|
---|
2062 | ITaskDefinition *This,
|
---|
2063 | BSTR *xml);
|
---|
2064 |
|
---|
2065 | HRESULT (STDMETHODCALLTYPE *put_XmlText)(
|
---|
2066 | ITaskDefinition *This,
|
---|
2067 | BSTR xml);
|
---|
2068 |
|
---|
2069 | END_INTERFACE
|
---|
2070 | } ITaskDefinitionVtbl;
|
---|
2071 |
|
---|
2072 | interface ITaskDefinition {
|
---|
2073 | CONST_VTBL ITaskDefinitionVtbl* lpVtbl;
|
---|
2074 | };
|
---|
2075 |
|
---|
2076 | #ifdef COBJMACROS
|
---|
2077 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
2078 | /*** IUnknown methods ***/
|
---|
2079 | #define ITaskDefinition_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2080 | #define ITaskDefinition_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2081 | #define ITaskDefinition_Release(This) (This)->lpVtbl->Release(This)
|
---|
2082 | /*** IDispatch methods ***/
|
---|
2083 | #define ITaskDefinition_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
2084 | #define ITaskDefinition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
2085 | #define ITaskDefinition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
2086 | #define ITaskDefinition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
2087 | /*** ITaskDefinition methods ***/
|
---|
2088 | #define ITaskDefinition_get_RegistrationInfo(This,info) (This)->lpVtbl->get_RegistrationInfo(This,info)
|
---|
2089 | #define ITaskDefinition_put_RegistrationInfo(This,info) (This)->lpVtbl->put_RegistrationInfo(This,info)
|
---|
2090 | #define ITaskDefinition_get_Triggers(This,triggers) (This)->lpVtbl->get_Triggers(This,triggers)
|
---|
2091 | #define ITaskDefinition_put_Triggers(This,triggers) (This)->lpVtbl->put_Triggers(This,triggers)
|
---|
2092 | #define ITaskDefinition_get_Settings(This,settings) (This)->lpVtbl->get_Settings(This,settings)
|
---|
2093 | #define ITaskDefinition_put_Settings(This,settings) (This)->lpVtbl->put_Settings(This,settings)
|
---|
2094 | #define ITaskDefinition_get_Data(This,data) (This)->lpVtbl->get_Data(This,data)
|
---|
2095 | #define ITaskDefinition_put_Data(This,data) (This)->lpVtbl->put_Data(This,data)
|
---|
2096 | #define ITaskDefinition_get_Principal(This,principal) (This)->lpVtbl->get_Principal(This,principal)
|
---|
2097 | #define ITaskDefinition_put_Principal(This,principal) (This)->lpVtbl->put_Principal(This,principal)
|
---|
2098 | #define ITaskDefinition_get_Actions(This,actions) (This)->lpVtbl->get_Actions(This,actions)
|
---|
2099 | #define ITaskDefinition_put_Actions(This,actions) (This)->lpVtbl->put_Actions(This,actions)
|
---|
2100 | #define ITaskDefinition_get_XmlText(This,xml) (This)->lpVtbl->get_XmlText(This,xml)
|
---|
2101 | #define ITaskDefinition_put_XmlText(This,xml) (This)->lpVtbl->put_XmlText(This,xml)
|
---|
2102 | #else
|
---|
2103 | /*** IUnknown methods ***/
|
---|
2104 | static FORCEINLINE HRESULT ITaskDefinition_QueryInterface(ITaskDefinition* This,REFIID riid,void **ppvObject) {
|
---|
2105 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
2106 | }
|
---|
2107 | static FORCEINLINE ULONG ITaskDefinition_AddRef(ITaskDefinition* This) {
|
---|
2108 | return This->lpVtbl->AddRef(This);
|
---|
2109 | }
|
---|
2110 | static FORCEINLINE ULONG ITaskDefinition_Release(ITaskDefinition* This) {
|
---|
2111 | return This->lpVtbl->Release(This);
|
---|
2112 | }
|
---|
2113 | /*** IDispatch methods ***/
|
---|
2114 | static FORCEINLINE HRESULT ITaskDefinition_GetTypeInfoCount(ITaskDefinition* This,UINT *pctinfo) {
|
---|
2115 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
2116 | }
|
---|
2117 | static FORCEINLINE HRESULT ITaskDefinition_GetTypeInfo(ITaskDefinition* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
2118 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
2119 | }
|
---|
2120 | static FORCEINLINE HRESULT ITaskDefinition_GetIDsOfNames(ITaskDefinition* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
2121 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
2122 | }
|
---|
2123 | static FORCEINLINE HRESULT ITaskDefinition_Invoke(ITaskDefinition* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
2124 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
2125 | }
|
---|
2126 | /*** ITaskDefinition methods ***/
|
---|
2127 | static FORCEINLINE HRESULT ITaskDefinition_get_RegistrationInfo(ITaskDefinition* This,IRegistrationInfo **info) {
|
---|
2128 | return This->lpVtbl->get_RegistrationInfo(This,info);
|
---|
2129 | }
|
---|
2130 | static FORCEINLINE HRESULT ITaskDefinition_put_RegistrationInfo(ITaskDefinition* This,IRegistrationInfo *info) {
|
---|
2131 | return This->lpVtbl->put_RegistrationInfo(This,info);
|
---|
2132 | }
|
---|
2133 | static FORCEINLINE HRESULT ITaskDefinition_get_Triggers(ITaskDefinition* This,ITriggerCollection **triggers) {
|
---|
2134 | return This->lpVtbl->get_Triggers(This,triggers);
|
---|
2135 | }
|
---|
2136 | static FORCEINLINE HRESULT ITaskDefinition_put_Triggers(ITaskDefinition* This,ITriggerCollection *triggers) {
|
---|
2137 | return This->lpVtbl->put_Triggers(This,triggers);
|
---|
2138 | }
|
---|
2139 | static FORCEINLINE HRESULT ITaskDefinition_get_Settings(ITaskDefinition* This,ITaskSettings **settings) {
|
---|
2140 | return This->lpVtbl->get_Settings(This,settings);
|
---|
2141 | }
|
---|
2142 | static FORCEINLINE HRESULT ITaskDefinition_put_Settings(ITaskDefinition* This,ITaskSettings *settings) {
|
---|
2143 | return This->lpVtbl->put_Settings(This,settings);
|
---|
2144 | }
|
---|
2145 | static FORCEINLINE HRESULT ITaskDefinition_get_Data(ITaskDefinition* This,BSTR *data) {
|
---|
2146 | return This->lpVtbl->get_Data(This,data);
|
---|
2147 | }
|
---|
2148 | static FORCEINLINE HRESULT ITaskDefinition_put_Data(ITaskDefinition* This,BSTR data) {
|
---|
2149 | return This->lpVtbl->put_Data(This,data);
|
---|
2150 | }
|
---|
2151 | static FORCEINLINE HRESULT ITaskDefinition_get_Principal(ITaskDefinition* This,IPrincipal **principal) {
|
---|
2152 | return This->lpVtbl->get_Principal(This,principal);
|
---|
2153 | }
|
---|
2154 | static FORCEINLINE HRESULT ITaskDefinition_put_Principal(ITaskDefinition* This,IPrincipal *principal) {
|
---|
2155 | return This->lpVtbl->put_Principal(This,principal);
|
---|
2156 | }
|
---|
2157 | static FORCEINLINE HRESULT ITaskDefinition_get_Actions(ITaskDefinition* This,IActionCollection **actions) {
|
---|
2158 | return This->lpVtbl->get_Actions(This,actions);
|
---|
2159 | }
|
---|
2160 | static FORCEINLINE HRESULT ITaskDefinition_put_Actions(ITaskDefinition* This,IActionCollection *actions) {
|
---|
2161 | return This->lpVtbl->put_Actions(This,actions);
|
---|
2162 | }
|
---|
2163 | static FORCEINLINE HRESULT ITaskDefinition_get_XmlText(ITaskDefinition* This,BSTR *xml) {
|
---|
2164 | return This->lpVtbl->get_XmlText(This,xml);
|
---|
2165 | }
|
---|
2166 | static FORCEINLINE HRESULT ITaskDefinition_put_XmlText(ITaskDefinition* This,BSTR xml) {
|
---|
2167 | return This->lpVtbl->put_XmlText(This,xml);
|
---|
2168 | }
|
---|
2169 | #endif
|
---|
2170 | #endif
|
---|
2171 |
|
---|
2172 | #endif
|
---|
2173 |
|
---|
2174 |
|
---|
2175 | #endif /* __ITaskDefinition_INTERFACE_DEFINED__ */
|
---|
2176 |
|
---|
2177 | /*****************************************************************************
|
---|
2178 | * ITaskSettings interface
|
---|
2179 | */
|
---|
2180 | #ifndef __ITaskSettings_INTERFACE_DEFINED__
|
---|
2181 | #define __ITaskSettings_INTERFACE_DEFINED__
|
---|
2182 |
|
---|
2183 | DEFINE_GUID(IID_ITaskSettings, 0x8fd4711d, 0x2d02, 0x4c8c, 0x87,0xe3, 0xef,0xf6,0x99,0xde,0x12,0x7e);
|
---|
2184 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2185 | MIDL_INTERFACE("8fd4711d-2d02-4c8c-87e3-eff699de127e")
|
---|
2186 | ITaskSettings : public IDispatch
|
---|
2187 | {
|
---|
2188 | virtual HRESULT STDMETHODCALLTYPE get_AllowDemandStart(
|
---|
2189 | VARIANT_BOOL *allow) = 0;
|
---|
2190 |
|
---|
2191 | virtual HRESULT STDMETHODCALLTYPE put_AllowDemandStart(
|
---|
2192 | VARIANT_BOOL allow) = 0;
|
---|
2193 |
|
---|
2194 | virtual HRESULT STDMETHODCALLTYPE get_RestartInterval(
|
---|
2195 | BSTR *interval) = 0;
|
---|
2196 |
|
---|
2197 | virtual HRESULT STDMETHODCALLTYPE put_RestartInterval(
|
---|
2198 | BSTR interval) = 0;
|
---|
2199 |
|
---|
2200 | virtual HRESULT STDMETHODCALLTYPE get_RestartCount(
|
---|
2201 | INT *count) = 0;
|
---|
2202 |
|
---|
2203 | virtual HRESULT STDMETHODCALLTYPE put_RestartCount(
|
---|
2204 | INT count) = 0;
|
---|
2205 |
|
---|
2206 | virtual HRESULT STDMETHODCALLTYPE get_MultipleInstances(
|
---|
2207 | TASK_INSTANCES_POLICY *policy) = 0;
|
---|
2208 |
|
---|
2209 | virtual HRESULT STDMETHODCALLTYPE put_MultipleInstances(
|
---|
2210 | TASK_INSTANCES_POLICY policy) = 0;
|
---|
2211 |
|
---|
2212 | virtual HRESULT STDMETHODCALLTYPE get_StopIfGoingOnBatteries(
|
---|
2213 | VARIANT_BOOL *stop) = 0;
|
---|
2214 |
|
---|
2215 | virtual HRESULT STDMETHODCALLTYPE put_StopIfGoingOnBatteries(
|
---|
2216 | VARIANT_BOOL stop) = 0;
|
---|
2217 |
|
---|
2218 | virtual HRESULT STDMETHODCALLTYPE get_DisallowStartIfOnBatteries(
|
---|
2219 | VARIANT_BOOL *disallow) = 0;
|
---|
2220 |
|
---|
2221 | virtual HRESULT STDMETHODCALLTYPE put_DisallowStartIfOnBatteries(
|
---|
2222 | VARIANT_BOOL disallow) = 0;
|
---|
2223 |
|
---|
2224 | virtual HRESULT STDMETHODCALLTYPE get_AllowHardTerminate(
|
---|
2225 | VARIANT_BOOL *allow) = 0;
|
---|
2226 |
|
---|
2227 | virtual HRESULT STDMETHODCALLTYPE put_AllowHardTerminate(
|
---|
2228 | VARIANT_BOOL allow) = 0;
|
---|
2229 |
|
---|
2230 | virtual HRESULT STDMETHODCALLTYPE get_StartWhenAvailable(
|
---|
2231 | VARIANT_BOOL *start) = 0;
|
---|
2232 |
|
---|
2233 | virtual HRESULT STDMETHODCALLTYPE put_StartWhenAvailable(
|
---|
2234 | VARIANT_BOOL start) = 0;
|
---|
2235 |
|
---|
2236 | virtual HRESULT STDMETHODCALLTYPE get_XmlText(
|
---|
2237 | BSTR *xml) = 0;
|
---|
2238 |
|
---|
2239 | virtual HRESULT STDMETHODCALLTYPE put_XmlText(
|
---|
2240 | BSTR xml) = 0;
|
---|
2241 |
|
---|
2242 | virtual HRESULT STDMETHODCALLTYPE get_RunOnlyIfNetworkAvailable(
|
---|
2243 | VARIANT_BOOL *run) = 0;
|
---|
2244 |
|
---|
2245 | virtual HRESULT STDMETHODCALLTYPE put_RunOnlyIfNetworkAvailable(
|
---|
2246 | VARIANT_BOOL run) = 0;
|
---|
2247 |
|
---|
2248 | virtual HRESULT STDMETHODCALLTYPE get_ExecutionTimeLimit(
|
---|
2249 | BSTR *limit) = 0;
|
---|
2250 |
|
---|
2251 | virtual HRESULT STDMETHODCALLTYPE put_ExecutionTimeLimit(
|
---|
2252 | BSTR limit) = 0;
|
---|
2253 |
|
---|
2254 | virtual HRESULT STDMETHODCALLTYPE get_Enabled(
|
---|
2255 | VARIANT_BOOL *enabled) = 0;
|
---|
2256 |
|
---|
2257 | virtual HRESULT STDMETHODCALLTYPE put_Enabled(
|
---|
2258 | VARIANT_BOOL enabled) = 0;
|
---|
2259 |
|
---|
2260 | virtual HRESULT STDMETHODCALLTYPE get_DeleteExpiredTaskAfter(
|
---|
2261 | BSTR *delay) = 0;
|
---|
2262 |
|
---|
2263 | virtual HRESULT STDMETHODCALLTYPE put_DeleteExpiredTaskAfter(
|
---|
2264 | BSTR delay) = 0;
|
---|
2265 |
|
---|
2266 | virtual HRESULT STDMETHODCALLTYPE get_Priority(
|
---|
2267 | INT *priority) = 0;
|
---|
2268 |
|
---|
2269 | virtual HRESULT STDMETHODCALLTYPE put_Priority(
|
---|
2270 | INT priority) = 0;
|
---|
2271 |
|
---|
2272 | virtual HRESULT STDMETHODCALLTYPE get_Compatibility(
|
---|
2273 | TASK_COMPATIBILITY *level) = 0;
|
---|
2274 |
|
---|
2275 | virtual HRESULT STDMETHODCALLTYPE put_Compatibility(
|
---|
2276 | TASK_COMPATIBILITY level) = 0;
|
---|
2277 |
|
---|
2278 | virtual HRESULT STDMETHODCALLTYPE get_Hidden(
|
---|
2279 | VARIANT_BOOL *hidden) = 0;
|
---|
2280 |
|
---|
2281 | virtual HRESULT STDMETHODCALLTYPE put_Hidden(
|
---|
2282 | VARIANT_BOOL hidden) = 0;
|
---|
2283 |
|
---|
2284 | virtual HRESULT STDMETHODCALLTYPE get_IdleSettings(
|
---|
2285 | IIdleSettings **settings) = 0;
|
---|
2286 |
|
---|
2287 | virtual HRESULT STDMETHODCALLTYPE put_IdleSettings(
|
---|
2288 | IIdleSettings *settings) = 0;
|
---|
2289 |
|
---|
2290 | virtual HRESULT STDMETHODCALLTYPE get_RunOnlyIfIdle(
|
---|
2291 | VARIANT_BOOL *run) = 0;
|
---|
2292 |
|
---|
2293 | virtual HRESULT STDMETHODCALLTYPE put_RunOnlyIfIdle(
|
---|
2294 | VARIANT_BOOL run) = 0;
|
---|
2295 |
|
---|
2296 | virtual HRESULT STDMETHODCALLTYPE get_WakeToRun(
|
---|
2297 | VARIANT_BOOL *wake) = 0;
|
---|
2298 |
|
---|
2299 | virtual HRESULT STDMETHODCALLTYPE put_WakeToRun(
|
---|
2300 | VARIANT_BOOL wake) = 0;
|
---|
2301 |
|
---|
2302 | virtual HRESULT STDMETHODCALLTYPE get_NetworkSettings(
|
---|
2303 | INetworkSettings **settings) = 0;
|
---|
2304 |
|
---|
2305 | virtual HRESULT STDMETHODCALLTYPE put_NetworkSettings(
|
---|
2306 | INetworkSettings *settings) = 0;
|
---|
2307 |
|
---|
2308 | };
|
---|
2309 | #ifdef __CRT_UUID_DECL
|
---|
2310 | __CRT_UUID_DECL(ITaskSettings, 0x8fd4711d, 0x2d02, 0x4c8c, 0x87,0xe3, 0xef,0xf6,0x99,0xde,0x12,0x7e)
|
---|
2311 | #endif
|
---|
2312 | #else
|
---|
2313 | typedef struct ITaskSettingsVtbl {
|
---|
2314 | BEGIN_INTERFACE
|
---|
2315 |
|
---|
2316 | /*** IUnknown methods ***/
|
---|
2317 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2318 | ITaskSettings *This,
|
---|
2319 | REFIID riid,
|
---|
2320 | void **ppvObject);
|
---|
2321 |
|
---|
2322 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2323 | ITaskSettings *This);
|
---|
2324 |
|
---|
2325 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2326 | ITaskSettings *This);
|
---|
2327 |
|
---|
2328 | /*** IDispatch methods ***/
|
---|
2329 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
2330 | ITaskSettings *This,
|
---|
2331 | UINT *pctinfo);
|
---|
2332 |
|
---|
2333 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
2334 | ITaskSettings *This,
|
---|
2335 | UINT iTInfo,
|
---|
2336 | LCID lcid,
|
---|
2337 | ITypeInfo **ppTInfo);
|
---|
2338 |
|
---|
2339 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
2340 | ITaskSettings *This,
|
---|
2341 | REFIID riid,
|
---|
2342 | LPOLESTR *rgszNames,
|
---|
2343 | UINT cNames,
|
---|
2344 | LCID lcid,
|
---|
2345 | DISPID *rgDispId);
|
---|
2346 |
|
---|
2347 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
2348 | ITaskSettings *This,
|
---|
2349 | DISPID dispIdMember,
|
---|
2350 | REFIID riid,
|
---|
2351 | LCID lcid,
|
---|
2352 | WORD wFlags,
|
---|
2353 | DISPPARAMS *pDispParams,
|
---|
2354 | VARIANT *pVarResult,
|
---|
2355 | EXCEPINFO *pExcepInfo,
|
---|
2356 | UINT *puArgErr);
|
---|
2357 |
|
---|
2358 | /*** ITaskSettings methods ***/
|
---|
2359 | HRESULT (STDMETHODCALLTYPE *get_AllowDemandStart)(
|
---|
2360 | ITaskSettings *This,
|
---|
2361 | VARIANT_BOOL *allow);
|
---|
2362 |
|
---|
2363 | HRESULT (STDMETHODCALLTYPE *put_AllowDemandStart)(
|
---|
2364 | ITaskSettings *This,
|
---|
2365 | VARIANT_BOOL allow);
|
---|
2366 |
|
---|
2367 | HRESULT (STDMETHODCALLTYPE *get_RestartInterval)(
|
---|
2368 | ITaskSettings *This,
|
---|
2369 | BSTR *interval);
|
---|
2370 |
|
---|
2371 | HRESULT (STDMETHODCALLTYPE *put_RestartInterval)(
|
---|
2372 | ITaskSettings *This,
|
---|
2373 | BSTR interval);
|
---|
2374 |
|
---|
2375 | HRESULT (STDMETHODCALLTYPE *get_RestartCount)(
|
---|
2376 | ITaskSettings *This,
|
---|
2377 | INT *count);
|
---|
2378 |
|
---|
2379 | HRESULT (STDMETHODCALLTYPE *put_RestartCount)(
|
---|
2380 | ITaskSettings *This,
|
---|
2381 | INT count);
|
---|
2382 |
|
---|
2383 | HRESULT (STDMETHODCALLTYPE *get_MultipleInstances)(
|
---|
2384 | ITaskSettings *This,
|
---|
2385 | TASK_INSTANCES_POLICY *policy);
|
---|
2386 |
|
---|
2387 | HRESULT (STDMETHODCALLTYPE *put_MultipleInstances)(
|
---|
2388 | ITaskSettings *This,
|
---|
2389 | TASK_INSTANCES_POLICY policy);
|
---|
2390 |
|
---|
2391 | HRESULT (STDMETHODCALLTYPE *get_StopIfGoingOnBatteries)(
|
---|
2392 | ITaskSettings *This,
|
---|
2393 | VARIANT_BOOL *stop);
|
---|
2394 |
|
---|
2395 | HRESULT (STDMETHODCALLTYPE *put_StopIfGoingOnBatteries)(
|
---|
2396 | ITaskSettings *This,
|
---|
2397 | VARIANT_BOOL stop);
|
---|
2398 |
|
---|
2399 | HRESULT (STDMETHODCALLTYPE *get_DisallowStartIfOnBatteries)(
|
---|
2400 | ITaskSettings *This,
|
---|
2401 | VARIANT_BOOL *disallow);
|
---|
2402 |
|
---|
2403 | HRESULT (STDMETHODCALLTYPE *put_DisallowStartIfOnBatteries)(
|
---|
2404 | ITaskSettings *This,
|
---|
2405 | VARIANT_BOOL disallow);
|
---|
2406 |
|
---|
2407 | HRESULT (STDMETHODCALLTYPE *get_AllowHardTerminate)(
|
---|
2408 | ITaskSettings *This,
|
---|
2409 | VARIANT_BOOL *allow);
|
---|
2410 |
|
---|
2411 | HRESULT (STDMETHODCALLTYPE *put_AllowHardTerminate)(
|
---|
2412 | ITaskSettings *This,
|
---|
2413 | VARIANT_BOOL allow);
|
---|
2414 |
|
---|
2415 | HRESULT (STDMETHODCALLTYPE *get_StartWhenAvailable)(
|
---|
2416 | ITaskSettings *This,
|
---|
2417 | VARIANT_BOOL *start);
|
---|
2418 |
|
---|
2419 | HRESULT (STDMETHODCALLTYPE *put_StartWhenAvailable)(
|
---|
2420 | ITaskSettings *This,
|
---|
2421 | VARIANT_BOOL start);
|
---|
2422 |
|
---|
2423 | HRESULT (STDMETHODCALLTYPE *get_XmlText)(
|
---|
2424 | ITaskSettings *This,
|
---|
2425 | BSTR *xml);
|
---|
2426 |
|
---|
2427 | HRESULT (STDMETHODCALLTYPE *put_XmlText)(
|
---|
2428 | ITaskSettings *This,
|
---|
2429 | BSTR xml);
|
---|
2430 |
|
---|
2431 | HRESULT (STDMETHODCALLTYPE *get_RunOnlyIfNetworkAvailable)(
|
---|
2432 | ITaskSettings *This,
|
---|
2433 | VARIANT_BOOL *run);
|
---|
2434 |
|
---|
2435 | HRESULT (STDMETHODCALLTYPE *put_RunOnlyIfNetworkAvailable)(
|
---|
2436 | ITaskSettings *This,
|
---|
2437 | VARIANT_BOOL run);
|
---|
2438 |
|
---|
2439 | HRESULT (STDMETHODCALLTYPE *get_ExecutionTimeLimit)(
|
---|
2440 | ITaskSettings *This,
|
---|
2441 | BSTR *limit);
|
---|
2442 |
|
---|
2443 | HRESULT (STDMETHODCALLTYPE *put_ExecutionTimeLimit)(
|
---|
2444 | ITaskSettings *This,
|
---|
2445 | BSTR limit);
|
---|
2446 |
|
---|
2447 | HRESULT (STDMETHODCALLTYPE *get_Enabled)(
|
---|
2448 | ITaskSettings *This,
|
---|
2449 | VARIANT_BOOL *enabled);
|
---|
2450 |
|
---|
2451 | HRESULT (STDMETHODCALLTYPE *put_Enabled)(
|
---|
2452 | ITaskSettings *This,
|
---|
2453 | VARIANT_BOOL enabled);
|
---|
2454 |
|
---|
2455 | HRESULT (STDMETHODCALLTYPE *get_DeleteExpiredTaskAfter)(
|
---|
2456 | ITaskSettings *This,
|
---|
2457 | BSTR *delay);
|
---|
2458 |
|
---|
2459 | HRESULT (STDMETHODCALLTYPE *put_DeleteExpiredTaskAfter)(
|
---|
2460 | ITaskSettings *This,
|
---|
2461 | BSTR delay);
|
---|
2462 |
|
---|
2463 | HRESULT (STDMETHODCALLTYPE *get_Priority)(
|
---|
2464 | ITaskSettings *This,
|
---|
2465 | INT *priority);
|
---|
2466 |
|
---|
2467 | HRESULT (STDMETHODCALLTYPE *put_Priority)(
|
---|
2468 | ITaskSettings *This,
|
---|
2469 | INT priority);
|
---|
2470 |
|
---|
2471 | HRESULT (STDMETHODCALLTYPE *get_Compatibility)(
|
---|
2472 | ITaskSettings *This,
|
---|
2473 | TASK_COMPATIBILITY *level);
|
---|
2474 |
|
---|
2475 | HRESULT (STDMETHODCALLTYPE *put_Compatibility)(
|
---|
2476 | ITaskSettings *This,
|
---|
2477 | TASK_COMPATIBILITY level);
|
---|
2478 |
|
---|
2479 | HRESULT (STDMETHODCALLTYPE *get_Hidden)(
|
---|
2480 | ITaskSettings *This,
|
---|
2481 | VARIANT_BOOL *hidden);
|
---|
2482 |
|
---|
2483 | HRESULT (STDMETHODCALLTYPE *put_Hidden)(
|
---|
2484 | ITaskSettings *This,
|
---|
2485 | VARIANT_BOOL hidden);
|
---|
2486 |
|
---|
2487 | HRESULT (STDMETHODCALLTYPE *get_IdleSettings)(
|
---|
2488 | ITaskSettings *This,
|
---|
2489 | IIdleSettings **settings);
|
---|
2490 |
|
---|
2491 | HRESULT (STDMETHODCALLTYPE *put_IdleSettings)(
|
---|
2492 | ITaskSettings *This,
|
---|
2493 | IIdleSettings *settings);
|
---|
2494 |
|
---|
2495 | HRESULT (STDMETHODCALLTYPE *get_RunOnlyIfIdle)(
|
---|
2496 | ITaskSettings *This,
|
---|
2497 | VARIANT_BOOL *run);
|
---|
2498 |
|
---|
2499 | HRESULT (STDMETHODCALLTYPE *put_RunOnlyIfIdle)(
|
---|
2500 | ITaskSettings *This,
|
---|
2501 | VARIANT_BOOL run);
|
---|
2502 |
|
---|
2503 | HRESULT (STDMETHODCALLTYPE *get_WakeToRun)(
|
---|
2504 | ITaskSettings *This,
|
---|
2505 | VARIANT_BOOL *wake);
|
---|
2506 |
|
---|
2507 | HRESULT (STDMETHODCALLTYPE *put_WakeToRun)(
|
---|
2508 | ITaskSettings *This,
|
---|
2509 | VARIANT_BOOL wake);
|
---|
2510 |
|
---|
2511 | HRESULT (STDMETHODCALLTYPE *get_NetworkSettings)(
|
---|
2512 | ITaskSettings *This,
|
---|
2513 | INetworkSettings **settings);
|
---|
2514 |
|
---|
2515 | HRESULT (STDMETHODCALLTYPE *put_NetworkSettings)(
|
---|
2516 | ITaskSettings *This,
|
---|
2517 | INetworkSettings *settings);
|
---|
2518 |
|
---|
2519 | END_INTERFACE
|
---|
2520 | } ITaskSettingsVtbl;
|
---|
2521 |
|
---|
2522 | interface ITaskSettings {
|
---|
2523 | CONST_VTBL ITaskSettingsVtbl* lpVtbl;
|
---|
2524 | };
|
---|
2525 |
|
---|
2526 | #ifdef COBJMACROS
|
---|
2527 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
2528 | /*** IUnknown methods ***/
|
---|
2529 | #define ITaskSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2530 | #define ITaskSettings_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2531 | #define ITaskSettings_Release(This) (This)->lpVtbl->Release(This)
|
---|
2532 | /*** IDispatch methods ***/
|
---|
2533 | #define ITaskSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
2534 | #define ITaskSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
2535 | #define ITaskSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
2536 | #define ITaskSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
2537 | /*** ITaskSettings methods ***/
|
---|
2538 | #define ITaskSettings_get_AllowDemandStart(This,allow) (This)->lpVtbl->get_AllowDemandStart(This,allow)
|
---|
2539 | #define ITaskSettings_put_AllowDemandStart(This,allow) (This)->lpVtbl->put_AllowDemandStart(This,allow)
|
---|
2540 | #define ITaskSettings_get_RestartInterval(This,interval) (This)->lpVtbl->get_RestartInterval(This,interval)
|
---|
2541 | #define ITaskSettings_put_RestartInterval(This,interval) (This)->lpVtbl->put_RestartInterval(This,interval)
|
---|
2542 | #define ITaskSettings_get_RestartCount(This,count) (This)->lpVtbl->get_RestartCount(This,count)
|
---|
2543 | #define ITaskSettings_put_RestartCount(This,count) (This)->lpVtbl->put_RestartCount(This,count)
|
---|
2544 | #define ITaskSettings_get_MultipleInstances(This,policy) (This)->lpVtbl->get_MultipleInstances(This,policy)
|
---|
2545 | #define ITaskSettings_put_MultipleInstances(This,policy) (This)->lpVtbl->put_MultipleInstances(This,policy)
|
---|
2546 | #define ITaskSettings_get_StopIfGoingOnBatteries(This,stop) (This)->lpVtbl->get_StopIfGoingOnBatteries(This,stop)
|
---|
2547 | #define ITaskSettings_put_StopIfGoingOnBatteries(This,stop) (This)->lpVtbl->put_StopIfGoingOnBatteries(This,stop)
|
---|
2548 | #define ITaskSettings_get_DisallowStartIfOnBatteries(This,disallow) (This)->lpVtbl->get_DisallowStartIfOnBatteries(This,disallow)
|
---|
2549 | #define ITaskSettings_put_DisallowStartIfOnBatteries(This,disallow) (This)->lpVtbl->put_DisallowStartIfOnBatteries(This,disallow)
|
---|
2550 | #define ITaskSettings_get_AllowHardTerminate(This,allow) (This)->lpVtbl->get_AllowHardTerminate(This,allow)
|
---|
2551 | #define ITaskSettings_put_AllowHardTerminate(This,allow) (This)->lpVtbl->put_AllowHardTerminate(This,allow)
|
---|
2552 | #define ITaskSettings_get_StartWhenAvailable(This,start) (This)->lpVtbl->get_StartWhenAvailable(This,start)
|
---|
2553 | #define ITaskSettings_put_StartWhenAvailable(This,start) (This)->lpVtbl->put_StartWhenAvailable(This,start)
|
---|
2554 | #define ITaskSettings_get_XmlText(This,xml) (This)->lpVtbl->get_XmlText(This,xml)
|
---|
2555 | #define ITaskSettings_put_XmlText(This,xml) (This)->lpVtbl->put_XmlText(This,xml)
|
---|
2556 | #define ITaskSettings_get_RunOnlyIfNetworkAvailable(This,run) (This)->lpVtbl->get_RunOnlyIfNetworkAvailable(This,run)
|
---|
2557 | #define ITaskSettings_put_RunOnlyIfNetworkAvailable(This,run) (This)->lpVtbl->put_RunOnlyIfNetworkAvailable(This,run)
|
---|
2558 | #define ITaskSettings_get_ExecutionTimeLimit(This,limit) (This)->lpVtbl->get_ExecutionTimeLimit(This,limit)
|
---|
2559 | #define ITaskSettings_put_ExecutionTimeLimit(This,limit) (This)->lpVtbl->put_ExecutionTimeLimit(This,limit)
|
---|
2560 | #define ITaskSettings_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled)
|
---|
2561 | #define ITaskSettings_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled)
|
---|
2562 | #define ITaskSettings_get_DeleteExpiredTaskAfter(This,delay) (This)->lpVtbl->get_DeleteExpiredTaskAfter(This,delay)
|
---|
2563 | #define ITaskSettings_put_DeleteExpiredTaskAfter(This,delay) (This)->lpVtbl->put_DeleteExpiredTaskAfter(This,delay)
|
---|
2564 | #define ITaskSettings_get_Priority(This,priority) (This)->lpVtbl->get_Priority(This,priority)
|
---|
2565 | #define ITaskSettings_put_Priority(This,priority) (This)->lpVtbl->put_Priority(This,priority)
|
---|
2566 | #define ITaskSettings_get_Compatibility(This,level) (This)->lpVtbl->get_Compatibility(This,level)
|
---|
2567 | #define ITaskSettings_put_Compatibility(This,level) (This)->lpVtbl->put_Compatibility(This,level)
|
---|
2568 | #define ITaskSettings_get_Hidden(This,hidden) (This)->lpVtbl->get_Hidden(This,hidden)
|
---|
2569 | #define ITaskSettings_put_Hidden(This,hidden) (This)->lpVtbl->put_Hidden(This,hidden)
|
---|
2570 | #define ITaskSettings_get_IdleSettings(This,settings) (This)->lpVtbl->get_IdleSettings(This,settings)
|
---|
2571 | #define ITaskSettings_put_IdleSettings(This,settings) (This)->lpVtbl->put_IdleSettings(This,settings)
|
---|
2572 | #define ITaskSettings_get_RunOnlyIfIdle(This,run) (This)->lpVtbl->get_RunOnlyIfIdle(This,run)
|
---|
2573 | #define ITaskSettings_put_RunOnlyIfIdle(This,run) (This)->lpVtbl->put_RunOnlyIfIdle(This,run)
|
---|
2574 | #define ITaskSettings_get_WakeToRun(This,wake) (This)->lpVtbl->get_WakeToRun(This,wake)
|
---|
2575 | #define ITaskSettings_put_WakeToRun(This,wake) (This)->lpVtbl->put_WakeToRun(This,wake)
|
---|
2576 | #define ITaskSettings_get_NetworkSettings(This,settings) (This)->lpVtbl->get_NetworkSettings(This,settings)
|
---|
2577 | #define ITaskSettings_put_NetworkSettings(This,settings) (This)->lpVtbl->put_NetworkSettings(This,settings)
|
---|
2578 | #else
|
---|
2579 | /*** IUnknown methods ***/
|
---|
2580 | static FORCEINLINE HRESULT ITaskSettings_QueryInterface(ITaskSettings* This,REFIID riid,void **ppvObject) {
|
---|
2581 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
2582 | }
|
---|
2583 | static FORCEINLINE ULONG ITaskSettings_AddRef(ITaskSettings* This) {
|
---|
2584 | return This->lpVtbl->AddRef(This);
|
---|
2585 | }
|
---|
2586 | static FORCEINLINE ULONG ITaskSettings_Release(ITaskSettings* This) {
|
---|
2587 | return This->lpVtbl->Release(This);
|
---|
2588 | }
|
---|
2589 | /*** IDispatch methods ***/
|
---|
2590 | static FORCEINLINE HRESULT ITaskSettings_GetTypeInfoCount(ITaskSettings* This,UINT *pctinfo) {
|
---|
2591 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
2592 | }
|
---|
2593 | static FORCEINLINE HRESULT ITaskSettings_GetTypeInfo(ITaskSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
2594 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
2595 | }
|
---|
2596 | static FORCEINLINE HRESULT ITaskSettings_GetIDsOfNames(ITaskSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
2597 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
2598 | }
|
---|
2599 | static FORCEINLINE HRESULT ITaskSettings_Invoke(ITaskSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
2600 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
2601 | }
|
---|
2602 | /*** ITaskSettings methods ***/
|
---|
2603 | static FORCEINLINE HRESULT ITaskSettings_get_AllowDemandStart(ITaskSettings* This,VARIANT_BOOL *allow) {
|
---|
2604 | return This->lpVtbl->get_AllowDemandStart(This,allow);
|
---|
2605 | }
|
---|
2606 | static FORCEINLINE HRESULT ITaskSettings_put_AllowDemandStart(ITaskSettings* This,VARIANT_BOOL allow) {
|
---|
2607 | return This->lpVtbl->put_AllowDemandStart(This,allow);
|
---|
2608 | }
|
---|
2609 | static FORCEINLINE HRESULT ITaskSettings_get_RestartInterval(ITaskSettings* This,BSTR *interval) {
|
---|
2610 | return This->lpVtbl->get_RestartInterval(This,interval);
|
---|
2611 | }
|
---|
2612 | static FORCEINLINE HRESULT ITaskSettings_put_RestartInterval(ITaskSettings* This,BSTR interval) {
|
---|
2613 | return This->lpVtbl->put_RestartInterval(This,interval);
|
---|
2614 | }
|
---|
2615 | static FORCEINLINE HRESULT ITaskSettings_get_RestartCount(ITaskSettings* This,INT *count) {
|
---|
2616 | return This->lpVtbl->get_RestartCount(This,count);
|
---|
2617 | }
|
---|
2618 | static FORCEINLINE HRESULT ITaskSettings_put_RestartCount(ITaskSettings* This,INT count) {
|
---|
2619 | return This->lpVtbl->put_RestartCount(This,count);
|
---|
2620 | }
|
---|
2621 | static FORCEINLINE HRESULT ITaskSettings_get_MultipleInstances(ITaskSettings* This,TASK_INSTANCES_POLICY *policy) {
|
---|
2622 | return This->lpVtbl->get_MultipleInstances(This,policy);
|
---|
2623 | }
|
---|
2624 | static FORCEINLINE HRESULT ITaskSettings_put_MultipleInstances(ITaskSettings* This,TASK_INSTANCES_POLICY policy) {
|
---|
2625 | return This->lpVtbl->put_MultipleInstances(This,policy);
|
---|
2626 | }
|
---|
2627 | static FORCEINLINE HRESULT ITaskSettings_get_StopIfGoingOnBatteries(ITaskSettings* This,VARIANT_BOOL *stop) {
|
---|
2628 | return This->lpVtbl->get_StopIfGoingOnBatteries(This,stop);
|
---|
2629 | }
|
---|
2630 | static FORCEINLINE HRESULT ITaskSettings_put_StopIfGoingOnBatteries(ITaskSettings* This,VARIANT_BOOL stop) {
|
---|
2631 | return This->lpVtbl->put_StopIfGoingOnBatteries(This,stop);
|
---|
2632 | }
|
---|
2633 | static FORCEINLINE HRESULT ITaskSettings_get_DisallowStartIfOnBatteries(ITaskSettings* This,VARIANT_BOOL *disallow) {
|
---|
2634 | return This->lpVtbl->get_DisallowStartIfOnBatteries(This,disallow);
|
---|
2635 | }
|
---|
2636 | static FORCEINLINE HRESULT ITaskSettings_put_DisallowStartIfOnBatteries(ITaskSettings* This,VARIANT_BOOL disallow) {
|
---|
2637 | return This->lpVtbl->put_DisallowStartIfOnBatteries(This,disallow);
|
---|
2638 | }
|
---|
2639 | static FORCEINLINE HRESULT ITaskSettings_get_AllowHardTerminate(ITaskSettings* This,VARIANT_BOOL *allow) {
|
---|
2640 | return This->lpVtbl->get_AllowHardTerminate(This,allow);
|
---|
2641 | }
|
---|
2642 | static FORCEINLINE HRESULT ITaskSettings_put_AllowHardTerminate(ITaskSettings* This,VARIANT_BOOL allow) {
|
---|
2643 | return This->lpVtbl->put_AllowHardTerminate(This,allow);
|
---|
2644 | }
|
---|
2645 | static FORCEINLINE HRESULT ITaskSettings_get_StartWhenAvailable(ITaskSettings* This,VARIANT_BOOL *start) {
|
---|
2646 | return This->lpVtbl->get_StartWhenAvailable(This,start);
|
---|
2647 | }
|
---|
2648 | static FORCEINLINE HRESULT ITaskSettings_put_StartWhenAvailable(ITaskSettings* This,VARIANT_BOOL start) {
|
---|
2649 | return This->lpVtbl->put_StartWhenAvailable(This,start);
|
---|
2650 | }
|
---|
2651 | static FORCEINLINE HRESULT ITaskSettings_get_XmlText(ITaskSettings* This,BSTR *xml) {
|
---|
2652 | return This->lpVtbl->get_XmlText(This,xml);
|
---|
2653 | }
|
---|
2654 | static FORCEINLINE HRESULT ITaskSettings_put_XmlText(ITaskSettings* This,BSTR xml) {
|
---|
2655 | return This->lpVtbl->put_XmlText(This,xml);
|
---|
2656 | }
|
---|
2657 | static FORCEINLINE HRESULT ITaskSettings_get_RunOnlyIfNetworkAvailable(ITaskSettings* This,VARIANT_BOOL *run) {
|
---|
2658 | return This->lpVtbl->get_RunOnlyIfNetworkAvailable(This,run);
|
---|
2659 | }
|
---|
2660 | static FORCEINLINE HRESULT ITaskSettings_put_RunOnlyIfNetworkAvailable(ITaskSettings* This,VARIANT_BOOL run) {
|
---|
2661 | return This->lpVtbl->put_RunOnlyIfNetworkAvailable(This,run);
|
---|
2662 | }
|
---|
2663 | static FORCEINLINE HRESULT ITaskSettings_get_ExecutionTimeLimit(ITaskSettings* This,BSTR *limit) {
|
---|
2664 | return This->lpVtbl->get_ExecutionTimeLimit(This,limit);
|
---|
2665 | }
|
---|
2666 | static FORCEINLINE HRESULT ITaskSettings_put_ExecutionTimeLimit(ITaskSettings* This,BSTR limit) {
|
---|
2667 | return This->lpVtbl->put_ExecutionTimeLimit(This,limit);
|
---|
2668 | }
|
---|
2669 | static FORCEINLINE HRESULT ITaskSettings_get_Enabled(ITaskSettings* This,VARIANT_BOOL *enabled) {
|
---|
2670 | return This->lpVtbl->get_Enabled(This,enabled);
|
---|
2671 | }
|
---|
2672 | static FORCEINLINE HRESULT ITaskSettings_put_Enabled(ITaskSettings* This,VARIANT_BOOL enabled) {
|
---|
2673 | return This->lpVtbl->put_Enabled(This,enabled);
|
---|
2674 | }
|
---|
2675 | static FORCEINLINE HRESULT ITaskSettings_get_DeleteExpiredTaskAfter(ITaskSettings* This,BSTR *delay) {
|
---|
2676 | return This->lpVtbl->get_DeleteExpiredTaskAfter(This,delay);
|
---|
2677 | }
|
---|
2678 | static FORCEINLINE HRESULT ITaskSettings_put_DeleteExpiredTaskAfter(ITaskSettings* This,BSTR delay) {
|
---|
2679 | return This->lpVtbl->put_DeleteExpiredTaskAfter(This,delay);
|
---|
2680 | }
|
---|
2681 | static FORCEINLINE HRESULT ITaskSettings_get_Priority(ITaskSettings* This,INT *priority) {
|
---|
2682 | return This->lpVtbl->get_Priority(This,priority);
|
---|
2683 | }
|
---|
2684 | static FORCEINLINE HRESULT ITaskSettings_put_Priority(ITaskSettings* This,INT priority) {
|
---|
2685 | return This->lpVtbl->put_Priority(This,priority);
|
---|
2686 | }
|
---|
2687 | static FORCEINLINE HRESULT ITaskSettings_get_Compatibility(ITaskSettings* This,TASK_COMPATIBILITY *level) {
|
---|
2688 | return This->lpVtbl->get_Compatibility(This,level);
|
---|
2689 | }
|
---|
2690 | static FORCEINLINE HRESULT ITaskSettings_put_Compatibility(ITaskSettings* This,TASK_COMPATIBILITY level) {
|
---|
2691 | return This->lpVtbl->put_Compatibility(This,level);
|
---|
2692 | }
|
---|
2693 | static FORCEINLINE HRESULT ITaskSettings_get_Hidden(ITaskSettings* This,VARIANT_BOOL *hidden) {
|
---|
2694 | return This->lpVtbl->get_Hidden(This,hidden);
|
---|
2695 | }
|
---|
2696 | static FORCEINLINE HRESULT ITaskSettings_put_Hidden(ITaskSettings* This,VARIANT_BOOL hidden) {
|
---|
2697 | return This->lpVtbl->put_Hidden(This,hidden);
|
---|
2698 | }
|
---|
2699 | static FORCEINLINE HRESULT ITaskSettings_get_IdleSettings(ITaskSettings* This,IIdleSettings **settings) {
|
---|
2700 | return This->lpVtbl->get_IdleSettings(This,settings);
|
---|
2701 | }
|
---|
2702 | static FORCEINLINE HRESULT ITaskSettings_put_IdleSettings(ITaskSettings* This,IIdleSettings *settings) {
|
---|
2703 | return This->lpVtbl->put_IdleSettings(This,settings);
|
---|
2704 | }
|
---|
2705 | static FORCEINLINE HRESULT ITaskSettings_get_RunOnlyIfIdle(ITaskSettings* This,VARIANT_BOOL *run) {
|
---|
2706 | return This->lpVtbl->get_RunOnlyIfIdle(This,run);
|
---|
2707 | }
|
---|
2708 | static FORCEINLINE HRESULT ITaskSettings_put_RunOnlyIfIdle(ITaskSettings* This,VARIANT_BOOL run) {
|
---|
2709 | return This->lpVtbl->put_RunOnlyIfIdle(This,run);
|
---|
2710 | }
|
---|
2711 | static FORCEINLINE HRESULT ITaskSettings_get_WakeToRun(ITaskSettings* This,VARIANT_BOOL *wake) {
|
---|
2712 | return This->lpVtbl->get_WakeToRun(This,wake);
|
---|
2713 | }
|
---|
2714 | static FORCEINLINE HRESULT ITaskSettings_put_WakeToRun(ITaskSettings* This,VARIANT_BOOL wake) {
|
---|
2715 | return This->lpVtbl->put_WakeToRun(This,wake);
|
---|
2716 | }
|
---|
2717 | static FORCEINLINE HRESULT ITaskSettings_get_NetworkSettings(ITaskSettings* This,INetworkSettings **settings) {
|
---|
2718 | return This->lpVtbl->get_NetworkSettings(This,settings);
|
---|
2719 | }
|
---|
2720 | static FORCEINLINE HRESULT ITaskSettings_put_NetworkSettings(ITaskSettings* This,INetworkSettings *settings) {
|
---|
2721 | return This->lpVtbl->put_NetworkSettings(This,settings);
|
---|
2722 | }
|
---|
2723 | #endif
|
---|
2724 | #endif
|
---|
2725 |
|
---|
2726 | #endif
|
---|
2727 |
|
---|
2728 |
|
---|
2729 | #endif /* __ITaskSettings_INTERFACE_DEFINED__ */
|
---|
2730 |
|
---|
2731 | /*****************************************************************************
|
---|
2732 | * IIdleSettings interface
|
---|
2733 | */
|
---|
2734 | #ifndef __IIdleSettings_INTERFACE_DEFINED__
|
---|
2735 | #define __IIdleSettings_INTERFACE_DEFINED__
|
---|
2736 |
|
---|
2737 | DEFINE_GUID(IID_IIdleSettings, 0x84594461, 0x0053, 0x4342, 0xa8,0xfd, 0x08,0x8f,0xab,0xf1,0x1f,0x32);
|
---|
2738 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2739 | MIDL_INTERFACE("84594461-0053-4342-a8fd-088fabf11f32")
|
---|
2740 | IIdleSettings : public IDispatch
|
---|
2741 | {
|
---|
2742 | virtual HRESULT STDMETHODCALLTYPE get_IdleDuration(
|
---|
2743 | BSTR *delay) = 0;
|
---|
2744 |
|
---|
2745 | virtual HRESULT STDMETHODCALLTYPE put_IdleDuration(
|
---|
2746 | BSTR delay) = 0;
|
---|
2747 |
|
---|
2748 | virtual HRESULT STDMETHODCALLTYPE get_WaitTimeout(
|
---|
2749 | BSTR *timeout) = 0;
|
---|
2750 |
|
---|
2751 | virtual HRESULT STDMETHODCALLTYPE put_WaitTimeout(
|
---|
2752 | BSTR timeout) = 0;
|
---|
2753 |
|
---|
2754 | virtual HRESULT STDMETHODCALLTYPE get_StopOnIdleEnd(
|
---|
2755 | VARIANT_BOOL *stop) = 0;
|
---|
2756 |
|
---|
2757 | virtual HRESULT STDMETHODCALLTYPE put_StopOnIdleEnd(
|
---|
2758 | VARIANT_BOOL stop) = 0;
|
---|
2759 |
|
---|
2760 | virtual HRESULT STDMETHODCALLTYPE get_RestartOnIdle(
|
---|
2761 | VARIANT_BOOL *restart) = 0;
|
---|
2762 |
|
---|
2763 | virtual HRESULT STDMETHODCALLTYPE put_RestartOnIdle(
|
---|
2764 | VARIANT_BOOL restart) = 0;
|
---|
2765 |
|
---|
2766 | };
|
---|
2767 | #ifdef __CRT_UUID_DECL
|
---|
2768 | __CRT_UUID_DECL(IIdleSettings, 0x84594461, 0x0053, 0x4342, 0xa8,0xfd, 0x08,0x8f,0xab,0xf1,0x1f,0x32)
|
---|
2769 | #endif
|
---|
2770 | #else
|
---|
2771 | typedef struct IIdleSettingsVtbl {
|
---|
2772 | BEGIN_INTERFACE
|
---|
2773 |
|
---|
2774 | /*** IUnknown methods ***/
|
---|
2775 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2776 | IIdleSettings *This,
|
---|
2777 | REFIID riid,
|
---|
2778 | void **ppvObject);
|
---|
2779 |
|
---|
2780 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2781 | IIdleSettings *This);
|
---|
2782 |
|
---|
2783 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2784 | IIdleSettings *This);
|
---|
2785 |
|
---|
2786 | /*** IDispatch methods ***/
|
---|
2787 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
2788 | IIdleSettings *This,
|
---|
2789 | UINT *pctinfo);
|
---|
2790 |
|
---|
2791 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
2792 | IIdleSettings *This,
|
---|
2793 | UINT iTInfo,
|
---|
2794 | LCID lcid,
|
---|
2795 | ITypeInfo **ppTInfo);
|
---|
2796 |
|
---|
2797 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
2798 | IIdleSettings *This,
|
---|
2799 | REFIID riid,
|
---|
2800 | LPOLESTR *rgszNames,
|
---|
2801 | UINT cNames,
|
---|
2802 | LCID lcid,
|
---|
2803 | DISPID *rgDispId);
|
---|
2804 |
|
---|
2805 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
2806 | IIdleSettings *This,
|
---|
2807 | DISPID dispIdMember,
|
---|
2808 | REFIID riid,
|
---|
2809 | LCID lcid,
|
---|
2810 | WORD wFlags,
|
---|
2811 | DISPPARAMS *pDispParams,
|
---|
2812 | VARIANT *pVarResult,
|
---|
2813 | EXCEPINFO *pExcepInfo,
|
---|
2814 | UINT *puArgErr);
|
---|
2815 |
|
---|
2816 | /*** IIdleSettings methods ***/
|
---|
2817 | HRESULT (STDMETHODCALLTYPE *get_IdleDuration)(
|
---|
2818 | IIdleSettings *This,
|
---|
2819 | BSTR *delay);
|
---|
2820 |
|
---|
2821 | HRESULT (STDMETHODCALLTYPE *put_IdleDuration)(
|
---|
2822 | IIdleSettings *This,
|
---|
2823 | BSTR delay);
|
---|
2824 |
|
---|
2825 | HRESULT (STDMETHODCALLTYPE *get_WaitTimeout)(
|
---|
2826 | IIdleSettings *This,
|
---|
2827 | BSTR *timeout);
|
---|
2828 |
|
---|
2829 | HRESULT (STDMETHODCALLTYPE *put_WaitTimeout)(
|
---|
2830 | IIdleSettings *This,
|
---|
2831 | BSTR timeout);
|
---|
2832 |
|
---|
2833 | HRESULT (STDMETHODCALLTYPE *get_StopOnIdleEnd)(
|
---|
2834 | IIdleSettings *This,
|
---|
2835 | VARIANT_BOOL *stop);
|
---|
2836 |
|
---|
2837 | HRESULT (STDMETHODCALLTYPE *put_StopOnIdleEnd)(
|
---|
2838 | IIdleSettings *This,
|
---|
2839 | VARIANT_BOOL stop);
|
---|
2840 |
|
---|
2841 | HRESULT (STDMETHODCALLTYPE *get_RestartOnIdle)(
|
---|
2842 | IIdleSettings *This,
|
---|
2843 | VARIANT_BOOL *restart);
|
---|
2844 |
|
---|
2845 | HRESULT (STDMETHODCALLTYPE *put_RestartOnIdle)(
|
---|
2846 | IIdleSettings *This,
|
---|
2847 | VARIANT_BOOL restart);
|
---|
2848 |
|
---|
2849 | END_INTERFACE
|
---|
2850 | } IIdleSettingsVtbl;
|
---|
2851 |
|
---|
2852 | interface IIdleSettings {
|
---|
2853 | CONST_VTBL IIdleSettingsVtbl* lpVtbl;
|
---|
2854 | };
|
---|
2855 |
|
---|
2856 | #ifdef COBJMACROS
|
---|
2857 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
2858 | /*** IUnknown methods ***/
|
---|
2859 | #define IIdleSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2860 | #define IIdleSettings_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2861 | #define IIdleSettings_Release(This) (This)->lpVtbl->Release(This)
|
---|
2862 | /*** IDispatch methods ***/
|
---|
2863 | #define IIdleSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
2864 | #define IIdleSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
2865 | #define IIdleSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
2866 | #define IIdleSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
2867 | /*** IIdleSettings methods ***/
|
---|
2868 | #define IIdleSettings_get_IdleDuration(This,delay) (This)->lpVtbl->get_IdleDuration(This,delay)
|
---|
2869 | #define IIdleSettings_put_IdleDuration(This,delay) (This)->lpVtbl->put_IdleDuration(This,delay)
|
---|
2870 | #define IIdleSettings_get_WaitTimeout(This,timeout) (This)->lpVtbl->get_WaitTimeout(This,timeout)
|
---|
2871 | #define IIdleSettings_put_WaitTimeout(This,timeout) (This)->lpVtbl->put_WaitTimeout(This,timeout)
|
---|
2872 | #define IIdleSettings_get_StopOnIdleEnd(This,stop) (This)->lpVtbl->get_StopOnIdleEnd(This,stop)
|
---|
2873 | #define IIdleSettings_put_StopOnIdleEnd(This,stop) (This)->lpVtbl->put_StopOnIdleEnd(This,stop)
|
---|
2874 | #define IIdleSettings_get_RestartOnIdle(This,restart) (This)->lpVtbl->get_RestartOnIdle(This,restart)
|
---|
2875 | #define IIdleSettings_put_RestartOnIdle(This,restart) (This)->lpVtbl->put_RestartOnIdle(This,restart)
|
---|
2876 | #else
|
---|
2877 | /*** IUnknown methods ***/
|
---|
2878 | static FORCEINLINE HRESULT IIdleSettings_QueryInterface(IIdleSettings* This,REFIID riid,void **ppvObject) {
|
---|
2879 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
2880 | }
|
---|
2881 | static FORCEINLINE ULONG IIdleSettings_AddRef(IIdleSettings* This) {
|
---|
2882 | return This->lpVtbl->AddRef(This);
|
---|
2883 | }
|
---|
2884 | static FORCEINLINE ULONG IIdleSettings_Release(IIdleSettings* This) {
|
---|
2885 | return This->lpVtbl->Release(This);
|
---|
2886 | }
|
---|
2887 | /*** IDispatch methods ***/
|
---|
2888 | static FORCEINLINE HRESULT IIdleSettings_GetTypeInfoCount(IIdleSettings* This,UINT *pctinfo) {
|
---|
2889 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
2890 | }
|
---|
2891 | static FORCEINLINE HRESULT IIdleSettings_GetTypeInfo(IIdleSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
2892 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
2893 | }
|
---|
2894 | static FORCEINLINE HRESULT IIdleSettings_GetIDsOfNames(IIdleSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
2895 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
2896 | }
|
---|
2897 | static FORCEINLINE HRESULT IIdleSettings_Invoke(IIdleSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
2898 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
2899 | }
|
---|
2900 | /*** IIdleSettings methods ***/
|
---|
2901 | static FORCEINLINE HRESULT IIdleSettings_get_IdleDuration(IIdleSettings* This,BSTR *delay) {
|
---|
2902 | return This->lpVtbl->get_IdleDuration(This,delay);
|
---|
2903 | }
|
---|
2904 | static FORCEINLINE HRESULT IIdleSettings_put_IdleDuration(IIdleSettings* This,BSTR delay) {
|
---|
2905 | return This->lpVtbl->put_IdleDuration(This,delay);
|
---|
2906 | }
|
---|
2907 | static FORCEINLINE HRESULT IIdleSettings_get_WaitTimeout(IIdleSettings* This,BSTR *timeout) {
|
---|
2908 | return This->lpVtbl->get_WaitTimeout(This,timeout);
|
---|
2909 | }
|
---|
2910 | static FORCEINLINE HRESULT IIdleSettings_put_WaitTimeout(IIdleSettings* This,BSTR timeout) {
|
---|
2911 | return This->lpVtbl->put_WaitTimeout(This,timeout);
|
---|
2912 | }
|
---|
2913 | static FORCEINLINE HRESULT IIdleSettings_get_StopOnIdleEnd(IIdleSettings* This,VARIANT_BOOL *stop) {
|
---|
2914 | return This->lpVtbl->get_StopOnIdleEnd(This,stop);
|
---|
2915 | }
|
---|
2916 | static FORCEINLINE HRESULT IIdleSettings_put_StopOnIdleEnd(IIdleSettings* This,VARIANT_BOOL stop) {
|
---|
2917 | return This->lpVtbl->put_StopOnIdleEnd(This,stop);
|
---|
2918 | }
|
---|
2919 | static FORCEINLINE HRESULT IIdleSettings_get_RestartOnIdle(IIdleSettings* This,VARIANT_BOOL *restart) {
|
---|
2920 | return This->lpVtbl->get_RestartOnIdle(This,restart);
|
---|
2921 | }
|
---|
2922 | static FORCEINLINE HRESULT IIdleSettings_put_RestartOnIdle(IIdleSettings* This,VARIANT_BOOL restart) {
|
---|
2923 | return This->lpVtbl->put_RestartOnIdle(This,restart);
|
---|
2924 | }
|
---|
2925 | #endif
|
---|
2926 | #endif
|
---|
2927 |
|
---|
2928 | #endif
|
---|
2929 |
|
---|
2930 |
|
---|
2931 | #endif /* __IIdleSettings_INTERFACE_DEFINED__ */
|
---|
2932 |
|
---|
2933 | /*****************************************************************************
|
---|
2934 | * IRunningTask interface
|
---|
2935 | */
|
---|
2936 | #ifndef __IRunningTask_INTERFACE_DEFINED__
|
---|
2937 | #define __IRunningTask_INTERFACE_DEFINED__
|
---|
2938 |
|
---|
2939 | DEFINE_GUID(IID_IRunningTask, 0x653758fb, 0x7b9a, 0x4f1e, 0xa4,0x71, 0xbe,0xeb,0x8e,0x9b,0x83,0x4e);
|
---|
2940 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2941 | MIDL_INTERFACE("653758fb-7b9a-4f1e-a471-beeb8e9b834e")
|
---|
2942 | IRunningTask : public IDispatch
|
---|
2943 | {
|
---|
2944 | virtual HRESULT STDMETHODCALLTYPE get_Name(
|
---|
2945 | BSTR *name) = 0;
|
---|
2946 |
|
---|
2947 | virtual HRESULT STDMETHODCALLTYPE get_InstanceGuid(
|
---|
2948 | BSTR *guid) = 0;
|
---|
2949 |
|
---|
2950 | virtual HRESULT STDMETHODCALLTYPE get_Path(
|
---|
2951 | BSTR *path) = 0;
|
---|
2952 |
|
---|
2953 | virtual HRESULT STDMETHODCALLTYPE get_State(
|
---|
2954 | TASK_STATE *state) = 0;
|
---|
2955 |
|
---|
2956 | virtual HRESULT STDMETHODCALLTYPE get_CurrentAction(
|
---|
2957 | BSTR *name) = 0;
|
---|
2958 |
|
---|
2959 | virtual HRESULT STDMETHODCALLTYPE Stop(
|
---|
2960 | ) = 0;
|
---|
2961 |
|
---|
2962 | virtual HRESULT STDMETHODCALLTYPE Refresh(
|
---|
2963 | ) = 0;
|
---|
2964 |
|
---|
2965 | virtual HRESULT STDMETHODCALLTYPE get_EnginePID(
|
---|
2966 | DWORD *pid) = 0;
|
---|
2967 |
|
---|
2968 | };
|
---|
2969 | #ifdef __CRT_UUID_DECL
|
---|
2970 | __CRT_UUID_DECL(IRunningTask, 0x653758fb, 0x7b9a, 0x4f1e, 0xa4,0x71, 0xbe,0xeb,0x8e,0x9b,0x83,0x4e)
|
---|
2971 | #endif
|
---|
2972 | #else
|
---|
2973 | typedef struct IRunningTaskVtbl {
|
---|
2974 | BEGIN_INTERFACE
|
---|
2975 |
|
---|
2976 | /*** IUnknown methods ***/
|
---|
2977 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2978 | IRunningTask *This,
|
---|
2979 | REFIID riid,
|
---|
2980 | void **ppvObject);
|
---|
2981 |
|
---|
2982 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2983 | IRunningTask *This);
|
---|
2984 |
|
---|
2985 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2986 | IRunningTask *This);
|
---|
2987 |
|
---|
2988 | /*** IDispatch methods ***/
|
---|
2989 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
2990 | IRunningTask *This,
|
---|
2991 | UINT *pctinfo);
|
---|
2992 |
|
---|
2993 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
2994 | IRunningTask *This,
|
---|
2995 | UINT iTInfo,
|
---|
2996 | LCID lcid,
|
---|
2997 | ITypeInfo **ppTInfo);
|
---|
2998 |
|
---|
2999 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
3000 | IRunningTask *This,
|
---|
3001 | REFIID riid,
|
---|
3002 | LPOLESTR *rgszNames,
|
---|
3003 | UINT cNames,
|
---|
3004 | LCID lcid,
|
---|
3005 | DISPID *rgDispId);
|
---|
3006 |
|
---|
3007 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
3008 | IRunningTask *This,
|
---|
3009 | DISPID dispIdMember,
|
---|
3010 | REFIID riid,
|
---|
3011 | LCID lcid,
|
---|
3012 | WORD wFlags,
|
---|
3013 | DISPPARAMS *pDispParams,
|
---|
3014 | VARIANT *pVarResult,
|
---|
3015 | EXCEPINFO *pExcepInfo,
|
---|
3016 | UINT *puArgErr);
|
---|
3017 |
|
---|
3018 | /*** IRunningTask methods ***/
|
---|
3019 | HRESULT (STDMETHODCALLTYPE *get_Name)(
|
---|
3020 | IRunningTask *This,
|
---|
3021 | BSTR *name);
|
---|
3022 |
|
---|
3023 | HRESULT (STDMETHODCALLTYPE *get_InstanceGuid)(
|
---|
3024 | IRunningTask *This,
|
---|
3025 | BSTR *guid);
|
---|
3026 |
|
---|
3027 | HRESULT (STDMETHODCALLTYPE *get_Path)(
|
---|
3028 | IRunningTask *This,
|
---|
3029 | BSTR *path);
|
---|
3030 |
|
---|
3031 | HRESULT (STDMETHODCALLTYPE *get_State)(
|
---|
3032 | IRunningTask *This,
|
---|
3033 | TASK_STATE *state);
|
---|
3034 |
|
---|
3035 | HRESULT (STDMETHODCALLTYPE *get_CurrentAction)(
|
---|
3036 | IRunningTask *This,
|
---|
3037 | BSTR *name);
|
---|
3038 |
|
---|
3039 | HRESULT (STDMETHODCALLTYPE *Stop)(
|
---|
3040 | IRunningTask *This);
|
---|
3041 |
|
---|
3042 | HRESULT (STDMETHODCALLTYPE *Refresh)(
|
---|
3043 | IRunningTask *This);
|
---|
3044 |
|
---|
3045 | HRESULT (STDMETHODCALLTYPE *get_EnginePID)(
|
---|
3046 | IRunningTask *This,
|
---|
3047 | DWORD *pid);
|
---|
3048 |
|
---|
3049 | END_INTERFACE
|
---|
3050 | } IRunningTaskVtbl;
|
---|
3051 |
|
---|
3052 | interface IRunningTask {
|
---|
3053 | CONST_VTBL IRunningTaskVtbl* lpVtbl;
|
---|
3054 | };
|
---|
3055 |
|
---|
3056 | #ifdef COBJMACROS
|
---|
3057 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
3058 | /*** IUnknown methods ***/
|
---|
3059 | #define IRunningTask_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3060 | #define IRunningTask_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3061 | #define IRunningTask_Release(This) (This)->lpVtbl->Release(This)
|
---|
3062 | /*** IDispatch methods ***/
|
---|
3063 | #define IRunningTask_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
3064 | #define IRunningTask_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
3065 | #define IRunningTask_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
3066 | #define IRunningTask_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
3067 | /*** IRunningTask methods ***/
|
---|
3068 | #define IRunningTask_get_Name(This,name) (This)->lpVtbl->get_Name(This,name)
|
---|
3069 | #define IRunningTask_get_InstanceGuid(This,guid) (This)->lpVtbl->get_InstanceGuid(This,guid)
|
---|
3070 | #define IRunningTask_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
|
---|
3071 | #define IRunningTask_get_State(This,state) (This)->lpVtbl->get_State(This,state)
|
---|
3072 | #define IRunningTask_get_CurrentAction(This,name) (This)->lpVtbl->get_CurrentAction(This,name)
|
---|
3073 | #define IRunningTask_Stop(This) (This)->lpVtbl->Stop(This)
|
---|
3074 | #define IRunningTask_Refresh(This) (This)->lpVtbl->Refresh(This)
|
---|
3075 | #define IRunningTask_get_EnginePID(This,pid) (This)->lpVtbl->get_EnginePID(This,pid)
|
---|
3076 | #else
|
---|
3077 | /*** IUnknown methods ***/
|
---|
3078 | static FORCEINLINE HRESULT IRunningTask_QueryInterface(IRunningTask* This,REFIID riid,void **ppvObject) {
|
---|
3079 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
3080 | }
|
---|
3081 | static FORCEINLINE ULONG IRunningTask_AddRef(IRunningTask* This) {
|
---|
3082 | return This->lpVtbl->AddRef(This);
|
---|
3083 | }
|
---|
3084 | static FORCEINLINE ULONG IRunningTask_Release(IRunningTask* This) {
|
---|
3085 | return This->lpVtbl->Release(This);
|
---|
3086 | }
|
---|
3087 | /*** IDispatch methods ***/
|
---|
3088 | static FORCEINLINE HRESULT IRunningTask_GetTypeInfoCount(IRunningTask* This,UINT *pctinfo) {
|
---|
3089 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
3090 | }
|
---|
3091 | static FORCEINLINE HRESULT IRunningTask_GetTypeInfo(IRunningTask* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
3092 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
3093 | }
|
---|
3094 | static FORCEINLINE HRESULT IRunningTask_GetIDsOfNames(IRunningTask* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
3095 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
3096 | }
|
---|
3097 | static FORCEINLINE HRESULT IRunningTask_Invoke(IRunningTask* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
3098 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
3099 | }
|
---|
3100 | /*** IRunningTask methods ***/
|
---|
3101 | static FORCEINLINE HRESULT IRunningTask_get_Name(IRunningTask* This,BSTR *name) {
|
---|
3102 | return This->lpVtbl->get_Name(This,name);
|
---|
3103 | }
|
---|
3104 | static FORCEINLINE HRESULT IRunningTask_get_InstanceGuid(IRunningTask* This,BSTR *guid) {
|
---|
3105 | return This->lpVtbl->get_InstanceGuid(This,guid);
|
---|
3106 | }
|
---|
3107 | static FORCEINLINE HRESULT IRunningTask_get_Path(IRunningTask* This,BSTR *path) {
|
---|
3108 | return This->lpVtbl->get_Path(This,path);
|
---|
3109 | }
|
---|
3110 | static FORCEINLINE HRESULT IRunningTask_get_State(IRunningTask* This,TASK_STATE *state) {
|
---|
3111 | return This->lpVtbl->get_State(This,state);
|
---|
3112 | }
|
---|
3113 | static FORCEINLINE HRESULT IRunningTask_get_CurrentAction(IRunningTask* This,BSTR *name) {
|
---|
3114 | return This->lpVtbl->get_CurrentAction(This,name);
|
---|
3115 | }
|
---|
3116 | static FORCEINLINE HRESULT IRunningTask_Stop(IRunningTask* This) {
|
---|
3117 | return This->lpVtbl->Stop(This);
|
---|
3118 | }
|
---|
3119 | static FORCEINLINE HRESULT IRunningTask_Refresh(IRunningTask* This) {
|
---|
3120 | return This->lpVtbl->Refresh(This);
|
---|
3121 | }
|
---|
3122 | static FORCEINLINE HRESULT IRunningTask_get_EnginePID(IRunningTask* This,DWORD *pid) {
|
---|
3123 | return This->lpVtbl->get_EnginePID(This,pid);
|
---|
3124 | }
|
---|
3125 | #endif
|
---|
3126 | #endif
|
---|
3127 |
|
---|
3128 | #endif
|
---|
3129 |
|
---|
3130 |
|
---|
3131 | #endif /* __IRunningTask_INTERFACE_DEFINED__ */
|
---|
3132 |
|
---|
3133 | /*****************************************************************************
|
---|
3134 | * IRunningTaskCollection interface
|
---|
3135 | */
|
---|
3136 | #ifndef __IRunningTaskCollection_INTERFACE_DEFINED__
|
---|
3137 | #define __IRunningTaskCollection_INTERFACE_DEFINED__
|
---|
3138 |
|
---|
3139 | DEFINE_GUID(IID_IRunningTaskCollection, 0x6a67614b, 0x6828, 0x4fec, 0xaa,0x54, 0x6d,0x52,0xe8,0xf1,0xf2,0xdb);
|
---|
3140 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3141 | MIDL_INTERFACE("6a67614b-6828-4fec-aa54-6d52e8f1f2db")
|
---|
3142 | IRunningTaskCollection : public IDispatch
|
---|
3143 | {
|
---|
3144 | virtual HRESULT STDMETHODCALLTYPE get_Count(
|
---|
3145 | LONG *count) = 0;
|
---|
3146 |
|
---|
3147 | virtual HRESULT STDMETHODCALLTYPE get_Item(
|
---|
3148 | VARIANT index,
|
---|
3149 | IRunningTask **task) = 0;
|
---|
3150 |
|
---|
3151 | virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
|
---|
3152 | IUnknown **penum) = 0;
|
---|
3153 |
|
---|
3154 | };
|
---|
3155 | #ifdef __CRT_UUID_DECL
|
---|
3156 | __CRT_UUID_DECL(IRunningTaskCollection, 0x6a67614b, 0x6828, 0x4fec, 0xaa,0x54, 0x6d,0x52,0xe8,0xf1,0xf2,0xdb)
|
---|
3157 | #endif
|
---|
3158 | #else
|
---|
3159 | typedef struct IRunningTaskCollectionVtbl {
|
---|
3160 | BEGIN_INTERFACE
|
---|
3161 |
|
---|
3162 | /*** IUnknown methods ***/
|
---|
3163 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3164 | IRunningTaskCollection *This,
|
---|
3165 | REFIID riid,
|
---|
3166 | void **ppvObject);
|
---|
3167 |
|
---|
3168 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3169 | IRunningTaskCollection *This);
|
---|
3170 |
|
---|
3171 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3172 | IRunningTaskCollection *This);
|
---|
3173 |
|
---|
3174 | /*** IDispatch methods ***/
|
---|
3175 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
3176 | IRunningTaskCollection *This,
|
---|
3177 | UINT *pctinfo);
|
---|
3178 |
|
---|
3179 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
3180 | IRunningTaskCollection *This,
|
---|
3181 | UINT iTInfo,
|
---|
3182 | LCID lcid,
|
---|
3183 | ITypeInfo **ppTInfo);
|
---|
3184 |
|
---|
3185 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
3186 | IRunningTaskCollection *This,
|
---|
3187 | REFIID riid,
|
---|
3188 | LPOLESTR *rgszNames,
|
---|
3189 | UINT cNames,
|
---|
3190 | LCID lcid,
|
---|
3191 | DISPID *rgDispId);
|
---|
3192 |
|
---|
3193 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
3194 | IRunningTaskCollection *This,
|
---|
3195 | DISPID dispIdMember,
|
---|
3196 | REFIID riid,
|
---|
3197 | LCID lcid,
|
---|
3198 | WORD wFlags,
|
---|
3199 | DISPPARAMS *pDispParams,
|
---|
3200 | VARIANT *pVarResult,
|
---|
3201 | EXCEPINFO *pExcepInfo,
|
---|
3202 | UINT *puArgErr);
|
---|
3203 |
|
---|
3204 | /*** IRunningTaskCollection methods ***/
|
---|
3205 | HRESULT (STDMETHODCALLTYPE *get_Count)(
|
---|
3206 | IRunningTaskCollection *This,
|
---|
3207 | LONG *count);
|
---|
3208 |
|
---|
3209 | HRESULT (STDMETHODCALLTYPE *get_Item)(
|
---|
3210 | IRunningTaskCollection *This,
|
---|
3211 | VARIANT index,
|
---|
3212 | IRunningTask **task);
|
---|
3213 |
|
---|
3214 | HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
|
---|
3215 | IRunningTaskCollection *This,
|
---|
3216 | IUnknown **penum);
|
---|
3217 |
|
---|
3218 | END_INTERFACE
|
---|
3219 | } IRunningTaskCollectionVtbl;
|
---|
3220 |
|
---|
3221 | interface IRunningTaskCollection {
|
---|
3222 | CONST_VTBL IRunningTaskCollectionVtbl* lpVtbl;
|
---|
3223 | };
|
---|
3224 |
|
---|
3225 | #ifdef COBJMACROS
|
---|
3226 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
3227 | /*** IUnknown methods ***/
|
---|
3228 | #define IRunningTaskCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3229 | #define IRunningTaskCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3230 | #define IRunningTaskCollection_Release(This) (This)->lpVtbl->Release(This)
|
---|
3231 | /*** IDispatch methods ***/
|
---|
3232 | #define IRunningTaskCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
3233 | #define IRunningTaskCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
3234 | #define IRunningTaskCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
3235 | #define IRunningTaskCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
3236 | /*** IRunningTaskCollection methods ***/
|
---|
3237 | #define IRunningTaskCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count)
|
---|
3238 | #define IRunningTaskCollection_get_Item(This,index,task) (This)->lpVtbl->get_Item(This,index,task)
|
---|
3239 | #define IRunningTaskCollection_get__NewEnum(This,penum) (This)->lpVtbl->get__NewEnum(This,penum)
|
---|
3240 | #else
|
---|
3241 | /*** IUnknown methods ***/
|
---|
3242 | static FORCEINLINE HRESULT IRunningTaskCollection_QueryInterface(IRunningTaskCollection* This,REFIID riid,void **ppvObject) {
|
---|
3243 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
3244 | }
|
---|
3245 | static FORCEINLINE ULONG IRunningTaskCollection_AddRef(IRunningTaskCollection* This) {
|
---|
3246 | return This->lpVtbl->AddRef(This);
|
---|
3247 | }
|
---|
3248 | static FORCEINLINE ULONG IRunningTaskCollection_Release(IRunningTaskCollection* This) {
|
---|
3249 | return This->lpVtbl->Release(This);
|
---|
3250 | }
|
---|
3251 | /*** IDispatch methods ***/
|
---|
3252 | static FORCEINLINE HRESULT IRunningTaskCollection_GetTypeInfoCount(IRunningTaskCollection* This,UINT *pctinfo) {
|
---|
3253 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
3254 | }
|
---|
3255 | static FORCEINLINE HRESULT IRunningTaskCollection_GetTypeInfo(IRunningTaskCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
3256 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
3257 | }
|
---|
3258 | static FORCEINLINE HRESULT IRunningTaskCollection_GetIDsOfNames(IRunningTaskCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
3259 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
3260 | }
|
---|
3261 | static FORCEINLINE HRESULT IRunningTaskCollection_Invoke(IRunningTaskCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
3262 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
3263 | }
|
---|
3264 | /*** IRunningTaskCollection methods ***/
|
---|
3265 | static FORCEINLINE HRESULT IRunningTaskCollection_get_Count(IRunningTaskCollection* This,LONG *count) {
|
---|
3266 | return This->lpVtbl->get_Count(This,count);
|
---|
3267 | }
|
---|
3268 | static FORCEINLINE HRESULT IRunningTaskCollection_get_Item(IRunningTaskCollection* This,VARIANT index,IRunningTask **task) {
|
---|
3269 | return This->lpVtbl->get_Item(This,index,task);
|
---|
3270 | }
|
---|
3271 | static FORCEINLINE HRESULT IRunningTaskCollection_get__NewEnum(IRunningTaskCollection* This,IUnknown **penum) {
|
---|
3272 | return This->lpVtbl->get__NewEnum(This,penum);
|
---|
3273 | }
|
---|
3274 | #endif
|
---|
3275 | #endif
|
---|
3276 |
|
---|
3277 | #endif
|
---|
3278 |
|
---|
3279 |
|
---|
3280 | #endif /* __IRunningTaskCollection_INTERFACE_DEFINED__ */
|
---|
3281 |
|
---|
3282 | /*****************************************************************************
|
---|
3283 | * ITrigger interface
|
---|
3284 | */
|
---|
3285 | #ifndef __ITrigger_INTERFACE_DEFINED__
|
---|
3286 | #define __ITrigger_INTERFACE_DEFINED__
|
---|
3287 |
|
---|
3288 | DEFINE_GUID(IID_ITrigger, 0x09941815, 0xea89, 0x4b5b, 0x89,0xe0, 0x2a,0x77,0x38,0x01,0xfa,0xc3);
|
---|
3289 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3290 | MIDL_INTERFACE("09941815-ea89-4b5b-89e0-2a773801fac3")
|
---|
3291 | ITrigger : public IDispatch
|
---|
3292 | {
|
---|
3293 | virtual HRESULT STDMETHODCALLTYPE get_Type(
|
---|
3294 | TASK_TRIGGER_TYPE2 *type) = 0;
|
---|
3295 |
|
---|
3296 | virtual HRESULT STDMETHODCALLTYPE get_Id(
|
---|
3297 | BSTR *id) = 0;
|
---|
3298 |
|
---|
3299 | virtual HRESULT STDMETHODCALLTYPE put_Id(
|
---|
3300 | BSTR id) = 0;
|
---|
3301 |
|
---|
3302 | virtual HRESULT STDMETHODCALLTYPE get_Repetition(
|
---|
3303 | IRepetitionPattern **repeat) = 0;
|
---|
3304 |
|
---|
3305 | virtual HRESULT STDMETHODCALLTYPE put_Repetition(
|
---|
3306 | IRepetitionPattern *repeat) = 0;
|
---|
3307 |
|
---|
3308 | virtual HRESULT STDMETHODCALLTYPE get_ExecutionTimeLimit(
|
---|
3309 | BSTR *limit) = 0;
|
---|
3310 |
|
---|
3311 | virtual HRESULT STDMETHODCALLTYPE put_ExecutionTimeLimit(
|
---|
3312 | BSTR limit) = 0;
|
---|
3313 |
|
---|
3314 | virtual HRESULT STDMETHODCALLTYPE get_StartBoundary(
|
---|
3315 | BSTR *start) = 0;
|
---|
3316 |
|
---|
3317 | virtual HRESULT STDMETHODCALLTYPE put_StartBoundary(
|
---|
3318 | BSTR start) = 0;
|
---|
3319 |
|
---|
3320 | virtual HRESULT STDMETHODCALLTYPE get_EndBoundary(
|
---|
3321 | BSTR *end) = 0;
|
---|
3322 |
|
---|
3323 | virtual HRESULT STDMETHODCALLTYPE put_EndBoundary(
|
---|
3324 | BSTR end) = 0;
|
---|
3325 |
|
---|
3326 | virtual HRESULT STDMETHODCALLTYPE get_Enabled(
|
---|
3327 | VARIANT_BOOL *enabled) = 0;
|
---|
3328 |
|
---|
3329 | virtual HRESULT STDMETHODCALLTYPE put_Enabled(
|
---|
3330 | VARIANT_BOOL enabled) = 0;
|
---|
3331 |
|
---|
3332 | };
|
---|
3333 | #ifdef __CRT_UUID_DECL
|
---|
3334 | __CRT_UUID_DECL(ITrigger, 0x09941815, 0xea89, 0x4b5b, 0x89,0xe0, 0x2a,0x77,0x38,0x01,0xfa,0xc3)
|
---|
3335 | #endif
|
---|
3336 | #else
|
---|
3337 | typedef struct ITriggerVtbl {
|
---|
3338 | BEGIN_INTERFACE
|
---|
3339 |
|
---|
3340 | /*** IUnknown methods ***/
|
---|
3341 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3342 | ITrigger *This,
|
---|
3343 | REFIID riid,
|
---|
3344 | void **ppvObject);
|
---|
3345 |
|
---|
3346 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3347 | ITrigger *This);
|
---|
3348 |
|
---|
3349 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3350 | ITrigger *This);
|
---|
3351 |
|
---|
3352 | /*** IDispatch methods ***/
|
---|
3353 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
3354 | ITrigger *This,
|
---|
3355 | UINT *pctinfo);
|
---|
3356 |
|
---|
3357 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
3358 | ITrigger *This,
|
---|
3359 | UINT iTInfo,
|
---|
3360 | LCID lcid,
|
---|
3361 | ITypeInfo **ppTInfo);
|
---|
3362 |
|
---|
3363 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
3364 | ITrigger *This,
|
---|
3365 | REFIID riid,
|
---|
3366 | LPOLESTR *rgszNames,
|
---|
3367 | UINT cNames,
|
---|
3368 | LCID lcid,
|
---|
3369 | DISPID *rgDispId);
|
---|
3370 |
|
---|
3371 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
3372 | ITrigger *This,
|
---|
3373 | DISPID dispIdMember,
|
---|
3374 | REFIID riid,
|
---|
3375 | LCID lcid,
|
---|
3376 | WORD wFlags,
|
---|
3377 | DISPPARAMS *pDispParams,
|
---|
3378 | VARIANT *pVarResult,
|
---|
3379 | EXCEPINFO *pExcepInfo,
|
---|
3380 | UINT *puArgErr);
|
---|
3381 |
|
---|
3382 | /*** ITrigger methods ***/
|
---|
3383 | HRESULT (STDMETHODCALLTYPE *get_Type)(
|
---|
3384 | ITrigger *This,
|
---|
3385 | TASK_TRIGGER_TYPE2 *type);
|
---|
3386 |
|
---|
3387 | HRESULT (STDMETHODCALLTYPE *get_Id)(
|
---|
3388 | ITrigger *This,
|
---|
3389 | BSTR *id);
|
---|
3390 |
|
---|
3391 | HRESULT (STDMETHODCALLTYPE *put_Id)(
|
---|
3392 | ITrigger *This,
|
---|
3393 | BSTR id);
|
---|
3394 |
|
---|
3395 | HRESULT (STDMETHODCALLTYPE *get_Repetition)(
|
---|
3396 | ITrigger *This,
|
---|
3397 | IRepetitionPattern **repeat);
|
---|
3398 |
|
---|
3399 | HRESULT (STDMETHODCALLTYPE *put_Repetition)(
|
---|
3400 | ITrigger *This,
|
---|
3401 | IRepetitionPattern *repeat);
|
---|
3402 |
|
---|
3403 | HRESULT (STDMETHODCALLTYPE *get_ExecutionTimeLimit)(
|
---|
3404 | ITrigger *This,
|
---|
3405 | BSTR *limit);
|
---|
3406 |
|
---|
3407 | HRESULT (STDMETHODCALLTYPE *put_ExecutionTimeLimit)(
|
---|
3408 | ITrigger *This,
|
---|
3409 | BSTR limit);
|
---|
3410 |
|
---|
3411 | HRESULT (STDMETHODCALLTYPE *get_StartBoundary)(
|
---|
3412 | ITrigger *This,
|
---|
3413 | BSTR *start);
|
---|
3414 |
|
---|
3415 | HRESULT (STDMETHODCALLTYPE *put_StartBoundary)(
|
---|
3416 | ITrigger *This,
|
---|
3417 | BSTR start);
|
---|
3418 |
|
---|
3419 | HRESULT (STDMETHODCALLTYPE *get_EndBoundary)(
|
---|
3420 | ITrigger *This,
|
---|
3421 | BSTR *end);
|
---|
3422 |
|
---|
3423 | HRESULT (STDMETHODCALLTYPE *put_EndBoundary)(
|
---|
3424 | ITrigger *This,
|
---|
3425 | BSTR end);
|
---|
3426 |
|
---|
3427 | HRESULT (STDMETHODCALLTYPE *get_Enabled)(
|
---|
3428 | ITrigger *This,
|
---|
3429 | VARIANT_BOOL *enabled);
|
---|
3430 |
|
---|
3431 | HRESULT (STDMETHODCALLTYPE *put_Enabled)(
|
---|
3432 | ITrigger *This,
|
---|
3433 | VARIANT_BOOL enabled);
|
---|
3434 |
|
---|
3435 | END_INTERFACE
|
---|
3436 | } ITriggerVtbl;
|
---|
3437 |
|
---|
3438 | interface ITrigger {
|
---|
3439 | CONST_VTBL ITriggerVtbl* lpVtbl;
|
---|
3440 | };
|
---|
3441 |
|
---|
3442 | #ifdef COBJMACROS
|
---|
3443 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
3444 | /*** IUnknown methods ***/
|
---|
3445 | #define ITrigger_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3446 | #define ITrigger_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3447 | #define ITrigger_Release(This) (This)->lpVtbl->Release(This)
|
---|
3448 | /*** IDispatch methods ***/
|
---|
3449 | #define ITrigger_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
3450 | #define ITrigger_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
3451 | #define ITrigger_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
3452 | #define ITrigger_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
3453 | /*** ITrigger methods ***/
|
---|
3454 | #define ITrigger_get_Type(This,type) (This)->lpVtbl->get_Type(This,type)
|
---|
3455 | #define ITrigger_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
|
---|
3456 | #define ITrigger_put_Id(This,id) (This)->lpVtbl->put_Id(This,id)
|
---|
3457 | #define ITrigger_get_Repetition(This,repeat) (This)->lpVtbl->get_Repetition(This,repeat)
|
---|
3458 | #define ITrigger_put_Repetition(This,repeat) (This)->lpVtbl->put_Repetition(This,repeat)
|
---|
3459 | #define ITrigger_get_ExecutionTimeLimit(This,limit) (This)->lpVtbl->get_ExecutionTimeLimit(This,limit)
|
---|
3460 | #define ITrigger_put_ExecutionTimeLimit(This,limit) (This)->lpVtbl->put_ExecutionTimeLimit(This,limit)
|
---|
3461 | #define ITrigger_get_StartBoundary(This,start) (This)->lpVtbl->get_StartBoundary(This,start)
|
---|
3462 | #define ITrigger_put_StartBoundary(This,start) (This)->lpVtbl->put_StartBoundary(This,start)
|
---|
3463 | #define ITrigger_get_EndBoundary(This,end) (This)->lpVtbl->get_EndBoundary(This,end)
|
---|
3464 | #define ITrigger_put_EndBoundary(This,end) (This)->lpVtbl->put_EndBoundary(This,end)
|
---|
3465 | #define ITrigger_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled)
|
---|
3466 | #define ITrigger_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled)
|
---|
3467 | #else
|
---|
3468 | /*** IUnknown methods ***/
|
---|
3469 | static FORCEINLINE HRESULT ITrigger_QueryInterface(ITrigger* This,REFIID riid,void **ppvObject) {
|
---|
3470 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
3471 | }
|
---|
3472 | static FORCEINLINE ULONG ITrigger_AddRef(ITrigger* This) {
|
---|
3473 | return This->lpVtbl->AddRef(This);
|
---|
3474 | }
|
---|
3475 | static FORCEINLINE ULONG ITrigger_Release(ITrigger* This) {
|
---|
3476 | return This->lpVtbl->Release(This);
|
---|
3477 | }
|
---|
3478 | /*** IDispatch methods ***/
|
---|
3479 | static FORCEINLINE HRESULT ITrigger_GetTypeInfoCount(ITrigger* This,UINT *pctinfo) {
|
---|
3480 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
3481 | }
|
---|
3482 | static FORCEINLINE HRESULT ITrigger_GetTypeInfo(ITrigger* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
3483 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
3484 | }
|
---|
3485 | static FORCEINLINE HRESULT ITrigger_GetIDsOfNames(ITrigger* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
3486 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
3487 | }
|
---|
3488 | static FORCEINLINE HRESULT ITrigger_Invoke(ITrigger* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
3489 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
3490 | }
|
---|
3491 | /*** ITrigger methods ***/
|
---|
3492 | static FORCEINLINE HRESULT ITrigger_get_Type(ITrigger* This,TASK_TRIGGER_TYPE2 *type) {
|
---|
3493 | return This->lpVtbl->get_Type(This,type);
|
---|
3494 | }
|
---|
3495 | static FORCEINLINE HRESULT ITrigger_get_Id(ITrigger* This,BSTR *id) {
|
---|
3496 | return This->lpVtbl->get_Id(This,id);
|
---|
3497 | }
|
---|
3498 | static FORCEINLINE HRESULT ITrigger_put_Id(ITrigger* This,BSTR id) {
|
---|
3499 | return This->lpVtbl->put_Id(This,id);
|
---|
3500 | }
|
---|
3501 | static FORCEINLINE HRESULT ITrigger_get_Repetition(ITrigger* This,IRepetitionPattern **repeat) {
|
---|
3502 | return This->lpVtbl->get_Repetition(This,repeat);
|
---|
3503 | }
|
---|
3504 | static FORCEINLINE HRESULT ITrigger_put_Repetition(ITrigger* This,IRepetitionPattern *repeat) {
|
---|
3505 | return This->lpVtbl->put_Repetition(This,repeat);
|
---|
3506 | }
|
---|
3507 | static FORCEINLINE HRESULT ITrigger_get_ExecutionTimeLimit(ITrigger* This,BSTR *limit) {
|
---|
3508 | return This->lpVtbl->get_ExecutionTimeLimit(This,limit);
|
---|
3509 | }
|
---|
3510 | static FORCEINLINE HRESULT ITrigger_put_ExecutionTimeLimit(ITrigger* This,BSTR limit) {
|
---|
3511 | return This->lpVtbl->put_ExecutionTimeLimit(This,limit);
|
---|
3512 | }
|
---|
3513 | static FORCEINLINE HRESULT ITrigger_get_StartBoundary(ITrigger* This,BSTR *start) {
|
---|
3514 | return This->lpVtbl->get_StartBoundary(This,start);
|
---|
3515 | }
|
---|
3516 | static FORCEINLINE HRESULT ITrigger_put_StartBoundary(ITrigger* This,BSTR start) {
|
---|
3517 | return This->lpVtbl->put_StartBoundary(This,start);
|
---|
3518 | }
|
---|
3519 | static FORCEINLINE HRESULT ITrigger_get_EndBoundary(ITrigger* This,BSTR *end) {
|
---|
3520 | return This->lpVtbl->get_EndBoundary(This,end);
|
---|
3521 | }
|
---|
3522 | static FORCEINLINE HRESULT ITrigger_put_EndBoundary(ITrigger* This,BSTR end) {
|
---|
3523 | return This->lpVtbl->put_EndBoundary(This,end);
|
---|
3524 | }
|
---|
3525 | static FORCEINLINE HRESULT ITrigger_get_Enabled(ITrigger* This,VARIANT_BOOL *enabled) {
|
---|
3526 | return This->lpVtbl->get_Enabled(This,enabled);
|
---|
3527 | }
|
---|
3528 | static FORCEINLINE HRESULT ITrigger_put_Enabled(ITrigger* This,VARIANT_BOOL enabled) {
|
---|
3529 | return This->lpVtbl->put_Enabled(This,enabled);
|
---|
3530 | }
|
---|
3531 | #endif
|
---|
3532 | #endif
|
---|
3533 |
|
---|
3534 | #endif
|
---|
3535 |
|
---|
3536 |
|
---|
3537 | #endif /* __ITrigger_INTERFACE_DEFINED__ */
|
---|
3538 |
|
---|
3539 | /*****************************************************************************
|
---|
3540 | * IDailyTrigger interface
|
---|
3541 | */
|
---|
3542 | #ifndef __IDailyTrigger_INTERFACE_DEFINED__
|
---|
3543 | #define __IDailyTrigger_INTERFACE_DEFINED__
|
---|
3544 |
|
---|
3545 | DEFINE_GUID(IID_IDailyTrigger, 0x126c5cd8, 0xb288, 0x41d5, 0x8d,0xbf, 0xe4,0x91,0x44,0x6a,0xdc,0x5c);
|
---|
3546 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3547 | MIDL_INTERFACE("126c5cd8-b288-41d5-8dbf-e491446adc5c")
|
---|
3548 | IDailyTrigger : public ITrigger
|
---|
3549 | {
|
---|
3550 | virtual HRESULT STDMETHODCALLTYPE get_DaysInterval(
|
---|
3551 | short *pDays) = 0;
|
---|
3552 |
|
---|
3553 | virtual HRESULT STDMETHODCALLTYPE put_DaysInterval(
|
---|
3554 | short days) = 0;
|
---|
3555 |
|
---|
3556 | virtual HRESULT STDMETHODCALLTYPE get_RandomDelay(
|
---|
3557 | BSTR *pRandomDelay) = 0;
|
---|
3558 |
|
---|
3559 | virtual HRESULT STDMETHODCALLTYPE put_RandomDelay(
|
---|
3560 | BSTR randomDelay) = 0;
|
---|
3561 |
|
---|
3562 | };
|
---|
3563 | #ifdef __CRT_UUID_DECL
|
---|
3564 | __CRT_UUID_DECL(IDailyTrigger, 0x126c5cd8, 0xb288, 0x41d5, 0x8d,0xbf, 0xe4,0x91,0x44,0x6a,0xdc,0x5c)
|
---|
3565 | #endif
|
---|
3566 | #else
|
---|
3567 | typedef struct IDailyTriggerVtbl {
|
---|
3568 | BEGIN_INTERFACE
|
---|
3569 |
|
---|
3570 | /*** IUnknown methods ***/
|
---|
3571 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3572 | IDailyTrigger *This,
|
---|
3573 | REFIID riid,
|
---|
3574 | void **ppvObject);
|
---|
3575 |
|
---|
3576 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3577 | IDailyTrigger *This);
|
---|
3578 |
|
---|
3579 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3580 | IDailyTrigger *This);
|
---|
3581 |
|
---|
3582 | /*** IDispatch methods ***/
|
---|
3583 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
3584 | IDailyTrigger *This,
|
---|
3585 | UINT *pctinfo);
|
---|
3586 |
|
---|
3587 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
3588 | IDailyTrigger *This,
|
---|
3589 | UINT iTInfo,
|
---|
3590 | LCID lcid,
|
---|
3591 | ITypeInfo **ppTInfo);
|
---|
3592 |
|
---|
3593 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
3594 | IDailyTrigger *This,
|
---|
3595 | REFIID riid,
|
---|
3596 | LPOLESTR *rgszNames,
|
---|
3597 | UINT cNames,
|
---|
3598 | LCID lcid,
|
---|
3599 | DISPID *rgDispId);
|
---|
3600 |
|
---|
3601 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
3602 | IDailyTrigger *This,
|
---|
3603 | DISPID dispIdMember,
|
---|
3604 | REFIID riid,
|
---|
3605 | LCID lcid,
|
---|
3606 | WORD wFlags,
|
---|
3607 | DISPPARAMS *pDispParams,
|
---|
3608 | VARIANT *pVarResult,
|
---|
3609 | EXCEPINFO *pExcepInfo,
|
---|
3610 | UINT *puArgErr);
|
---|
3611 |
|
---|
3612 | /*** ITrigger methods ***/
|
---|
3613 | HRESULT (STDMETHODCALLTYPE *get_Type)(
|
---|
3614 | IDailyTrigger *This,
|
---|
3615 | TASK_TRIGGER_TYPE2 *type);
|
---|
3616 |
|
---|
3617 | HRESULT (STDMETHODCALLTYPE *get_Id)(
|
---|
3618 | IDailyTrigger *This,
|
---|
3619 | BSTR *id);
|
---|
3620 |
|
---|
3621 | HRESULT (STDMETHODCALLTYPE *put_Id)(
|
---|
3622 | IDailyTrigger *This,
|
---|
3623 | BSTR id);
|
---|
3624 |
|
---|
3625 | HRESULT (STDMETHODCALLTYPE *get_Repetition)(
|
---|
3626 | IDailyTrigger *This,
|
---|
3627 | IRepetitionPattern **repeat);
|
---|
3628 |
|
---|
3629 | HRESULT (STDMETHODCALLTYPE *put_Repetition)(
|
---|
3630 | IDailyTrigger *This,
|
---|
3631 | IRepetitionPattern *repeat);
|
---|
3632 |
|
---|
3633 | HRESULT (STDMETHODCALLTYPE *get_ExecutionTimeLimit)(
|
---|
3634 | IDailyTrigger *This,
|
---|
3635 | BSTR *limit);
|
---|
3636 |
|
---|
3637 | HRESULT (STDMETHODCALLTYPE *put_ExecutionTimeLimit)(
|
---|
3638 | IDailyTrigger *This,
|
---|
3639 | BSTR limit);
|
---|
3640 |
|
---|
3641 | HRESULT (STDMETHODCALLTYPE *get_StartBoundary)(
|
---|
3642 | IDailyTrigger *This,
|
---|
3643 | BSTR *start);
|
---|
3644 |
|
---|
3645 | HRESULT (STDMETHODCALLTYPE *put_StartBoundary)(
|
---|
3646 | IDailyTrigger *This,
|
---|
3647 | BSTR start);
|
---|
3648 |
|
---|
3649 | HRESULT (STDMETHODCALLTYPE *get_EndBoundary)(
|
---|
3650 | IDailyTrigger *This,
|
---|
3651 | BSTR *end);
|
---|
3652 |
|
---|
3653 | HRESULT (STDMETHODCALLTYPE *put_EndBoundary)(
|
---|
3654 | IDailyTrigger *This,
|
---|
3655 | BSTR end);
|
---|
3656 |
|
---|
3657 | HRESULT (STDMETHODCALLTYPE *get_Enabled)(
|
---|
3658 | IDailyTrigger *This,
|
---|
3659 | VARIANT_BOOL *enabled);
|
---|
3660 |
|
---|
3661 | HRESULT (STDMETHODCALLTYPE *put_Enabled)(
|
---|
3662 | IDailyTrigger *This,
|
---|
3663 | VARIANT_BOOL enabled);
|
---|
3664 |
|
---|
3665 | /*** IDailyTrigger methods ***/
|
---|
3666 | HRESULT (STDMETHODCALLTYPE *get_DaysInterval)(
|
---|
3667 | IDailyTrigger *This,
|
---|
3668 | short *pDays);
|
---|
3669 |
|
---|
3670 | HRESULT (STDMETHODCALLTYPE *put_DaysInterval)(
|
---|
3671 | IDailyTrigger *This,
|
---|
3672 | short days);
|
---|
3673 |
|
---|
3674 | HRESULT (STDMETHODCALLTYPE *get_RandomDelay)(
|
---|
3675 | IDailyTrigger *This,
|
---|
3676 | BSTR *pRandomDelay);
|
---|
3677 |
|
---|
3678 | HRESULT (STDMETHODCALLTYPE *put_RandomDelay)(
|
---|
3679 | IDailyTrigger *This,
|
---|
3680 | BSTR randomDelay);
|
---|
3681 |
|
---|
3682 | END_INTERFACE
|
---|
3683 | } IDailyTriggerVtbl;
|
---|
3684 |
|
---|
3685 | interface IDailyTrigger {
|
---|
3686 | CONST_VTBL IDailyTriggerVtbl* lpVtbl;
|
---|
3687 | };
|
---|
3688 |
|
---|
3689 | #ifdef COBJMACROS
|
---|
3690 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
3691 | /*** IUnknown methods ***/
|
---|
3692 | #define IDailyTrigger_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3693 | #define IDailyTrigger_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3694 | #define IDailyTrigger_Release(This) (This)->lpVtbl->Release(This)
|
---|
3695 | /*** IDispatch methods ***/
|
---|
3696 | #define IDailyTrigger_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
3697 | #define IDailyTrigger_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
3698 | #define IDailyTrigger_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
3699 | #define IDailyTrigger_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
3700 | /*** ITrigger methods ***/
|
---|
3701 | #define IDailyTrigger_get_Type(This,type) (This)->lpVtbl->get_Type(This,type)
|
---|
3702 | #define IDailyTrigger_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
|
---|
3703 | #define IDailyTrigger_put_Id(This,id) (This)->lpVtbl->put_Id(This,id)
|
---|
3704 | #define IDailyTrigger_get_Repetition(This,repeat) (This)->lpVtbl->get_Repetition(This,repeat)
|
---|
3705 | #define IDailyTrigger_put_Repetition(This,repeat) (This)->lpVtbl->put_Repetition(This,repeat)
|
---|
3706 | #define IDailyTrigger_get_ExecutionTimeLimit(This,limit) (This)->lpVtbl->get_ExecutionTimeLimit(This,limit)
|
---|
3707 | #define IDailyTrigger_put_ExecutionTimeLimit(This,limit) (This)->lpVtbl->put_ExecutionTimeLimit(This,limit)
|
---|
3708 | #define IDailyTrigger_get_StartBoundary(This,start) (This)->lpVtbl->get_StartBoundary(This,start)
|
---|
3709 | #define IDailyTrigger_put_StartBoundary(This,start) (This)->lpVtbl->put_StartBoundary(This,start)
|
---|
3710 | #define IDailyTrigger_get_EndBoundary(This,end) (This)->lpVtbl->get_EndBoundary(This,end)
|
---|
3711 | #define IDailyTrigger_put_EndBoundary(This,end) (This)->lpVtbl->put_EndBoundary(This,end)
|
---|
3712 | #define IDailyTrigger_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled)
|
---|
3713 | #define IDailyTrigger_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled)
|
---|
3714 | /*** IDailyTrigger methods ***/
|
---|
3715 | #define IDailyTrigger_get_DaysInterval(This,pDays) (This)->lpVtbl->get_DaysInterval(This,pDays)
|
---|
3716 | #define IDailyTrigger_put_DaysInterval(This,days) (This)->lpVtbl->put_DaysInterval(This,days)
|
---|
3717 | #define IDailyTrigger_get_RandomDelay(This,pRandomDelay) (This)->lpVtbl->get_RandomDelay(This,pRandomDelay)
|
---|
3718 | #define IDailyTrigger_put_RandomDelay(This,randomDelay) (This)->lpVtbl->put_RandomDelay(This,randomDelay)
|
---|
3719 | #else
|
---|
3720 | /*** IUnknown methods ***/
|
---|
3721 | static FORCEINLINE HRESULT IDailyTrigger_QueryInterface(IDailyTrigger* This,REFIID riid,void **ppvObject) {
|
---|
3722 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
3723 | }
|
---|
3724 | static FORCEINLINE ULONG IDailyTrigger_AddRef(IDailyTrigger* This) {
|
---|
3725 | return This->lpVtbl->AddRef(This);
|
---|
3726 | }
|
---|
3727 | static FORCEINLINE ULONG IDailyTrigger_Release(IDailyTrigger* This) {
|
---|
3728 | return This->lpVtbl->Release(This);
|
---|
3729 | }
|
---|
3730 | /*** IDispatch methods ***/
|
---|
3731 | static FORCEINLINE HRESULT IDailyTrigger_GetTypeInfoCount(IDailyTrigger* This,UINT *pctinfo) {
|
---|
3732 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
3733 | }
|
---|
3734 | static FORCEINLINE HRESULT IDailyTrigger_GetTypeInfo(IDailyTrigger* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
3735 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
3736 | }
|
---|
3737 | static FORCEINLINE HRESULT IDailyTrigger_GetIDsOfNames(IDailyTrigger* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
3738 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
3739 | }
|
---|
3740 | static FORCEINLINE HRESULT IDailyTrigger_Invoke(IDailyTrigger* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
3741 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
3742 | }
|
---|
3743 | /*** ITrigger methods ***/
|
---|
3744 | static FORCEINLINE HRESULT IDailyTrigger_get_Type(IDailyTrigger* This,TASK_TRIGGER_TYPE2 *type) {
|
---|
3745 | return This->lpVtbl->get_Type(This,type);
|
---|
3746 | }
|
---|
3747 | static FORCEINLINE HRESULT IDailyTrigger_get_Id(IDailyTrigger* This,BSTR *id) {
|
---|
3748 | return This->lpVtbl->get_Id(This,id);
|
---|
3749 | }
|
---|
3750 | static FORCEINLINE HRESULT IDailyTrigger_put_Id(IDailyTrigger* This,BSTR id) {
|
---|
3751 | return This->lpVtbl->put_Id(This,id);
|
---|
3752 | }
|
---|
3753 | static FORCEINLINE HRESULT IDailyTrigger_get_Repetition(IDailyTrigger* This,IRepetitionPattern **repeat) {
|
---|
3754 | return This->lpVtbl->get_Repetition(This,repeat);
|
---|
3755 | }
|
---|
3756 | static FORCEINLINE HRESULT IDailyTrigger_put_Repetition(IDailyTrigger* This,IRepetitionPattern *repeat) {
|
---|
3757 | return This->lpVtbl->put_Repetition(This,repeat);
|
---|
3758 | }
|
---|
3759 | static FORCEINLINE HRESULT IDailyTrigger_get_ExecutionTimeLimit(IDailyTrigger* This,BSTR *limit) {
|
---|
3760 | return This->lpVtbl->get_ExecutionTimeLimit(This,limit);
|
---|
3761 | }
|
---|
3762 | static FORCEINLINE HRESULT IDailyTrigger_put_ExecutionTimeLimit(IDailyTrigger* This,BSTR limit) {
|
---|
3763 | return This->lpVtbl->put_ExecutionTimeLimit(This,limit);
|
---|
3764 | }
|
---|
3765 | static FORCEINLINE HRESULT IDailyTrigger_get_StartBoundary(IDailyTrigger* This,BSTR *start) {
|
---|
3766 | return This->lpVtbl->get_StartBoundary(This,start);
|
---|
3767 | }
|
---|
3768 | static FORCEINLINE HRESULT IDailyTrigger_put_StartBoundary(IDailyTrigger* This,BSTR start) {
|
---|
3769 | return This->lpVtbl->put_StartBoundary(This,start);
|
---|
3770 | }
|
---|
3771 | static FORCEINLINE HRESULT IDailyTrigger_get_EndBoundary(IDailyTrigger* This,BSTR *end) {
|
---|
3772 | return This->lpVtbl->get_EndBoundary(This,end);
|
---|
3773 | }
|
---|
3774 | static FORCEINLINE HRESULT IDailyTrigger_put_EndBoundary(IDailyTrigger* This,BSTR end) {
|
---|
3775 | return This->lpVtbl->put_EndBoundary(This,end);
|
---|
3776 | }
|
---|
3777 | static FORCEINLINE HRESULT IDailyTrigger_get_Enabled(IDailyTrigger* This,VARIANT_BOOL *enabled) {
|
---|
3778 | return This->lpVtbl->get_Enabled(This,enabled);
|
---|
3779 | }
|
---|
3780 | static FORCEINLINE HRESULT IDailyTrigger_put_Enabled(IDailyTrigger* This,VARIANT_BOOL enabled) {
|
---|
3781 | return This->lpVtbl->put_Enabled(This,enabled);
|
---|
3782 | }
|
---|
3783 | /*** IDailyTrigger methods ***/
|
---|
3784 | static FORCEINLINE HRESULT IDailyTrigger_get_DaysInterval(IDailyTrigger* This,short *pDays) {
|
---|
3785 | return This->lpVtbl->get_DaysInterval(This,pDays);
|
---|
3786 | }
|
---|
3787 | static FORCEINLINE HRESULT IDailyTrigger_put_DaysInterval(IDailyTrigger* This,short days) {
|
---|
3788 | return This->lpVtbl->put_DaysInterval(This,days);
|
---|
3789 | }
|
---|
3790 | static FORCEINLINE HRESULT IDailyTrigger_get_RandomDelay(IDailyTrigger* This,BSTR *pRandomDelay) {
|
---|
3791 | return This->lpVtbl->get_RandomDelay(This,pRandomDelay);
|
---|
3792 | }
|
---|
3793 | static FORCEINLINE HRESULT IDailyTrigger_put_RandomDelay(IDailyTrigger* This,BSTR randomDelay) {
|
---|
3794 | return This->lpVtbl->put_RandomDelay(This,randomDelay);
|
---|
3795 | }
|
---|
3796 | #endif
|
---|
3797 | #endif
|
---|
3798 |
|
---|
3799 | #endif
|
---|
3800 |
|
---|
3801 |
|
---|
3802 | #endif /* __IDailyTrigger_INTERFACE_DEFINED__ */
|
---|
3803 |
|
---|
3804 | /*****************************************************************************
|
---|
3805 | * ITriggerCollection interface
|
---|
3806 | */
|
---|
3807 | #ifndef __ITriggerCollection_INTERFACE_DEFINED__
|
---|
3808 | #define __ITriggerCollection_INTERFACE_DEFINED__
|
---|
3809 |
|
---|
3810 | DEFINE_GUID(IID_ITriggerCollection, 0x85df5081, 0x1b24, 0x4f32, 0x87,0x8a, 0xd9,0xd1,0x4d,0xf4,0xcb,0x77);
|
---|
3811 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3812 | MIDL_INTERFACE("85df5081-1b24-4f32-878a-d9d14df4cb77")
|
---|
3813 | ITriggerCollection : public IDispatch
|
---|
3814 | {
|
---|
3815 | virtual HRESULT STDMETHODCALLTYPE get_Count(
|
---|
3816 | LONG *count) = 0;
|
---|
3817 |
|
---|
3818 | virtual HRESULT STDMETHODCALLTYPE get_Item(
|
---|
3819 | LONG index,
|
---|
3820 | ITrigger **trigger) = 0;
|
---|
3821 |
|
---|
3822 | virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
|
---|
3823 | IUnknown **penum) = 0;
|
---|
3824 |
|
---|
3825 | virtual HRESULT STDMETHODCALLTYPE Create(
|
---|
3826 | TASK_TRIGGER_TYPE2 type,
|
---|
3827 | ITrigger **trigger) = 0;
|
---|
3828 |
|
---|
3829 | virtual HRESULT STDMETHODCALLTYPE Remove(
|
---|
3830 | VARIANT index) = 0;
|
---|
3831 |
|
---|
3832 | virtual HRESULT STDMETHODCALLTYPE Clear(
|
---|
3833 | ) = 0;
|
---|
3834 |
|
---|
3835 | };
|
---|
3836 | #ifdef __CRT_UUID_DECL
|
---|
3837 | __CRT_UUID_DECL(ITriggerCollection, 0x85df5081, 0x1b24, 0x4f32, 0x87,0x8a, 0xd9,0xd1,0x4d,0xf4,0xcb,0x77)
|
---|
3838 | #endif
|
---|
3839 | #else
|
---|
3840 | typedef struct ITriggerCollectionVtbl {
|
---|
3841 | BEGIN_INTERFACE
|
---|
3842 |
|
---|
3843 | /*** IUnknown methods ***/
|
---|
3844 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3845 | ITriggerCollection *This,
|
---|
3846 | REFIID riid,
|
---|
3847 | void **ppvObject);
|
---|
3848 |
|
---|
3849 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3850 | ITriggerCollection *This);
|
---|
3851 |
|
---|
3852 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3853 | ITriggerCollection *This);
|
---|
3854 |
|
---|
3855 | /*** IDispatch methods ***/
|
---|
3856 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
3857 | ITriggerCollection *This,
|
---|
3858 | UINT *pctinfo);
|
---|
3859 |
|
---|
3860 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
3861 | ITriggerCollection *This,
|
---|
3862 | UINT iTInfo,
|
---|
3863 | LCID lcid,
|
---|
3864 | ITypeInfo **ppTInfo);
|
---|
3865 |
|
---|
3866 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
3867 | ITriggerCollection *This,
|
---|
3868 | REFIID riid,
|
---|
3869 | LPOLESTR *rgszNames,
|
---|
3870 | UINT cNames,
|
---|
3871 | LCID lcid,
|
---|
3872 | DISPID *rgDispId);
|
---|
3873 |
|
---|
3874 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
3875 | ITriggerCollection *This,
|
---|
3876 | DISPID dispIdMember,
|
---|
3877 | REFIID riid,
|
---|
3878 | LCID lcid,
|
---|
3879 | WORD wFlags,
|
---|
3880 | DISPPARAMS *pDispParams,
|
---|
3881 | VARIANT *pVarResult,
|
---|
3882 | EXCEPINFO *pExcepInfo,
|
---|
3883 | UINT *puArgErr);
|
---|
3884 |
|
---|
3885 | /*** ITriggerCollection methods ***/
|
---|
3886 | HRESULT (STDMETHODCALLTYPE *get_Count)(
|
---|
3887 | ITriggerCollection *This,
|
---|
3888 | LONG *count);
|
---|
3889 |
|
---|
3890 | HRESULT (STDMETHODCALLTYPE *get_Item)(
|
---|
3891 | ITriggerCollection *This,
|
---|
3892 | LONG index,
|
---|
3893 | ITrigger **trigger);
|
---|
3894 |
|
---|
3895 | HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
|
---|
3896 | ITriggerCollection *This,
|
---|
3897 | IUnknown **penum);
|
---|
3898 |
|
---|
3899 | HRESULT (STDMETHODCALLTYPE *Create)(
|
---|
3900 | ITriggerCollection *This,
|
---|
3901 | TASK_TRIGGER_TYPE2 type,
|
---|
3902 | ITrigger **trigger);
|
---|
3903 |
|
---|
3904 | HRESULT (STDMETHODCALLTYPE *Remove)(
|
---|
3905 | ITriggerCollection *This,
|
---|
3906 | VARIANT index);
|
---|
3907 |
|
---|
3908 | HRESULT (STDMETHODCALLTYPE *Clear)(
|
---|
3909 | ITriggerCollection *This);
|
---|
3910 |
|
---|
3911 | END_INTERFACE
|
---|
3912 | } ITriggerCollectionVtbl;
|
---|
3913 |
|
---|
3914 | interface ITriggerCollection {
|
---|
3915 | CONST_VTBL ITriggerCollectionVtbl* lpVtbl;
|
---|
3916 | };
|
---|
3917 |
|
---|
3918 | #ifdef COBJMACROS
|
---|
3919 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
3920 | /*** IUnknown methods ***/
|
---|
3921 | #define ITriggerCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3922 | #define ITriggerCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3923 | #define ITriggerCollection_Release(This) (This)->lpVtbl->Release(This)
|
---|
3924 | /*** IDispatch methods ***/
|
---|
3925 | #define ITriggerCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
3926 | #define ITriggerCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
3927 | #define ITriggerCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
3928 | #define ITriggerCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
3929 | /*** ITriggerCollection methods ***/
|
---|
3930 | #define ITriggerCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count)
|
---|
3931 | #define ITriggerCollection_get_Item(This,index,trigger) (This)->lpVtbl->get_Item(This,index,trigger)
|
---|
3932 | #define ITriggerCollection_get__NewEnum(This,penum) (This)->lpVtbl->get__NewEnum(This,penum)
|
---|
3933 | #define ITriggerCollection_Create(This,type,trigger) (This)->lpVtbl->Create(This,type,trigger)
|
---|
3934 | #define ITriggerCollection_Remove(This,index) (This)->lpVtbl->Remove(This,index)
|
---|
3935 | #define ITriggerCollection_Clear(This) (This)->lpVtbl->Clear(This)
|
---|
3936 | #else
|
---|
3937 | /*** IUnknown methods ***/
|
---|
3938 | static FORCEINLINE HRESULT ITriggerCollection_QueryInterface(ITriggerCollection* This,REFIID riid,void **ppvObject) {
|
---|
3939 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
3940 | }
|
---|
3941 | static FORCEINLINE ULONG ITriggerCollection_AddRef(ITriggerCollection* This) {
|
---|
3942 | return This->lpVtbl->AddRef(This);
|
---|
3943 | }
|
---|
3944 | static FORCEINLINE ULONG ITriggerCollection_Release(ITriggerCollection* This) {
|
---|
3945 | return This->lpVtbl->Release(This);
|
---|
3946 | }
|
---|
3947 | /*** IDispatch methods ***/
|
---|
3948 | static FORCEINLINE HRESULT ITriggerCollection_GetTypeInfoCount(ITriggerCollection* This,UINT *pctinfo) {
|
---|
3949 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
3950 | }
|
---|
3951 | static FORCEINLINE HRESULT ITriggerCollection_GetTypeInfo(ITriggerCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
3952 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
3953 | }
|
---|
3954 | static FORCEINLINE HRESULT ITriggerCollection_GetIDsOfNames(ITriggerCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
3955 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
3956 | }
|
---|
3957 | static FORCEINLINE HRESULT ITriggerCollection_Invoke(ITriggerCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
3958 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
3959 | }
|
---|
3960 | /*** ITriggerCollection methods ***/
|
---|
3961 | static FORCEINLINE HRESULT ITriggerCollection_get_Count(ITriggerCollection* This,LONG *count) {
|
---|
3962 | return This->lpVtbl->get_Count(This,count);
|
---|
3963 | }
|
---|
3964 | static FORCEINLINE HRESULT ITriggerCollection_get_Item(ITriggerCollection* This,LONG index,ITrigger **trigger) {
|
---|
3965 | return This->lpVtbl->get_Item(This,index,trigger);
|
---|
3966 | }
|
---|
3967 | static FORCEINLINE HRESULT ITriggerCollection_get__NewEnum(ITriggerCollection* This,IUnknown **penum) {
|
---|
3968 | return This->lpVtbl->get__NewEnum(This,penum);
|
---|
3969 | }
|
---|
3970 | static FORCEINLINE HRESULT ITriggerCollection_Create(ITriggerCollection* This,TASK_TRIGGER_TYPE2 type,ITrigger **trigger) {
|
---|
3971 | return This->lpVtbl->Create(This,type,trigger);
|
---|
3972 | }
|
---|
3973 | static FORCEINLINE HRESULT ITriggerCollection_Remove(ITriggerCollection* This,VARIANT index) {
|
---|
3974 | return This->lpVtbl->Remove(This,index);
|
---|
3975 | }
|
---|
3976 | static FORCEINLINE HRESULT ITriggerCollection_Clear(ITriggerCollection* This) {
|
---|
3977 | return This->lpVtbl->Clear(This);
|
---|
3978 | }
|
---|
3979 | #endif
|
---|
3980 | #endif
|
---|
3981 |
|
---|
3982 | #endif
|
---|
3983 |
|
---|
3984 |
|
---|
3985 | #endif /* __ITriggerCollection_INTERFACE_DEFINED__ */
|
---|
3986 |
|
---|
3987 | /*****************************************************************************
|
---|
3988 | * ITimeTrigger interface
|
---|
3989 | */
|
---|
3990 | #ifndef __ITimeTrigger_INTERFACE_DEFINED__
|
---|
3991 | #define __ITimeTrigger_INTERFACE_DEFINED__
|
---|
3992 |
|
---|
3993 | DEFINE_GUID(IID_ITimeTrigger, 0xb45747e0, 0xeba7, 0x4276, 0x9f,0x29, 0x85,0xc5,0xbb,0x30,0x00,0x06);
|
---|
3994 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3995 | MIDL_INTERFACE("b45747e0-eba7-4276-9f29-85c5bb300006")
|
---|
3996 | ITimeTrigger : public ITrigger
|
---|
3997 | {
|
---|
3998 | virtual HRESULT STDMETHODCALLTYPE get_RandomDelay(
|
---|
3999 | BSTR *delay) = 0;
|
---|
4000 |
|
---|
4001 | virtual HRESULT STDMETHODCALLTYPE put_RandomDelay(
|
---|
4002 | BSTR delay) = 0;
|
---|
4003 |
|
---|
4004 | };
|
---|
4005 | #ifdef __CRT_UUID_DECL
|
---|
4006 | __CRT_UUID_DECL(ITimeTrigger, 0xb45747e0, 0xeba7, 0x4276, 0x9f,0x29, 0x85,0xc5,0xbb,0x30,0x00,0x06)
|
---|
4007 | #endif
|
---|
4008 | #else
|
---|
4009 | typedef struct ITimeTriggerVtbl {
|
---|
4010 | BEGIN_INTERFACE
|
---|
4011 |
|
---|
4012 | /*** IUnknown methods ***/
|
---|
4013 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4014 | ITimeTrigger *This,
|
---|
4015 | REFIID riid,
|
---|
4016 | void **ppvObject);
|
---|
4017 |
|
---|
4018 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4019 | ITimeTrigger *This);
|
---|
4020 |
|
---|
4021 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4022 | ITimeTrigger *This);
|
---|
4023 |
|
---|
4024 | /*** IDispatch methods ***/
|
---|
4025 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
4026 | ITimeTrigger *This,
|
---|
4027 | UINT *pctinfo);
|
---|
4028 |
|
---|
4029 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
4030 | ITimeTrigger *This,
|
---|
4031 | UINT iTInfo,
|
---|
4032 | LCID lcid,
|
---|
4033 | ITypeInfo **ppTInfo);
|
---|
4034 |
|
---|
4035 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
4036 | ITimeTrigger *This,
|
---|
4037 | REFIID riid,
|
---|
4038 | LPOLESTR *rgszNames,
|
---|
4039 | UINT cNames,
|
---|
4040 | LCID lcid,
|
---|
4041 | DISPID *rgDispId);
|
---|
4042 |
|
---|
4043 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
4044 | ITimeTrigger *This,
|
---|
4045 | DISPID dispIdMember,
|
---|
4046 | REFIID riid,
|
---|
4047 | LCID lcid,
|
---|
4048 | WORD wFlags,
|
---|
4049 | DISPPARAMS *pDispParams,
|
---|
4050 | VARIANT *pVarResult,
|
---|
4051 | EXCEPINFO *pExcepInfo,
|
---|
4052 | UINT *puArgErr);
|
---|
4053 |
|
---|
4054 | /*** ITrigger methods ***/
|
---|
4055 | HRESULT (STDMETHODCALLTYPE *get_Type)(
|
---|
4056 | ITimeTrigger *This,
|
---|
4057 | TASK_TRIGGER_TYPE2 *type);
|
---|
4058 |
|
---|
4059 | HRESULT (STDMETHODCALLTYPE *get_Id)(
|
---|
4060 | ITimeTrigger *This,
|
---|
4061 | BSTR *id);
|
---|
4062 |
|
---|
4063 | HRESULT (STDMETHODCALLTYPE *put_Id)(
|
---|
4064 | ITimeTrigger *This,
|
---|
4065 | BSTR id);
|
---|
4066 |
|
---|
4067 | HRESULT (STDMETHODCALLTYPE *get_Repetition)(
|
---|
4068 | ITimeTrigger *This,
|
---|
4069 | IRepetitionPattern **repeat);
|
---|
4070 |
|
---|
4071 | HRESULT (STDMETHODCALLTYPE *put_Repetition)(
|
---|
4072 | ITimeTrigger *This,
|
---|
4073 | IRepetitionPattern *repeat);
|
---|
4074 |
|
---|
4075 | HRESULT (STDMETHODCALLTYPE *get_ExecutionTimeLimit)(
|
---|
4076 | ITimeTrigger *This,
|
---|
4077 | BSTR *limit);
|
---|
4078 |
|
---|
4079 | HRESULT (STDMETHODCALLTYPE *put_ExecutionTimeLimit)(
|
---|
4080 | ITimeTrigger *This,
|
---|
4081 | BSTR limit);
|
---|
4082 |
|
---|
4083 | HRESULT (STDMETHODCALLTYPE *get_StartBoundary)(
|
---|
4084 | ITimeTrigger *This,
|
---|
4085 | BSTR *start);
|
---|
4086 |
|
---|
4087 | HRESULT (STDMETHODCALLTYPE *put_StartBoundary)(
|
---|
4088 | ITimeTrigger *This,
|
---|
4089 | BSTR start);
|
---|
4090 |
|
---|
4091 | HRESULT (STDMETHODCALLTYPE *get_EndBoundary)(
|
---|
4092 | ITimeTrigger *This,
|
---|
4093 | BSTR *end);
|
---|
4094 |
|
---|
4095 | HRESULT (STDMETHODCALLTYPE *put_EndBoundary)(
|
---|
4096 | ITimeTrigger *This,
|
---|
4097 | BSTR end);
|
---|
4098 |
|
---|
4099 | HRESULT (STDMETHODCALLTYPE *get_Enabled)(
|
---|
4100 | ITimeTrigger *This,
|
---|
4101 | VARIANT_BOOL *enabled);
|
---|
4102 |
|
---|
4103 | HRESULT (STDMETHODCALLTYPE *put_Enabled)(
|
---|
4104 | ITimeTrigger *This,
|
---|
4105 | VARIANT_BOOL enabled);
|
---|
4106 |
|
---|
4107 | /*** ITimeTrigger methods ***/
|
---|
4108 | HRESULT (STDMETHODCALLTYPE *get_RandomDelay)(
|
---|
4109 | ITimeTrigger *This,
|
---|
4110 | BSTR *delay);
|
---|
4111 |
|
---|
4112 | HRESULT (STDMETHODCALLTYPE *put_RandomDelay)(
|
---|
4113 | ITimeTrigger *This,
|
---|
4114 | BSTR delay);
|
---|
4115 |
|
---|
4116 | END_INTERFACE
|
---|
4117 | } ITimeTriggerVtbl;
|
---|
4118 |
|
---|
4119 | interface ITimeTrigger {
|
---|
4120 | CONST_VTBL ITimeTriggerVtbl* lpVtbl;
|
---|
4121 | };
|
---|
4122 |
|
---|
4123 | #ifdef COBJMACROS
|
---|
4124 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
4125 | /*** IUnknown methods ***/
|
---|
4126 | #define ITimeTrigger_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4127 | #define ITimeTrigger_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4128 | #define ITimeTrigger_Release(This) (This)->lpVtbl->Release(This)
|
---|
4129 | /*** IDispatch methods ***/
|
---|
4130 | #define ITimeTrigger_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
4131 | #define ITimeTrigger_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
4132 | #define ITimeTrigger_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
4133 | #define ITimeTrigger_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
4134 | /*** ITrigger methods ***/
|
---|
4135 | #define ITimeTrigger_get_Type(This,type) (This)->lpVtbl->get_Type(This,type)
|
---|
4136 | #define ITimeTrigger_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
|
---|
4137 | #define ITimeTrigger_put_Id(This,id) (This)->lpVtbl->put_Id(This,id)
|
---|
4138 | #define ITimeTrigger_get_Repetition(This,repeat) (This)->lpVtbl->get_Repetition(This,repeat)
|
---|
4139 | #define ITimeTrigger_put_Repetition(This,repeat) (This)->lpVtbl->put_Repetition(This,repeat)
|
---|
4140 | #define ITimeTrigger_get_ExecutionTimeLimit(This,limit) (This)->lpVtbl->get_ExecutionTimeLimit(This,limit)
|
---|
4141 | #define ITimeTrigger_put_ExecutionTimeLimit(This,limit) (This)->lpVtbl->put_ExecutionTimeLimit(This,limit)
|
---|
4142 | #define ITimeTrigger_get_StartBoundary(This,start) (This)->lpVtbl->get_StartBoundary(This,start)
|
---|
4143 | #define ITimeTrigger_put_StartBoundary(This,start) (This)->lpVtbl->put_StartBoundary(This,start)
|
---|
4144 | #define ITimeTrigger_get_EndBoundary(This,end) (This)->lpVtbl->get_EndBoundary(This,end)
|
---|
4145 | #define ITimeTrigger_put_EndBoundary(This,end) (This)->lpVtbl->put_EndBoundary(This,end)
|
---|
4146 | #define ITimeTrigger_get_Enabled(This,enabled) (This)->lpVtbl->get_Enabled(This,enabled)
|
---|
4147 | #define ITimeTrigger_put_Enabled(This,enabled) (This)->lpVtbl->put_Enabled(This,enabled)
|
---|
4148 | /*** ITimeTrigger methods ***/
|
---|
4149 | #define ITimeTrigger_get_RandomDelay(This,delay) (This)->lpVtbl->get_RandomDelay(This,delay)
|
---|
4150 | #define ITimeTrigger_put_RandomDelay(This,delay) (This)->lpVtbl->put_RandomDelay(This,delay)
|
---|
4151 | #else
|
---|
4152 | /*** IUnknown methods ***/
|
---|
4153 | static FORCEINLINE HRESULT ITimeTrigger_QueryInterface(ITimeTrigger* This,REFIID riid,void **ppvObject) {
|
---|
4154 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
4155 | }
|
---|
4156 | static FORCEINLINE ULONG ITimeTrigger_AddRef(ITimeTrigger* This) {
|
---|
4157 | return This->lpVtbl->AddRef(This);
|
---|
4158 | }
|
---|
4159 | static FORCEINLINE ULONG ITimeTrigger_Release(ITimeTrigger* This) {
|
---|
4160 | return This->lpVtbl->Release(This);
|
---|
4161 | }
|
---|
4162 | /*** IDispatch methods ***/
|
---|
4163 | static FORCEINLINE HRESULT ITimeTrigger_GetTypeInfoCount(ITimeTrigger* This,UINT *pctinfo) {
|
---|
4164 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
4165 | }
|
---|
4166 | static FORCEINLINE HRESULT ITimeTrigger_GetTypeInfo(ITimeTrigger* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
4167 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
4168 | }
|
---|
4169 | static FORCEINLINE HRESULT ITimeTrigger_GetIDsOfNames(ITimeTrigger* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
4170 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
4171 | }
|
---|
4172 | static FORCEINLINE HRESULT ITimeTrigger_Invoke(ITimeTrigger* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
4173 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
4174 | }
|
---|
4175 | /*** ITrigger methods ***/
|
---|
4176 | static FORCEINLINE HRESULT ITimeTrigger_get_Type(ITimeTrigger* This,TASK_TRIGGER_TYPE2 *type) {
|
---|
4177 | return This->lpVtbl->get_Type(This,type);
|
---|
4178 | }
|
---|
4179 | static FORCEINLINE HRESULT ITimeTrigger_get_Id(ITimeTrigger* This,BSTR *id) {
|
---|
4180 | return This->lpVtbl->get_Id(This,id);
|
---|
4181 | }
|
---|
4182 | static FORCEINLINE HRESULT ITimeTrigger_put_Id(ITimeTrigger* This,BSTR id) {
|
---|
4183 | return This->lpVtbl->put_Id(This,id);
|
---|
4184 | }
|
---|
4185 | static FORCEINLINE HRESULT ITimeTrigger_get_Repetition(ITimeTrigger* This,IRepetitionPattern **repeat) {
|
---|
4186 | return This->lpVtbl->get_Repetition(This,repeat);
|
---|
4187 | }
|
---|
4188 | static FORCEINLINE HRESULT ITimeTrigger_put_Repetition(ITimeTrigger* This,IRepetitionPattern *repeat) {
|
---|
4189 | return This->lpVtbl->put_Repetition(This,repeat);
|
---|
4190 | }
|
---|
4191 | static FORCEINLINE HRESULT ITimeTrigger_get_ExecutionTimeLimit(ITimeTrigger* This,BSTR *limit) {
|
---|
4192 | return This->lpVtbl->get_ExecutionTimeLimit(This,limit);
|
---|
4193 | }
|
---|
4194 | static FORCEINLINE HRESULT ITimeTrigger_put_ExecutionTimeLimit(ITimeTrigger* This,BSTR limit) {
|
---|
4195 | return This->lpVtbl->put_ExecutionTimeLimit(This,limit);
|
---|
4196 | }
|
---|
4197 | static FORCEINLINE HRESULT ITimeTrigger_get_StartBoundary(ITimeTrigger* This,BSTR *start) {
|
---|
4198 | return This->lpVtbl->get_StartBoundary(This,start);
|
---|
4199 | }
|
---|
4200 | static FORCEINLINE HRESULT ITimeTrigger_put_StartBoundary(ITimeTrigger* This,BSTR start) {
|
---|
4201 | return This->lpVtbl->put_StartBoundary(This,start);
|
---|
4202 | }
|
---|
4203 | static FORCEINLINE HRESULT ITimeTrigger_get_EndBoundary(ITimeTrigger* This,BSTR *end) {
|
---|
4204 | return This->lpVtbl->get_EndBoundary(This,end);
|
---|
4205 | }
|
---|
4206 | static FORCEINLINE HRESULT ITimeTrigger_put_EndBoundary(ITimeTrigger* This,BSTR end) {
|
---|
4207 | return This->lpVtbl->put_EndBoundary(This,end);
|
---|
4208 | }
|
---|
4209 | static FORCEINLINE HRESULT ITimeTrigger_get_Enabled(ITimeTrigger* This,VARIANT_BOOL *enabled) {
|
---|
4210 | return This->lpVtbl->get_Enabled(This,enabled);
|
---|
4211 | }
|
---|
4212 | static FORCEINLINE HRESULT ITimeTrigger_put_Enabled(ITimeTrigger* This,VARIANT_BOOL enabled) {
|
---|
4213 | return This->lpVtbl->put_Enabled(This,enabled);
|
---|
4214 | }
|
---|
4215 | /*** ITimeTrigger methods ***/
|
---|
4216 | static FORCEINLINE HRESULT ITimeTrigger_get_RandomDelay(ITimeTrigger* This,BSTR *delay) {
|
---|
4217 | return This->lpVtbl->get_RandomDelay(This,delay);
|
---|
4218 | }
|
---|
4219 | static FORCEINLINE HRESULT ITimeTrigger_put_RandomDelay(ITimeTrigger* This,BSTR delay) {
|
---|
4220 | return This->lpVtbl->put_RandomDelay(This,delay);
|
---|
4221 | }
|
---|
4222 | #endif
|
---|
4223 | #endif
|
---|
4224 |
|
---|
4225 | #endif
|
---|
4226 |
|
---|
4227 |
|
---|
4228 | #endif /* __ITimeTrigger_INTERFACE_DEFINED__ */
|
---|
4229 |
|
---|
4230 | /*****************************************************************************
|
---|
4231 | * IRepetitionPattern interface
|
---|
4232 | */
|
---|
4233 | #ifndef __IRepetitionPattern_INTERFACE_DEFINED__
|
---|
4234 | #define __IRepetitionPattern_INTERFACE_DEFINED__
|
---|
4235 |
|
---|
4236 | DEFINE_GUID(IID_IRepetitionPattern, 0x7fb9acf1, 0x26be, 0x400e, 0x85,0xb5, 0x29,0x4b,0x9c,0x75,0xdf,0xd6);
|
---|
4237 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4238 | MIDL_INTERFACE("7fb9acf1-26be-400e-85b5-294b9c75dfd6")
|
---|
4239 | IRepetitionPattern : public IDispatch
|
---|
4240 | {
|
---|
4241 | virtual HRESULT STDMETHODCALLTYPE get_Interval(
|
---|
4242 | BSTR *interval) = 0;
|
---|
4243 |
|
---|
4244 | virtual HRESULT STDMETHODCALLTYPE put_Interval(
|
---|
4245 | BSTR interval) = 0;
|
---|
4246 |
|
---|
4247 | virtual HRESULT STDMETHODCALLTYPE get_Duration(
|
---|
4248 | BSTR *duration) = 0;
|
---|
4249 |
|
---|
4250 | virtual HRESULT STDMETHODCALLTYPE put_Duration(
|
---|
4251 | BSTR duration) = 0;
|
---|
4252 |
|
---|
4253 | virtual HRESULT STDMETHODCALLTYPE get_StopAtDurationEnd(
|
---|
4254 | VARIANT_BOOL *stop) = 0;
|
---|
4255 |
|
---|
4256 | virtual HRESULT STDMETHODCALLTYPE put_StopAtDurationEnd(
|
---|
4257 | VARIANT_BOOL sop) = 0;
|
---|
4258 |
|
---|
4259 | };
|
---|
4260 | #ifdef __CRT_UUID_DECL
|
---|
4261 | __CRT_UUID_DECL(IRepetitionPattern, 0x7fb9acf1, 0x26be, 0x400e, 0x85,0xb5, 0x29,0x4b,0x9c,0x75,0xdf,0xd6)
|
---|
4262 | #endif
|
---|
4263 | #else
|
---|
4264 | typedef struct IRepetitionPatternVtbl {
|
---|
4265 | BEGIN_INTERFACE
|
---|
4266 |
|
---|
4267 | /*** IUnknown methods ***/
|
---|
4268 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4269 | IRepetitionPattern *This,
|
---|
4270 | REFIID riid,
|
---|
4271 | void **ppvObject);
|
---|
4272 |
|
---|
4273 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4274 | IRepetitionPattern *This);
|
---|
4275 |
|
---|
4276 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4277 | IRepetitionPattern *This);
|
---|
4278 |
|
---|
4279 | /*** IDispatch methods ***/
|
---|
4280 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
4281 | IRepetitionPattern *This,
|
---|
4282 | UINT *pctinfo);
|
---|
4283 |
|
---|
4284 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
4285 | IRepetitionPattern *This,
|
---|
4286 | UINT iTInfo,
|
---|
4287 | LCID lcid,
|
---|
4288 | ITypeInfo **ppTInfo);
|
---|
4289 |
|
---|
4290 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
4291 | IRepetitionPattern *This,
|
---|
4292 | REFIID riid,
|
---|
4293 | LPOLESTR *rgszNames,
|
---|
4294 | UINT cNames,
|
---|
4295 | LCID lcid,
|
---|
4296 | DISPID *rgDispId);
|
---|
4297 |
|
---|
4298 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
4299 | IRepetitionPattern *This,
|
---|
4300 | DISPID dispIdMember,
|
---|
4301 | REFIID riid,
|
---|
4302 | LCID lcid,
|
---|
4303 | WORD wFlags,
|
---|
4304 | DISPPARAMS *pDispParams,
|
---|
4305 | VARIANT *pVarResult,
|
---|
4306 | EXCEPINFO *pExcepInfo,
|
---|
4307 | UINT *puArgErr);
|
---|
4308 |
|
---|
4309 | /*** IRepetitionPattern methods ***/
|
---|
4310 | HRESULT (STDMETHODCALLTYPE *get_Interval)(
|
---|
4311 | IRepetitionPattern *This,
|
---|
4312 | BSTR *interval);
|
---|
4313 |
|
---|
4314 | HRESULT (STDMETHODCALLTYPE *put_Interval)(
|
---|
4315 | IRepetitionPattern *This,
|
---|
4316 | BSTR interval);
|
---|
4317 |
|
---|
4318 | HRESULT (STDMETHODCALLTYPE *get_Duration)(
|
---|
4319 | IRepetitionPattern *This,
|
---|
4320 | BSTR *duration);
|
---|
4321 |
|
---|
4322 | HRESULT (STDMETHODCALLTYPE *put_Duration)(
|
---|
4323 | IRepetitionPattern *This,
|
---|
4324 | BSTR duration);
|
---|
4325 |
|
---|
4326 | HRESULT (STDMETHODCALLTYPE *get_StopAtDurationEnd)(
|
---|
4327 | IRepetitionPattern *This,
|
---|
4328 | VARIANT_BOOL *stop);
|
---|
4329 |
|
---|
4330 | HRESULT (STDMETHODCALLTYPE *put_StopAtDurationEnd)(
|
---|
4331 | IRepetitionPattern *This,
|
---|
4332 | VARIANT_BOOL sop);
|
---|
4333 |
|
---|
4334 | END_INTERFACE
|
---|
4335 | } IRepetitionPatternVtbl;
|
---|
4336 |
|
---|
4337 | interface IRepetitionPattern {
|
---|
4338 | CONST_VTBL IRepetitionPatternVtbl* lpVtbl;
|
---|
4339 | };
|
---|
4340 |
|
---|
4341 | #ifdef COBJMACROS
|
---|
4342 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
4343 | /*** IUnknown methods ***/
|
---|
4344 | #define IRepetitionPattern_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4345 | #define IRepetitionPattern_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4346 | #define IRepetitionPattern_Release(This) (This)->lpVtbl->Release(This)
|
---|
4347 | /*** IDispatch methods ***/
|
---|
4348 | #define IRepetitionPattern_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
4349 | #define IRepetitionPattern_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
4350 | #define IRepetitionPattern_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
4351 | #define IRepetitionPattern_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
4352 | /*** IRepetitionPattern methods ***/
|
---|
4353 | #define IRepetitionPattern_get_Interval(This,interval) (This)->lpVtbl->get_Interval(This,interval)
|
---|
4354 | #define IRepetitionPattern_put_Interval(This,interval) (This)->lpVtbl->put_Interval(This,interval)
|
---|
4355 | #define IRepetitionPattern_get_Duration(This,duration) (This)->lpVtbl->get_Duration(This,duration)
|
---|
4356 | #define IRepetitionPattern_put_Duration(This,duration) (This)->lpVtbl->put_Duration(This,duration)
|
---|
4357 | #define IRepetitionPattern_get_StopAtDurationEnd(This,stop) (This)->lpVtbl->get_StopAtDurationEnd(This,stop)
|
---|
4358 | #define IRepetitionPattern_put_StopAtDurationEnd(This,sop) (This)->lpVtbl->put_StopAtDurationEnd(This,sop)
|
---|
4359 | #else
|
---|
4360 | /*** IUnknown methods ***/
|
---|
4361 | static FORCEINLINE HRESULT IRepetitionPattern_QueryInterface(IRepetitionPattern* This,REFIID riid,void **ppvObject) {
|
---|
4362 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
4363 | }
|
---|
4364 | static FORCEINLINE ULONG IRepetitionPattern_AddRef(IRepetitionPattern* This) {
|
---|
4365 | return This->lpVtbl->AddRef(This);
|
---|
4366 | }
|
---|
4367 | static FORCEINLINE ULONG IRepetitionPattern_Release(IRepetitionPattern* This) {
|
---|
4368 | return This->lpVtbl->Release(This);
|
---|
4369 | }
|
---|
4370 | /*** IDispatch methods ***/
|
---|
4371 | static FORCEINLINE HRESULT IRepetitionPattern_GetTypeInfoCount(IRepetitionPattern* This,UINT *pctinfo) {
|
---|
4372 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
4373 | }
|
---|
4374 | static FORCEINLINE HRESULT IRepetitionPattern_GetTypeInfo(IRepetitionPattern* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
4375 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
4376 | }
|
---|
4377 | static FORCEINLINE HRESULT IRepetitionPattern_GetIDsOfNames(IRepetitionPattern* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
4378 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
4379 | }
|
---|
4380 | static FORCEINLINE HRESULT IRepetitionPattern_Invoke(IRepetitionPattern* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
4381 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
4382 | }
|
---|
4383 | /*** IRepetitionPattern methods ***/
|
---|
4384 | static FORCEINLINE HRESULT IRepetitionPattern_get_Interval(IRepetitionPattern* This,BSTR *interval) {
|
---|
4385 | return This->lpVtbl->get_Interval(This,interval);
|
---|
4386 | }
|
---|
4387 | static FORCEINLINE HRESULT IRepetitionPattern_put_Interval(IRepetitionPattern* This,BSTR interval) {
|
---|
4388 | return This->lpVtbl->put_Interval(This,interval);
|
---|
4389 | }
|
---|
4390 | static FORCEINLINE HRESULT IRepetitionPattern_get_Duration(IRepetitionPattern* This,BSTR *duration) {
|
---|
4391 | return This->lpVtbl->get_Duration(This,duration);
|
---|
4392 | }
|
---|
4393 | static FORCEINLINE HRESULT IRepetitionPattern_put_Duration(IRepetitionPattern* This,BSTR duration) {
|
---|
4394 | return This->lpVtbl->put_Duration(This,duration);
|
---|
4395 | }
|
---|
4396 | static FORCEINLINE HRESULT IRepetitionPattern_get_StopAtDurationEnd(IRepetitionPattern* This,VARIANT_BOOL *stop) {
|
---|
4397 | return This->lpVtbl->get_StopAtDurationEnd(This,stop);
|
---|
4398 | }
|
---|
4399 | static FORCEINLINE HRESULT IRepetitionPattern_put_StopAtDurationEnd(IRepetitionPattern* This,VARIANT_BOOL sop) {
|
---|
4400 | return This->lpVtbl->put_StopAtDurationEnd(This,sop);
|
---|
4401 | }
|
---|
4402 | #endif
|
---|
4403 | #endif
|
---|
4404 |
|
---|
4405 | #endif
|
---|
4406 |
|
---|
4407 |
|
---|
4408 | #endif /* __IRepetitionPattern_INTERFACE_DEFINED__ */
|
---|
4409 |
|
---|
4410 | /*****************************************************************************
|
---|
4411 | * IAction interface
|
---|
4412 | */
|
---|
4413 | #ifndef __IAction_INTERFACE_DEFINED__
|
---|
4414 | #define __IAction_INTERFACE_DEFINED__
|
---|
4415 |
|
---|
4416 | DEFINE_GUID(IID_IAction, 0xbae54997, 0x48b1, 0x4cbe, 0x99,0x65, 0xd6,0xbe,0x26,0x3e,0xbe,0xa4);
|
---|
4417 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4418 | MIDL_INTERFACE("bae54997-48b1-4cbe-9965-d6be263ebea4")
|
---|
4419 | IAction : public IDispatch
|
---|
4420 | {
|
---|
4421 | virtual HRESULT STDMETHODCALLTYPE get_Id(
|
---|
4422 | BSTR *id) = 0;
|
---|
4423 |
|
---|
4424 | virtual HRESULT STDMETHODCALLTYPE put_Id(
|
---|
4425 | BSTR id) = 0;
|
---|
4426 |
|
---|
4427 | virtual HRESULT STDMETHODCALLTYPE get_Type(
|
---|
4428 | TASK_ACTION_TYPE *type) = 0;
|
---|
4429 |
|
---|
4430 | };
|
---|
4431 | #ifdef __CRT_UUID_DECL
|
---|
4432 | __CRT_UUID_DECL(IAction, 0xbae54997, 0x48b1, 0x4cbe, 0x99,0x65, 0xd6,0xbe,0x26,0x3e,0xbe,0xa4)
|
---|
4433 | #endif
|
---|
4434 | #else
|
---|
4435 | typedef struct IActionVtbl {
|
---|
4436 | BEGIN_INTERFACE
|
---|
4437 |
|
---|
4438 | /*** IUnknown methods ***/
|
---|
4439 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4440 | IAction *This,
|
---|
4441 | REFIID riid,
|
---|
4442 | void **ppvObject);
|
---|
4443 |
|
---|
4444 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4445 | IAction *This);
|
---|
4446 |
|
---|
4447 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4448 | IAction *This);
|
---|
4449 |
|
---|
4450 | /*** IDispatch methods ***/
|
---|
4451 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
4452 | IAction *This,
|
---|
4453 | UINT *pctinfo);
|
---|
4454 |
|
---|
4455 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
4456 | IAction *This,
|
---|
4457 | UINT iTInfo,
|
---|
4458 | LCID lcid,
|
---|
4459 | ITypeInfo **ppTInfo);
|
---|
4460 |
|
---|
4461 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
4462 | IAction *This,
|
---|
4463 | REFIID riid,
|
---|
4464 | LPOLESTR *rgszNames,
|
---|
4465 | UINT cNames,
|
---|
4466 | LCID lcid,
|
---|
4467 | DISPID *rgDispId);
|
---|
4468 |
|
---|
4469 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
4470 | IAction *This,
|
---|
4471 | DISPID dispIdMember,
|
---|
4472 | REFIID riid,
|
---|
4473 | LCID lcid,
|
---|
4474 | WORD wFlags,
|
---|
4475 | DISPPARAMS *pDispParams,
|
---|
4476 | VARIANT *pVarResult,
|
---|
4477 | EXCEPINFO *pExcepInfo,
|
---|
4478 | UINT *puArgErr);
|
---|
4479 |
|
---|
4480 | /*** IAction methods ***/
|
---|
4481 | HRESULT (STDMETHODCALLTYPE *get_Id)(
|
---|
4482 | IAction *This,
|
---|
4483 | BSTR *id);
|
---|
4484 |
|
---|
4485 | HRESULT (STDMETHODCALLTYPE *put_Id)(
|
---|
4486 | IAction *This,
|
---|
4487 | BSTR id);
|
---|
4488 |
|
---|
4489 | HRESULT (STDMETHODCALLTYPE *get_Type)(
|
---|
4490 | IAction *This,
|
---|
4491 | TASK_ACTION_TYPE *type);
|
---|
4492 |
|
---|
4493 | END_INTERFACE
|
---|
4494 | } IActionVtbl;
|
---|
4495 |
|
---|
4496 | interface IAction {
|
---|
4497 | CONST_VTBL IActionVtbl* lpVtbl;
|
---|
4498 | };
|
---|
4499 |
|
---|
4500 | #ifdef COBJMACROS
|
---|
4501 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
4502 | /*** IUnknown methods ***/
|
---|
4503 | #define IAction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4504 | #define IAction_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4505 | #define IAction_Release(This) (This)->lpVtbl->Release(This)
|
---|
4506 | /*** IDispatch methods ***/
|
---|
4507 | #define IAction_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
4508 | #define IAction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
4509 | #define IAction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
4510 | #define IAction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
4511 | /*** IAction methods ***/
|
---|
4512 | #define IAction_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
|
---|
4513 | #define IAction_put_Id(This,id) (This)->lpVtbl->put_Id(This,id)
|
---|
4514 | #define IAction_get_Type(This,type) (This)->lpVtbl->get_Type(This,type)
|
---|
4515 | #else
|
---|
4516 | /*** IUnknown methods ***/
|
---|
4517 | static FORCEINLINE HRESULT IAction_QueryInterface(IAction* This,REFIID riid,void **ppvObject) {
|
---|
4518 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
4519 | }
|
---|
4520 | static FORCEINLINE ULONG IAction_AddRef(IAction* This) {
|
---|
4521 | return This->lpVtbl->AddRef(This);
|
---|
4522 | }
|
---|
4523 | static FORCEINLINE ULONG IAction_Release(IAction* This) {
|
---|
4524 | return This->lpVtbl->Release(This);
|
---|
4525 | }
|
---|
4526 | /*** IDispatch methods ***/
|
---|
4527 | static FORCEINLINE HRESULT IAction_GetTypeInfoCount(IAction* This,UINT *pctinfo) {
|
---|
4528 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
4529 | }
|
---|
4530 | static FORCEINLINE HRESULT IAction_GetTypeInfo(IAction* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
4531 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
4532 | }
|
---|
4533 | static FORCEINLINE HRESULT IAction_GetIDsOfNames(IAction* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
4534 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
4535 | }
|
---|
4536 | static FORCEINLINE HRESULT IAction_Invoke(IAction* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
4537 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
4538 | }
|
---|
4539 | /*** IAction methods ***/
|
---|
4540 | static FORCEINLINE HRESULT IAction_get_Id(IAction* This,BSTR *id) {
|
---|
4541 | return This->lpVtbl->get_Id(This,id);
|
---|
4542 | }
|
---|
4543 | static FORCEINLINE HRESULT IAction_put_Id(IAction* This,BSTR id) {
|
---|
4544 | return This->lpVtbl->put_Id(This,id);
|
---|
4545 | }
|
---|
4546 | static FORCEINLINE HRESULT IAction_get_Type(IAction* This,TASK_ACTION_TYPE *type) {
|
---|
4547 | return This->lpVtbl->get_Type(This,type);
|
---|
4548 | }
|
---|
4549 | #endif
|
---|
4550 | #endif
|
---|
4551 |
|
---|
4552 | #endif
|
---|
4553 |
|
---|
4554 |
|
---|
4555 | #endif /* __IAction_INTERFACE_DEFINED__ */
|
---|
4556 |
|
---|
4557 | /*****************************************************************************
|
---|
4558 | * IActionCollection interface
|
---|
4559 | */
|
---|
4560 | #ifndef __IActionCollection_INTERFACE_DEFINED__
|
---|
4561 | #define __IActionCollection_INTERFACE_DEFINED__
|
---|
4562 |
|
---|
4563 | DEFINE_GUID(IID_IActionCollection, 0x02820e19, 0x7b98, 0x4ed2, 0xb2,0xe8, 0xfd,0xcc,0xce,0xff,0x61,0x9b);
|
---|
4564 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4565 | MIDL_INTERFACE("02820e19-7b98-4ed2-b2e8-fdccceff619b")
|
---|
4566 | IActionCollection : public IDispatch
|
---|
4567 | {
|
---|
4568 | virtual HRESULT STDMETHODCALLTYPE get_Count(
|
---|
4569 | LONG *count) = 0;
|
---|
4570 |
|
---|
4571 | virtual HRESULT STDMETHODCALLTYPE get_Item(
|
---|
4572 | LONG index,
|
---|
4573 | IAction **action) = 0;
|
---|
4574 |
|
---|
4575 | virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
|
---|
4576 | IUnknown **penum) = 0;
|
---|
4577 |
|
---|
4578 | virtual HRESULT STDMETHODCALLTYPE get_XmlText(
|
---|
4579 | BSTR *xml) = 0;
|
---|
4580 |
|
---|
4581 | virtual HRESULT STDMETHODCALLTYPE put_XmlText(
|
---|
4582 | BSTR xml) = 0;
|
---|
4583 |
|
---|
4584 | virtual HRESULT STDMETHODCALLTYPE Create(
|
---|
4585 | TASK_ACTION_TYPE Type,
|
---|
4586 | IAction **action) = 0;
|
---|
4587 |
|
---|
4588 | virtual HRESULT STDMETHODCALLTYPE Remove(
|
---|
4589 | VARIANT index) = 0;
|
---|
4590 |
|
---|
4591 | virtual HRESULT STDMETHODCALLTYPE Clear(
|
---|
4592 | ) = 0;
|
---|
4593 |
|
---|
4594 | virtual HRESULT STDMETHODCALLTYPE get_Context(
|
---|
4595 | BSTR *ctx) = 0;
|
---|
4596 |
|
---|
4597 | virtual HRESULT STDMETHODCALLTYPE put_Context(
|
---|
4598 | BSTR ctx) = 0;
|
---|
4599 |
|
---|
4600 | };
|
---|
4601 | #ifdef __CRT_UUID_DECL
|
---|
4602 | __CRT_UUID_DECL(IActionCollection, 0x02820e19, 0x7b98, 0x4ed2, 0xb2,0xe8, 0xfd,0xcc,0xce,0xff,0x61,0x9b)
|
---|
4603 | #endif
|
---|
4604 | #else
|
---|
4605 | typedef struct IActionCollectionVtbl {
|
---|
4606 | BEGIN_INTERFACE
|
---|
4607 |
|
---|
4608 | /*** IUnknown methods ***/
|
---|
4609 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4610 | IActionCollection *This,
|
---|
4611 | REFIID riid,
|
---|
4612 | void **ppvObject);
|
---|
4613 |
|
---|
4614 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4615 | IActionCollection *This);
|
---|
4616 |
|
---|
4617 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4618 | IActionCollection *This);
|
---|
4619 |
|
---|
4620 | /*** IDispatch methods ***/
|
---|
4621 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
4622 | IActionCollection *This,
|
---|
4623 | UINT *pctinfo);
|
---|
4624 |
|
---|
4625 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
4626 | IActionCollection *This,
|
---|
4627 | UINT iTInfo,
|
---|
4628 | LCID lcid,
|
---|
4629 | ITypeInfo **ppTInfo);
|
---|
4630 |
|
---|
4631 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
4632 | IActionCollection *This,
|
---|
4633 | REFIID riid,
|
---|
4634 | LPOLESTR *rgszNames,
|
---|
4635 | UINT cNames,
|
---|
4636 | LCID lcid,
|
---|
4637 | DISPID *rgDispId);
|
---|
4638 |
|
---|
4639 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
4640 | IActionCollection *This,
|
---|
4641 | DISPID dispIdMember,
|
---|
4642 | REFIID riid,
|
---|
4643 | LCID lcid,
|
---|
4644 | WORD wFlags,
|
---|
4645 | DISPPARAMS *pDispParams,
|
---|
4646 | VARIANT *pVarResult,
|
---|
4647 | EXCEPINFO *pExcepInfo,
|
---|
4648 | UINT *puArgErr);
|
---|
4649 |
|
---|
4650 | /*** IActionCollection methods ***/
|
---|
4651 | HRESULT (STDMETHODCALLTYPE *get_Count)(
|
---|
4652 | IActionCollection *This,
|
---|
4653 | LONG *count);
|
---|
4654 |
|
---|
4655 | HRESULT (STDMETHODCALLTYPE *get_Item)(
|
---|
4656 | IActionCollection *This,
|
---|
4657 | LONG index,
|
---|
4658 | IAction **action);
|
---|
4659 |
|
---|
4660 | HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
|
---|
4661 | IActionCollection *This,
|
---|
4662 | IUnknown **penum);
|
---|
4663 |
|
---|
4664 | HRESULT (STDMETHODCALLTYPE *get_XmlText)(
|
---|
4665 | IActionCollection *This,
|
---|
4666 | BSTR *xml);
|
---|
4667 |
|
---|
4668 | HRESULT (STDMETHODCALLTYPE *put_XmlText)(
|
---|
4669 | IActionCollection *This,
|
---|
4670 | BSTR xml);
|
---|
4671 |
|
---|
4672 | HRESULT (STDMETHODCALLTYPE *Create)(
|
---|
4673 | IActionCollection *This,
|
---|
4674 | TASK_ACTION_TYPE Type,
|
---|
4675 | IAction **action);
|
---|
4676 |
|
---|
4677 | HRESULT (STDMETHODCALLTYPE *Remove)(
|
---|
4678 | IActionCollection *This,
|
---|
4679 | VARIANT index);
|
---|
4680 |
|
---|
4681 | HRESULT (STDMETHODCALLTYPE *Clear)(
|
---|
4682 | IActionCollection *This);
|
---|
4683 |
|
---|
4684 | HRESULT (STDMETHODCALLTYPE *get_Context)(
|
---|
4685 | IActionCollection *This,
|
---|
4686 | BSTR *ctx);
|
---|
4687 |
|
---|
4688 | HRESULT (STDMETHODCALLTYPE *put_Context)(
|
---|
4689 | IActionCollection *This,
|
---|
4690 | BSTR ctx);
|
---|
4691 |
|
---|
4692 | END_INTERFACE
|
---|
4693 | } IActionCollectionVtbl;
|
---|
4694 |
|
---|
4695 | interface IActionCollection {
|
---|
4696 | CONST_VTBL IActionCollectionVtbl* lpVtbl;
|
---|
4697 | };
|
---|
4698 |
|
---|
4699 | #ifdef COBJMACROS
|
---|
4700 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
4701 | /*** IUnknown methods ***/
|
---|
4702 | #define IActionCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4703 | #define IActionCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4704 | #define IActionCollection_Release(This) (This)->lpVtbl->Release(This)
|
---|
4705 | /*** IDispatch methods ***/
|
---|
4706 | #define IActionCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
4707 | #define IActionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
4708 | #define IActionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
4709 | #define IActionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
4710 | /*** IActionCollection methods ***/
|
---|
4711 | #define IActionCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count)
|
---|
4712 | #define IActionCollection_get_Item(This,index,action) (This)->lpVtbl->get_Item(This,index,action)
|
---|
4713 | #define IActionCollection_get__NewEnum(This,penum) (This)->lpVtbl->get__NewEnum(This,penum)
|
---|
4714 | #define IActionCollection_get_XmlText(This,xml) (This)->lpVtbl->get_XmlText(This,xml)
|
---|
4715 | #define IActionCollection_put_XmlText(This,xml) (This)->lpVtbl->put_XmlText(This,xml)
|
---|
4716 | #define IActionCollection_Create(This,Type,action) (This)->lpVtbl->Create(This,Type,action)
|
---|
4717 | #define IActionCollection_Remove(This,index) (This)->lpVtbl->Remove(This,index)
|
---|
4718 | #define IActionCollection_Clear(This) (This)->lpVtbl->Clear(This)
|
---|
4719 | #define IActionCollection_get_Context(This,ctx) (This)->lpVtbl->get_Context(This,ctx)
|
---|
4720 | #define IActionCollection_put_Context(This,ctx) (This)->lpVtbl->put_Context(This,ctx)
|
---|
4721 | #else
|
---|
4722 | /*** IUnknown methods ***/
|
---|
4723 | static FORCEINLINE HRESULT IActionCollection_QueryInterface(IActionCollection* This,REFIID riid,void **ppvObject) {
|
---|
4724 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
4725 | }
|
---|
4726 | static FORCEINLINE ULONG IActionCollection_AddRef(IActionCollection* This) {
|
---|
4727 | return This->lpVtbl->AddRef(This);
|
---|
4728 | }
|
---|
4729 | static FORCEINLINE ULONG IActionCollection_Release(IActionCollection* This) {
|
---|
4730 | return This->lpVtbl->Release(This);
|
---|
4731 | }
|
---|
4732 | /*** IDispatch methods ***/
|
---|
4733 | static FORCEINLINE HRESULT IActionCollection_GetTypeInfoCount(IActionCollection* This,UINT *pctinfo) {
|
---|
4734 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
4735 | }
|
---|
4736 | static FORCEINLINE HRESULT IActionCollection_GetTypeInfo(IActionCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
4737 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
4738 | }
|
---|
4739 | static FORCEINLINE HRESULT IActionCollection_GetIDsOfNames(IActionCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
4740 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
4741 | }
|
---|
4742 | static FORCEINLINE HRESULT IActionCollection_Invoke(IActionCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
4743 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
4744 | }
|
---|
4745 | /*** IActionCollection methods ***/
|
---|
4746 | static FORCEINLINE HRESULT IActionCollection_get_Count(IActionCollection* This,LONG *count) {
|
---|
4747 | return This->lpVtbl->get_Count(This,count);
|
---|
4748 | }
|
---|
4749 | static FORCEINLINE HRESULT IActionCollection_get_Item(IActionCollection* This,LONG index,IAction **action) {
|
---|
4750 | return This->lpVtbl->get_Item(This,index,action);
|
---|
4751 | }
|
---|
4752 | static FORCEINLINE HRESULT IActionCollection_get__NewEnum(IActionCollection* This,IUnknown **penum) {
|
---|
4753 | return This->lpVtbl->get__NewEnum(This,penum);
|
---|
4754 | }
|
---|
4755 | static FORCEINLINE HRESULT IActionCollection_get_XmlText(IActionCollection* This,BSTR *xml) {
|
---|
4756 | return This->lpVtbl->get_XmlText(This,xml);
|
---|
4757 | }
|
---|
4758 | static FORCEINLINE HRESULT IActionCollection_put_XmlText(IActionCollection* This,BSTR xml) {
|
---|
4759 | return This->lpVtbl->put_XmlText(This,xml);
|
---|
4760 | }
|
---|
4761 | static FORCEINLINE HRESULT IActionCollection_Create(IActionCollection* This,TASK_ACTION_TYPE Type,IAction **action) {
|
---|
4762 | return This->lpVtbl->Create(This,Type,action);
|
---|
4763 | }
|
---|
4764 | static FORCEINLINE HRESULT IActionCollection_Remove(IActionCollection* This,VARIANT index) {
|
---|
4765 | return This->lpVtbl->Remove(This,index);
|
---|
4766 | }
|
---|
4767 | static FORCEINLINE HRESULT IActionCollection_Clear(IActionCollection* This) {
|
---|
4768 | return This->lpVtbl->Clear(This);
|
---|
4769 | }
|
---|
4770 | static FORCEINLINE HRESULT IActionCollection_get_Context(IActionCollection* This,BSTR *ctx) {
|
---|
4771 | return This->lpVtbl->get_Context(This,ctx);
|
---|
4772 | }
|
---|
4773 | static FORCEINLINE HRESULT IActionCollection_put_Context(IActionCollection* This,BSTR ctx) {
|
---|
4774 | return This->lpVtbl->put_Context(This,ctx);
|
---|
4775 | }
|
---|
4776 | #endif
|
---|
4777 | #endif
|
---|
4778 |
|
---|
4779 | #endif
|
---|
4780 |
|
---|
4781 |
|
---|
4782 | #endif /* __IActionCollection_INTERFACE_DEFINED__ */
|
---|
4783 |
|
---|
4784 | /*****************************************************************************
|
---|
4785 | * IExecAction interface
|
---|
4786 | */
|
---|
4787 | #ifndef __IExecAction_INTERFACE_DEFINED__
|
---|
4788 | #define __IExecAction_INTERFACE_DEFINED__
|
---|
4789 |
|
---|
4790 | DEFINE_GUID(IID_IExecAction, 0x4c3d624d, 0xfd6b, 0x49a3, 0xb9,0xb7, 0x09,0xcb,0x3c,0xd3,0xf0,0x47);
|
---|
4791 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4792 | MIDL_INTERFACE("4c3d624d-fd6b-49a3-b9b7-09cb3cd3f047")
|
---|
4793 | IExecAction : public IAction
|
---|
4794 | {
|
---|
4795 | virtual HRESULT STDMETHODCALLTYPE get_Path(
|
---|
4796 | BSTR *path) = 0;
|
---|
4797 |
|
---|
4798 | virtual HRESULT STDMETHODCALLTYPE put_Path(
|
---|
4799 | BSTR path) = 0;
|
---|
4800 |
|
---|
4801 | virtual HRESULT STDMETHODCALLTYPE get_Arguments(
|
---|
4802 | BSTR *argument) = 0;
|
---|
4803 |
|
---|
4804 | virtual HRESULT STDMETHODCALLTYPE put_Arguments(
|
---|
4805 | BSTR argument) = 0;
|
---|
4806 |
|
---|
4807 | virtual HRESULT STDMETHODCALLTYPE get_WorkingDirectory(
|
---|
4808 | BSTR *directory) = 0;
|
---|
4809 |
|
---|
4810 | virtual HRESULT STDMETHODCALLTYPE put_WorkingDirectory(
|
---|
4811 | BSTR directory) = 0;
|
---|
4812 |
|
---|
4813 | };
|
---|
4814 | #ifdef __CRT_UUID_DECL
|
---|
4815 | __CRT_UUID_DECL(IExecAction, 0x4c3d624d, 0xfd6b, 0x49a3, 0xb9,0xb7, 0x09,0xcb,0x3c,0xd3,0xf0,0x47)
|
---|
4816 | #endif
|
---|
4817 | #else
|
---|
4818 | typedef struct IExecActionVtbl {
|
---|
4819 | BEGIN_INTERFACE
|
---|
4820 |
|
---|
4821 | /*** IUnknown methods ***/
|
---|
4822 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4823 | IExecAction *This,
|
---|
4824 | REFIID riid,
|
---|
4825 | void **ppvObject);
|
---|
4826 |
|
---|
4827 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4828 | IExecAction *This);
|
---|
4829 |
|
---|
4830 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4831 | IExecAction *This);
|
---|
4832 |
|
---|
4833 | /*** IDispatch methods ***/
|
---|
4834 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
4835 | IExecAction *This,
|
---|
4836 | UINT *pctinfo);
|
---|
4837 |
|
---|
4838 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
4839 | IExecAction *This,
|
---|
4840 | UINT iTInfo,
|
---|
4841 | LCID lcid,
|
---|
4842 | ITypeInfo **ppTInfo);
|
---|
4843 |
|
---|
4844 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
4845 | IExecAction *This,
|
---|
4846 | REFIID riid,
|
---|
4847 | LPOLESTR *rgszNames,
|
---|
4848 | UINT cNames,
|
---|
4849 | LCID lcid,
|
---|
4850 | DISPID *rgDispId);
|
---|
4851 |
|
---|
4852 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
4853 | IExecAction *This,
|
---|
4854 | DISPID dispIdMember,
|
---|
4855 | REFIID riid,
|
---|
4856 | LCID lcid,
|
---|
4857 | WORD wFlags,
|
---|
4858 | DISPPARAMS *pDispParams,
|
---|
4859 | VARIANT *pVarResult,
|
---|
4860 | EXCEPINFO *pExcepInfo,
|
---|
4861 | UINT *puArgErr);
|
---|
4862 |
|
---|
4863 | /*** IAction methods ***/
|
---|
4864 | HRESULT (STDMETHODCALLTYPE *get_Id)(
|
---|
4865 | IExecAction *This,
|
---|
4866 | BSTR *id);
|
---|
4867 |
|
---|
4868 | HRESULT (STDMETHODCALLTYPE *put_Id)(
|
---|
4869 | IExecAction *This,
|
---|
4870 | BSTR id);
|
---|
4871 |
|
---|
4872 | HRESULT (STDMETHODCALLTYPE *get_Type)(
|
---|
4873 | IExecAction *This,
|
---|
4874 | TASK_ACTION_TYPE *type);
|
---|
4875 |
|
---|
4876 | /*** IExecAction methods ***/
|
---|
4877 | HRESULT (STDMETHODCALLTYPE *get_Path)(
|
---|
4878 | IExecAction *This,
|
---|
4879 | BSTR *path);
|
---|
4880 |
|
---|
4881 | HRESULT (STDMETHODCALLTYPE *put_Path)(
|
---|
4882 | IExecAction *This,
|
---|
4883 | BSTR path);
|
---|
4884 |
|
---|
4885 | HRESULT (STDMETHODCALLTYPE *get_Arguments)(
|
---|
4886 | IExecAction *This,
|
---|
4887 | BSTR *argument);
|
---|
4888 |
|
---|
4889 | HRESULT (STDMETHODCALLTYPE *put_Arguments)(
|
---|
4890 | IExecAction *This,
|
---|
4891 | BSTR argument);
|
---|
4892 |
|
---|
4893 | HRESULT (STDMETHODCALLTYPE *get_WorkingDirectory)(
|
---|
4894 | IExecAction *This,
|
---|
4895 | BSTR *directory);
|
---|
4896 |
|
---|
4897 | HRESULT (STDMETHODCALLTYPE *put_WorkingDirectory)(
|
---|
4898 | IExecAction *This,
|
---|
4899 | BSTR directory);
|
---|
4900 |
|
---|
4901 | END_INTERFACE
|
---|
4902 | } IExecActionVtbl;
|
---|
4903 |
|
---|
4904 | interface IExecAction {
|
---|
4905 | CONST_VTBL IExecActionVtbl* lpVtbl;
|
---|
4906 | };
|
---|
4907 |
|
---|
4908 | #ifdef COBJMACROS
|
---|
4909 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
4910 | /*** IUnknown methods ***/
|
---|
4911 | #define IExecAction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4912 | #define IExecAction_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4913 | #define IExecAction_Release(This) (This)->lpVtbl->Release(This)
|
---|
4914 | /*** IDispatch methods ***/
|
---|
4915 | #define IExecAction_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
4916 | #define IExecAction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
4917 | #define IExecAction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
4918 | #define IExecAction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
4919 | /*** IAction methods ***/
|
---|
4920 | #define IExecAction_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
|
---|
4921 | #define IExecAction_put_Id(This,id) (This)->lpVtbl->put_Id(This,id)
|
---|
4922 | #define IExecAction_get_Type(This,type) (This)->lpVtbl->get_Type(This,type)
|
---|
4923 | /*** IExecAction methods ***/
|
---|
4924 | #define IExecAction_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
|
---|
4925 | #define IExecAction_put_Path(This,path) (This)->lpVtbl->put_Path(This,path)
|
---|
4926 | #define IExecAction_get_Arguments(This,argument) (This)->lpVtbl->get_Arguments(This,argument)
|
---|
4927 | #define IExecAction_put_Arguments(This,argument) (This)->lpVtbl->put_Arguments(This,argument)
|
---|
4928 | #define IExecAction_get_WorkingDirectory(This,directory) (This)->lpVtbl->get_WorkingDirectory(This,directory)
|
---|
4929 | #define IExecAction_put_WorkingDirectory(This,directory) (This)->lpVtbl->put_WorkingDirectory(This,directory)
|
---|
4930 | #else
|
---|
4931 | /*** IUnknown methods ***/
|
---|
4932 | static FORCEINLINE HRESULT IExecAction_QueryInterface(IExecAction* This,REFIID riid,void **ppvObject) {
|
---|
4933 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
4934 | }
|
---|
4935 | static FORCEINLINE ULONG IExecAction_AddRef(IExecAction* This) {
|
---|
4936 | return This->lpVtbl->AddRef(This);
|
---|
4937 | }
|
---|
4938 | static FORCEINLINE ULONG IExecAction_Release(IExecAction* This) {
|
---|
4939 | return This->lpVtbl->Release(This);
|
---|
4940 | }
|
---|
4941 | /*** IDispatch methods ***/
|
---|
4942 | static FORCEINLINE HRESULT IExecAction_GetTypeInfoCount(IExecAction* This,UINT *pctinfo) {
|
---|
4943 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
4944 | }
|
---|
4945 | static FORCEINLINE HRESULT IExecAction_GetTypeInfo(IExecAction* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
4946 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
4947 | }
|
---|
4948 | static FORCEINLINE HRESULT IExecAction_GetIDsOfNames(IExecAction* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
4949 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
4950 | }
|
---|
4951 | static FORCEINLINE HRESULT IExecAction_Invoke(IExecAction* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
4952 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
4953 | }
|
---|
4954 | /*** IAction methods ***/
|
---|
4955 | static FORCEINLINE HRESULT IExecAction_get_Id(IExecAction* This,BSTR *id) {
|
---|
4956 | return This->lpVtbl->get_Id(This,id);
|
---|
4957 | }
|
---|
4958 | static FORCEINLINE HRESULT IExecAction_put_Id(IExecAction* This,BSTR id) {
|
---|
4959 | return This->lpVtbl->put_Id(This,id);
|
---|
4960 | }
|
---|
4961 | static FORCEINLINE HRESULT IExecAction_get_Type(IExecAction* This,TASK_ACTION_TYPE *type) {
|
---|
4962 | return This->lpVtbl->get_Type(This,type);
|
---|
4963 | }
|
---|
4964 | /*** IExecAction methods ***/
|
---|
4965 | static FORCEINLINE HRESULT IExecAction_get_Path(IExecAction* This,BSTR *path) {
|
---|
4966 | return This->lpVtbl->get_Path(This,path);
|
---|
4967 | }
|
---|
4968 | static FORCEINLINE HRESULT IExecAction_put_Path(IExecAction* This,BSTR path) {
|
---|
4969 | return This->lpVtbl->put_Path(This,path);
|
---|
4970 | }
|
---|
4971 | static FORCEINLINE HRESULT IExecAction_get_Arguments(IExecAction* This,BSTR *argument) {
|
---|
4972 | return This->lpVtbl->get_Arguments(This,argument);
|
---|
4973 | }
|
---|
4974 | static FORCEINLINE HRESULT IExecAction_put_Arguments(IExecAction* This,BSTR argument) {
|
---|
4975 | return This->lpVtbl->put_Arguments(This,argument);
|
---|
4976 | }
|
---|
4977 | static FORCEINLINE HRESULT IExecAction_get_WorkingDirectory(IExecAction* This,BSTR *directory) {
|
---|
4978 | return This->lpVtbl->get_WorkingDirectory(This,directory);
|
---|
4979 | }
|
---|
4980 | static FORCEINLINE HRESULT IExecAction_put_WorkingDirectory(IExecAction* This,BSTR directory) {
|
---|
4981 | return This->lpVtbl->put_WorkingDirectory(This,directory);
|
---|
4982 | }
|
---|
4983 | #endif
|
---|
4984 | #endif
|
---|
4985 |
|
---|
4986 | #endif
|
---|
4987 |
|
---|
4988 |
|
---|
4989 | #endif /* __IExecAction_INTERFACE_DEFINED__ */
|
---|
4990 |
|
---|
4991 | /*****************************************************************************
|
---|
4992 | * INetworkSettings interface
|
---|
4993 | */
|
---|
4994 | #ifndef __INetworkSettings_INTERFACE_DEFINED__
|
---|
4995 | #define __INetworkSettings_INTERFACE_DEFINED__
|
---|
4996 |
|
---|
4997 | DEFINE_GUID(IID_INetworkSettings, 0x9f7dea84, 0xc30b, 0x4245, 0x80,0xb6, 0x00,0xe9,0xf6,0x46,0xf1,0xb4);
|
---|
4998 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4999 | MIDL_INTERFACE("9f7dea84-c30b-4245-80b6-00e9f646f1b4")
|
---|
5000 | INetworkSettings : public IDispatch
|
---|
5001 | {
|
---|
5002 | virtual HRESULT STDMETHODCALLTYPE get_Name(
|
---|
5003 | BSTR *name) = 0;
|
---|
5004 |
|
---|
5005 | virtual HRESULT STDMETHODCALLTYPE put_Name(
|
---|
5006 | BSTR name) = 0;
|
---|
5007 |
|
---|
5008 | virtual HRESULT STDMETHODCALLTYPE get_Id(
|
---|
5009 | BSTR *id) = 0;
|
---|
5010 |
|
---|
5011 | virtual HRESULT STDMETHODCALLTYPE put_Id(
|
---|
5012 | BSTR id) = 0;
|
---|
5013 |
|
---|
5014 | };
|
---|
5015 | #ifdef __CRT_UUID_DECL
|
---|
5016 | __CRT_UUID_DECL(INetworkSettings, 0x9f7dea84, 0xc30b, 0x4245, 0x80,0xb6, 0x00,0xe9,0xf6,0x46,0xf1,0xb4)
|
---|
5017 | #endif
|
---|
5018 | #else
|
---|
5019 | typedef struct INetworkSettingsVtbl {
|
---|
5020 | BEGIN_INTERFACE
|
---|
5021 |
|
---|
5022 | /*** IUnknown methods ***/
|
---|
5023 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5024 | INetworkSettings *This,
|
---|
5025 | REFIID riid,
|
---|
5026 | void **ppvObject);
|
---|
5027 |
|
---|
5028 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5029 | INetworkSettings *This);
|
---|
5030 |
|
---|
5031 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5032 | INetworkSettings *This);
|
---|
5033 |
|
---|
5034 | /*** IDispatch methods ***/
|
---|
5035 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
5036 | INetworkSettings *This,
|
---|
5037 | UINT *pctinfo);
|
---|
5038 |
|
---|
5039 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
5040 | INetworkSettings *This,
|
---|
5041 | UINT iTInfo,
|
---|
5042 | LCID lcid,
|
---|
5043 | ITypeInfo **ppTInfo);
|
---|
5044 |
|
---|
5045 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
5046 | INetworkSettings *This,
|
---|
5047 | REFIID riid,
|
---|
5048 | LPOLESTR *rgszNames,
|
---|
5049 | UINT cNames,
|
---|
5050 | LCID lcid,
|
---|
5051 | DISPID *rgDispId);
|
---|
5052 |
|
---|
5053 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
5054 | INetworkSettings *This,
|
---|
5055 | DISPID dispIdMember,
|
---|
5056 | REFIID riid,
|
---|
5057 | LCID lcid,
|
---|
5058 | WORD wFlags,
|
---|
5059 | DISPPARAMS *pDispParams,
|
---|
5060 | VARIANT *pVarResult,
|
---|
5061 | EXCEPINFO *pExcepInfo,
|
---|
5062 | UINT *puArgErr);
|
---|
5063 |
|
---|
5064 | /*** INetworkSettings methods ***/
|
---|
5065 | HRESULT (STDMETHODCALLTYPE *get_Name)(
|
---|
5066 | INetworkSettings *This,
|
---|
5067 | BSTR *name);
|
---|
5068 |
|
---|
5069 | HRESULT (STDMETHODCALLTYPE *put_Name)(
|
---|
5070 | INetworkSettings *This,
|
---|
5071 | BSTR name);
|
---|
5072 |
|
---|
5073 | HRESULT (STDMETHODCALLTYPE *get_Id)(
|
---|
5074 | INetworkSettings *This,
|
---|
5075 | BSTR *id);
|
---|
5076 |
|
---|
5077 | HRESULT (STDMETHODCALLTYPE *put_Id)(
|
---|
5078 | INetworkSettings *This,
|
---|
5079 | BSTR id);
|
---|
5080 |
|
---|
5081 | END_INTERFACE
|
---|
5082 | } INetworkSettingsVtbl;
|
---|
5083 |
|
---|
5084 | interface INetworkSettings {
|
---|
5085 | CONST_VTBL INetworkSettingsVtbl* lpVtbl;
|
---|
5086 | };
|
---|
5087 |
|
---|
5088 | #ifdef COBJMACROS
|
---|
5089 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
5090 | /*** IUnknown methods ***/
|
---|
5091 | #define INetworkSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5092 | #define INetworkSettings_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5093 | #define INetworkSettings_Release(This) (This)->lpVtbl->Release(This)
|
---|
5094 | /*** IDispatch methods ***/
|
---|
5095 | #define INetworkSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
5096 | #define INetworkSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
5097 | #define INetworkSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
5098 | #define INetworkSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
5099 | /*** INetworkSettings methods ***/
|
---|
5100 | #define INetworkSettings_get_Name(This,name) (This)->lpVtbl->get_Name(This,name)
|
---|
5101 | #define INetworkSettings_put_Name(This,name) (This)->lpVtbl->put_Name(This,name)
|
---|
5102 | #define INetworkSettings_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
|
---|
5103 | #define INetworkSettings_put_Id(This,id) (This)->lpVtbl->put_Id(This,id)
|
---|
5104 | #else
|
---|
5105 | /*** IUnknown methods ***/
|
---|
5106 | static FORCEINLINE HRESULT INetworkSettings_QueryInterface(INetworkSettings* This,REFIID riid,void **ppvObject) {
|
---|
5107 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
5108 | }
|
---|
5109 | static FORCEINLINE ULONG INetworkSettings_AddRef(INetworkSettings* This) {
|
---|
5110 | return This->lpVtbl->AddRef(This);
|
---|
5111 | }
|
---|
5112 | static FORCEINLINE ULONG INetworkSettings_Release(INetworkSettings* This) {
|
---|
5113 | return This->lpVtbl->Release(This);
|
---|
5114 | }
|
---|
5115 | /*** IDispatch methods ***/
|
---|
5116 | static FORCEINLINE HRESULT INetworkSettings_GetTypeInfoCount(INetworkSettings* This,UINT *pctinfo) {
|
---|
5117 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
5118 | }
|
---|
5119 | static FORCEINLINE HRESULT INetworkSettings_GetTypeInfo(INetworkSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
5120 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
5121 | }
|
---|
5122 | static FORCEINLINE HRESULT INetworkSettings_GetIDsOfNames(INetworkSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
5123 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
5124 | }
|
---|
5125 | static FORCEINLINE HRESULT INetworkSettings_Invoke(INetworkSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
5126 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
5127 | }
|
---|
5128 | /*** INetworkSettings methods ***/
|
---|
5129 | static FORCEINLINE HRESULT INetworkSettings_get_Name(INetworkSettings* This,BSTR *name) {
|
---|
5130 | return This->lpVtbl->get_Name(This,name);
|
---|
5131 | }
|
---|
5132 | static FORCEINLINE HRESULT INetworkSettings_put_Name(INetworkSettings* This,BSTR name) {
|
---|
5133 | return This->lpVtbl->put_Name(This,name);
|
---|
5134 | }
|
---|
5135 | static FORCEINLINE HRESULT INetworkSettings_get_Id(INetworkSettings* This,BSTR *id) {
|
---|
5136 | return This->lpVtbl->get_Id(This,id);
|
---|
5137 | }
|
---|
5138 | static FORCEINLINE HRESULT INetworkSettings_put_Id(INetworkSettings* This,BSTR id) {
|
---|
5139 | return This->lpVtbl->put_Id(This,id);
|
---|
5140 | }
|
---|
5141 | #endif
|
---|
5142 | #endif
|
---|
5143 |
|
---|
5144 | #endif
|
---|
5145 |
|
---|
5146 |
|
---|
5147 | #endif /* __INetworkSettings_INTERFACE_DEFINED__ */
|
---|
5148 |
|
---|
5149 | /*****************************************************************************
|
---|
5150 | * IPrincipal interface
|
---|
5151 | */
|
---|
5152 | #ifndef __IPrincipal_INTERFACE_DEFINED__
|
---|
5153 | #define __IPrincipal_INTERFACE_DEFINED__
|
---|
5154 |
|
---|
5155 | DEFINE_GUID(IID_IPrincipal, 0xd98d51e5, 0xc9b4, 0x496a, 0xa9,0xc1, 0x18,0x98,0x02,0x61,0xcf,0x0f);
|
---|
5156 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5157 | MIDL_INTERFACE("d98d51e5-c9b4-496a-a9c1-18980261cf0f")
|
---|
5158 | IPrincipal : public IDispatch
|
---|
5159 | {
|
---|
5160 | virtual HRESULT STDMETHODCALLTYPE get_Id(
|
---|
5161 | BSTR *id) = 0;
|
---|
5162 |
|
---|
5163 | virtual HRESULT STDMETHODCALLTYPE put_Id(
|
---|
5164 | BSTR id) = 0;
|
---|
5165 |
|
---|
5166 | virtual HRESULT STDMETHODCALLTYPE get_DisplayName(
|
---|
5167 | BSTR *name) = 0;
|
---|
5168 |
|
---|
5169 | virtual HRESULT STDMETHODCALLTYPE put_DisplayName(
|
---|
5170 | BSTR name) = 0;
|
---|
5171 |
|
---|
5172 | virtual HRESULT STDMETHODCALLTYPE get_UserId(
|
---|
5173 | BSTR *user) = 0;
|
---|
5174 |
|
---|
5175 | virtual HRESULT STDMETHODCALLTYPE put_UserId(
|
---|
5176 | BSTR user) = 0;
|
---|
5177 |
|
---|
5178 | virtual HRESULT STDMETHODCALLTYPE get_LogonType(
|
---|
5179 | TASK_LOGON_TYPE *logon) = 0;
|
---|
5180 |
|
---|
5181 | virtual HRESULT STDMETHODCALLTYPE put_LogonType(
|
---|
5182 | TASK_LOGON_TYPE logon) = 0;
|
---|
5183 |
|
---|
5184 | virtual HRESULT STDMETHODCALLTYPE get_GroupId(
|
---|
5185 | BSTR *group) = 0;
|
---|
5186 |
|
---|
5187 | virtual HRESULT STDMETHODCALLTYPE put_GroupId(
|
---|
5188 | BSTR group) = 0;
|
---|
5189 |
|
---|
5190 | virtual HRESULT STDMETHODCALLTYPE get_RunLevel(
|
---|
5191 | TASK_RUNLEVEL_TYPE *level) = 0;
|
---|
5192 |
|
---|
5193 | virtual HRESULT STDMETHODCALLTYPE put_RunLevel(
|
---|
5194 | TASK_RUNLEVEL_TYPE level) = 0;
|
---|
5195 |
|
---|
5196 | };
|
---|
5197 | #ifdef __CRT_UUID_DECL
|
---|
5198 | __CRT_UUID_DECL(IPrincipal, 0xd98d51e5, 0xc9b4, 0x496a, 0xa9,0xc1, 0x18,0x98,0x02,0x61,0xcf,0x0f)
|
---|
5199 | #endif
|
---|
5200 | #else
|
---|
5201 | typedef struct IPrincipalVtbl {
|
---|
5202 | BEGIN_INTERFACE
|
---|
5203 |
|
---|
5204 | /*** IUnknown methods ***/
|
---|
5205 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5206 | IPrincipal *This,
|
---|
5207 | REFIID riid,
|
---|
5208 | void **ppvObject);
|
---|
5209 |
|
---|
5210 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5211 | IPrincipal *This);
|
---|
5212 |
|
---|
5213 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5214 | IPrincipal *This);
|
---|
5215 |
|
---|
5216 | /*** IDispatch methods ***/
|
---|
5217 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
5218 | IPrincipal *This,
|
---|
5219 | UINT *pctinfo);
|
---|
5220 |
|
---|
5221 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
5222 | IPrincipal *This,
|
---|
5223 | UINT iTInfo,
|
---|
5224 | LCID lcid,
|
---|
5225 | ITypeInfo **ppTInfo);
|
---|
5226 |
|
---|
5227 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
5228 | IPrincipal *This,
|
---|
5229 | REFIID riid,
|
---|
5230 | LPOLESTR *rgszNames,
|
---|
5231 | UINT cNames,
|
---|
5232 | LCID lcid,
|
---|
5233 | DISPID *rgDispId);
|
---|
5234 |
|
---|
5235 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
5236 | IPrincipal *This,
|
---|
5237 | DISPID dispIdMember,
|
---|
5238 | REFIID riid,
|
---|
5239 | LCID lcid,
|
---|
5240 | WORD wFlags,
|
---|
5241 | DISPPARAMS *pDispParams,
|
---|
5242 | VARIANT *pVarResult,
|
---|
5243 | EXCEPINFO *pExcepInfo,
|
---|
5244 | UINT *puArgErr);
|
---|
5245 |
|
---|
5246 | /*** IPrincipal methods ***/
|
---|
5247 | HRESULT (STDMETHODCALLTYPE *get_Id)(
|
---|
5248 | IPrincipal *This,
|
---|
5249 | BSTR *id);
|
---|
5250 |
|
---|
5251 | HRESULT (STDMETHODCALLTYPE *put_Id)(
|
---|
5252 | IPrincipal *This,
|
---|
5253 | BSTR id);
|
---|
5254 |
|
---|
5255 | HRESULT (STDMETHODCALLTYPE *get_DisplayName)(
|
---|
5256 | IPrincipal *This,
|
---|
5257 | BSTR *name);
|
---|
5258 |
|
---|
5259 | HRESULT (STDMETHODCALLTYPE *put_DisplayName)(
|
---|
5260 | IPrincipal *This,
|
---|
5261 | BSTR name);
|
---|
5262 |
|
---|
5263 | HRESULT (STDMETHODCALLTYPE *get_UserId)(
|
---|
5264 | IPrincipal *This,
|
---|
5265 | BSTR *user);
|
---|
5266 |
|
---|
5267 | HRESULT (STDMETHODCALLTYPE *put_UserId)(
|
---|
5268 | IPrincipal *This,
|
---|
5269 | BSTR user);
|
---|
5270 |
|
---|
5271 | HRESULT (STDMETHODCALLTYPE *get_LogonType)(
|
---|
5272 | IPrincipal *This,
|
---|
5273 | TASK_LOGON_TYPE *logon);
|
---|
5274 |
|
---|
5275 | HRESULT (STDMETHODCALLTYPE *put_LogonType)(
|
---|
5276 | IPrincipal *This,
|
---|
5277 | TASK_LOGON_TYPE logon);
|
---|
5278 |
|
---|
5279 | HRESULT (STDMETHODCALLTYPE *get_GroupId)(
|
---|
5280 | IPrincipal *This,
|
---|
5281 | BSTR *group);
|
---|
5282 |
|
---|
5283 | HRESULT (STDMETHODCALLTYPE *put_GroupId)(
|
---|
5284 | IPrincipal *This,
|
---|
5285 | BSTR group);
|
---|
5286 |
|
---|
5287 | HRESULT (STDMETHODCALLTYPE *get_RunLevel)(
|
---|
5288 | IPrincipal *This,
|
---|
5289 | TASK_RUNLEVEL_TYPE *level);
|
---|
5290 |
|
---|
5291 | HRESULT (STDMETHODCALLTYPE *put_RunLevel)(
|
---|
5292 | IPrincipal *This,
|
---|
5293 | TASK_RUNLEVEL_TYPE level);
|
---|
5294 |
|
---|
5295 | END_INTERFACE
|
---|
5296 | } IPrincipalVtbl;
|
---|
5297 |
|
---|
5298 | interface IPrincipal {
|
---|
5299 | CONST_VTBL IPrincipalVtbl* lpVtbl;
|
---|
5300 | };
|
---|
5301 |
|
---|
5302 | #ifdef COBJMACROS
|
---|
5303 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
5304 | /*** IUnknown methods ***/
|
---|
5305 | #define IPrincipal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5306 | #define IPrincipal_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5307 | #define IPrincipal_Release(This) (This)->lpVtbl->Release(This)
|
---|
5308 | /*** IDispatch methods ***/
|
---|
5309 | #define IPrincipal_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
5310 | #define IPrincipal_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
5311 | #define IPrincipal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
5312 | #define IPrincipal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
5313 | /*** IPrincipal methods ***/
|
---|
5314 | #define IPrincipal_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
|
---|
5315 | #define IPrincipal_put_Id(This,id) (This)->lpVtbl->put_Id(This,id)
|
---|
5316 | #define IPrincipal_get_DisplayName(This,name) (This)->lpVtbl->get_DisplayName(This,name)
|
---|
5317 | #define IPrincipal_put_DisplayName(This,name) (This)->lpVtbl->put_DisplayName(This,name)
|
---|
5318 | #define IPrincipal_get_UserId(This,user) (This)->lpVtbl->get_UserId(This,user)
|
---|
5319 | #define IPrincipal_put_UserId(This,user) (This)->lpVtbl->put_UserId(This,user)
|
---|
5320 | #define IPrincipal_get_LogonType(This,logon) (This)->lpVtbl->get_LogonType(This,logon)
|
---|
5321 | #define IPrincipal_put_LogonType(This,logon) (This)->lpVtbl->put_LogonType(This,logon)
|
---|
5322 | #define IPrincipal_get_GroupId(This,group) (This)->lpVtbl->get_GroupId(This,group)
|
---|
5323 | #define IPrincipal_put_GroupId(This,group) (This)->lpVtbl->put_GroupId(This,group)
|
---|
5324 | #define IPrincipal_get_RunLevel(This,level) (This)->lpVtbl->get_RunLevel(This,level)
|
---|
5325 | #define IPrincipal_put_RunLevel(This,level) (This)->lpVtbl->put_RunLevel(This,level)
|
---|
5326 | #else
|
---|
5327 | /*** IUnknown methods ***/
|
---|
5328 | static FORCEINLINE HRESULT IPrincipal_QueryInterface(IPrincipal* This,REFIID riid,void **ppvObject) {
|
---|
5329 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
5330 | }
|
---|
5331 | static FORCEINLINE ULONG IPrincipal_AddRef(IPrincipal* This) {
|
---|
5332 | return This->lpVtbl->AddRef(This);
|
---|
5333 | }
|
---|
5334 | static FORCEINLINE ULONG IPrincipal_Release(IPrincipal* This) {
|
---|
5335 | return This->lpVtbl->Release(This);
|
---|
5336 | }
|
---|
5337 | /*** IDispatch methods ***/
|
---|
5338 | static FORCEINLINE HRESULT IPrincipal_GetTypeInfoCount(IPrincipal* This,UINT *pctinfo) {
|
---|
5339 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
5340 | }
|
---|
5341 | static FORCEINLINE HRESULT IPrincipal_GetTypeInfo(IPrincipal* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
5342 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
5343 | }
|
---|
5344 | static FORCEINLINE HRESULT IPrincipal_GetIDsOfNames(IPrincipal* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
5345 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
5346 | }
|
---|
5347 | static FORCEINLINE HRESULT IPrincipal_Invoke(IPrincipal* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
5348 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
5349 | }
|
---|
5350 | /*** IPrincipal methods ***/
|
---|
5351 | static FORCEINLINE HRESULT IPrincipal_get_Id(IPrincipal* This,BSTR *id) {
|
---|
5352 | return This->lpVtbl->get_Id(This,id);
|
---|
5353 | }
|
---|
5354 | static FORCEINLINE HRESULT IPrincipal_put_Id(IPrincipal* This,BSTR id) {
|
---|
5355 | return This->lpVtbl->put_Id(This,id);
|
---|
5356 | }
|
---|
5357 | static FORCEINLINE HRESULT IPrincipal_get_DisplayName(IPrincipal* This,BSTR *name) {
|
---|
5358 | return This->lpVtbl->get_DisplayName(This,name);
|
---|
5359 | }
|
---|
5360 | static FORCEINLINE HRESULT IPrincipal_put_DisplayName(IPrincipal* This,BSTR name) {
|
---|
5361 | return This->lpVtbl->put_DisplayName(This,name);
|
---|
5362 | }
|
---|
5363 | static FORCEINLINE HRESULT IPrincipal_get_UserId(IPrincipal* This,BSTR *user) {
|
---|
5364 | return This->lpVtbl->get_UserId(This,user);
|
---|
5365 | }
|
---|
5366 | static FORCEINLINE HRESULT IPrincipal_put_UserId(IPrincipal* This,BSTR user) {
|
---|
5367 | return This->lpVtbl->put_UserId(This,user);
|
---|
5368 | }
|
---|
5369 | static FORCEINLINE HRESULT IPrincipal_get_LogonType(IPrincipal* This,TASK_LOGON_TYPE *logon) {
|
---|
5370 | return This->lpVtbl->get_LogonType(This,logon);
|
---|
5371 | }
|
---|
5372 | static FORCEINLINE HRESULT IPrincipal_put_LogonType(IPrincipal* This,TASK_LOGON_TYPE logon) {
|
---|
5373 | return This->lpVtbl->put_LogonType(This,logon);
|
---|
5374 | }
|
---|
5375 | static FORCEINLINE HRESULT IPrincipal_get_GroupId(IPrincipal* This,BSTR *group) {
|
---|
5376 | return This->lpVtbl->get_GroupId(This,group);
|
---|
5377 | }
|
---|
5378 | static FORCEINLINE HRESULT IPrincipal_put_GroupId(IPrincipal* This,BSTR group) {
|
---|
5379 | return This->lpVtbl->put_GroupId(This,group);
|
---|
5380 | }
|
---|
5381 | static FORCEINLINE HRESULT IPrincipal_get_RunLevel(IPrincipal* This,TASK_RUNLEVEL_TYPE *level) {
|
---|
5382 | return This->lpVtbl->get_RunLevel(This,level);
|
---|
5383 | }
|
---|
5384 | static FORCEINLINE HRESULT IPrincipal_put_RunLevel(IPrincipal* This,TASK_RUNLEVEL_TYPE level) {
|
---|
5385 | return This->lpVtbl->put_RunLevel(This,level);
|
---|
5386 | }
|
---|
5387 | #endif
|
---|
5388 | #endif
|
---|
5389 |
|
---|
5390 | #endif
|
---|
5391 |
|
---|
5392 |
|
---|
5393 | #endif /* __IPrincipal_INTERFACE_DEFINED__ */
|
---|
5394 |
|
---|
5395 | /*****************************************************************************
|
---|
5396 | * TaskScheduler coclass
|
---|
5397 | */
|
---|
5398 |
|
---|
5399 | DEFINE_GUID(CLSID_TaskScheduler, 0x0f87369f, 0xa4e5, 0x4cfc, 0xbd,0x3e, 0x73,0xe6,0x15,0x45,0x72,0xdd);
|
---|
5400 |
|
---|
5401 | #ifdef __cplusplus
|
---|
5402 | class DECLSPEC_UUID("0f87369f-a4e5-4cfc-bd3e-73e6154572dd") TaskScheduler;
|
---|
5403 | #ifdef __CRT_UUID_DECL
|
---|
5404 | __CRT_UUID_DECL(TaskScheduler, 0x0f87369f, 0xa4e5, 0x4cfc, 0xbd,0x3e, 0x73,0xe6,0x15,0x45,0x72,0xdd)
|
---|
5405 | #endif
|
---|
5406 | #endif
|
---|
5407 |
|
---|
5408 | #endif /* __TaskScheduler_LIBRARY_DEFINED__ */
|
---|
5409 | /* Begin additional prototypes for all interfaces */
|
---|
5410 |
|
---|
5411 | ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
|
---|
5412 | unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
|
---|
5413 | unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
|
---|
5414 | void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
|
---|
5415 | ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *);
|
---|
5416 | unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *);
|
---|
5417 | unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
|
---|
5418 | void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *);
|
---|
5419 |
|
---|
5420 | /* End additional prototypes */
|
---|
5421 |
|
---|
5422 | #ifdef __cplusplus
|
---|
5423 | }
|
---|
5424 | #endif
|
---|
5425 |
|
---|
5426 | #endif /* __taskschd_h__ */
|
---|