mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 13:03:41 +00:00
taskschd: Implement ITaskSettings_put_WakeToRun.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1107e77b58
commit
412a4a0620
|
@ -1331,8 +1331,13 @@ static HRESULT WINAPI TaskSettings_get_WakeToRun(ITaskSettings *iface, VARIANT_B
|
|||
|
||||
static HRESULT WINAPI TaskSettings_put_WakeToRun(ITaskSettings *iface, VARIANT_BOOL wake)
|
||||
{
|
||||
FIXME("%p,%d: stub\n", iface, wake);
|
||||
return E_NOTIMPL;
|
||||
TaskSettings *taskset = impl_from_ITaskSettings(iface);
|
||||
|
||||
TRACE("%p,%d\n", iface, wake);
|
||||
|
||||
taskset->wake_to_run = wake ? TRUE : FALSE;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI TaskSettings_get_NetworkSettings(ITaskSettings *iface, INetworkSettings **settings)
|
||||
|
|
|
@ -1153,16 +1153,10 @@ static void change_settings(ITaskDefinition *taskdef, struct settings *test)
|
|||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
hr = ITaskSettings_put_WakeToRun(set, test->wake_to_run);
|
||||
todo_wine
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
/* FIXME: Remove once implemented */
|
||||
if (hr != S_OK)
|
||||
{
|
||||
ITaskSettings_Release(set);
|
||||
return;
|
||||
}
|
||||
|
||||
hr = ITaskSettings_put_AllowDemandStart(set, test->allow_on_demand_start);
|
||||
todo_wine
|
||||
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
|
||||
|
||||
/* FIXME: set IIdleSettings and INetworkSettings */
|
||||
|
|
Loading…
Reference in a new issue