Dmitry Timoshkov : include: Add more Task Scheduler interface definitions.
Alexandre Julliard
julliard at winehq.org
Wed Dec 18 14:27:47 CST 2013
Module: wine
Branch: master
Commit: 0ff6879f91103b3de66ee069a56c8a0272505f44
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0ff6879f91103b3de66ee069a56c8a0272505f44
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Wed Dec 18 18:01:26 2013 +0900
include: Add more Task Scheduler interface definitions.
---
include/taskschd.idl | 39 +++++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/include/taskschd.idl b/include/taskschd.idl
index 110732f..d736788 100644
--- a/include/taskschd.idl
+++ b/include/taskschd.idl
@@ -93,6 +93,17 @@ typedef enum _TASK_COMPATIBILITY
TASK_COMPATIBILITY_V2_1
} TASK_COMPATIBILITY;
+typedef enum _TASK_CREATION
+{
+ TASK_VALIDATE_ONLY = 1,
+ TASK_CREATE = 2,
+ TASK_UPDATE = 4,
+ TASK_CREATE_OR_UPDATE = 6,
+ TASK_DISABLE = 8,
+ TASK_DONT_ADD_PRINCIPAL_ACE = 16,
+ TASK_IGNORE_REGISTRATION_TRIGGERS = 32
+} TASK_CREATION;
+
interface ITaskService;
interface IRegisteredTask;
interface IRegisteredTaskCollection;
@@ -106,9 +117,11 @@ interface IRunningTask;
interface IRunningTaskCollection;
interface ITrigger;
interface ITriggerCollection;
+interface ITimeTrigger;
interface IRepetitionPattern;
interface IAction;
interface IActionCollection;
+interface IExecAction;
interface INetworkSettings;
interface IPrincipal;
@@ -391,6 +404,17 @@ interface ITriggerCollection : IDispatch
[
object,
oleautomation,
+ uuid(b45747e0-eba7-4276-9f29-85c5bb300006)
+]
+interface ITimeTrigger : ITrigger
+{
+ [propget] HRESULT RandomDelay([out, retval] BSTR *delay);
+ [propput] HRESULT RandomDelay([in] BSTR delay);
+}
+
+[
+ object,
+ oleautomation,
uuid(7fb9acf1-26be-400e-85b5-294b9c75dfd6)
]
interface IRepetitionPattern : IDispatch
@@ -437,6 +461,21 @@ interface IActionCollection : IDispatch
[
object,
oleautomation,
+ uuid(4c3d624d-fd6b-49a3-b9b7-09cb3cd3f047)
+]
+interface IExecAction : IAction
+{
+ [propget] HRESULT Path([out, retval] BSTR *path);
+ [propput] HRESULT Path([in] BSTR path);
+ [propget] HRESULT Arguments([out, retval] BSTR *argument);
+ [propput] HRESULT Arguments([in] BSTR argument);
+ [propget] HRESULT WorkingDirectory([out, retval] BSTR *directory);
+ [propput] HRESULT WorkingDirectory([in] BSTR directory);
+}
+
+[
+ object,
+ oleautomation,
uuid(9f7dea84-c30b-4245-80b6-00e9f646f1b4)
]
interface INetworkSettings : IDispatch
More information about the wine-cvs
mailing list