[browseui]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 9 Feb 2014 21:32:07 +0000 (21:32 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 9 Feb 2014 21:32:07 +0000 (21:32 +0000)
- Add a tiny hack in browseui that allows it to browse properly when the user tries to open a folder in win8

svn path=/branches/shell-experiments/; revision=62082

dll/win32/browseui/shellbrowser.cpp

index 05e322c..66521fb 100644 (file)
@@ -1971,6 +1971,8 @@ HRESULT STDMETHODCALLTYPE CShellBrowser::QueryService(REFGUID guidService, REFII
         return this->QueryInterface(riid, ppvObject);
     if (IsEqualIID(guidService, SID_IExplorerToolbar))
         return fClientBars[BIInternetToolbar].clientBar->QueryInterface(riid, ppvObject);
+    if (IsEqualIID(riid, IID_IShellBrowser))
+        return this->QueryInterface(riid, ppvObject);
     return E_NOINTERFACE;
 }