Chris Robinson : quartz: Check for the proper ID when querying for the IBasicAudio interface.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 19 07:02:13 CST 2007


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

Author: Chris Robinson <chris.kcat at gmail.com>
Date:   Sat Feb 17 23:16:36 2007 -0800

quartz: Check for the proper ID when querying for the IBasicAudio interface.

---

 dlls/quartz/dsoundrender.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c
index ee19148..32c807c 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -365,7 +365,7 @@ static HRESULT WINAPI DSoundRender_QueryInterface(IBaseFilter * iface, REFIID ri
         *ppv = (LPVOID)This;
     else if (IsEqualIID(riid, &IID_IBaseFilter))
         *ppv = (LPVOID)This;
-    else if (IsEqualIID(riid, &IID_IBaseFilter))
+    else if (IsEqualIID(riid, &IID_IBasicAudio))
         *ppv = (LPVOID)&(This->IBasicAudio_vtbl);
 
     if (*ppv)




More information about the wine-cvs mailing list