Michael Stefaniuc : dmstyle: Use a better error for an unimplemented COM class.

Alexandre Julliard julliard at winehq.org
Wed Jan 15 13:51:53 CST 2014


Module: wine
Branch: master
Commit: 6dfae45b3a9e7eef68a4bc800816703a2c08017d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6dfae45b3a9e7eef68a4bc800816703a2c08017d

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Jan 15 01:12:35 2014 +0100

dmstyle: Use a better error for an unimplemented COM class.

---

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

diff --git a/dlls/dmstyle/dmstyle_main.c b/dlls/dmstyle/dmstyle_main.c
index 996fc9b..b76fa73 100644
--- a/dlls/dmstyle/dmstyle_main.c
+++ b/dlls/dmstyle/dmstyle_main.c
@@ -34,7 +34,7 @@ static HRESULT WINAPI create_direct_music_section(REFIID riid, void **ret_iface)
 {
         FIXME("(%s, %p) stub\n", debugstr_dmguid(riid), ret_iface);
 
-        return E_NOINTERFACE;
+        return CLASS_E_CLASSNOTAVAILABLE;
 }
 
 /******************************************************************




More information about the wine-cvs mailing list