uiautomationclient.idl 18 KB

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