9 Oct
2025
9 Oct
'25
3:40 p.m.
Dmitry Timoshkov (@dmitry) commented about dlls/taskschd/task.c:
{ - FIXME("%p,%p: stub\n", iface, data); - return E_NOTIMPL; + TaskDefinition *taskdef = impl_from_ITaskDefinition(iface); + + TRACE("%p,%p\n", iface, data); + + if (data == NULL) return E_POINTER; + + if (taskdef->data == NULL) + *data = NULL; + else + { + *data = SysAllocString(taskdef->data); + if (*data == NULL) return E_OUTOFMEMORY; + } Please follow the existing code style: if (!data) ... if (!taskdef->data) ... if (!*data) ...
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9145#note_118142