Nikolay Sivov : propsys: Forward corresponding methods to exports.

Alexandre Julliard julliard at winehq.org
Wed Jun 11 13:36:21 CDT 2014


Module: wine
Branch: master
Commit: 47de869fda08f564d45bb48ea2983458a1965de7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=47de869fda08f564d45bb48ea2983458a1965de7

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue May 27 15:13:49 2014 +0400

propsys: Forward corresponding methods to exports.

---

 dlls/propsys/propsys_main.c |   15 +++++----------
 include/propsys.idl         |    2 ++
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/dlls/propsys/propsys_main.c b/dlls/propsys/propsys_main.c
index 4bb9d26..6713adf 100644
--- a/dlls/propsys/propsys_main.c
+++ b/dlls/propsys/propsys_main.c
@@ -166,8 +166,7 @@ static ULONG WINAPI propsys_Release(IPropertySystem *iface)
 static HRESULT WINAPI propsys_GetPropertyDescription(IPropertySystem *iface,
     REFPROPERTYKEY propkey, REFIID riid, void **ppv)
 {
-    FIXME("%p %s %p: stub\n", propkey, debugstr_guid(riid), ppv);
-    return E_NOTIMPL;
+    return PSGetPropertyDescription(propkey, riid, ppv);
 }
 
 static HRESULT WINAPI propsys_GetPropertyDescriptionByName(IPropertySystem *iface,
@@ -180,8 +179,7 @@ static HRESULT WINAPI propsys_GetPropertyDescriptionByName(IPropertySystem *ifac
 static HRESULT WINAPI propsys_GetPropertyDescriptionListFromString(IPropertySystem *iface,
     LPCWSTR proplist, REFIID riid, void **ppv)
 {
-    FIXME("%s %s %p: stub\n", debugstr_w(proplist), debugstr_guid(riid), ppv);
-    return E_NOTIMPL;
+    return PSGetPropertyDescriptionListFromString(proplist, riid, ppv);
 }
 
 static HRESULT WINAPI propsys_EnumeratePropertyDescriptions(IPropertySystem *iface,
@@ -209,20 +207,17 @@ static HRESULT WINAPI propsys_FormatForDisplayAlloc(IPropertySystem *iface,
 
 static HRESULT WINAPI propsys_RegisterPropertySchema(IPropertySystem *iface, LPCWSTR path)
 {
-    FIXME("%s: stub\n", debugstr_w(path));
-    return E_NOTIMPL;
+    return PSRegisterPropertySchema(path);
 }
 
 static HRESULT WINAPI propsys_UnregisterPropertySchema(IPropertySystem *iface, LPCWSTR path)
 {
-    FIXME("%s: stub\n", debugstr_w(path));
-    return E_NOTIMPL;
+    return PSUnregisterPropertySchema(path);
 }
 
 static HRESULT WINAPI propsys_RefreshPropertySchema(IPropertySystem *iface)
 {
-    FIXME("refresh: stub\n");
-    return E_NOTIMPL;
+    return PSRefreshPropertySchema();
 }
 
 static const IPropertySystemVtbl propsysvtbl = {
diff --git a/include/propsys.idl b/include/propsys.idl
index 0117090..04d3fbf 100644
--- a/include/propsys.idl
+++ b/include/propsys.idl
@@ -804,6 +804,8 @@ 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);")
+cpp_quote("HRESULT WINAPI PSRegisterPropertySchema(LPCWSTR);")
+cpp_quote("HRESULT WINAPI PSUnregisterPropertySchema(LPCWSTR);")
 
 /* TODO: Add remainder of the C api here */
 




More information about the wine-cvs mailing list