From ab8d8dd1dc820ffccf47cb15b4f7338676ee3a96 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Wed, 19 Feb 2014 12:13:11 +0900 Subject: [PATCH] taskschd: Implement IRegisteredTask::get_Xml. --- dlls/taskschd/regtask.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dlls/taskschd/regtask.c b/dlls/taskschd/regtask.c index eaf186a6187..8201304e131 100644 --- a/dlls/taskschd/regtask.c +++ b/dlls/taskschd/regtask.c @@ -203,8 +203,13 @@ static HRESULT WINAPI regtask_get_Definition(IRegisteredTask *iface, ITaskDefini static HRESULT WINAPI regtask_get_Xml(IRegisteredTask *iface, BSTR *xml) { - FIXME("%p,%p: stub\n", iface, xml); - return E_NOTIMPL; + RegisteredTask *regtask = impl_from_IRegisteredTask(iface); + + TRACE("%p,%p\n", iface, xml); + + if (!xml) return E_POINTER; + + return ITaskDefinition_get_XmlText(regtask->taskdef, xml); } static HRESULT WINAPI regtask_GetSecurityDescriptor(IRegisteredTask *iface, LONG info, BSTR *sddl)