d3drm: Fix IDirect3DRMFrame2::QueryInterface returning incorrect HRESULT.

This commit is contained in:
Aaryaman Vasishta 2015-04-09 19:41:32 +05:30 committed by Alexandre Julliard
parent fbde8fc0f0
commit 415b7c1fec

View File

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