d3drm: Fix IDirect3DRM::QueryInterface returning incorrect HRESULT on unsupported interfaces.

This commit is contained in:
Aaryaman Vasishta 2015-03-18 18:22:38 +05:30 committed by Alexandre Julliard
parent 0815dc223e
commit c3c9cd1e1f
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@ static HRESULT WINAPI d3drm1_QueryInterface(IDirect3DRM *iface, REFIID riid, voi
else
{
*out = NULL;
WARN("%s not implemented, returning E_NOINTERFACE.\n", debugstr_guid(riid));
return E_NOINTERFACE;
WARN("%s not implemented, returning CLASS_E_CLASSNOTAVAILABLE.\n", debugstr_guid(riid));
return CLASS_E_CLASSNOTAVAILABLE;
}
IUnknown_AddRef((IUnknown *)*out);