Piotr Caban : oleacc: Add Client_get_accDefaultAction implementation.

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


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

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

oleacc: Add Client_get_accDefaultAction 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 104ebdb..88009f3 100644
--- a/dlls/oleacc/client.c
+++ b/dlls/oleacc/client.c
@@ -261,8 +261,13 @@ static HRESULT WINAPI Client_get_accDefaultAction(IAccessible *iface,
         VARIANT varID, BSTR *pszDefaultAction)
 {
     Client *This = impl_from_Client(iface);
-    FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszDefaultAction);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszDefaultAction);
+
+    *pszDefaultAction = NULL;
+    if(convert_child_id(&varID) != CHILDID_SELF)
+        return E_INVALIDARG;
+    return S_FALSE;
 }
 
 static HRESULT WINAPI Client_accSelect(IAccessible *iface, LONG flagsSelect, VARIANT varID)




More information about the wine-cvs mailing list