Commit d99d3014 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

taskschd: Implement IRegisteredTask::get_Definition.

parent 734417a4
...@@ -189,8 +189,16 @@ static HRESULT WINAPI regtask_get_NextRunTime(IRegisteredTask *iface, DATE *date ...@@ -189,8 +189,16 @@ static HRESULT WINAPI regtask_get_NextRunTime(IRegisteredTask *iface, DATE *date
static HRESULT WINAPI regtask_get_Definition(IRegisteredTask *iface, ITaskDefinition **task) static HRESULT WINAPI regtask_get_Definition(IRegisteredTask *iface, ITaskDefinition **task)
{ {
FIXME("%p,%p: stub\n", iface, task); RegisteredTask *regtask = impl_from_IRegisteredTask(iface);
return E_NOTIMPL;
TRACE("%p,%p\n", iface, task);
if (!task) return E_POINTER;
ITaskDefinition_AddRef(regtask->taskdef);
*task = regtask->taskdef;
return S_OK;
} }
static HRESULT WINAPI regtask_get_Xml(IRegisteredTask *iface, BSTR *xml) static HRESULT WINAPI regtask_get_Xml(IRegisteredTask *iface, BSTR *xml)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment