shell32: Add stub for SHGetPropertyStoreFromParsingName (try 3)

André Hentschel nerv at dawncrow.de
Tue Jul 20 12:40:40 CDT 2010


Let's new Firefox installers (dont know for 3.6.x but at least for >3.6) finish installation successfully.
Fixes Bug 22972 -  new Firefox Setups wont run
I think this is important as Firefox (specially the new alphas and betas) is often tested on Wine and a stub always is better than a crash i guess.
Also Firefox in Wine is much faster than the native (benchmarks can be found at phoronix)

try3: Fix stdcall position
---
 dlls/shell32/shell32.spec   |    1 +
 dlls/shell32/shell32_main.c |   10 ++++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec
index 7f1c5b6..09743e8 100644
--- a/dlls/shell32/shell32.spec
+++ b/dlls/shell32/shell32.spec
@@ -364,6 +364,7 @@
 @ stdcall SHGetPathFromIDList(ptr ptr) SHGetPathFromIDListA
 @ stdcall SHGetPathFromIDListA(ptr ptr)
 @ stdcall SHGetPathFromIDListW(ptr ptr)
+@ stdcall SHGetPropertyStoreFromParsingName(wstr ptr long ptr ptr)
 @ stdcall SHGetSettings(ptr long)
 @ stdcall SHGetSpecialFolderLocation(long long ptr)
 @ stdcall SHGetSpecialFolderPathA(long ptr long long)
diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c
index 75b9c7e..f906a24 100644
--- a/dlls/shell32/shell32_main.c
+++ b/dlls/shell32/shell32_main.c
@@ -38,6 +38,7 @@
 #include "wingdi.h"
 #include "shlobj.h"
 #include "shlwapi.h"
+#include "propsys.h"
 
 #include "undocshell.h"
 #include "pidl.h"
@@ -854,6 +855,15 @@ VOID WINAPI Printers_UnregisterWindow(HANDLE hClassPidl, HWND hwnd)
     FIXME("(%p, %p) stub!\n", hClassPidl, hwnd);
 } 
 
+/*************************************************************************
+ * SHGetPropertyStoreFromParsingName [SHELL32.@]
+ */
+HRESULT SHGetPropertyStoreFromParsingName(PCWSTR pszPath, IBindCtx *pbc, GETPROPERTYSTOREFLAGS flags, REFIID riid, void **ppv)
+{
+    FIXME("(%s %p %u %p %p) stub!\n", debugstr_w(pszPath), pbc, flags, riid, ppv);
+    return E_NOTIMPL;
+}
+
 /*************************************************************************/
 
 typedef struct
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list