[IEFRAME]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 8 May 2014 21:40:58 +0000 (21:40 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 8 May 2014 21:40:58 +0000 (21:40 +0000)
- Fix IID comparison in ShellUIHelper2_QueryInterface. Patch by Víctor Martínez
CORE-8158 #resolve

svn path=/trunk/; revision=63197

reactos/dll/win32/ieframe/shelluihelper.c

index f514165..5399cd5 100644 (file)
@@ -41,7 +41,7 @@ static HRESULT WINAPI ShellUIHelper2_QueryInterface(IShellUIHelper2 *iface, REFI
     }else if(IsEqualGUID(&IID_IShellUIHelper, riid)) {
         TRACE("(%p)->(IID_IShellUIHelper %p)\n", This, ppv);
         *ppv = &This->IShellUIHelper2_iface;
-    }else if(IsEqualGUID(&IID_IShellUIHelper, riid)) {
+    }else if(IsEqualGUID(&IID_IShellUIHelper2, riid)) {
         TRACE("(%p)->(IID_IShellUIHelper2 %p)\n", This, ppv);
         *ppv = &This->IShellUIHelper2_iface;
     }else {