/* * 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 */ #include "uiautomation.h" #include "wine/debug.h" WINE_DEFAULT_DEBUG_CHANNEL(uiautomation); BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, void *lpv) { TRACE("(%p %d %p)\n", hInstDLL, fdwReason, lpv); switch(fdwReason) { case DLL_WINE_PREATTACH: return FALSE; /* prefer native version */ case DLL_PROCESS_ATTACH: DisableThreadLibraryCalls(hInstDLL); break; } return TRUE; } /*********************************************************************** * UiaClientsAreListening (uiautomationcore.@) */ BOOL WINAPI UiaClientsAreListening(void) { FIXME("()\n"); return FALSE; } /*********************************************************************** * UiaGetReservedMixedAttributeValue (uiautomationcore.@) */ HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value) { FIXME("(%p) stub!\n", value); *value = NULL; return S_OK; } /*********************************************************************** * UiaGetReservedNotSupportedValue (uiautomationcore.@) */ HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value) { FIXME("(%p) stub!\n", value); *value = NULL; return S_OK; } /*********************************************************************** * UiaLookupId (uiautomationcore.@) */ int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid) { FIXME("(%d, %s) stub!\n", type, debugstr_guid(guid)); return 1; } /*********************************************************************** * 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; } /*********************************************************************** * UiaRaiseAutomationEvent (uiautomationcore.@) */ HRESULT WINAPI UiaRaiseAutomationEvent(IRawElementProviderSimple *provider, EVENTID id) { FIXME("(%p, %d): stub\n", provider, id); return S_OK; } void WINAPI UiaRegisterProviderCallback(UiaProviderCallback *callback) { FIXME("(%p): stub\n", callback); } HRESULT WINAPI UiaHostProviderFromHwnd(HWND hwnd, IRawElementProviderSimple **provider) { FIXME("(%p, %p): stub\n", hwnd, provider); return E_NOTIMPL; }