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) ...