2017-02-22 19:05:33 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2017 Jacek Caban for CodeWeavers
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
2017-03-20 14:15:07 +01:00
|
|
|
#include "uiautomation.h"
|
2017-02-22 19:05:33 +01:00
|
|
|
|
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(uiautomation);
|
|
|
|
|
2017-02-22 19:05:43 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* UiaClientsAreListening (uiautomationcore.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI UiaClientsAreListening(void)
|
|
|
|
{
|
|
|
|
FIXME("()\n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
2017-03-20 14:15:07 +01:00
|
|
|
|
2017-03-22 14:03:03 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* UiaGetReservedMixedAttributeValue (uiautomationcore.@)
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value)
|
|
|
|
{
|
|
|
|
FIXME("(%p) stub!\n", value);
|
|
|
|
*value = NULL;
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
2017-03-22 14:03:22 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* UiaGetReservedNotSupportedValue (uiautomationcore.@)
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value)
|
|
|
|
{
|
|
|
|
FIXME("(%p) stub!\n", value);
|
|
|
|
*value = NULL;
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
2017-03-20 14:15:07 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* UiaLookupId (uiautomationcore.@)
|
|
|
|
*/
|
|
|
|
int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid)
|
|
|
|
{
|
|
|
|
FIXME("(%d, %s) stub!\n", type, debugstr_guid(guid));
|
|
|
|
return 1;
|
|
|
|
}
|
2017-04-06 11:46:53 +02:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* UiaReturnRawElementProvider (uiautomationcore.@)
|
|
|
|
*/
|
|
|
|
LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam,
|
|
|
|
LPARAM lParam, IRawElementProviderSimple *elprov)
|
|
|
|
{
|
|
|
|
FIXME("(%p, %lx, %lx, %p) stub!\n", hwnd, wParam, lParam, elprov);
|
|
|
|
return 0;
|
|
|
|
}
|
2017-05-21 13:46:08 +02:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* UiaRaiseAutomationEvent (uiautomationcore.@)
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI UiaRaiseAutomationEvent(IRawElementProviderSimple *provider, EVENTID id)
|
|
|
|
{
|
|
|
|
FIXME("(%p, %d): stub\n", provider, id);
|
2019-02-11 16:00:57 +01:00
|
|
|
return S_OK;
|
2017-05-21 13:46:08 +02:00
|
|
|
}
|
2019-02-12 14:26:51 +01:00
|
|
|
|
2021-01-17 18:43:09 +01:00
|
|
|
void WINAPI UiaRegisterProviderCallback(UiaProviderCallback *callback)
|
|
|
|
{
|
|
|
|
FIXME("(%p): stub\n", callback);
|
|
|
|
}
|
|
|
|
|
2019-02-12 14:26:51 +01:00
|
|
|
HRESULT WINAPI UiaHostProviderFromHwnd(HWND hwnd, IRawElementProviderSimple **provider)
|
|
|
|
{
|
|
|
|
FIXME("(%p, %p): stub\n", hwnd, provider);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
2021-09-10 09:18:17 +02:00
|
|
|
|
|
|
|
HRESULT WINAPI UiaDisconnectProvider(IRawElementProviderSimple *provider)
|
|
|
|
{
|
|
|
|
FIXME("(%p): stub\n", provider);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|