On 6/17/21 5:16 AM, Vijay Kiran Kamuju wrote:
> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50576
>
> Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
> ---
>�� ��dlls/uiautomationcore/uia_main.c�� �� �� �� �� �� |�� 8 ++++
>�� ��dlls/uiautomationcore/uiautomationcore.spec |�� 2 +-
>�� ��include/uiautomationcoreapi.h�� �� �� �� �� �� �� ��| 45 +++++++++++++++++++++
>�� ��3 files changed, 54 insertions(+), 1 deletion(-)
>
> diff --git a/dlls/uiautomationcore/uia_main.c b/dlls/uiautomationcore/uia_main.c
> index 77460aa174c..49fc97748b9 100644
> --- a/dlls/uiautomationcore/uia_main.c
> +++ b/dlls/uiautomationcore/uia_main.c
> @@ -104,3 +104,11 @@ HRESULT WINAPI UiaHostProviderFromHwnd(HWND hwnd, IRawElementProviderSimple **pr
>�� �� �� ��FIXME("(%p, %p): stub\n", hwnd, provider);
>�� �� �� ��return E_NOTIMPL;
>�� ��}
> +
> +HRESULT WINAPI UiaNodeFromFocus(UiaCacheRequest *request, SAFEARRAY **data, BSTR *tree)
> +{
> +�� �� FIXME("(%p, %p, %p): stub\n", request, data, tree);
> +
> +�� �� *tree = NULL;
> +�� �� return S_OK;
> +}
Should this also initialize *data?
Yes, it should initialize the *data to NULL.
I will send a new version with some tests