Commit Graph

131 Commits

Author SHA1 Message Date
Michael Stefaniuc d186f681fb taskschd: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 10:00:07 +01:00
Nikolay Sivov fb4ab15a4e taskschd: Fix a leak on error path (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-26 10:12:31 +01:00
Hans Leidekker 3c2d8dc3ae taskschd: Implement IDailyTrigger_get_Enabled.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:48 +01:00
Hans Leidekker 929272f139 taskschd: Implement IDailyTrigger_put_Enabled.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:45 +01:00
Hans Leidekker 179d1ed75b taskschd: Implement IDailyTrigger_get_StartBoundary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:41 +01:00
Hans Leidekker adad0705b0 taskschd: Implement IDailyTrigger_put_StartBoundary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:36 +01:00
Hans Leidekker 77a7094bb8 taskschd: Consistently check for allocation failure.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:25 +01:00
Hans Leidekker 0d3ebfc459 taskschd: Implement IExecAction_get_Path.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:26:12 +01:00
Hans Leidekker e0fbe82e66 taskschd: Implement IExecAction_put_Path.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:26:08 +01:00
Hans Leidekker 8d739937d3 taskschd: Implement IActionCollection_Create.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:26:05 +01:00
Hans Leidekker 759ef6a4fa taskschd: Implement ITaskDefinition_put_Actions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:26:01 +01:00
Hans Leidekker c0858ec0cb taskschd: Implement ITaskDefinition_get_Actions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:25:57 +01:00
Hans Leidekker acacbbcb86 taskschd: Implement ITaskDefinition_put_Principal.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:25:52 +01:00
Hans Leidekker 4a0fa13f28 taskschd: Implement ITaskDefinition_get_Principal.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:25:48 +01:00
Hans Leidekker 96cf60ecac taskschd: Implement ITaskDefinition_put_Triggers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:25:37 +01:00
Hans Leidekker f186114676 taskschd: Implement ITaskSettings_put_AllowDemandStart.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker 412a4a0620 taskschd: Implement ITaskSettings_put_WakeToRun.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker 1107e77b58 taskschd: Implement ITaskSettings_put_RunOnlyIfIdle.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker 5a7f0bedf2 taskschd: Implement ITaskSettings_put_Hidden.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker c9c86fbc42 taskschd: Implement ITaskSettings_put_Compatibility.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker 484055e851 taskschd: Implement ITaskSettings_put_Priority.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker f8483297a5 taskschd: Implement ITaskSettings_put_DeleteExpiredTaskAfter.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:30 +01:00
Hans Leidekker 196a97740e taskschd: Implement ITaskSettings_put_Enabled.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:14 +01:00
Hans Leidekker 64c08e68c0 taskschd: Implement ITaskSettings_put_ExecutionTimeLimit.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:12 +01:00
Hans Leidekker ee12d7c917 taskschd: Implement ITaskSettings_put_RunOnlyIfNetworkAvailable.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:10 +01:00
Hans Leidekker 62dd24af4a taskschd: Implement ITaskSettings_put_StartWhenAvailable.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:08 +01:00
Hans Leidekker a883a26f0f taskschd: Implement ITaskSettings_put_AllowHardTerminate.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:05 +01:00
Hans Leidekker 2032eedfa6 taskschd: Implement ITaskSettings_put_DisallowStartIfOnBatteries.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:03 +01:00
Hans Leidekker eb87ede3fe taskschd: Use heap_strdupW to allocate the interval in TaskSettings_put_RestartInterval.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:00 +01:00
Hans Leidekker fdb2eedd9e taskschd: Implement ITaskSettings_put_StopIfGoingOnBatteries.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker 0ae50c22d6 taskschd: Implement ITaskSettings_put_MultipleInstances.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker 01f6313659 taskschd: Implement ITaskSettings_put_RestartCount.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker 059382a3d3 taskschd: Implement ITaskSettings_put_RestartInterval.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker ca20711f11 taskschd: Return success from a couple of stubs.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Francois Gouget 2fe91725c5 taskschd: Simplify and standardize the heap_xxx() declarations.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-22 12:02:03 +01:00
Francois Gouget 22c1c9b551 taskschd/tests: Fix a couple of ITriggerCollection ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:10:11 +01:00
Jacek Caban 82a590403f taskschd: Added IDailyTrigger::DaysInterval property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 17:54:28 -07:00
Jacek Caban 18427a0ce0 taskschd: Added ITriggerCollection::Create implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 17:54:23 -07:00
Sebastian Lackner e16b9f757b taskschd: Do not return ERROR_* constant in HRESULT function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 11:53:26 +09:00
Jacek Caban d62ab576e5 taskschd/tests: Fixed tests on win10.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 00:34:24 +09:00
Jacek Caban 67abe79de0 taskschd: Added ITaskDefinition::get_Triggers implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 00:34:24 +09:00
Sebastian Lackner 9b09472d4f taskschd/tests: Fix a use-after-free in scheduler tests.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 16:54:47 +09:00
Dmitry Timoshkov 557c3714e8 taskschd/tests: Fix memory leaks (Valgrind).
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 16:44:53 +09:00
Michael Stefaniuc 39f1184ee1 taskschd/tests: Test the correct return value. 2015-03-25 20:12:47 +09:00
Francois Gouget aa1ad58ba7 taskschd: Remove an unneeded NONAMELESSUNION directive. 2015-03-24 20:01:06 +09:00
Michael Stefaniuc 87cfceb8bf taskschd: Print the debug string instead of the pointer value. 2015-03-24 18:16:05 +09:00
Alexandre Julliard f48a0d8ca3 taskschd/tests: Don't depend on the directory lookup order. 2014-12-03 11:25:51 +01:00
Jacek Caban d2886a05f9 wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations. 2014-07-24 17:05:55 +02:00
Dmitry Timoshkov bd1576975a taskschd: Implement setters for IRegistrationInfo string properties. 2014-04-11 11:23:27 +02:00
Dmitry Timoshkov 8fd6435a6a taskschd: Implement getters for IRegistrationInfo string properties. 2014-04-11 11:23:06 +02:00