Commit 4bd02f8e authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

taskschd: QueryInterface should return NULL interface on error.

parent 9c7025f9
...@@ -83,6 +83,7 @@ static HRESULT WINAPI TaskFolder_QueryInterface(ITaskFolder *iface, REFIID riid, ...@@ -83,6 +83,7 @@ static HRESULT WINAPI TaskFolder_QueryInterface(ITaskFolder *iface, REFIID riid,
} }
FIXME("interface %s is not implemented\n", debugstr_guid(riid)); FIXME("interface %s is not implemented\n", debugstr_guid(riid));
*obj = NULL;
return E_NOINTERFACE; return E_NOINTERFACE;
} }
......
...@@ -97,6 +97,7 @@ static HRESULT WINAPI folders_QueryInterface(ITaskFolderCollection *iface, REFII ...@@ -97,6 +97,7 @@ static HRESULT WINAPI folders_QueryInterface(ITaskFolderCollection *iface, REFII
} }
FIXME("interface %s is not implemented\n", debugstr_guid(riid)); FIXME("interface %s is not implemented\n", debugstr_guid(riid));
*obj = NULL;
return E_NOINTERFACE; return E_NOINTERFACE;
} }
...@@ -354,6 +355,7 @@ static HRESULT WINAPI enumvar_QueryInterface(IEnumVARIANT *iface, REFIID riid, v ...@@ -354,6 +355,7 @@ static HRESULT WINAPI enumvar_QueryInterface(IEnumVARIANT *iface, REFIID riid, v
} }
FIXME("interface %s is not implemented\n", debugstr_guid(riid)); FIXME("interface %s is not implemented\n", debugstr_guid(riid));
*obj = NULL;
return E_NOINTERFACE; return E_NOINTERFACE;
} }
......
...@@ -81,6 +81,7 @@ static HRESULT WINAPI TaskService_QueryInterface(ITaskService *iface, REFIID rii ...@@ -81,6 +81,7 @@ static HRESULT WINAPI TaskService_QueryInterface(ITaskService *iface, REFIID rii
} }
FIXME("interface %s is not implemented\n", debugstr_guid(riid)); FIXME("interface %s is not implemented\n", debugstr_guid(riid));
*obj = NULL;
return E_NOINTERFACE; return E_NOINTERFACE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment