propsys: Add a stub implementation of PSGetPropertyDescription.
Hans Leidekker
hans at codeweavers.com
Mon Sep 27 05:18:00 CDT 2010
---
dlls/propsys/propsys.spec | 2 +-
dlls/propsys/propsys_main.c | 6 ++++++
include/propsys.idl | 1 +
3 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/dlls/propsys/propsys.spec b/dlls/propsys/propsys.spec
index 10a1cba..3e99b94 100644
--- a/dlls/propsys/propsys.spec
+++ b/dlls/propsys/propsys.spec
@@ -79,7 +79,7 @@
@ stub PSGetItemPropertyHandlerWithCreateObject
@ stub PSGetNameFromPropertyKey
@ stub PSGetNamedPropertyFromPropertyStorage
-@ stub PSGetPropertyDescription
+@ stdcall PSGetPropertyDescription(ptr ptr ptr)
@ stub PSGetPropertyDescriptionByName
@ stub PSGetPropertyDescriptionListFromString
@ stub PSGetPropertyFromPropertyStorage
diff --git a/dlls/propsys/propsys_main.c b/dlls/propsys/propsys_main.c
index 6c46781..631c49e 100644
--- a/dlls/propsys/propsys_main.c
+++ b/dlls/propsys/propsys_main.c
@@ -66,6 +66,12 @@ HRESULT WINAPI PSUnregisterPropertySchema(PCWSTR path)
return E_NOTIMPL;
}
+HRESULT WINAPI PSGetPropertyDescription(REFPROPERTYKEY propkey, REFIID riid, void **ppv)
+{
+ FIXME("%p, %p, %p\n", propkey, riid, ppv);
+ return E_NOTIMPL;
+}
+
HRESULT WINAPI PSStringFromPropertyKey(REFPROPERTYKEY pkey, LPWSTR psz, UINT cch)
{
static const WCHAR guid_fmtW[] = {'{','%','0','8','X','-','%','0','4','X','-',
diff --git a/include/propsys.idl b/include/propsys.idl
index da401c5..ef9ecfc 100644
--- a/include/propsys.idl
+++ b/include/propsys.idl
@@ -801,6 +801,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 **);")
/* TODO: Add remainder of the C api here */
--
1.7.0.4
More information about the wine-patches
mailing list