makefiles: Don't use standard libs for programs that specify -nodefaultlibs.
[wine/zf.git] / dlls / uiautomationcore / uia_main.c
blobf0d8247724d1367c1ad8dea49c6af43ef166a9f2
1 /*
2 * Copyright 2017 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include "uiautomation.h"
21 #include "wine/debug.h"
23 WINE_DEFAULT_DEBUG_CHANNEL(uiautomation);
25 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, void *lpv)
27 TRACE("(%p %d %p)\n", hInstDLL, fdwReason, lpv);
29 switch(fdwReason) {
30 case DLL_WINE_PREATTACH:
31 return FALSE; /* prefer native version */
32 case DLL_PROCESS_ATTACH:
33 DisableThreadLibraryCalls(hInstDLL);
34 break;
37 return TRUE;
40 /***********************************************************************
41 * UiaClientsAreListening (uiautomationcore.@)
43 BOOL WINAPI UiaClientsAreListening(void)
45 FIXME("()\n");
46 return FALSE;
49 /***********************************************************************
50 * UiaGetReservedMixedAttributeValue (uiautomationcore.@)
52 HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value)
54 FIXME("(%p) stub!\n", value);
55 *value = NULL;
56 return S_OK;
59 /***********************************************************************
60 * UiaGetReservedNotSupportedValue (uiautomationcore.@)
62 HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value)
64 FIXME("(%p) stub!\n", value);
65 *value = NULL;
66 return S_OK;
69 /***********************************************************************
70 * UiaLookupId (uiautomationcore.@)
72 int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid)
74 FIXME("(%d, %s) stub!\n", type, debugstr_guid(guid));
75 return 1;
78 /***********************************************************************
79 * UiaReturnRawElementProvider (uiautomationcore.@)
81 LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam,
82 LPARAM lParam, IRawElementProviderSimple *elprov)
84 FIXME("(%p, %lx, %lx, %p) stub!\n", hwnd, wParam, lParam, elprov);
85 return 0;
88 /***********************************************************************
89 * UiaRaiseAutomationEvent (uiautomationcore.@)
91 HRESULT WINAPI UiaRaiseAutomationEvent(IRawElementProviderSimple *provider, EVENTID id)
93 FIXME("(%p, %d): stub\n", provider, id);
94 return S_OK;
97 HRESULT WINAPI UiaHostProviderFromHwnd(HWND hwnd, IRawElementProviderSimple **provider)
99 FIXME("(%p, %p): stub\n", hwnd, provider);
100 return E_NOTIMPL;