Piotr Caban : oleacc: Add Client_get_accValue implementation.

Alexandre Julliard julliard at winehq.org
Thu May 1 14:40:00 CDT 2014


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

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Thu May  1 16:14:31 2014 +0200

oleacc: Add Client_get_accValue implementation.

---

 dlls/oleacc/client.c |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dlls/oleacc/client.c b/dlls/oleacc/client.c
index 30673d3..e16d3f8 100644
--- a/dlls/oleacc/client.c
+++ b/dlls/oleacc/client.c
@@ -170,8 +170,13 @@ static HRESULT WINAPI Client_get_accName(IAccessible *iface, VARIANT varID, BSTR
 static HRESULT WINAPI Client_get_accValue(IAccessible *iface, VARIANT varID, BSTR *pszValue)
 {
     Client *This = impl_from_Client(iface);
-    FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszValue);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszValue);
+
+    *pszValue = NULL;
+    if(convert_child_id(&varID) != CHILDID_SELF)
+        return E_INVALIDARG;
+    return S_FALSE;
 }
 
 static HRESULT WINAPI Client_get_accDescription(IAccessible *iface,




More information about the wine-cvs mailing list