Alfred Agrell (@Alcaro) commented about dlls/taskschd/regtask.c:
- return S_OK;
}
static HRESULT WINAPI regtasks_get_Item(IRegisteredTaskCollection *iface, VARIANT index, IRegisteredTask **regtask) {
- FIXME("%p,%s,%p: stub\n", iface, debugstr_variant(&index), regtask);
- return E_NOTIMPL;
- HRESULT hr;
- WCHAR *xml = NULL;
- VARIANT converted_index;
- TASK_NAMES task_names = NULL;
- ITaskDefinition *definition = NULL;
- RegisteredTaskCollection *collection = NULL;
- DWORD start_index = 0, num_tasks = 0;
- collection = impl_from_IRegisteredTaskCollection(iface);
The other RegisteredTaskCollection* is initialized in the declaration section. I have no particular opinion in either direction, but better pick one.