uiautomationcoreapi.h revision 930b5f872e89407f445d4000d4e4aaecaa6a0998
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync/*
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync * Copyright 2012 Jacek Caban for CodeWeavers
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync *
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync * This library is free software; you can redistribute it and/or
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync * modify it under the terms of the GNU Lesser General Public
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync * License as published by the Free Software Foundation; either
c58f1213e628a545081c70e26c6b67a841cff880vboxsync * version 2.1 of the License, or (at your option) any later version.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync *
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * This library is distributed in the hope that it will be useful,
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * Lesser General Public License for more details.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync *
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * You should have received a copy of the GNU Lesser General Public
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * License along with this library; if not, write to the Free Software
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync */
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync/*
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * a choice of LGPL license versions is made available with the language indicating
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * of the LGPL is applied is otherwise unspecified.
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync */
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#ifndef _INC_UIAUTOMATIONCOREAPI
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#define _INC_UIAUTOMATIONCOREAPI
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#ifdef __cplusplus
7db630a55be9d955c8ac125da609b304cbcc6010vboxsyncextern "C" {
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#endif
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#define UIA_E_ELEMENTNOTENABLED 0x80040200
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#define UIA_E_ELEMENTNOTAVAILABLE 0x80040201
bd53394d08b77c8294f14b32dd26aa4670f888eevboxsync#define UIA_E_NOCLICKABLEPOINT 0x80040202
bd53394d08b77c8294f14b32dd26aa4670f888eevboxsync#define UIA_E_PROXYASSEMBLYNOTLOADED 0x80040203
bd53394d08b77c8294f14b32dd26aa4670f888eevboxsync#define UIA_E_NOTSUPPORTED 0x80040204
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#define UIA_E_INVALIDOPERATION 0x80131509
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#define UIA_E_TIMEOUT 0x80131505
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#define UiaAppendRuntimeId 3
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#define UiaRootObjectId -25
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync
7db630a55be9d955c8ac125da609b304cbcc6010vboxsyncDECLARE_HANDLE(HUIANODE);
7db630a55be9d955c8ac125da609b304cbcc6010vboxsyncDECLARE_HANDLE(HUIAPATTERNOBJECT);
7db630a55be9d955c8ac125da609b304cbcc6010vboxsyncDECLARE_HANDLE(HUIATEXTRANGE);
7db630a55be9d955c8ac125da609b304cbcc6010vboxsyncDECLARE_HANDLE(HUIAEVENT);
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync
7db630a55be9d955c8ac125da609b304cbcc6010vboxsyncBOOL WINAPI UiaPatternRelease(HUIAPATTERNOBJECT hobj);
7db630a55be9d955c8ac125da609b304cbcc6010vboxsyncBOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj);
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#ifdef __cplusplus
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync}
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#endif
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync#endif /* _INC_UIAUTOMATIONCOREAPI */
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync