Dmitry Timoshkov
00261db37e
mstask: Implement ITask::Terminate().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:20:41 +02:00
Dmitry Timoshkov
df0fbd5c18
mstask: Implement ITask::Run().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:20:41 +02:00
Dmitry Timoshkov
87cc8cf3bb
mstask: Try opening a file more times when saving a job file.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:20:41 +02:00
Dmitry Timoshkov
6a9e127097
mstask: Write more correct flags and status to the job file.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:20:41 +02:00
Dmitry Timoshkov
a652d51e06
mstask: Return SCHED_S_TASK_RUNNING from ITask::GetStatus() if there are running task instances.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:20:41 +02:00
Dmitry Timoshkov
8cfdaa45bb
mstask: Implement ITask::GetFlags().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:20:41 +02:00
Dmitry Timoshkov
747cd087a9
mstask: Initialize more task fields from the job file on load.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:20:41 +02:00
Dmitry Timoshkov
bfb7a0aa1f
mstask: Don't touch instance count field of the job file in the client.
...
It should be managed on the server side.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:20:41 +02:00
Dmitry Timoshkov
e7987b1e4b
mstask: Write correct trigger count to a job file.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:56:20 +02:00
Dmitry Timoshkov
ce57e5c4d7
mstask: Correctly initialize trigger count when loading a task.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:56:17 +02:00
Dmitry Timoshkov
8d7d858d2b
mstask: Improve ITask::GetNextRunTime() stub.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:56:13 +02:00
Dmitry Timoshkov
c3a30bcfb9
mstask: Add dirty flag management.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:55:40 +02:00
Dmitry Timoshkov
37ae95dfd9
mstask: Forward IPersistFile::AddRef()/Release() to parent object.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:55:35 +02:00
Dmitry Timoshkov
98241dfa5a
mstask: Switch to using heap wrappers.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:55:31 +02:00
Dmitry Timoshkov
71c264526f
mstask: Return S_OK from ITask::SetFlags().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 10:51:04 +02:00
Dmitry Timoshkov
114f86e74e
mstask: Implement IPersistFile::Load().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 10:51:01 +02:00
Dmitry Timoshkov
ce0d9956f5
mstask: Implement IPersistFile::GetCurFile().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 10:49:57 +02:00
Dmitry Timoshkov
0ad429aff6
mstask: Implement ITask::GetTrigger().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:42 +02:00
Dmitry Timoshkov
0049deca7a
mstask: Implement ITask::DeleteTrigger().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:39 +02:00
Dmitry Timoshkov
bcb50e2d12
mstask: Implement ITask::CreateTrigger().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:35 +02:00
Dmitry Timoshkov
90160bd65d
mstask: Implement ITask::GetTriggerCount().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:32 +02:00
Dmitry Timoshkov
bdb78491cb
mstask: Fix saving the triggers.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:28 +02:00
Dmitry Timoshkov
f997b16230
mstask: Initialize task file name in the task constructor.
...
IPersistFile::Save() receives full path name.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:25 +02:00
Dmitry Timoshkov
66d8e7f6a9
mstask: Save a task with at least 1 trigger to follow the .job file spec.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:17 +02:00
Dmitry Timoshkov
e4b7334574
mstask: Implement IPersistFile::Save().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:10:25 +02:00
Dmitry Timoshkov
be8a21f136
mstask: Implement better stub for ITask::GetMostRecentRunTime().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:09:19 +02:00
Dmitry Timoshkov
23be14b1af
mstask: Implement better stub for ITask::GetExitCode().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:09:13 +02:00
Dmitry Timoshkov
2e04dd1c4a
mstask: Implement ITask::GetPriority().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:09:05 +02:00
Dmitry Timoshkov
d08a101a28
mstask: Implement ITask::GetIdleWait().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:09:01 +02:00
Dmitry Timoshkov
9d113d353b
mstask: ITask::GetErrorRetryInterval() is not implemented.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:08:52 +02:00
Dmitry Timoshkov
a933e2e040
mstask: ITask::GetErrorRetryCount() is not implemented.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:08:48 +02:00
Dmitry Timoshkov
5907782d59
mstask: Implement ITask::GetStatus().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:08:36 +02:00
Dmitry Timoshkov
cbe3300b1e
mstask: Implement IPersistFile::GetClassID().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:08:26 +02:00
Dmitry Timoshkov
8f81fa82d5
mstask: Store creator using IRegistrationInfo.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:55 +02:00
Dmitry Timoshkov
6ff9f7e870
mstask: Store comment using IRegistrationInfo.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:55 +02:00
Dmitry Timoshkov
52df130d29
mstask: Implement setting and getting a task comment using IExecAction.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov
04e240b3a7
mstask: Implement setting and getting working directory using IExecAction.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov
cad2e5e8e2
mstask: Implement setting and getting parameters using IExecAction.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov
b9ebac70a8
mstask: Implement setting and getting an application name using IExecAction.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov
a6866be904
mstask: Improve stubs for ITask::GetTaskFlags and ITask::GetFlags.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov
7ef83b2797
mstask: Switch to using ITaskDefinition instead of IRegisteredTask.
...
Testing under Windows revealed that task definition on disk should be
created only when IPersistFile::Save() is called, and until that ITask
should stay as a task description in memory.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov
b4539f7136
mstask: Reimplement ITask constructor using ITaskFolder methods.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-13 22:38:59 +01:00
Dmitry Timoshkov
eb408f2dd9
mstask: Make each source file self-contained.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-13 22:38:59 +01:00
Michael Stefaniuc
591b59420d
mstask: Use ifaces instead of vtbl pointers in TaskImpl.
2011-01-24 14:43:25 +01:00
Roy Shea
7c5f411e7a
mstask: Implemented CreateTrigger.
2008-08-26 12:07:42 +02:00
Roy Shea
2172120fae
mstask: Implemented PersistFile_Save stub.
2008-08-25 12:28:10 +02:00
Roy Shea
f208025228
mstask: Implemented partial stub for (Set|Get)AccountInformation.
2008-08-22 11:32:08 +02:00
Roy Shea
a597d9eaed
mstask: Implemented (Set|Get)MaxRunTime.
2008-08-22 11:32:08 +02:00
Roy Shea
37708b1e5c
mstask: Implemented (Set|Get)Comment.
2008-08-22 11:32:08 +02:00
Roy Shea
2f95e5123b
mstask: Implement (Set|Get)Parameters.
2008-08-22 11:32:08 +02:00