taskschd: Implement ITaskSettings_put_Priority.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f8483297a5
commit
484055e851
|
@ -1223,8 +1223,13 @@ static HRESULT WINAPI TaskSettings_get_Priority(ITaskSettings *iface, INT *prior
|
|||
|
||||
static HRESULT WINAPI TaskSettings_put_Priority(ITaskSettings *iface, INT priority)
|
||||
{
|
||||
FIXME("%p,%d: stub\n", iface, priority);
|
||||
return E_NOTIMPL;
|
||||
TaskSettings *taskset = impl_from_ITaskSettings(iface);
|
||||
|
||||
TRACE("%p,%d\n", iface, priority);
|
||||
|
||||
taskset->priority = priority;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI TaskSettings_get_Compatibility(ITaskSettings *iface, TASK_COMPATIBILITY *level)
|
||||
|
|
|
@ -1141,6 +1141,9 @@ static void change_settings(ITaskDefinition *taskdef, struct settings *test)
|
|||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
hr = ITaskSettings_put_Priority(set, test->priority);
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
hr = ITaskSettings_put_Compatibility(set, test->compatibility);
|
||||
todo_wine
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
/* FIXME: Remove once implemented */
|
||||
|
@ -1150,9 +1153,6 @@ todo_wine
|
|||
return;
|
||||
}
|
||||
|
||||
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);
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue