uiautomationcore: Add UiaLookupId stub.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Andrey Gusev 2017-03-20 15:15:07 +02:00 committed by Alexandre Julliard
parent f21ec7f170
commit c9fcbf14ae
3 changed files with 21 additions and 2 deletions

View File

@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "uiautomationcore.h"
#include "uiautomation.h"
#include "wine/debug.h"
@ -45,3 +45,12 @@ BOOL WINAPI UiaClientsAreListening(void)
FIXME("()\n");
return FALSE;
}
/***********************************************************************
* UiaLookupId (uiautomationcore.@)
*/
int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid)
{
FIXME("(%d, %s) stub!\n", type, debugstr_guid(guid));
return 1;
}

View File

@ -69,7 +69,7 @@
@ stub UiaHUiaNodeFromVariant
@ stub UiaHasServerSideProvider
@ stub UiaHostProviderFromHwnd
@ stub UiaLookupId
@ stdcall UiaLookupId(long ptr)
@ stub UiaNavigate
@ stub UiaNodeFromFocus
@ stub UiaNodeFromHandle

View File

@ -39,6 +39,16 @@ DECLARE_HANDLE(HUIAPATTERNOBJECT);
DECLARE_HANDLE(HUIATEXTRANGE);
DECLARE_HANDLE(HUIAEVENT);
enum AutomationIdentifierType
{
AutomationIdentifierType_Property,
AutomationIdentifierType_Pattern,
AutomationIdentifierType_Event,
AutomationIdentifierType_ControlType,
AutomationIdentifierType_TextAttribute
};
int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid);
BOOL WINAPI UiaPatternRelease(HUIAPATTERNOBJECT hobj);
BOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj);