include: Add more Task Scheduler interface definitions.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Dec 18 03:01:26 CST 2013
---
include/taskschd.idl | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
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
--
1.8.5.1
More information about the wine-patches
mailing list