[PATCH 1/6] dmcompos: Use a better error for an unimplemented COM class.

Michael Stefaniuc mstefani at redhat.de
Wed Jan 15 17:42:52 CST 2014


---
 dlls/dmcompos/dmcompos_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dmcompos/dmcompos_main.c b/dlls/dmcompos/dmcompos_main.c
index b9f1444..e40c6ea 100644
--- a/dlls/dmcompos/dmcompos_main.c
+++ b/dlls/dmcompos/dmcompos_main.c
@@ -37,7 +37,7 @@ static HRESULT WINAPI create_direct_music_template(REFIID riid, void **ppv, IUnk
 {
         FIXME("(%p, %s, %p) stub\n", pUnkOuter, debugstr_dmguid(riid), ppv);
 
-        return E_NOINTERFACE;
+        return CLASS_E_CLASSNOTAVAILABLE;
 }
 
 /******************************************************************
-- 
1.8.3.1



More information about the wine-patches mailing list