2 * Copyright 2012 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
20 import
"uiautomationcore.idl";
23 uuid(944de083
-8fb8
-45cf
-bcb7
-c477acb2f897
),
27 library UIAutomationClient
{
28 importlib
("stdole2.tlb");
30 /* FIXME: Uncomment when properly supported in widl
31 [dllname("<no entry points>")]
35 const long UIA_InvokePatternId
= 10000;
36 const long UIA_SelectionPatternId
= 10001;
37 const long UIA_ValuePatternId
= 10002;
38 const long UIA_RangeValuePatternId
= 10003;
39 const long UIA_ScrollPatternId
= 10004;
40 const long UIA_ExpandCollapsePatternId
= 10005;
41 const long UIA_GridPatternId
= 10006;
42 const long UIA_GridItemPatternId
= 10007;
43 const long UIA_MultipleViewPatternId
= 10008;
44 const long UIA_WindowPatternId
= 10009;
45 const long UIA_SelectionItemPatternId
= 10010;
46 const long UIA_DockPatternId
= 10011;
47 const long UIA_TablePatternId
= 10012;
48 const long UIA_TableItemPatternId
= 10013;
49 const long UIA_TextPatternId
= 10014;
50 const long UIA_TogglePatternId
= 10015;
51 const long UIA_TransformPatternId
= 10016;
52 const long UIA_ScrollItemPatternId
= 10017;
53 const long UIA_LegacyIAccessiblePatternId
= 10018;
54 const long UIA_ItemContainerPatternId
= 10019;
55 const long UIA_VirtualizedItemPatternId
= 10020;
56 const long UIA_SynchronizedInputPatternId
= 10021;
57 const long UIA_ObjectModelPatternId
= 10022;
58 const long UIA_AnnotationPatternId
= 10023;
59 const long UIA_TextPattern2Id
= 10024;
60 const long UIA_StylesPatternId
= 10025;
61 const long UIA_SpreadsheetPatternId
= 10026;
62 const long UIA_SpreadsheetItemPatternId
= 10027;
63 const long UIA_TransformPattern2Id
= 10028;
64 const long UIA_TextChildPatternId
= 10029;
65 const long UIA_DragPatternId
= 10030;
66 const long UIA_DropTargetPatternId
= 10031;
67 const long UIA_TextEditPatternId
= 10032;
68 const long UIA_CustomNavigationPatternId
= 10033;
73 /* FIXME: Uncomment when properly supported in widl
74 [dllname("<no entry points>")]
75 module UIA_PropertyIds
78 const long UIA_RuntimeIdPropertyId
= 30000;
79 const long UIA_BoundingRectanglePropertyId
= 30001;
80 const long UIA_ProcessIdPropertyId
= 30002;
81 const long UIA_ControlTypePropertyId
= 30003;
82 const long UIA_LocalizedControlTypePropertyId
= 30004;
83 const long UIA_NamePropertyId
= 30005;
84 const long UIA_AcceleratorKeyPropertyId
= 30006;
85 const long UIA_AccessKeyPropertyId
= 30007;
86 const long UIA_HasKeyboardFocusPropertyId
= 30008;
87 const long UIA_IsKeyboardFocusablePropertyId
= 30009;
88 const long UIA_IsEnabledPropertyId
= 30010;
89 const long UIA_AutomationIdPropertyId
= 30011;
90 const long UIA_ClassNamePropertyId
= 30012;
91 const long UIA_HelpTextPropertyId
= 30013;
92 const long UIA_ClickablePointPropertyId
= 30014;
93 const long UIA_CulturePropertyId
= 30015;
94 const long UIA_IsControlElementPropertyId
= 30016;
95 const long UIA_IsContentElementPropertyId
= 30017;
96 const long UIA_LabeledByPropertyId
= 30018;
97 const long UIA_IsPasswordPropertyId
= 30019;
98 const long UIA_NativeWindowHandlePropertyId
= 30020;
99 const long UIA_ItemTypePropertyId
= 30021;
100 const long UIA_IsOffscreenPropertyId
= 30022;
101 const long UIA_OrientationPropertyId
= 30023;
102 const long UIA_FrameworkIdPropertyId
= 30024;
103 const long UIA_IsRequiredForFormPropertyId
= 30025;
104 const long UIA_ItemStatusPropertyId
= 30026;
105 const long UIA_IsDockPatternAvailablePropertyId
= 30027;
106 const long UIA_IsExpandCollapsePatternAvailablePropertyId
= 30028;
107 const long UIA_IsGridItemPatternAvailablePropertyId
= 30029;
108 const long UIA_IsGridPatternAvailablePropertyId
= 30030;
109 const long UIA_IsInvokePatternAvailablePropertyId
= 30031;
110 const long UIA_IsMultipleViewPatternAvailablePropertyId
= 30032;
111 const long UIA_IsRangeValuePatternAvailablePropertyId
= 30033;
112 const long UIA_IsScrollPatternAvailablePropertyId
= 30034;
113 const long UIA_IsScrollItemPatternAvailablePropertyId
= 30035;
114 const long UIA_IsSelectionItemPatternAvailablePropertyId
= 30036;
115 const long UIA_IsSelectionPatternAvailablePropertyId
= 30037;
116 const long UIA_IsTablePatternAvailablePropertyId
= 30038;
117 const long UIA_IsTableItemPatternAvailablePropertyId
= 30039;
118 const long UIA_IsTextPatternAvailablePropertyId
= 30040;
119 const long UIA_IsTogglePatternAvailablePropertyId
= 30041;
120 const long UIA_IsTransformPatternAvailablePropertyId
= 30042;
121 const long UIA_IsValuePatternAvailablePropertyId
= 30043;
122 const long UIA_IsWindowPatternAvailablePropertyId
= 30044;
123 const long UIA_ValueValuePropertyId
= 30045;
124 const long UIA_ValueIsReadOnlyPropertyId
= 30046;
125 const long UIA_RangeValueValuePropertyId
= 30047;
126 const long UIA_RangeValueIsReadOnlyPropertyId
= 30048;
127 const long UIA_RangeValueMinimumPropertyId
= 30049;
128 const long UIA_RangeValueMaximumPropertyId
= 30050;
129 const long UIA_RangeValueLargeChangePropertyId
= 30051;
130 const long UIA_RangeValueSmallChangePropertyId
= 30052;
131 const long UIA_ScrollHorizontalScrollPercentPropertyId
= 30053;
132 const long UIA_ScrollHorizontalViewSizePropertyId
= 30054;
133 const long UIA_ScrollVerticalScrollPercentPropertyId
= 30055;
134 const long UIA_ScrollVerticalViewSizePropertyId
= 30056;
135 const long UIA_ScrollHorizontallyScrollablePropertyId
= 30057;
136 const long UIA_ScrollVerticallyScrollablePropertyId
= 30058;
137 const long UIA_SelectionSelectionPropertyId
= 30059;
138 const long UIA_SelectionCanSelectMultiplePropertyId
= 30060;
139 const long UIA_SelectionIsSelectionRequiredPropertyId
= 30061;
140 const long UIA_GridRowCountPropertyId
= 30062;
141 const long UIA_GridColumnCountPropertyId
= 30063;
142 const long UIA_GridItemRowPropertyId
= 30064;
143 const long UIA_GridItemColumnPropertyId
= 30065;
144 const long UIA_GridItemRowSpanPropertyId
= 30066;
145 const long UIA_GridItemColumnSpanPropertyId
= 30067;
146 const long UIA_GridItemContainingGridPropertyId
= 30068;
147 const long UIA_DockDockPositionPropertyId
= 30069;
148 const long UIA_ExpandCollapseExpandCollapseStatePropertyId
= 30070;
149 const long UIA_MultipleViewCurrentViewPropertyId
= 30071;
150 const long UIA_MultipleViewSupportedViewsPropertyId
= 30072;
151 const long UIA_WindowCanMaximizePropertyId
= 30073;
152 const long UIA_WindowCanMinimizePropertyId
= 30074;
153 const long UIA_WindowWindowVisualStatePropertyId
= 30075;
154 const long UIA_WindowWindowInteractionStatePropertyId
= 30076;
155 const long UIA_WindowIsModalPropertyId
= 30077;
156 const long UIA_WindowIsTopmostPropertyId
= 30078;
157 const long UIA_SelectionItemIsSelectedPropertyId
= 30079;
158 const long UIA_SelectionItemSelectionContainerPropertyId
= 30080;
159 const long UIA_TableRowHeadersPropertyId
= 30081;
160 const long UIA_TableColumnHeadersPropertyId
= 30082;
161 const long UIA_TableRowOrColumnMajorPropertyId
= 30083;
162 const long UIA_TableItemRowHeaderItemsPropertyId
= 30084;
163 const long UIA_TableItemColumnHeaderItemsPropertyId
= 30085;
164 const long UIA_ToggleToggleStatePropertyId
= 30086;
165 const long UIA_TransformCanMovePropertyId
= 30087;
166 const long UIA_TransformCanResizePropertyId
= 30088;
167 const long UIA_TransformCanRotatePropertyId
= 30089;
168 const long UIA_IsLegacyIAccessiblePatternAvailablePropertyId
= 30090;
169 const long UIA_LegacyIAccessibleChildIdPropertyId
= 30091;
170 const long UIA_LegacyIAccessibleNamePropertyId
= 30092;
171 const long UIA_LegacyIAccessibleValuePropertyId
= 30093;
172 const long UIA_LegacyIAccessibleDescriptionPropertyId
= 30094;
173 const long UIA_LegacyIAccessibleRolePropertyId
= 30095;
174 const long UIA_LegacyIAccessibleStatePropertyId
= 30096;
175 const long UIA_LegacyIAccessibleHelpPropertyId
= 30097;
176 const long UIA_LegacyIAccessibleKeyboardShortcutPropertyId
= 30098;
177 const long UIA_LegacyIAccessibleSelectionPropertyId
= 30099;
178 const long UIA_LegacyIAccessibleDefaultActionPropertyId
= 30100;
179 const long UIA_AriaRolePropertyId
= 30101;
180 const long UIA_AriaPropertiesPropertyId
= 30102;
181 const long UIA_IsDataValidForFormPropertyId
= 30103;
182 const long UIA_ControllerForPropertyId
= 30104;
183 const long UIA_DescribedByPropertyId
= 30105;
184 const long UIA_FlowsToPropertyId
= 30106;
185 const long UIA_ProviderDescriptionPropertyId
= 30107;
186 const long UIA_IsItemContainerPatternAvailablePropertyId
= 30108;
187 const long UIA_IsVirtualizedItemPatternAvailablePropertyId
= 30109;
188 const long UIA_IsSynchronizedInputPatternAvailablePropertyId
= 30110;
189 const long UIA_OptimizeForVisualContentPropertyId
= 30111;
190 const long UIA_IsObjectModelPatternAvailablePropertyId
= 30112;
191 const long UIA_AnnotationAnnotationTypeIdPropertyId
= 30113;
192 const long UIA_AnnotationAnnotationTypeNamePropertyId
= 30114;
193 const long UIA_AnnotationAuthorPropertyId
= 30115;
194 const long UIA_AnnotationDateTimePropertyId
= 30116;
195 const long UIA_AnnotationTargetPropertyId
= 30117;
196 const long UIA_IsAnnotationPatternAvailablePropertyId
= 30118;
197 const long UIA_IsTextPattern2AvailablePropertyId
= 30119;
198 const long UIA_StylesStyleIdPropertyId
= 30120;
199 const long UIA_StylesStyleNamePropertyId
= 30121;
200 const long UIA_StylesFillColorPropertyId
= 30122;
201 const long UIA_StylesFillPatternStylePropertyId
= 30123;
202 const long UIA_StylesShapePropertyId
= 30124;
203 const long UIA_StylesFillPatternColorPropertyId
= 30125;
204 const long UIA_StylesExtendedPropertiesPropertyId
= 30126;
205 const long UIA_IsStylesPatternAvailablePropertyId
= 30127;
206 const long UIA_IsSpreadsheetPatternAvailablePropertyId
= 30128;
207 const long UIA_SpreadsheetItemFormulaPropertyId
= 30129;
208 const long UIA_SpreadsheetItemAnnotationObjectsPropertyId
= 30130;
209 const long UIA_SpreadsheetItemAnnotationTypesPropertyId
= 30131;
210 const long UIA_IsSpreadsheetItemPatternAvailablePropertyId
= 30132;
211 const long UIA_Transform2CanZoomPropertyId
= 30133;
212 const long UIA_IsTransformPattern2AvailablePropertyId
= 30134;
213 const long UIA_LiveSettingPropertyId
= 30135;
214 const long UIA_IsTextChildPatternAvailablePropertyId
= 30136;
215 const long UIA_IsDragPatternAvailablePropertyId
= 30137;
216 const long UIA_DragIsGrabbedPropertyId
= 30138;
217 const long UIA_DragDropEffectPropertyId
= 30139;
218 const long UIA_DragDropEffectsPropertyId
= 30140;
219 const long UIA_IsDropTargetPatternAvailablePropertyId
= 30141;
220 const long UIA_DropTargetDropTargetEffectPropertyId
= 30142;
221 const long UIA_DropTargetDropTargetEffectsPropertyId
= 30143;
222 const long UIA_DragGrabbedItemsPropertyId
= 30144;
223 const long UIA_Transform2ZoomLevelPropertyId
= 30145;
224 const long UIA_Transform2ZoomMinimumPropertyId
= 30146;
225 const long UIA_Transform2ZoomMaximumPropertyId
= 30147;
226 const long UIA_FlowsFromPropertyId
= 30148;
227 const long UIA_IsTextEditPatternAvailablePropertyId
= 30149;
228 const long UIA_IsPeripheralPropertyId
= 30150;
229 const long UIA_IsCustomNavigationPatternAvailablePropertyId
= 30151;
230 const long UIA_PositionInSetPropertyId
= 30152;
231 const long UIA_SizeOfSetPropertyId
= 30153;
232 const long UIA_LevelPropertyId
= 30154;
233 const long UIA_AnnotationTypesPropertyId
= 30155;
234 const long UIA_AnnotationObjectsPropertyId
= 30156;
235 const long UIA_LandmarkTypePropertyId
= 30157;
236 const long UIA_LocalizedLandmarkTypePropertyId
= 30158;
237 const long UIA_FullDescriptionPropertyId
= 30159;
238 const long UIA_FillColorPropertyId
= 30160;
239 const long UIA_OutlineColorPropertyId
= 30161;
240 const long UIA_FillTypePropertyId
= 30162;
241 const long UIA_VisualEffectsPropertyId
= 30163;
242 const long UIA_OutlineThicknessPropertyId
= 30164;
243 const long UIA_CenterPointPropertyId
= 30165;
244 const long UIA_RotationPropertyId
= 30166;
245 const long UIA_SizePropertyId
= 30167;
246 const long UIA_IsSelectionPattern2AvailablePropertyId
= 30168;
247 const long UIA_Selection2FirstSelectedItemPropertyId
= 30169;
248 const long UIA_Selection2LastSelectedItemPropertyId
= 30170;
249 const long UIA_Selection2CurrentSelectedItemPropertyId
= 30171;
250 const long UIA_Selection2ItemCountPropertyId
= 30172;
251 const long UIA_HeadingLevelPropertyId
= 30173;
252 const long UIA_IsDialogPropertyId
= 30174;
256 /* FIXME: Uncomment when properly supported in widl
257 [dllname("<no entry points>")]
258 module UIA_ControlTypeIds
261 const long UIA_ButtonControlTypeId
= 50000;
262 const long UIA_CalendarControlTypeId
= 50001;
263 const long UIA_CheckBoxControlTypeId
= 50002;
264 const long UIA_ComboBoxControlTypeId
= 50003;
265 const long UIA_EditControlTypeId
= 50004;
266 const long UIA_HyperlinkControlTypeId
= 50005;
267 const long UIA_ImageControlTypeId
= 50006;
268 const long UIA_ListItemControlTypeId
= 50007;
269 const long UIA_ListControlTypeId
= 50008;
270 const long UIA_MenuControlTypeId
= 50009;
271 const long UIA_MenuBarControlTypeId
= 50010;
272 const long UIA_MenuItemControlTypeId
= 50011;
273 const long UIA_ProgressBarControlTypeId
= 50012;
274 const long UIA_RadioButtonControlTypeId
= 50013;
275 const long UIA_ScrollBarControlTypeId
= 50014;
276 const long UIA_SliderControlTypeId
= 50015;
277 const long UIA_SpinnerControlTypeId
= 50016;
278 const long UIA_StatusBarControlTypeId
= 50017;
279 const long UIA_TabControlTypeId
= 50018;
280 const long UIA_TabItemControlTypeId
= 50019;
281 const long UIA_TextControlTypeId
= 50020;
282 const long UIA_ToolBarControlTypeId
= 50021;
283 const long UIA_ToolTipControlTypeId
= 50022;
284 const long UIA_TreeControlTypeId
= 50023;
285 const long UIA_TreeItemControlTypeId
= 50024;
286 const long UIA_CustomControlTypeId
= 50025;
287 const long UIA_GroupControlTypeId
= 50026;
288 const long UIA_ThumbControlTypeId
= 50027;
289 const long UIA_DataGridControlTypeId
= 50028;
290 const long UIA_DataItemControlTypeId
= 50029;
291 const long UIA_DocumentControlTypeId
= 50030;
292 const long UIA_SplitButtonControlTypeId
= 50031;
293 const long UIA_WindowControlTypeId
= 50032;
294 const long UIA_PaneControlTypeId
= 50033;
295 const long UIA_HeaderControlTypeId
= 50034;
296 const long UIA_HeaderItemControlTypeId
= 50035;
297 const long UIA_TableControlTypeId
= 50036;
298 const long UIA_TitleBarControlTypeId
= 50037;
299 const long UIA_SeparatorControlTypeId
= 50038;
300 const long UIA_SemanticZoomControlTypeId
= 50039;
301 const long UIA_AppBarControlTypeId
= 50040;