taskschd: Implement IRegisteredTask::get_Definition.
This commit is contained in:
parent
734417a481
commit
d99d3014f5
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue