mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 12:13:37 +00:00
taskschd: Implement ITaskSettings_put_Hidden.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c9c86fbc42
commit
5a7f0bedf2
|
@ -1271,8 +1271,13 @@ static HRESULT WINAPI TaskSettings_get_Hidden(ITaskSettings *iface, VARIANT_BOOL
|
|||
|
||||
static HRESULT WINAPI TaskSettings_put_Hidden(ITaskSettings *iface, VARIANT_BOOL hidden)
|
||||
{
|
||||
FIXME("%p,%d: stub\n", iface, hidden);
|
||||
return E_NOTIMPL;
|
||||
TaskSettings *taskset = impl_from_ITaskSettings(iface);
|
||||
|
||||
TRACE("%p,%d\n", iface, hidden);
|
||||
|
||||
taskset->hidden = hidden ? TRUE : FALSE;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI TaskSettings_get_IdleSettings(ITaskSettings *iface, IIdleSettings **settings)
|
||||
|
|
|
@ -1147,6 +1147,9 @@ static void change_settings(ITaskDefinition *taskdef, struct settings *test)
|
|||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
hr = ITaskSettings_put_Hidden(set, test->hidden);
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
hr = ITaskSettings_put_RunOnlyIfIdle(set, test->run_only_if_idle);
|
||||
todo_wine
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
/* FIXME: Remove once implemented */
|
||||
|
@ -1156,9 +1159,6 @@ todo_wine
|
|||
return;
|
||||
}
|
||||
|
||||
hr = ITaskSettings_put_RunOnlyIfIdle(set, test->run_only_if_idle);
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
hr = ITaskSettings_put_WakeToRun(set, test->wake_to_run);
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue