propsys: Add stub for PSGetPropertyDescriptionListFromString

André Hentschel nerv at dawncrow.de
Fri Nov 29 16:36:46 CST 2013


Partial fix for https://bugs.winehq.org/show_bug.cgi?id=29788 (at least fixing the crash)
i guess implementing the interface will show more dependencies, so i need some time for that...

---
 dlls/propsys/propsys.spec   | 2 +-
 dlls/propsys/propsys_main.c | 6 ++++++
 include/propsys.idl         | 1 +
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/dlls/propsys/propsys.spec b/dlls/propsys/propsys.spec
index 15386d7..a64d53a 100644
--- a/dlls/propsys/propsys.spec
+++ b/dlls/propsys/propsys.spec
@@ -81,7 +81,7 @@
 @ stub PSGetNamedPropertyFromPropertyStorage
 @ stdcall PSGetPropertyDescription(ptr ptr ptr)
 @ stub PSGetPropertyDescriptionByName
-@ stub PSGetPropertyDescriptionListFromString
+@ stdcall PSGetPropertyDescriptionListFromString(ptr ptr ptr)
 @ stub PSGetPropertyFromPropertyStorage
 @ stub PSGetPropertyKeyFromName
 @ stub PSGetPropertySystem
diff --git a/dlls/propsys/propsys_main.c b/dlls/propsys/propsys_main.c
index 8d05ad0..ad96aab 100644
--- a/dlls/propsys/propsys_main.c
+++ b/dlls/propsys/propsys_main.c
@@ -159,6 +159,12 @@ HRESULT WINAPI PSGetPropertyDescription(REFPROPERTYKEY propkey, REFIID riid, voi
     return E_NOTIMPL;
 }
 
+HRESULT WINAPI PSGetPropertyDescriptionListFromString(LPCWSTR proplist, REFIID riid, void **ppv)
+{
+    FIXME("%s, %p, %p\n", debugstr_w(proplist), riid, ppv);
+    return E_NOTIMPL;
+}
+
 HRESULT WINAPI PSRefreshPropertySchema(void)
 {
     FIXME("\n");
diff --git a/include/propsys.idl b/include/propsys.idl
index 993686d..0117090 100644
--- a/include/propsys.idl
+++ b/include/propsys.idl
@@ -802,6 +802,7 @@ cpp_quote("#define PKEYSTR_MAX (GUIDSTRING_MAX + 1 + PKEY_PIDSTR_MAX)")
 cpp_quote("HRESULT WINAPI PSStringFromPropertyKey(REFPROPERTYKEY,LPWSTR,UINT);")
 cpp_quote("HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR,PROPERTYKEY*);")
 cpp_quote("HRESULT WINAPI PSGetPropertyDescription(REFPROPERTYKEY,REFIID,void **);")
+cpp_quote("HRESULT WINAPI PSGetPropertyDescriptionListFromString(LPCWSTR,REFIID,void **);")
 cpp_quote("HRESULT WINAPI PSRefreshPropertySchema(void);")
 
 /* TODO: Add remainder of the C api here */
-- 
1.8.1.2




More information about the wine-patches mailing list