Module: wine Branch: master Commit: 01176ce7db45e2838b6d0711c7d2da98d0a135dc URL: http://source.winehq.org/git/wine.git/?a=commit;h=01176ce7db45e2838b6d0711c7...
Author: Hans Leidekker hans@codeweavers.com Date: Mon Sep 27 12:18:00 2010 +0200
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 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 */