hidclass.sys: Return STATUS_INVALID_USER_BUFFER if buffer_len is 0.
[wine.git] / dlls / uiautomationcore / uia_main.c
blob42014af6035b3c807811f9b62fef5a27216a188d
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 /***********************************************************************
26 * UiaClientsAreListening (uiautomationcore.@)
28 BOOL WINAPI UiaClientsAreListening(void)
30 FIXME("()\n");
31 return FALSE;
34 /***********************************************************************
35 * UiaGetReservedMixedAttributeValue (uiautomationcore.@)
37 HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value)
39 FIXME("(%p) stub!\n", value);
40 *value = NULL;
41 return S_OK;
44 /***********************************************************************
45 * UiaGetReservedNotSupportedValue (uiautomationcore.@)
47 HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value)
49 FIXME("(%p) stub!\n", value);
50 *value = NULL;
51 return S_OK;
54 /***********************************************************************
55 * UiaLookupId (uiautomationcore.@)
57 int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid)
59 FIXME("(%d, %s) stub!\n", type, debugstr_guid(guid));
60 return 1;
63 /***********************************************************************
64 * UiaReturnRawElementProvider (uiautomationcore.@)
66 LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam,
67 LPARAM lParam, IRawElementProviderSimple *elprov)
69 FIXME("(%p, %lx, %lx, %p) stub!\n", hwnd, wParam, lParam, elprov);
70 return 0;
73 /***********************************************************************
74 * UiaRaiseAutomationEvent (uiautomationcore.@)
76 HRESULT WINAPI UiaRaiseAutomationEvent(IRawElementProviderSimple *provider, EVENTID id)
78 FIXME("(%p, %d): stub\n", provider, id);
79 return S_OK;
82 void WINAPI UiaRegisterProviderCallback(UiaProviderCallback *callback)
84 FIXME("(%p): stub\n", callback);
87 HRESULT WINAPI UiaHostProviderFromHwnd(HWND hwnd, IRawElementProviderSimple **provider)
89 FIXME("(%p, %p): stub\n", hwnd, provider);
90 return E_NOTIMPL;