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)
|
static HRESULT WINAPI TaskSettings_put_Compatibility(ITaskSettings *iface, TASK_COMPATIBILITY level)
|
||||||
{
|
{
|
||||||
FIXME("%p,%d: stub\n", iface, level);
|
TaskSettings *taskset = impl_from_ITaskSettings(iface);
|
||||||
return E_NOTIMPL;
|
|
||||||
|
TRACE("%p,%d\n", iface, level);
|
||||||
|
|
||||||
|
taskset->compatibility = level;
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI TaskSettings_get_Hidden(ITaskSettings *iface, VARIANT_BOOL *hidden)
|
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);
|
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||||
|
|
||||||
hr = ITaskSettings_put_Compatibility(set, test->compatibility);
|
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
|
todo_wine
|
||||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||||
/* FIXME: Remove once implemented */
|
/* FIXME: Remove once implemented */
|
||||||
|
@ -1153,9 +1156,6 @@ todo_wine
|
||||||
return;
|
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);
|
hr = ITaskSettings_put_RunOnlyIfIdle(set, test->run_only_if_idle);
|
||||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue