From 01176ce7db45e2838b6d0711c7d2da98d0a135dc Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Mon, 27 Sep 2010 12:18:00 +0200 Subject: [PATCH] propsys: Add a stub implementation of PSGetPropertyDescription. --- 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 10a1cba8a88..3e99b94c976 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 6c467819553..631c49ea54e 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 da401c5bb9b..ef9ecfc912a 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 */