include: Add more Task Scheduler interface definitions.

This commit is contained in:
Dmitry Timoshkov 2013-12-18 18:01:26 +09:00 committed by Alexandre Julliard
parent 7102459c60
commit 0ff6879f91
1 changed files with 39 additions and 0 deletions

View File

@ -93,6 +93,17 @@ typedef enum _TASK_COMPATIBILITY
TASK_COMPATIBILITY_V2_1 TASK_COMPATIBILITY_V2_1
} TASK_COMPATIBILITY; } 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 ITaskService;
interface IRegisteredTask; interface IRegisteredTask;
interface IRegisteredTaskCollection; interface IRegisteredTaskCollection;
@ -106,9 +117,11 @@ interface IRunningTask;
interface IRunningTaskCollection; interface IRunningTaskCollection;
interface ITrigger; interface ITrigger;
interface ITriggerCollection; interface ITriggerCollection;
interface ITimeTrigger;
interface IRepetitionPattern; interface IRepetitionPattern;
interface IAction; interface IAction;
interface IActionCollection; interface IActionCollection;
interface IExecAction;
interface INetworkSettings; interface INetworkSettings;
interface IPrincipal; interface IPrincipal;
@ -388,6 +401,17 @@ interface ITriggerCollection : IDispatch
HRESULT Clear(); HRESULT Clear();
} }
[
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, object,
oleautomation, oleautomation,
@ -434,6 +458,21 @@ interface IActionCollection : IDispatch
[propput] HRESULT Context([in] BSTR ctx); [propput] HRESULT Context([in] BSTR ctx);
} }
[
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, object,
oleautomation, oleautomation,