mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 12:53:40 +00:00
taskschd: Implement ITaskSettings_put_Compatibility.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
484055e851
commit
c9c86fbc42
|
@ -1247,8 +1247,13 @@ static HRESULT WINAPI TaskSettings_get_Compatibility(ITaskSettings *iface, TASK_
|
|||
|
||||
static HRESULT WINAPI TaskSettings_put_Compatibility(ITaskSettings *iface, TASK_COMPATIBILITY level)
|
||||
{
|
||||
FIXME("%p,%d: stub\n", iface, level);
|
||||
return E_NOTIMPL;
|
||||
TaskSettings *taskset = impl_from_ITaskSettings(iface);
|
||||
|
||||
TRACE("%p,%d\n", iface, level);
|
||||
|
||||
taskset->compatibility = level;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI TaskSettings_get_Hidden(ITaskSettings *iface, VARIANT_BOOL *hidden)
|
||||
|
|
|
@ -1144,6 +1144,9 @@ static void change_settings(ITaskDefinition *taskdef, struct settings *test)
|
|||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
hr = ITaskSettings_put_Compatibility(set, test->compatibility);
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
hr = ITaskSettings_put_Hidden(set, test->hidden);
|
||||
todo_wine
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
/* FIXME: Remove once implemented */
|
||||
|
@ -1153,9 +1156,6 @@ todo_wine
|
|||
return;
|
||||
}
|
||||
|
||||
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);
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue