Module: wine Branch: master Commit: 38229c8a758f29f7cf81572f37972ce56da89cb0 URL: https://source.winehq.org/git/wine.git/?a=commit;h=38229c8a758f29f7cf81572f3...
Author: Piotr Caban piotr@codeweavers.com Date: Mon Sep 27 16:11:16 2021 +0200
oleacc: Add default client IAccessible::put_accValue implementation.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/oleacc/client.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/dlls/oleacc/client.c b/dlls/oleacc/client.c index f111a1b9af8..1dd18240179 100644 --- a/dlls/oleacc/client.c +++ b/dlls/oleacc/client.c @@ -487,11 +487,15 @@ static HRESULT WINAPI Client_put_accName(IAccessible *iface, VARIANT varID, BSTR return E_NOTIMPL; }
-static HRESULT WINAPI Client_put_accValue(IAccessible *iface, VARIANT varID, BSTR pszValue) +static HRESULT WINAPI Client_put_accValue(IAccessible *iface, VARIANT id, BSTR value) { Client *This = impl_from_Client(iface); - FIXME("(%p)->(%s %s)\n", This, debugstr_variant(&varID), debugstr_w(pszValue)); - return E_NOTIMPL; + + TRACE("(%p)->(%s %p)\n", This, debugstr_variant(&id), value); + + if(convert_child_id(&id) != CHILDID_SELF) + return E_INVALIDARG; + return S_FALSE; }
static const IAccessibleVtbl ClientVtbl = {