4#ifndef QWINDOWSUIAUTOMATION_H
5#define QWINDOWSUIAUTOMATION_H
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
10#include <uiautomation.h>
12#if defined(__MINGW32__) || defined(__MINGW64__)
14#define UIA_SelectionPattern2Id 10034
15#define UIA_IsReadOnlyAttributeId 40015
16#define UIA_StrikethroughStyleAttributeId 40026
17#define UIA_CaretPositionAttributeId 40038
20 CaretPosition_Unknown = 0,
21 CaretPosition_EndOfLine = 1,
22 CaretPosition_BeginningOfLine = 2
25enum TextDecorationLineStyle {
26 TextDecorationLineStyle_None = 0,
27 TextDecorationLineStyle_Single = 1,
28 TextDecorationLineStyle_WordsOnly = 2,
29 TextDecorationLineStyle_Double = 3,
30 TextDecorationLineStyle_Dot = 4,
31 TextDecorationLineStyle_Dash = 5,
32 TextDecorationLineStyle_DashDot = 6,
33 TextDecorationLineStyle_DashDotDot = 7,
34 TextDecorationLineStyle_Wavy = 8,
35 TextDecorationLineStyle_ThickSingle = 9,
36 TextDecorationLineStyle_DoubleWavy = 11,
37 TextDecorationLineStyle_ThickWavy = 12,
38 TextDecorationLineStyle_LongDash = 13,
39 TextDecorationLineStyle_ThickDash = 14,
40 TextDecorationLineStyle_ThickDashDot = 15,
41 TextDecorationLineStyle_ThickDashDotDot = 16,
42 TextDecorationLineStyle_ThickDot = 17,
43 TextDecorationLineStyle_ThickLongDash = 18,
44 TextDecorationLineStyle_Other = -1
47BOOL WINAPI UiaClientsAreListening();
49#ifndef __ISelectionProvider2_INTERFACE_DEFINED__
50#define __ISelectionProvider2_INTERFACE_DEFINED__
51DEFINE_GUID(IID_ISelectionProvider2, 0x14f68475, 0xee1c, 0x44f6, 0xa8, 0x69, 0xd2, 0x39, 0x38, 0x1f, 0x0f, 0xe7);
52MIDL_INTERFACE(
"14f68475-ee1c-44f6-a869-d239381f0fe7")
53ISelectionProvider2 : public ISelectionProvider
56 virtual HRESULT STDMETHODCALLTYPE get_FirstSelectedItem(__RPC__deref_out_opt IRawElementProviderSimple **retVal) = 0;
57 virtual HRESULT STDMETHODCALLTYPE get_LastSelectedItem(__RPC__deref_out_opt IRawElementProviderSimple **retVal) = 0;
58 virtual HRESULT STDMETHODCALLTYPE get_CurrentSelectedItem(__RPC__deref_out_opt IRawElementProviderSimple **retVal) = 0;
59 virtual HRESULT STDMETHODCALLTYPE get_ItemCount(__RPC__out
int *retVal) = 0;
62__CRT_UUID_DECL(ISelectionProvider2, 0x14f68475, 0xee1c, 0x44f6, 0xa8, 0x69, 0xd2, 0x39, 0x38, 0x1f, 0x0f, 0xe7)
DEFINE_GUID(IID_IMFVideoProcessor, 0x6AB0000C, 0xFECE, 0x4d1f, 0xA2, 0xAC, 0xA9, 0x57, 0x35, 0x30, 0x65, 0x6E)