| 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 |
|
| 19 |
#define DO_NO_IMPORTS |
| 20 |
import "uiautomationcore.idl"; |
| 21 |
|
| 22 |
cpp_quote( "#ifndef _INC_UIAUTOMATIONCOREAPI" ) |
| 23 |
|
| 24 |
enum TreeScope { |
| 25 |
TreeScope_Element = 0x01, |
| 26 |
TreeScope_Children = 0x02, |
| 27 |
TreeScope_Descendants = 0x04, |
| 28 |
TreeScope_Parent = 0x08, |
| 29 |
TreeScope_Ancestors = 0x10, |
| 30 |
TreeScope_Subtree = TreeScope_Element | TreeScope_Children | TreeScope_Descendants, |
| 31 |
}; |
| 32 |
|
| 33 |
enum PropertyConditionFlags { |
| 34 |
PropertyConditionFlags_None = 0x00, |
| 35 |
PropertyConditionFlags_IgnoreCase = 0x01, |
| 36 |
}; |
| 37 |
|
| 38 |
enum AutomationElementMode { |
| 39 |
AutomationElementMode_None = 0x00, |
| 40 |
AutomationElementMode_Full = 0x01, |
| 41 |
}; |
| 42 |
|
| 43 |
enum TreeTraversalOptions { |
| 44 |
TreeTraversalOptions_Default = 0x00, |
| 45 |
TreeTraversalOptions_PostOrder = 0x01, |
| 46 |
TreeTraversalOptions_LastToFirstOrder = 0x02, |
| 47 |
}; |
| 48 |
|
| 49 |
enum ConnectionRecoveryBehaviorOptions { |
| 50 |
ConnectionRecoveryBehaviorOptions_Disabled = 0x00, |
| 51 |
ConnectionRecoveryBehaviorOptions_Enabled = 0x01, |
| 52 |
}; |
| 53 |
|
| 54 |
enum CoalesceEventsOptions { |
| 55 |
CoalesceEventsOptions_Disabled = 0x00, |
| 56 |
CoalesceEventsOptions_Enabled = 0x01, |
| 57 |
}; |
| 58 |
|
| 59 |
cpp_quote( "#endif" ) |
| 60 |
|
| 61 |
struct ExtendedProperty |
| 62 |
{ |
| 63 |
BSTR PropertyName; |
| 64 |
BSTR PropertyValue; |
| 65 |
}; |
| 66 |
|
| 67 |
typedef void * UIA_HWND; |
| 68 |
|
| 69 |
[ |
| 70 |
uuid(944de083-8fb8-45cf-bcb7-c477acb2f897), |
| 71 |
lcid(0), |
| 72 |
id(2), |
| 73 |
version(1.0) |
| 74 |
] |
| 75 |
library UIAutomationClient { |
| 76 |
importlib ("stdole2.tlb"); |
| 77 |
|
| 78 |
[dllname("<no entry points>")] |
| 79 |
module UIA_PatternIds |
| 80 |
{ |
| 81 |
const long UIA_InvokePatternId = 10000; |
| 82 |
const long UIA_SelectionPatternId = 10001; |
| 83 |
const long UIA_ValuePatternId = 10002; |
| 84 |
const long UIA_RangeValuePatternId = 10003; |
| 85 |
const long UIA_ScrollPatternId = 10004; |
| 86 |
const long UIA_ExpandCollapsePatternId = 10005; |
| 87 |
const long UIA_GridPatternId = 10006; |
| 88 |
const long UIA_GridItemPatternId = 10007; |
| 89 |
const long UIA_MultipleViewPatternId = 10008; |
| 90 |
const long UIA_WindowPatternId = 10009; |
| 91 |
const long UIA_SelectionItemPatternId = 10010; |
| 92 |
const long UIA_DockPatternId = 10011; |
| 93 |
const long UIA_TablePatternId = 10012; |
| 94 |
const long UIA_TableItemPatternId = 10013; |
| 95 |
const long UIA_TextPatternId = 10014; |
| 96 |
const long UIA_TogglePatternId = 10015; |
| 97 |
const long UIA_TransformPatternId = 10016; |
| 98 |
const long UIA_ScrollItemPatternId = 10017; |
| 99 |
const long UIA_LegacyIAccessiblePatternId = 10018; |
| 100 |
const long UIA_ItemContainerPatternId = 10019; |
| 101 |
const long UIA_VirtualizedItemPatternId = 10020; |
| 102 |
const long UIA_SynchronizedInputPatternId = 10021; |
| 103 |
const long UIA_ObjectModelPatternId = 10022; |
| 104 |
const long UIA_AnnotationPatternId = 10023; |
| 105 |
const long UIA_TextPattern2Id = 10024; |
| 106 |
const long UIA_StylesPatternId = 10025; |
| 107 |
const long UIA_SpreadsheetPatternId = 10026; |
| 108 |
const long UIA_SpreadsheetItemPatternId = 10027; |
| 109 |
const long UIA_TransformPattern2Id = 10028; |
| 110 |
const long UIA_TextChildPatternId = 10029; |
| 111 |
const long UIA_DragPatternId = 10030; |
| 112 |
const long UIA_DropTargetPatternId = 10031; |
| 113 |
const long UIA_TextEditPatternId = 10032; |
| 114 |
const long UIA_CustomNavigationPatternId = 10033; |
| 115 |
} |
| 116 |
|
| 117 |
[dllname("<no entry points>")] |
| 118 |
module UIA_EventIds |
| 119 |
{ |
| 120 |
const long UIA_ToolTipOpenedEventId = 20000; |
| 121 |
const long UIA_ToolTipClosedEventId = 20001; |
| 122 |
const long UIA_StructureChangedEventId = 20002; |
| 123 |
const long UIA_MenuOpenedEventId = 20003; |
| 124 |
const long UIA_AutomationPropertyChangedEventId = 20004; |
| 125 |
const long UIA_AutomationFocusChangedEventId = 20005; |
| 126 |
const long UIA_AsyncContentLoadedEventId = 20006; |
| 127 |
const long UIA_MenuClosedEventId = 20007; |
| 128 |
const long UIA_LayoutInvalidatedEventId = 20008; |
| 129 |
const long UIA_Invoke_InvokedEventId = 20009; |
| 130 |
const long UIA_SelectionItem_ElementAddedToSelectionEventId = 20010; |
| 131 |
const long UIA_SelectionItem_ElementRemovedFromSelectionEventId = 20011; |
| 132 |
const long UIA_SelectionItem_ElementSelectedEventId= 20012; |
| 133 |
const long UIA_Selection_InvalidatedEventId = 20013; |
| 134 |
const long UIA_Text_TextSelectionChangedEventId = 20014; |
| 135 |
const long UIA_Text_TextChangedEventId = 20015; |
| 136 |
const long UIA_Window_WindowOpenedEventId = 20016; |
| 137 |
const long UIA_Window_WindowClosedEventId = 20017; |
| 138 |
const long UIA_MenuModeStartEventId = 20018; |
| 139 |
const long UIA_MenuModeEndEventId = 20019; |
| 140 |
const long UIA_InputReachedTargetEventId = 20020; |
| 141 |
const long UIA_InputReachedOtherElementEventId = 20021; |
| 142 |
const long UIA_InputDiscardedEventId = 20022; |
| 143 |
const long UIA_SystemAlertEventId = 20023; |
| 144 |
const long UIA_LiveRegionChangedEventId = 20024; |
| 145 |
const long UIA_HostedFragmentRootsInvalidatedEventId = 20025; |
| 146 |
const long UIA_Drag_DragStartEventId = 20026; |
| 147 |
const long UIA_Drag_DragCancelEventId = 20027; |
| 148 |
const long UIA_Drag_DragCompleteEventId = 20028; |
| 149 |
const long UIA_DropTarget_DragEnterEventId = 20029; |
| 150 |
const long UIA_DropTarget_DragLeaveEventId = 20030; |
| 151 |
const long UIA_DropTarget_DroppedEventId = 20031; |
| 152 |
const long UIA_TextEdit_TextChangedEventId = 20032; |
| 153 |
const long UIA_TextEdit_ConversionTargetChangedEventId = 20033; |
| 154 |
const long UIA_ChangesEventId = 20034; |
| 155 |
const long UIA_NotificationEventId = 20035; |
| 156 |
} |
| 157 |
|
| 158 |
[dllname("<no entry points>")] |
| 159 |
module UIA_PropertyIds |
| 160 |
{ |
| 161 |
const long UIA_RuntimeIdPropertyId = 30000; |
| 162 |
const long UIA_BoundingRectanglePropertyId = 30001; |
| 163 |
const long UIA_ProcessIdPropertyId = 30002; |
| 164 |
const long UIA_ControlTypePropertyId = 30003; |
| 165 |
const long UIA_LocalizedControlTypePropertyId = 30004; |
| 166 |
const long UIA_NamePropertyId = 30005; |
| 167 |
const long UIA_AcceleratorKeyPropertyId = 30006; |
| 168 |
const long UIA_AccessKeyPropertyId = 30007; |
| 169 |
const long UIA_HasKeyboardFocusPropertyId = 30008; |
| 170 |
const long UIA_IsKeyboardFocusablePropertyId = 30009; |
| 171 |
const long UIA_IsEnabledPropertyId = 30010; |
| 172 |
const long UIA_AutomationIdPropertyId = 30011; |
| 173 |
const long UIA_ClassNamePropertyId = 30012; |
| 174 |
const long UIA_HelpTextPropertyId = 30013; |
| 175 |
const long UIA_ClickablePointPropertyId = 30014; |
| 176 |
const long UIA_CulturePropertyId = 30015; |
| 177 |
const long UIA_IsControlElementPropertyId = 30016; |
| 178 |
const long UIA_IsContentElementPropertyId = 30017; |
| 179 |
const long UIA_LabeledByPropertyId = 30018; |
| 180 |
const long UIA_IsPasswordPropertyId = 30019; |
| 181 |
const long UIA_NativeWindowHandlePropertyId = 30020; |
| 182 |
const long UIA_ItemTypePropertyId = 30021; |
| 183 |
const long UIA_IsOffscreenPropertyId = 30022; |
| 184 |
const long UIA_OrientationPropertyId = 30023; |
| 185 |
const long UIA_FrameworkIdPropertyId = 30024; |
| 186 |
const long UIA_IsRequiredForFormPropertyId = 30025; |
| 187 |
const long UIA_ItemStatusPropertyId = 30026; |
| 188 |
const long UIA_IsDockPatternAvailablePropertyId = 30027; |
| 189 |
const long UIA_IsExpandCollapsePatternAvailablePropertyId = 30028; |
| 190 |
const long UIA_IsGridItemPatternAvailablePropertyId = 30029; |
| 191 |
const long UIA_IsGridPatternAvailablePropertyId = 30030; |
| 192 |
const long UIA_IsInvokePatternAvailablePropertyId = 30031; |
| 193 |
const long UIA_IsMultipleViewPatternAvailablePropertyId = 30032; |
| 194 |
const long UIA_IsRangeValuePatternAvailablePropertyId = 30033; |
| 195 |
const long UIA_IsScrollPatternAvailablePropertyId = 30034; |
| 196 |
const long UIA_IsScrollItemPatternAvailablePropertyId = 30035; |
| 197 |
const long UIA_IsSelectionItemPatternAvailablePropertyId = 30036; |
| 198 |
const long UIA_IsSelectionPatternAvailablePropertyId = 30037; |
| 199 |
const long UIA_IsTablePatternAvailablePropertyId = 30038; |
| 200 |
const long UIA_IsTableItemPatternAvailablePropertyId = 30039; |
| 201 |
const long UIA_IsTextPatternAvailablePropertyId = 30040; |
| 202 |
const long UIA_IsTogglePatternAvailablePropertyId = 30041; |
| 203 |
const long UIA_IsTransformPatternAvailablePropertyId = 30042; |
| 204 |
const long UIA_IsValuePatternAvailablePropertyId = 30043; |
| 205 |
const long UIA_IsWindowPatternAvailablePropertyId = 30044; |
| 206 |
const long UIA_ValueValuePropertyId = 30045; |
| 207 |
const long UIA_ValueIsReadOnlyPropertyId = 30046; |
| 208 |
const long UIA_RangeValueValuePropertyId = 30047; |
| 209 |
const long UIA_RangeValueIsReadOnlyPropertyId = 30048; |
| 210 |
const long UIA_RangeValueMinimumPropertyId = 30049; |
| 211 |
const long UIA_RangeValueMaximumPropertyId = 30050; |
| 212 |
const long UIA_RangeValueLargeChangePropertyId = 30051; |
| 213 |
const long UIA_RangeValueSmallChangePropertyId = 30052; |
| 214 |
const long UIA_ScrollHorizontalScrollPercentPropertyId = 30053; |
| 215 |
const long UIA_ScrollHorizontalViewSizePropertyId = 30054; |
| 216 |
const long UIA_ScrollVerticalScrollPercentPropertyId = 30055; |
| 217 |
const long UIA_ScrollVerticalViewSizePropertyId = 30056; |
| 218 |
const long UIA_ScrollHorizontallyScrollablePropertyId = 30057; |
| 219 |
const long UIA_ScrollVerticallyScrollablePropertyId = 30058; |
| 220 |
const long UIA_SelectionSelectionPropertyId = 30059; |
| 221 |
const long UIA_SelectionCanSelectMultiplePropertyId = 30060; |
| 222 |
const long UIA_SelectionIsSelectionRequiredPropertyId = 30061; |
| 223 |
const long UIA_GridRowCountPropertyId = 30062; |
| 224 |
const long UIA_GridColumnCountPropertyId = 30063; |
| 225 |
const long UIA_GridItemRowPropertyId = 30064; |
| 226 |
const long UIA_GridItemColumnPropertyId = 30065; |
| 227 |
const long UIA_GridItemRowSpanPropertyId = 30066; |
| 228 |
const long UIA_GridItemColumnSpanPropertyId = 30067; |
| 229 |
const long UIA_GridItemContainingGridPropertyId = 30068; |
| 230 |
const long UIA_DockDockPositionPropertyId = 30069; |
| 231 |
const long UIA_ExpandCollapseExpandCollapseStatePropertyId = 30070; |
| 232 |
const long UIA_MultipleViewCurrentViewPropertyId = 30071; |
| 233 |
const long UIA_MultipleViewSupportedViewsPropertyId = 30072; |
| 234 |
const long UIA_WindowCanMaximizePropertyId = 30073; |
| 235 |
const long UIA_WindowCanMinimizePropertyId = 30074; |
| 236 |
const long UIA_WindowWindowVisualStatePropertyId = 30075; |
| 237 |
const long UIA_WindowWindowInteractionStatePropertyId = 30076; |
| 238 |
const long UIA_WindowIsModalPropertyId = 30077; |
| 239 |
const long UIA_WindowIsTopmostPropertyId = 30078; |
| 240 |
const long UIA_SelectionItemIsSelectedPropertyId = 30079; |
| 241 |
const long UIA_SelectionItemSelectionContainerPropertyId = 30080; |
| 242 |
const long UIA_TableRowHeadersPropertyId = 30081; |
| 243 |
const long UIA_TableColumnHeadersPropertyId = 30082; |
| 244 |
const long UIA_TableRowOrColumnMajorPropertyId = 30083; |
| 245 |
const long UIA_TableItemRowHeaderItemsPropertyId = 30084; |
| 246 |
const long UIA_TableItemColumnHeaderItemsPropertyId = 30085; |
| 247 |
const long UIA_ToggleToggleStatePropertyId = 30086; |
| 248 |
const long UIA_TransformCanMovePropertyId = 30087; |
| 249 |
const long UIA_TransformCanResizePropertyId = 30088; |
| 250 |
const long UIA_TransformCanRotatePropertyId = 30089; |
| 251 |
const long UIA_IsLegacyIAccessiblePatternAvailablePropertyId = 30090; |
| 252 |
const long UIA_LegacyIAccessibleChildIdPropertyId = 30091; |
| 253 |
const long UIA_LegacyIAccessibleNamePropertyId = 30092; |
| 254 |
const long UIA_LegacyIAccessibleValuePropertyId = 30093; |
| 255 |
const long UIA_LegacyIAccessibleDescriptionPropertyId = 30094; |
| 256 |
const long UIA_LegacyIAccessibleRolePropertyId = 30095; |
| 257 |
const long UIA_LegacyIAccessibleStatePropertyId = 30096; |
| 258 |
const long UIA_LegacyIAccessibleHelpPropertyId = 30097; |
| 259 |
const long UIA_LegacyIAccessibleKeyboardShortcutPropertyId = 30098; |
| 260 |
const long UIA_LegacyIAccessibleSelectionPropertyId = 30099; |
| 261 |
const long UIA_LegacyIAccessibleDefaultActionPropertyId = 30100; |
| 262 |
const long UIA_AriaRolePropertyId = 30101; |
| 263 |
const long UIA_AriaPropertiesPropertyId = 30102; |
| 264 |
const long UIA_IsDataValidForFormPropertyId = 30103; |
| 265 |
const long UIA_ControllerForPropertyId = 30104; |
| 266 |
const long UIA_DescribedByPropertyId = 30105; |
| 267 |
const long UIA_FlowsToPropertyId = 30106; |
| 268 |
const long UIA_ProviderDescriptionPropertyId = 30107; |
| 269 |
const long UIA_IsItemContainerPatternAvailablePropertyId = 30108; |
| 270 |
const long UIA_IsVirtualizedItemPatternAvailablePropertyId = 30109; |
| 271 |
const long UIA_IsSynchronizedInputPatternAvailablePropertyId = 30110; |
| 272 |
const long UIA_OptimizeForVisualContentPropertyId = 30111; |
| 273 |
const long UIA_IsObjectModelPatternAvailablePropertyId = 30112; |
| 274 |
const long UIA_AnnotationAnnotationTypeIdPropertyId = 30113; |
| 275 |
const long UIA_AnnotationAnnotationTypeNamePropertyId = 30114; |
| 276 |
const long UIA_AnnotationAuthorPropertyId = 30115; |
| 277 |
const long UIA_AnnotationDateTimePropertyId = 30116; |
| 278 |
const long UIA_AnnotationTargetPropertyId = 30117; |
| 279 |
const long UIA_IsAnnotationPatternAvailablePropertyId = 30118; |
| 280 |
const long UIA_IsTextPattern2AvailablePropertyId = 30119; |
| 281 |
const long UIA_StylesStyleIdPropertyId = 30120; |
| 282 |
const long UIA_StylesStyleNamePropertyId = 30121; |
| 283 |
const long UIA_StylesFillColorPropertyId = 30122; |
| 284 |
const long UIA_StylesFillPatternStylePropertyId = 30123; |
| 285 |
const long UIA_StylesShapePropertyId = 30124; |
| 286 |
const long UIA_StylesFillPatternColorPropertyId = 30125; |
| 287 |
const long UIA_StylesExtendedPropertiesPropertyId = 30126; |
| 288 |
const long UIA_IsStylesPatternAvailablePropertyId = 30127; |
| 289 |
const long UIA_IsSpreadsheetPatternAvailablePropertyId = 30128; |
| 290 |
const long UIA_SpreadsheetItemFormulaPropertyId = 30129; |
| 291 |
const long UIA_SpreadsheetItemAnnotationObjectsPropertyId = 30130; |
| 292 |
const long UIA_SpreadsheetItemAnnotationTypesPropertyId = 30131; |
| 293 |
const long UIA_IsSpreadsheetItemPatternAvailablePropertyId = 30132; |
| 294 |
const long UIA_Transform2CanZoomPropertyId = 30133; |
| 295 |
const long UIA_IsTransformPattern2AvailablePropertyId = 30134; |
| 296 |
const long UIA_LiveSettingPropertyId = 30135; |
| 297 |
const long UIA_IsTextChildPatternAvailablePropertyId = 30136; |
| 298 |
const long UIA_IsDragPatternAvailablePropertyId = 30137; |
| 299 |
const long UIA_DragIsGrabbedPropertyId = 30138; |
| 300 |
const long UIA_DragDropEffectPropertyId = 30139; |
| 301 |
const long UIA_DragDropEffectsPropertyId = 30140; |
| 302 |
const long UIA_IsDropTargetPatternAvailablePropertyId = 30141; |
| 303 |
const long UIA_DropTargetDropTargetEffectPropertyId = 30142; |
| 304 |
const long UIA_DropTargetDropTargetEffectsPropertyId = 30143; |
| 305 |
const long UIA_DragGrabbedItemsPropertyId = 30144; |
| 306 |
const long UIA_Transform2ZoomLevelPropertyId = 30145; |
| 307 |
const long UIA_Transform2ZoomMinimumPropertyId = 30146; |
| 308 |
const long UIA_Transform2ZoomMaximumPropertyId = 30147; |
| 309 |
const long UIA_FlowsFromPropertyId = 30148; |
| 310 |
const long UIA_IsTextEditPatternAvailablePropertyId = 30149; |
| 311 |
const long UIA_IsPeripheralPropertyId = 30150; |
| 312 |
const long UIA_IsCustomNavigationPatternAvailablePropertyId = 30151; |
| 313 |
const long UIA_PositionInSetPropertyId = 30152; |
| 314 |
const long UIA_SizeOfSetPropertyId = 30153; |
| 315 |
const long UIA_LevelPropertyId = 30154; |
| 316 |
const long UIA_AnnotationTypesPropertyId = 30155; |
| 317 |
const long UIA_AnnotationObjectsPropertyId = 30156; |
| 318 |
const long UIA_LandmarkTypePropertyId = 30157; |
| 319 |
const long UIA_LocalizedLandmarkTypePropertyId = 30158; |
| 320 |
const long UIA_FullDescriptionPropertyId = 30159; |
| 321 |
const long UIA_FillColorPropertyId = 30160; |
| 322 |
const long UIA_OutlineColorPropertyId = 30161; |
| 323 |
const long UIA_FillTypePropertyId = 30162; |
| 324 |
const long UIA_VisualEffectsPropertyId = 30163; |
| 325 |
const long UIA_OutlineThicknessPropertyId = 30164; |
| 326 |
const long UIA_CenterPointPropertyId = 30165; |
| 327 |
const long UIA_RotationPropertyId = 30166; |
| 328 |
const long UIA_SizePropertyId = 30167; |
| 329 |
const long UIA_IsSelectionPattern2AvailablePropertyId = 30168; |
| 330 |
const long UIA_Selection2FirstSelectedItemPropertyId = 30169; |
| 331 |
const long UIA_Selection2LastSelectedItemPropertyId = 30170; |
| 332 |
const long UIA_Selection2CurrentSelectedItemPropertyId = 30171; |
| 333 |
const long UIA_Selection2ItemCountPropertyId = 30172; |
| 334 |
const long UIA_HeadingLevelPropertyId = 30173; |
| 335 |
const long UIA_IsDialogPropertyId = 30174; |
| 336 |
} |
| 337 |
|
| 338 |
[dllname("<no entry points>")] |
| 339 |
module UIA_TextAttributeIds |
| 340 |
{ |
| 341 |
const long UIA_AnimationStyleAttributeId = 40000; |
| 342 |
const long UIA_BackgroundColorAttributeId = 40001; |
| 343 |
const long UIA_BulletStyleAttributeId = 40002; |
| 344 |
const long UIA_CapStyleAttributeId = 40003; |
| 345 |
const long UIA_CultureAttributeId = 40004; |
| 346 |
const long UIA_FontNameAttributeId = 40005; |
| 347 |
const long UIA_FontSizeAttributeId = 40006; |
| 348 |
const long UIA_FontWeightAttributeId = 40007; |
| 349 |
const long UIA_ForegroundColorAttributeId = 40008; |
| 350 |
const long UIA_HorizontalTextAlignmentAttributeId = 40009; |
| 351 |
const long UIA_IndentationFirstLineAttributeId = 40010; |
| 352 |
const long UIA_IndentationLeadingAttributeId = 40011; |
| 353 |
const long UIA_IndentationTrailingAttributeId = 40012; |
| 354 |
const long UIA_IsHiddenAttributeId = 40013; |
| 355 |
const long UIA_IsItalicAttributeId = 40014; |
| 356 |
const long UIA_IsReadOnlyAttributeId = 40015; |
| 357 |
const long UIA_IsSubscriptAttributeId = 40016; |
| 358 |
const long UIA_IsSuperscriptAttributeId = 40017; |
| 359 |
const long UIA_MarginBottomAttributeId = 40018; |
| 360 |
const long UIA_MarginLeadingAttributeId = 40019; |
| 361 |
const long UIA_MarginTopAttributeId = 40020; |
| 362 |
const long UIA_MarginTrailingAttributeId = 40021; |
| 363 |
const long UIA_OutlineStylesAttributeId = 40022; |
| 364 |
const long UIA_OverlineColorAttributeId = 40023; |
| 365 |
const long UIA_OverlineStyleAttributeId = 40024; |
| 366 |
const long UIA_StrikethroughColorAttributeId = 40025; |
| 367 |
const long UIA_StrikethroughStyleAttributeId = 40026; |
| 368 |
const long UIA_TabsAttributeId = 40027; |
| 369 |
const long UIA_TextFlowDirectionsAttributeId = 40028; |
| 370 |
const long UIA_UnderlineColorAttributeId = 40029; |
| 371 |
const long UIA_UnderlineStyleAttributeId = 40030; |
| 372 |
const long UIA_AnnotationTypesAttributeId = 40031; |
| 373 |
const long UIA_AnnotationObjectsAttributeId = 40032; |
| 374 |
const long UIA_StyleNameAttributeId = 40033; |
| 375 |
const long UIA_StyleIdAttributeId = 40034; |
| 376 |
const long UIA_LinkAttributeId = 40035; |
| 377 |
const long UIA_IsActiveAttributeId = 40036; |
| 378 |
const long UIA_SelectionActiveEndAttributeId = 40037; |
| 379 |
const long UIA_CaretPositionAttributeId = 40038; |
| 380 |
const long UIA_CaretBidiModeAttributeId = 40039; |
| 381 |
const long UIA_LineSpacingAttributeId = 40040; |
| 382 |
const long UIA_BeforeParagraphSpacingAttributeId = 40041; |
| 383 |
const long UIA_AfterParagraphSpacingAttributeId = 40042; |
| 384 |
const long UIA_SayAsInterpretAsAttributeId = 40043; |
| 385 |
} |
| 386 |
|
| 387 |
[dllname("<no entry points>")] |
| 388 |
module UIA_ControlTypeIds |
| 389 |
{ |
| 390 |
const long UIA_ButtonControlTypeId = 50000; |
| 391 |
const long UIA_CalendarControlTypeId = 50001; |
| 392 |
const long UIA_CheckBoxControlTypeId = 50002; |
| 393 |
const long UIA_ComboBoxControlTypeId = 50003; |
| 394 |
const long UIA_EditControlTypeId = 50004; |
| 395 |
const long UIA_HyperlinkControlTypeId = 50005; |
| 396 |
const long UIA_ImageControlTypeId = 50006; |
| 397 |
const long UIA_ListItemControlTypeId = 50007; |
| 398 |
const long UIA_ListControlTypeId = 50008; |
| 399 |
const long UIA_MenuControlTypeId = 50009; |
| 400 |
const long UIA_MenuBarControlTypeId = 50010; |
| 401 |
const long UIA_MenuItemControlTypeId = 50011; |
| 402 |
const long UIA_ProgressBarControlTypeId = 50012; |
| 403 |
const long UIA_RadioButtonControlTypeId = 50013; |
| 404 |
const long UIA_ScrollBarControlTypeId = 50014; |
| 405 |
const long UIA_SliderControlTypeId = 50015; |
| 406 |
const long UIA_SpinnerControlTypeId = 50016; |
| 407 |
const long UIA_StatusBarControlTypeId = 50017; |
| 408 |
const long UIA_TabControlTypeId = 50018; |
| 409 |
const long UIA_TabItemControlTypeId = 50019; |
| 410 |
const long UIA_TextControlTypeId = 50020; |
| 411 |
const long UIA_ToolBarControlTypeId = 50021; |
| 412 |
const long UIA_ToolTipControlTypeId = 50022; |
| 413 |
const long UIA_TreeControlTypeId = 50023; |
| 414 |
const long UIA_TreeItemControlTypeId = 50024; |
| 415 |
const long UIA_CustomControlTypeId = 50025; |
| 416 |
const long UIA_GroupControlTypeId = 50026; |
| 417 |
const long UIA_ThumbControlTypeId = 50027; |
| 418 |
const long UIA_DataGridControlTypeId = 50028; |
| 419 |
const long UIA_DataItemControlTypeId = 50029; |
| 420 |
const long UIA_DocumentControlTypeId = 50030; |
| 421 |
const long UIA_SplitButtonControlTypeId = 50031; |
| 422 |
const long UIA_WindowControlTypeId = 50032; |
| 423 |
const long UIA_PaneControlTypeId = 50033; |
| 424 |
const long UIA_HeaderControlTypeId = 50034; |
| 425 |
const long UIA_HeaderItemControlTypeId = 50035; |
| 426 |
const long UIA_TableControlTypeId = 50036; |
| 427 |
const long UIA_TitleBarControlTypeId = 50037; |
| 428 |
const long UIA_SeparatorControlTypeId = 50038; |
| 429 |
const long UIA_SemanticZoomControlTypeId = 50039; |
| 430 |
const long UIA_AppBarControlTypeId = 50040; |
| 431 |
} |
| 432 |
|
| 433 |
[dllname("<no entry points>")] |
| 434 |
module UIA_AnnotationTypes |
| 435 |
{ |
| 436 |
const long AnnotationType_Unknown = 60000; |
| 437 |
const long AnnotationType_SpellingError = 60001; |
| 438 |
const long AnnotationType_GrammarError = 60002; |
| 439 |
const long AnnotationType_Comment = 60003; |
| 440 |
const long AnnotationType_FormulaError = 60004; |
| 441 |
const long AnnotationType_TrackChanges = 60005; |
| 442 |
const long AnnotationType_Header = 60006; |
| 443 |
const long AnnotationType_Footer = 60007; |
| 444 |
const long AnnotationType_Highlighted = 60008; |
| 445 |
const long AnnotationType_Endnote = 60009; |
| 446 |
const long AnnotationType_Footnote = 60010; |
| 447 |
const long AnnotationType_InsertionChange = 60011; |
| 448 |
const long AnnotationType_DeletionChange = 60012; |
| 449 |
const long AnnotationType_MoveChange = 60013; |
| 450 |
const long AnnotationType_FormatChange = 60014; |
| 451 |
const long AnnotationType_UnsyncedChange = 60015; |
| 452 |
const long AnnotationType_EditingLockedChange = 60016; |
| 453 |
const long AnnotationType_ExternalChange = 60017; |
| 454 |
const long AnnotationType_ConflictingChange = 60018; |
| 455 |
const long AnnotationType_Author = 60019; |
| 456 |
const long AnnotationType_AdvancedProofingIssue = 60020; |
| 457 |
const long AnnotationType_DataValidationError = 60021; |
| 458 |
const long AnnotationType_CircularReferenceError = 60022; |
| 459 |
const long AnnotationType_Mathematics = 60023; |
| 460 |
const long AnnotationType_Sensitive = 60024; |
| 461 |
} |
| 462 |
|
| 463 |
[dllname("<no entry points>")] |
| 464 |
module UIA_StyleIds |
| 465 |
{ |
| 466 |
const long StyleId_Custom = 70000; |
| 467 |
const long StyleId_Heading1 = 70001; |
| 468 |
const long StyleId_Heading2 = 70002; |
| 469 |
const long StyleId_Heading3 = 70003; |
| 470 |
const long StyleId_Heading4 = 70004; |
| 471 |
const long StyleId_Heading5 = 70005; |
| 472 |
const long StyleId_Heading6 = 70006; |
| 473 |
const long StyleId_Heading7 = 70007; |
| 474 |
const long StyleId_Heading8 = 70008; |
| 475 |
const long StyleId_Heading9 = 70009; |
| 476 |
const long StyleId_Title = 70010; |
| 477 |
const long StyleId_Subtitle = 70011; |
| 478 |
const long StyleId_Normal = 70012; |
| 479 |
const long StyleId_Emphasis = 70013; |
| 480 |
const long StyleId_Quote = 70014; |
| 481 |
const long StyleId_BulletedList = 70015; |
| 482 |
const long StyleId_NumberedList = 70016; |
| 483 |
} |
| 484 |
|
| 485 |
[dllname("<no entry points>")] |
| 486 |
module UIA_LandmarkTypeIds |
| 487 |
{ |
| 488 |
const long UIA_CustomLandmarkTypeId = 80000; |
| 489 |
const long UIA_FormLandmarkTypeId = 80001; |
| 490 |
const long UIA_MainLandmarkTypeId = 80002; |
| 491 |
const long UIA_NavigationLandmarkTypeId = 80003; |
| 492 |
const long UIA_SearchLandmarkTypeId = 80004; |
| 493 |
} |
| 494 |
|
| 495 |
interface IUIAutomationElement; |
| 496 |
interface IUIAutomationElementArray; |
| 497 |
|
| 498 |
[ |
| 499 |
object, |
| 500 |
uuid(352ffba8-0973-437c-a61f-f64cafd81df9), |
| 501 |
pointer_default(unique) |
| 502 |
] |
| 503 |
interface IUIAutomationCondition : IUnknown |
| 504 |
{ |
| 505 |
} |
| 506 |
|
| 507 |
[ |
| 508 |
object, |
| 509 |
uuid(1b4e1f2e-75eb-4d0b-8952-5a69988e2307), |
| 510 |
pointer_default(unique) |
| 511 |
] |
| 512 |
interface IUIAutomationBoolCondition : IUIAutomationCondition |
| 513 |
{ |
| 514 |
[propget] HRESULT BooleanValue([out, retval] BOOL *boolVal); |
| 515 |
} |
| 516 |
|
| 517 |
[ |
| 518 |
object, |
| 519 |
uuid(99ebf2cb-5578-4267-9ad4-afd6ea77e94b), |
| 520 |
pointer_default(unique) |
| 521 |
] |
| 522 |
interface IUIAutomationPropertyCondition : IUIAutomationCondition |
| 523 |
{ |
| 524 |
[propget] HRESULT PropertyId([out, retval] PROPERTYID *propertyId); |
| 525 |
[propget] HRESULT PropertyValue([out, retval] VARIANT *propertyValue); |
| 526 |
[propget] HRESULT PropertyConditionFlags([out, retval] enum PropertyConditionFlags *flags); |
| 527 |
} |
| 528 |
|
| 529 |
[ |
| 530 |
object, |
| 531 |
uuid(a7d0af36-b912-45fe-9855-091ddc174aec), |
| 532 |
pointer_default(unique) |
| 533 |
] |
| 534 |
interface IUIAutomationAndCondition : IUIAutomationCondition |
| 535 |
{ |
| 536 |
[propget] HRESULT ChildCount([out, retval] int *childCount); |
| 537 |
|
| 538 |
HRESULT GetChildrenAsNativeArray( |
| 539 |
[out, size_is( ,*childArrayCount)] IUIAutomationCondition ***childArray, |
| 540 |
[out] int *childArrayCount); |
| 541 |
|
| 542 |
HRESULT GetChildren([out, retval] SAFEARRAY(IUIAutomationCondition) *childArray); |
| 543 |
} |
| 544 |
|
| 545 |
[ |
| 546 |
object, |
| 547 |
uuid(8753f032-3db1-47b5-a1fc-6e34a266c712), |
| 548 |
pointer_default(unique) |
| 549 |
] |
| 550 |
interface IUIAutomationOrCondition : IUIAutomationCondition |
| 551 |
{ |
| 552 |
[propget] HRESULT ChildCount([out, retval] int *childCount); |
| 553 |
|
| 554 |
HRESULT GetChildrenAsNativeArray( |
| 555 |
[out, size_is( ,*childArrayCount)] IUIAutomationCondition ***childArray, |
| 556 |
[out] int *childArrayCount); |
| 557 |
|
| 558 |
HRESULT GetChildren([out, retval] SAFEARRAY(IUIAutomationCondition) *childArray); |
| 559 |
} |
| 560 |
|
| 561 |
[ |
| 562 |
object, |
| 563 |
uuid(f528b657-847b-498c-8896-d52b565407a1), |
| 564 |
pointer_default(unique) |
| 565 |
] |
| 566 |
interface IUIAutomationNotCondition : IUIAutomationCondition |
| 567 |
{ |
| 568 |
HRESULT GetChild([out, retval] IUIAutomationCondition **condition); |
| 569 |
} |
| 570 |
|
| 571 |
[ |
| 572 |
object, |
| 573 |
uuid(b32a92b5-bc25-4078-9c08-d7ee95c48e03), |
| 574 |
pointer_default(unique) |
| 575 |
] |
| 576 |
interface IUIAutomationCacheRequest : IUnknown |
| 577 |
{ |
| 578 |
HRESULT AddProperty([in] PROPERTYID propertyId); |
| 579 |
HRESULT AddPattern([in] PATTERNID patternId); |
| 580 |
HRESULT Clone([out, retval] IUIAutomationCacheRequest **clonedRequest); |
| 581 |
|
| 582 |
[propget] HRESULT TreeScope([out, retval] enum TreeScope *scope); |
| 583 |
[propput] HRESULT TreeScope([in] enum TreeScope scope); |
| 584 |
[propget] HRESULT TreeFilter([out, retval] IUIAutomationCondition **filter); |
| 585 |
[propput] HRESULT TreeFilter([in] IUIAutomationCondition *filter); |
| 586 |
[propget] HRESULT AutomationElementMode([out, retval] enum AutomationElementMode *mode); |
| 587 |
[propput] HRESULT AutomationElementMode([in] enum AutomationElementMode mode); |
| 588 |
} |
| 589 |
|
| 590 |
[ |
| 591 |
object, |
| 592 |
uuid(4042c624-389c-4afc-a630-9df854a541fc), |
| 593 |
pointer_default(unique) |
| 594 |
] |
| 595 |
interface IUIAutomationTreeWalker : IUnknown |
| 596 |
{ |
| 597 |
HRESULT GetParentElement( |
| 598 |
[in] IUIAutomationElement *element, |
| 599 |
[out, retval] IUIAutomationElement **parent); |
| 600 |
HRESULT GetFirstChildElement( |
| 601 |
[in] IUIAutomationElement *element, |
| 602 |
[out, retval] IUIAutomationElement **first); |
| 603 |
HRESULT GetLastChildElement( |
| 604 |
[in] IUIAutomationElement *element, |
| 605 |
[out, retval] IUIAutomationElement **last); |
| 606 |
HRESULT GetNextSiblingElement( |
| 607 |
[in] IUIAutomationElement *element, |
| 608 |
[out, retval] IUIAutomationElement **next); |
| 609 |
HRESULT GetPreviousSiblingElement( |
| 610 |
[in] IUIAutomationElement *element, |
| 611 |
[out, retval] IUIAutomationElement **previous); |
| 612 |
HRESULT NormalizeElement( |
| 613 |
[in] IUIAutomationElement *element, |
| 614 |
[out, retval] IUIAutomationElement **normalized); |
| 615 |
|
| 616 |
HRESULT GetParentElementBuildCache( |
| 617 |
[in] IUIAutomationElement *element, |
| 618 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 619 |
[out, retval] IUIAutomationElement **parent); |
| 620 |
HRESULT GetFirstChildElementBuildCache( |
| 621 |
[in] IUIAutomationElement *element, |
| 622 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 623 |
[out, retval] IUIAutomationElement **first); |
| 624 |
HRESULT GetLastChildElementBuildCache( |
| 625 |
[in] IUIAutomationElement *element, |
| 626 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 627 |
[out, retval] IUIAutomationElement **last); |
| 628 |
HRESULT GetNextSiblingElementBuildCache( |
| 629 |
[in] IUIAutomationElement *element, |
| 630 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 631 |
[out, retval] IUIAutomationElement **next); |
| 632 |
HRESULT GetPreviousSiblingElementBuildCache( |
| 633 |
[in] IUIAutomationElement *element, |
| 634 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 635 |
[out, retval] IUIAutomationElement **previous); |
| 636 |
HRESULT NormalizeElementBuildCache( |
| 637 |
[in] IUIAutomationElement *element, |
| 638 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 639 |
[out, retval] IUIAutomationElement **normalized); |
| 640 |
|
| 641 |
[propget] HRESULT Condition([out, retval] IUIAutomationCondition **condition); |
| 642 |
} |
| 643 |
|
| 644 |
[ |
| 645 |
object, |
| 646 |
uuid(146c3c17-f12e-4e22-8c27-f894b9b79c69), |
| 647 |
pointer_default(unique), |
| 648 |
oleautomation |
| 649 |
] |
| 650 |
interface IUIAutomationEventHandler : IUnknown |
| 651 |
{ |
| 652 |
HRESULT HandleAutomationEvent( |
| 653 |
[in] IUIAutomationElement *sender, |
| 654 |
[in] EVENTID eventId); |
| 655 |
} |
| 656 |
|
| 657 |
[ |
| 658 |
object, |
| 659 |
uuid(40cd37d4-c756-4b0c-8c6f-bddfeeb13b50), |
| 660 |
pointer_default(unique), |
| 661 |
oleautomation |
| 662 |
] |
| 663 |
interface IUIAutomationPropertyChangedEventHandler : IUnknown |
| 664 |
{ |
| 665 |
HRESULT HandlePropertyChangedEvent( |
| 666 |
[in] IUIAutomationElement *sender, |
| 667 |
[in] PROPERTYID propertyId, |
| 668 |
[in] VARIANT newValue); |
| 669 |
} |
| 670 |
|
| 671 |
[ |
| 672 |
object, |
| 673 |
uuid(e81d1b4e-11c5-42f8-9754-e7036c79f054), |
| 674 |
pointer_default(unique), |
| 675 |
oleautomation |
| 676 |
] |
| 677 |
interface IUIAutomationStructureChangedEventHandler : IUnknown |
| 678 |
{ |
| 679 |
HRESULT HandleStructureChangedEvent( |
| 680 |
[in] IUIAutomationElement *sender, |
| 681 |
[in] enum StructureChangeType changeType, |
| 682 |
[in] SAFEARRAY(int) runtimeId); |
| 683 |
} |
| 684 |
|
| 685 |
[ |
| 686 |
object, |
| 687 |
uuid(c270f6b5-5c69-4290-9745-7a7f97169468), |
| 688 |
pointer_default(unique), |
| 689 |
oleautomation |
| 690 |
] |
| 691 |
interface IUIAutomationFocusChangedEventHandler : IUnknown |
| 692 |
{ |
| 693 |
HRESULT HandleFocusChangedEvent([in] IUIAutomationElement *sender); |
| 694 |
} |
| 695 |
|
| 696 |
[ |
| 697 |
object, |
| 698 |
uuid(92faa680-e704-4156-931a-e32d5bb38f3f), |
| 699 |
pointer_default(unique), |
| 700 |
oleautomation |
| 701 |
] |
| 702 |
interface IUIAutomationTextEditTextChangedEventHandler : IUnknown |
| 703 |
{ |
| 704 |
HRESULT HandleTextEditTextChangedEvent( |
| 705 |
[in] IUIAutomationElement *sender, |
| 706 |
[in] enum TextEditChangeType textEditChangeType, |
| 707 |
[in] SAFEARRAY(BSTR) eventStrings); |
| 708 |
} |
| 709 |
|
| 710 |
[ |
| 711 |
object, |
| 712 |
uuid(58edca55-2c3e-4980-b1b9-56c17f27a2a0), |
| 713 |
pointer_default(unique), |
| 714 |
oleautomation |
| 715 |
] |
| 716 |
interface IUIAutomationChangesEventHandler : IUnknown |
| 717 |
{ |
| 718 |
HRESULT HandleChangesEvent( |
| 719 |
[in] IUIAutomationElement *sender, |
| 720 |
[in, size_is(changesCount)] struct UiaChangeInfo *uiaChanges, |
| 721 |
[in] int changesCount); |
| 722 |
} |
| 723 |
|
| 724 |
[ |
| 725 |
object, |
| 726 |
uuid(c7cb2637-e6c2-4d0c-85de-4948c02175c7), |
| 727 |
pointer_default(unique), |
| 728 |
oleautomation |
| 729 |
] |
| 730 |
interface IUIAutomationNotificationEventHandler : IUnknown |
| 731 |
{ |
| 732 |
HRESULT HandleNotificationEvent( |
| 733 |
[in] IUIAutomationElement *sender, |
| 734 |
enum NotificationKind notificationKind, |
| 735 |
enum NotificationProcessing notificationProcessing, |
| 736 |
[in] BSTR displayString, |
| 737 |
[in] BSTR activityId); |
| 738 |
} |
| 739 |
|
| 740 |
[ |
| 741 |
object, |
| 742 |
uuid(fb377fbe-8ea6-46d5-9c73-6499642d3059), |
| 743 |
pointer_default(unique) |
| 744 |
] |
| 745 |
interface IUIAutomationInvokePattern : IUnknown |
| 746 |
{ |
| 747 |
HRESULT Invoke(); |
| 748 |
} |
| 749 |
|
| 750 |
[ |
| 751 |
object, |
| 752 |
uuid(fde5ef97-1464-48f6-90bf-43d0948e86ec), |
| 753 |
pointer_default(unique) |
| 754 |
] |
| 755 |
interface IUIAutomationDockPattern : IUnknown |
| 756 |
{ |
| 757 |
HRESULT SetDockPosition([in] enum DockPosition dockPos); |
| 758 |
[propget] HRESULT CurrentDockPosition([out, retval] enum DockPosition *retVal); |
| 759 |
[propget] HRESULT CachedDockPosition([out, retval] enum DockPosition *retVal); |
| 760 |
} |
| 761 |
|
| 762 |
[ |
| 763 |
object, |
| 764 |
uuid(619be086-1f4e-4ee4-bafa-210128738730), |
| 765 |
pointer_default(unique) |
| 766 |
] |
| 767 |
interface IUIAutomationExpandCollapsePattern : IUnknown |
| 768 |
{ |
| 769 |
HRESULT Expand(); |
| 770 |
HRESULT Collapse(); |
| 771 |
[propget] HRESULT CurrentExpandCollapseState([out, retval] enum ExpandCollapseState *retVal); |
| 772 |
[propget] HRESULT CachedExpandCollapseState([out, retval] enum ExpandCollapseState *retVal); |
| 773 |
} |
| 774 |
|
| 775 |
[ |
| 776 |
object, |
| 777 |
uuid(414c3cdc-856b-4f5b-8538-3131c6302550), |
| 778 |
pointer_default(unique) |
| 779 |
] |
| 780 |
interface IUIAutomationGridPattern : IUnknown |
| 781 |
{ |
| 782 |
HRESULT GetItem( |
| 783 |
[in] int row, |
| 784 |
[in] int column, |
| 785 |
[out, retval] IUIAutomationElement **element); |
| 786 |
|
| 787 |
[propget] HRESULT CurrentRowCount([out, retval] int *retVal); |
| 788 |
[propget] HRESULT CurrentColumnCount([out, retval] int *retVal); |
| 789 |
[propget] HRESULT CachedRowCount([out, retval] int *retVal); |
| 790 |
[propget] HRESULT CachedColumnCount([out, retval] int *retVal); |
| 791 |
} |
| 792 |
|
| 793 |
[ |
| 794 |
object, |
| 795 |
uuid(78f8ef57-66c3-4e09-bd7c-e79b2004894d), |
| 796 |
pointer_default(unique) |
| 797 |
] |
| 798 |
interface IUIAutomationGridItemPattern : IUnknown |
| 799 |
{ |
| 800 |
[propget] HRESULT CurrentContainingGrid([out, retval] IUIAutomationElement **retVal); |
| 801 |
[propget] HRESULT CurrentRow([out, retval] int *retVal); |
| 802 |
[propget] HRESULT CurrentColumn([out, retval] int *retVal); |
| 803 |
[propget] HRESULT CurrentRowSpan([out, retval] int *retVal); |
| 804 |
[propget] HRESULT CurrentColumnSpan([out, retval] int *retVal); |
| 805 |
[propget] HRESULT CachedContainingGrid([out, retval] IUIAutomationElement **retVal); |
| 806 |
[propget] HRESULT CachedRow([out, retval] int *retVal); |
| 807 |
[propget] HRESULT CachedColumn([out, retval] int *retVal); |
| 808 |
[propget] HRESULT CachedRowSpan([out, retval] int *retVal); |
| 809 |
[propget] HRESULT CachedColumnSpan([out, retval] int *retVal); |
| 810 |
} |
| 811 |
|
| 812 |
[ |
| 813 |
object, |
| 814 |
uuid(8d253c91-1dc5-4bb5-b18f-ade16fa495e8), |
| 815 |
pointer_default(unique) |
| 816 |
] |
| 817 |
interface IUIAutomationMultipleViewPattern : IUnknown |
| 818 |
{ |
| 819 |
HRESULT GetViewName( |
| 820 |
[in] int view, |
| 821 |
[out, retval] BSTR *name); |
| 822 |
|
| 823 |
HRESULT SetCurrentView([in] int view); |
| 824 |
|
| 825 |
[propget] HRESULT CurrentCurrentView([out, retval] int *retVal); |
| 826 |
HRESULT GetCurrentSupportedViews([out, retval] SAFEARRAY(int) *retVal); |
| 827 |
|
| 828 |
[propget] HRESULT CachedCurrentView([out, retval] int *retVal); |
| 829 |
HRESULT GetCachedSupportedViews([out, retval] SAFEARRAY(int) *retVal); |
| 830 |
} |
| 831 |
|
| 832 |
[ |
| 833 |
object, |
| 834 |
uuid(71c284b3-c14d-4d14-981e-19751b0d756d), |
| 835 |
pointer_default(unique) |
| 836 |
] |
| 837 |
interface IUIAutomationObjectModelPattern : IUnknown |
| 838 |
{ |
| 839 |
HRESULT GetUnderlyingObjectModel([out, retval] IUnknown **retVal); |
| 840 |
} |
| 841 |
|
| 842 |
[ |
| 843 |
object, |
| 844 |
uuid(59213f4f-7346-49e5-b120-80555987a148), |
| 845 |
pointer_default(unique) |
| 846 |
] |
| 847 |
interface IUIAutomationRangeValuePattern : IUnknown |
| 848 |
{ |
| 849 |
HRESULT SetValue([in] double val); |
| 850 |
|
| 851 |
[propget] HRESULT CurrentValue([out, retval] double *retVal); |
| 852 |
[propget] HRESULT CurrentIsReadOnly([out, retval] BOOL *retVal); |
| 853 |
[propget] HRESULT CurrentMaximum([out, retval] double *retVal); |
| 854 |
[propget] HRESULT CurrentMinimum([out, retval] double *retVal); |
| 855 |
[propget] HRESULT CurrentLargeChange([out, retval] double *retVal); |
| 856 |
[propget] HRESULT CurrentSmallChange([out, retval] double *retVal); |
| 857 |
|
| 858 |
[propget] HRESULT CachedValue([out, retval] double *retVal); |
| 859 |
[propget] HRESULT CachedIsReadOnly([out, retval] BOOL *retVal); |
| 860 |
[propget] HRESULT CachedMaximum([out, retval] double *retVal); |
| 861 |
[propget] HRESULT CachedMinimum([out, retval] double *retVal); |
| 862 |
[propget] HRESULT CachedLargeChange([out, retval] double *retVal); |
| 863 |
[propget] HRESULT CachedSmallChange([out, retval] double *retVal); |
| 864 |
} |
| 865 |
|
| 866 |
[ |
| 867 |
object, |
| 868 |
uuid(88f4d42a-e881-459d-a77c-73bbbb7e02dc), |
| 869 |
pointer_default(unique) |
| 870 |
] |
| 871 |
interface IUIAutomationScrollPattern : IUnknown |
| 872 |
{ |
| 873 |
HRESULT Scroll( |
| 874 |
[in] enum ScrollAmount horizontalAmount, |
| 875 |
[in] enum ScrollAmount verticalAmount); |
| 876 |
HRESULT SetScrollPercent( |
| 877 |
[in] double horizontalPercent, |
| 878 |
[in] double verticalPercent); |
| 879 |
|
| 880 |
[propget] HRESULT CurrentHorizontalScrollPercent([out, retval] double *retVal); |
| 881 |
[propget] HRESULT CurrentVerticalScrollPercent([out, retval] double *retVal); |
| 882 |
[propget] HRESULT CurrentHorizontalViewSize([out, retval] double *retVal); |
| 883 |
[propget] HRESULT CurrentVerticalViewSize([out, retval] double *retVal); |
| 884 |
[propget] HRESULT CurrentHorizontallyScrollable([out, retval] BOOL *retVal); |
| 885 |
[propget] HRESULT CurrentVerticallyScrollable([out, retval] BOOL *retVal); |
| 886 |
|
| 887 |
[propget] HRESULT CachedHorizontalScrollPercent([out, retval] double *retVal); |
| 888 |
[propget] HRESULT CachedVerticalScrollPercent([out, retval] double *retVal); |
| 889 |
[propget] HRESULT CachedHorizontalViewSize([out, retval] double *retVal); |
| 890 |
[propget] HRESULT CachedVerticalViewSize([out, retval] double *retVal); |
| 891 |
[propget] HRESULT CachedHorizontallyScrollable([out, retval] BOOL *retVal); |
| 892 |
[propget] HRESULT CachedVerticallyScrollable([out, retval] BOOL *retVal); |
| 893 |
} |
| 894 |
|
| 895 |
[ |
| 896 |
object, |
| 897 |
uuid(b488300f-d015-4f19-9c29-bb595e3645ef), |
| 898 |
pointer_default(unique) |
| 899 |
] |
| 900 |
interface IUIAutomationScrollItemPattern : IUnknown |
| 901 |
{ |
| 902 |
HRESULT ScrollIntoView(); |
| 903 |
} |
| 904 |
|
| 905 |
[ |
| 906 |
object, |
| 907 |
uuid(5ed5202e-b2ac-47a6-b638-4b0bf140d78e), |
| 908 |
pointer_default(unique) |
| 909 |
] |
| 910 |
interface IUIAutomationSelectionPattern : IUnknown |
| 911 |
{ |
| 912 |
HRESULT GetCurrentSelection([out, retval] IUIAutomationElementArray **retVal); |
| 913 |
[propget] HRESULT CurrentCanSelectMultiple([out, retval] BOOL *retVal); |
| 914 |
[propget] HRESULT CurrentIsSelectionRequired([out, retval] BOOL *retVal); |
| 915 |
|
| 916 |
HRESULT GetCachedSelection([out, retval] IUIAutomationElementArray **retVal); |
| 917 |
[propget] HRESULT CachedCanSelectMultiple([out, retval] BOOL *retVal); |
| 918 |
[propget] HRESULT CachedIsSelectionRequired([out, retval] BOOL *retVal); |
| 919 |
} |
| 920 |
|
| 921 |
[ |
| 922 |
object, |
| 923 |
uuid(a8efa66a-0fda-421a-9194-38021f3578ea), |
| 924 |
pointer_default(unique) |
| 925 |
] |
| 926 |
interface IUIAutomationSelectionItemPattern : IUnknown |
| 927 |
{ |
| 928 |
HRESULT Select(); |
| 929 |
HRESULT AddToSelection(); |
| 930 |
HRESULT RemoveFromSelection(); |
| 931 |
|
| 932 |
[propget] HRESULT CurrentIsSelected([out, retval] BOOL *retVal); |
| 933 |
[propget] HRESULT CurrentSelectionContainer([out, retval] IUIAutomationElement **retVal); |
| 934 |
|
| 935 |
[propget] HRESULT CachedIsSelected([out, retval] BOOL *retVal); |
| 936 |
[propget] HRESULT CachedSelectionContainer([out, retval] IUIAutomationElement **retVal); |
| 937 |
} |
| 938 |
|
| 939 |
[ |
| 940 |
object, |
| 941 |
uuid(2233be0b-afb7-448b-9fda-3b378aa5eae1), |
| 942 |
pointer_default(unique) |
| 943 |
] |
| 944 |
interface IUIAutomationSynchronizedInputPattern : IUnknown |
| 945 |
{ |
| 946 |
HRESULT StartListening([in] enum SynchronizedInputType inputType); |
| 947 |
HRESULT Cancel(); |
| 948 |
} |
| 949 |
|
| 950 |
[ |
| 951 |
object, |
| 952 |
uuid(620e691c-ea96-4710-a850-754b24ce2417), |
| 953 |
pointer_default(unique) |
| 954 |
] |
| 955 |
interface IUIAutomationTablePattern : IUnknown |
| 956 |
{ |
| 957 |
HRESULT GetCurrentRowHeaders([out, retval] IUIAutomationElementArray **retVal); |
| 958 |
HRESULT GetCurrentColumnHeaders([out, retval] IUIAutomationElementArray **retVal); |
| 959 |
[propget] HRESULT CurrentRowOrColumnMajor([out, retval] enum RowOrColumnMajor *retVal); |
| 960 |
|
| 961 |
HRESULT GetCachedRowHeaders([out, retval] IUIAutomationElementArray **retVal); |
| 962 |
HRESULT GetCachedColumnHeaders([out, retval] IUIAutomationElementArray **retVal); |
| 963 |
[propget] HRESULT CachedRowOrColumnMajor([out, retval] enum RowOrColumnMajor *retVal); |
| 964 |
} |
| 965 |
|
| 966 |
[ |
| 967 |
object, |
| 968 |
uuid(0b964eb3-ef2e-4464-9c79-61d61737a27e), |
| 969 |
pointer_default(unique) |
| 970 |
] |
| 971 |
interface IUIAutomationTableItemPattern : IUnknown |
| 972 |
{ |
| 973 |
HRESULT GetCurrentRowHeaderItems([out, retval] IUIAutomationElementArray **retVal); |
| 974 |
HRESULT GetCurrentColumnHeaderItems([out, retval] IUIAutomationElementArray **retVal); |
| 975 |
|
| 976 |
HRESULT GetCachedRowHeaderItems([out, retval] IUIAutomationElementArray **retVal); |
| 977 |
HRESULT GetCachedColumnHeaderItems([out, retval] IUIAutomationElementArray **retVal); |
| 978 |
} |
| 979 |
|
| 980 |
[ |
| 981 |
object, |
| 982 |
uuid(94cf8058-9b8d-4ab9-8bfd-4cd0a33c8c70), |
| 983 |
pointer_default(unique) |
| 984 |
] |
| 985 |
interface IUIAutomationTogglePattern : IUnknown |
| 986 |
{ |
| 987 |
HRESULT Toggle(); |
| 988 |
|
| 989 |
[propget] HRESULT CurrentToggleState([out, retval] enum ToggleState *retVal); |
| 990 |
[propget] HRESULT CachedToggleState([out, retval] enum ToggleState *retVal); |
| 991 |
} |
| 992 |
|
| 993 |
[ |
| 994 |
object, |
| 995 |
uuid(a9b55844-a55d-4ef0-926d-569c16ff89bb), |
| 996 |
pointer_default(unique) |
| 997 |
] |
| 998 |
interface IUIAutomationTransformPattern : IUnknown |
| 999 |
{ |
| 1000 |
HRESULT Move( |
| 1001 |
[in] double x, |
| 1002 |
[in] double y); |
| 1003 |
HRESULT Resize( |
| 1004 |
[in] double width, |
| 1005 |
[in] double height); |
| 1006 |
HRESULT Rotate([in] double degrees); |
| 1007 |
|
| 1008 |
[propget] HRESULT CurrentCanMove([out, retval] BOOL *retVal); |
| 1009 |
[propget] HRESULT CurrentCanResize([out, retval] BOOL *retVal); |
| 1010 |
[propget] HRESULT CurrentCanRotate([out, retval] BOOL *retVal); |
| 1011 |
|
| 1012 |
[propget] HRESULT CachedCanMove([out, retval] BOOL *retVal); |
| 1013 |
[propget] HRESULT CachedCanResize([out, retval] BOOL *retVal); |
| 1014 |
[propget] HRESULT CachedCanRotate([out, retval] BOOL *retVal); |
| 1015 |
} |
| 1016 |
|
| 1017 |
[ |
| 1018 |
object, |
| 1019 |
uuid(a94cd8b1-0844-4cd6-9d2d-640537ab39e9), |
| 1020 |
pointer_default(unique) |
| 1021 |
] |
| 1022 |
interface IUIAutomationValuePattern : IUnknown |
| 1023 |
{ |
| 1024 |
HRESULT SetValue([in] BSTR val); |
| 1025 |
|
| 1026 |
[propget] HRESULT CurrentValue([out, retval] BSTR *retVal); |
| 1027 |
[propget] HRESULT CurrentIsReadOnly([out, retval] BOOL *retVal); |
| 1028 |
[propget] HRESULT CachedValue([out, retval] BSTR *retVal); |
| 1029 |
[propget] HRESULT CachedIsReadOnly([out, retval] BOOL *retVal); |
| 1030 |
} |
| 1031 |
|
| 1032 |
[ |
| 1033 |
object, |
| 1034 |
uuid(0faef453-9208-43ef-bbb2-3b485177864f), |
| 1035 |
pointer_default(unique) |
| 1036 |
] |
| 1037 |
interface IUIAutomationWindowPattern : IUnknown |
| 1038 |
{ |
| 1039 |
HRESULT Close(); |
| 1040 |
|
| 1041 |
HRESULT WaitForInputIdle( |
| 1042 |
[in] int milliseconds, |
| 1043 |
[out, retval] BOOL *success); |
| 1044 |
HRESULT SetWindowVisualState([in] enum WindowVisualState state); |
| 1045 |
|
| 1046 |
[propget] HRESULT CurrentCanMaximize([out, retval] BOOL *retVal); |
| 1047 |
[propget] HRESULT CurrentCanMinimize([out, retval] BOOL *retVal); |
| 1048 |
[propget] HRESULT CurrentIsModal([out, retval] BOOL *retVal); |
| 1049 |
[propget] HRESULT CurrentIsTopmost([out, retval] BOOL *retVal); |
| 1050 |
[propget] HRESULT CurrentWindowVisualState([out, retval] enum WindowVisualState *retVal); |
| 1051 |
[propget] HRESULT CurrentWindowInteractionState([out, retval] enum WindowInteractionState *retVal); |
| 1052 |
[propget] HRESULT CachedCanMaximize([out, retval] BOOL *retVal); |
| 1053 |
[propget] HRESULT CachedCanMinimize([out, retval] BOOL *retVal); |
| 1054 |
[propget] HRESULT CachedIsModal([out, retval] BOOL *retVal); |
| 1055 |
[propget] HRESULT CachedIsTopmost([out, retval] BOOL *retVal); |
| 1056 |
[propget] HRESULT CachedWindowVisualState([out, retval] enum WindowVisualState *retVal); |
| 1057 |
[propget] HRESULT CachedWindowInteractionState([out, retval] enum WindowInteractionState *retVal); |
| 1058 |
} |
| 1059 |
|
| 1060 |
[ |
| 1061 |
object, |
| 1062 |
uuid(a543cc6a-f4ae-494b-8239-c814481187a8), |
| 1063 |
pointer_default(unique) |
| 1064 |
] |
| 1065 |
interface IUIAutomationTextRange : IUnknown |
| 1066 |
{ |
| 1067 |
HRESULT Clone([out, retval] IUIAutomationTextRange **clonedRange); |
| 1068 |
HRESULT Compare( |
| 1069 |
[in] IUIAutomationTextRange *range, |
| 1070 |
[out, retval] BOOL *areSame); |
| 1071 |
HRESULT CompareEndpoints( |
| 1072 |
[in] enum TextPatternRangeEndpoint srcEndPoint, |
| 1073 |
[in] IUIAutomationTextRange *range, |
| 1074 |
[in] enum TextPatternRangeEndpoint targetEndPoint, |
| 1075 |
[out, retval] int *compValue); |
| 1076 |
|
| 1077 |
HRESULT ExpandToEnclosingUnit([in] enum TextUnit textUnit); |
| 1078 |
|
| 1079 |
HRESULT FindAttribute( |
| 1080 |
[in] TEXTATTRIBUTEID attr, |
| 1081 |
[in] VARIANT val, |
| 1082 |
[in] BOOL backward, |
| 1083 |
[out, retval] IUIAutomationTextRange **found); |
| 1084 |
HRESULT FindText( |
| 1085 |
[in] BSTR text, |
| 1086 |
[in] BOOL backward, |
| 1087 |
[in] BOOL ignoreCase, |
| 1088 |
[out, retval] IUIAutomationTextRange **found); |
| 1089 |
|
| 1090 |
HRESULT GetAttributeValue( |
| 1091 |
[in] TEXTATTRIBUTEID attr, |
| 1092 |
[out, retval] VARIANT *value); |
| 1093 |
HRESULT GetBoundingRectangles([out, retval] SAFEARRAY(double) *boundingRects); |
| 1094 |
HRESULT GetEnclosingElement([out, retval] IUIAutomationElement **enclosingElement); |
| 1095 |
HRESULT GetText( |
| 1096 |
[in] int maxLength, |
| 1097 |
[out, retval] BSTR *text); |
| 1098 |
|
| 1099 |
HRESULT Move( |
| 1100 |
[in] enum TextUnit unit, |
| 1101 |
[in] int count, |
| 1102 |
[out, retval] int *moved); |
| 1103 |
HRESULT MoveEndpointByUnit( |
| 1104 |
[in] enum TextPatternRangeEndpoint endpoint, |
| 1105 |
[in] enum TextUnit unit, |
| 1106 |
[in] int count, |
| 1107 |
[out, retval] int *moved); |
| 1108 |
HRESULT MoveEndpointByRange( |
| 1109 |
[in] enum TextPatternRangeEndpoint srcEndPoint, |
| 1110 |
[in] IUIAutomationTextRange *range, |
| 1111 |
[in] enum TextPatternRangeEndpoint targetEndPoint); |
| 1112 |
|
| 1113 |
HRESULT Select(); |
| 1114 |
HRESULT AddToSelection(); |
| 1115 |
HRESULT RemoveFromSelection( ); |
| 1116 |
HRESULT ScrollIntoView([in] BOOL alignToTop); |
| 1117 |
|
| 1118 |
HRESULT GetChildren([out, retval] IUIAutomationElementArray **children); |
| 1119 |
} |
| 1120 |
|
| 1121 |
[ |
| 1122 |
object, |
| 1123 |
uuid(bb9b40e0-5e04-46bd-9be0-4b601b9afad4), |
| 1124 |
pointer_default(unique) |
| 1125 |
] |
| 1126 |
interface IUIAutomationTextRange2 : IUIAutomationTextRange |
| 1127 |
{ |
| 1128 |
HRESULT ShowContextMenu(); |
| 1129 |
} |
| 1130 |
|
| 1131 |
[ |
| 1132 |
object, |
| 1133 |
uuid(ce4ae76a-e717-4c98-81ea-47371d028eb6), |
| 1134 |
pointer_default(unique) |
| 1135 |
] |
| 1136 |
interface IUIAutomationTextRangeArray : IUnknown |
| 1137 |
{ |
| 1138 |
[propget] HRESULT Length([out, retval] int *length); |
| 1139 |
HRESULT GetElement( |
| 1140 |
[in] int index, |
| 1141 |
[out, retval] IUIAutomationTextRange **element); |
| 1142 |
} |
| 1143 |
|
| 1144 |
[ |
| 1145 |
object, |
| 1146 |
uuid(32eba289-3583-42c9-9c59-3b6d9a1e9b6a), |
| 1147 |
pointer_default(unique) |
| 1148 |
] |
| 1149 |
interface IUIAutomationTextPattern : IUnknown |
| 1150 |
{ |
| 1151 |
HRESULT RangeFromPoint( |
| 1152 |
[in] POINT pt, |
| 1153 |
[out, retval] IUIAutomationTextRange **range); |
| 1154 |
HRESULT RangeFromChild( |
| 1155 |
[in] IUIAutomationElement *child, |
| 1156 |
[out, retval] IUIAutomationTextRange **range); |
| 1157 |
|
| 1158 |
HRESULT GetSelection([out, retval] IUIAutomationTextRangeArray **ranges); |
| 1159 |
HRESULT GetVisibleRanges([out, retval] IUIAutomationTextRangeArray **ranges); |
| 1160 |
[propget] HRESULT DocumentRange([out, retval] IUIAutomationTextRange **range); |
| 1161 |
[propget] HRESULT SupportedTextSelection([out, retval] enum SupportedTextSelection *supportedTextSelection); |
| 1162 |
|
| 1163 |
} |
| 1164 |
|
| 1165 |
[ |
| 1166 |
object, |
| 1167 |
uuid(506a921a-fcc9-409f-b23b-37eb74106872), |
| 1168 |
pointer_default(unique) |
| 1169 |
] |
| 1170 |
interface IUIAutomationTextPattern2 : IUIAutomationTextPattern |
| 1171 |
{ |
| 1172 |
HRESULT RangeFromAnnotation( |
| 1173 |
[in] IUIAutomationElement *annotation, |
| 1174 |
[out, retval] IUIAutomationTextRange **range); |
| 1175 |
|
| 1176 |
HRESULT GetCaretRange( |
| 1177 |
[out] BOOL *isActive, |
| 1178 |
[out, retval] IUIAutomationTextRange **range); |
| 1179 |
} |
| 1180 |
|
| 1181 |
[ |
| 1182 |
object, |
| 1183 |
uuid(17e21576-996c-4870-99d9-bff323380c06), |
| 1184 |
pointer_default(unique) |
| 1185 |
] |
| 1186 |
interface IUIAutomationTextEditPattern : IUIAutomationTextPattern |
| 1187 |
{ |
| 1188 |
HRESULT GetActiveComposition([out, retval] IUIAutomationTextRange **range); |
| 1189 |
HRESULT GetConversionTarget([out, retval] IUIAutomationTextRange **range); |
| 1190 |
} |
| 1191 |
|
| 1192 |
[ |
| 1193 |
object, |
| 1194 |
uuid(01ea217a-1766-47ed-a6cc-acf492854b1f), |
| 1195 |
pointer_default(unique) |
| 1196 |
] |
| 1197 |
interface IUIAutomationCustomNavigationPattern : IUnknown |
| 1198 |
{ |
| 1199 |
HRESULT Navigate( |
| 1200 |
[in] enum NavigateDirection direction, |
| 1201 |
[out, retval] IUIAutomationElement **pRetVal); |
| 1202 |
} |
| 1203 |
|
| 1204 |
[ |
| 1205 |
object, |
| 1206 |
uuid(f97933b0-8dae-4496-8997-5ba015fe0d82), |
| 1207 |
pointer_default(unique), |
| 1208 |
oleautomation |
| 1209 |
] |
| 1210 |
interface IUIAutomationActiveTextPositionChangedEventHandler : IUnknown |
| 1211 |
{ |
| 1212 |
HRESULT HandleActiveTextPositionChangedEvent( |
| 1213 |
[in] IUIAutomationElement *sender, |
| 1214 |
[in] IUIAutomationTextRange *range); |
| 1215 |
} |
| 1216 |
|
| 1217 |
[ |
| 1218 |
object, |
| 1219 |
uuid(828055ad-355b-4435-86d5-3b51c14a9b1b), |
| 1220 |
pointer_default(unique) |
| 1221 |
] |
| 1222 |
interface IUIAutomationLegacyIAccessiblePattern: IUnknown |
| 1223 |
{ |
| 1224 |
HRESULT Select(long flagsSelect); |
| 1225 |
HRESULT DoDefaultAction(); |
| 1226 |
HRESULT SetValue(LPCWSTR szValue); |
| 1227 |
|
| 1228 |
[propget] HRESULT CurrentChildId([out, retval] int *pRetVal); |
| 1229 |
[propget] HRESULT CurrentName([out, retval] BSTR *pszName); |
| 1230 |
[propget] HRESULT CurrentValue([out, retval] BSTR *pszValue); |
| 1231 |
[propget] HRESULT CurrentDescription([out, retval] BSTR *pszDescription); |
| 1232 |
[propget] HRESULT CurrentRole([out, retval] DWORD *pdwRole); |
| 1233 |
[propget] HRESULT CurrentState([out, retval] DWORD *pdwState); |
| 1234 |
[propget] HRESULT CurrentHelp([out, retval] BSTR *pszHelp); |
| 1235 |
[propget] HRESULT CurrentKeyboardShortcut([out, retval] BSTR *pszKeyboardShortcut); |
| 1236 |
HRESULT GetCurrentSelection([out, retval] IUIAutomationElementArray **pvarSelectedChildren); |
| 1237 |
[propget] HRESULT CurrentDefaultAction([out, retval] BSTR *pszDefaultAction); |
| 1238 |
|
| 1239 |
[propget] HRESULT CachedChildId([out, retval] int *pRetVal); |
| 1240 |
[propget] HRESULT CachedName([out, retval] BSTR *pszName); |
| 1241 |
[propget] HRESULT CachedValue([out, retval] BSTR *pszValue); |
| 1242 |
[propget] HRESULT CachedDescription([out, retval] BSTR *pszDescription); |
| 1243 |
[propget] HRESULT CachedRole([out, retval] DWORD *pdwRole); |
| 1244 |
[propget] HRESULT CachedState([out, retval] DWORD *pdwState); |
| 1245 |
[propget] HRESULT CachedHelp([out, retval] BSTR *pszHelp); |
| 1246 |
[propget] HRESULT CachedKeyboardShortcut([out, retval] BSTR *pszKeyboardShortcut); |
| 1247 |
HRESULT GetCachedSelection([out, retval] IUIAutomationElementArray **pvarSelectedChildren); |
| 1248 |
[propget] HRESULT CachedDefaultAction([out, retval] BSTR *pszDefaultAction); |
| 1249 |
|
| 1250 |
HRESULT GetIAccessible([out, retval] IAccessible **ppAccessible); |
| 1251 |
}; |
| 1252 |
|
| 1253 |
[ |
| 1254 |
object, |
| 1255 |
uuid(c690fdb2-27a8-423c-812d-429773c9084e), |
| 1256 |
pointer_default(unique) |
| 1257 |
] |
| 1258 |
interface IUIAutomationItemContainerPattern : IUnknown |
| 1259 |
{ |
| 1260 |
HRESULT FindItemByProperty( |
| 1261 |
[in] IUIAutomationElement *pStartAfter, |
| 1262 |
[in] PROPERTYID propertyId, |
| 1263 |
[in] VARIANT value, |
| 1264 |
[out, retval] IUIAutomationElement **pFound); |
| 1265 |
}; |
| 1266 |
|
| 1267 |
[ |
| 1268 |
object, |
| 1269 |
uuid(6ba3d7a6-04cf-4f11-8793-a8d1cde9969f), |
| 1270 |
pointer_default(unique) |
| 1271 |
] |
| 1272 |
interface IUIAutomationVirtualizedItemPattern : IUnknown |
| 1273 |
{ |
| 1274 |
HRESULT Realize(); |
| 1275 |
}; |
| 1276 |
|
| 1277 |
[ |
| 1278 |
object, |
| 1279 |
uuid(9a175b21-339e-41b1-8e8b-623f6b681098), |
| 1280 |
pointer_default(unique) |
| 1281 |
] |
| 1282 |
interface IUIAutomationAnnotationPattern : IUnknown |
| 1283 |
{ |
| 1284 |
[propget] HRESULT CurrentAnnotationTypeId([out, retval] int *retVal); |
| 1285 |
[propget] HRESULT CurrentAnnotationTypeName([out, retval] BSTR *retVal); |
| 1286 |
[propget] HRESULT CurrentAuthor( [out, retval] BSTR *retVal); |
| 1287 |
[propget] HRESULT CurrentDateTime( [out, retval] BSTR *retVal); |
| 1288 |
[propget] HRESULT CurrentTarget( [out, retval] IUIAutomationElement **retVal); |
| 1289 |
|
| 1290 |
[propget] HRESULT CachedAnnotationTypeId([out, retval] int *retVal); |
| 1291 |
[propget] HRESULT CachedAnnotationTypeName([out, retval] BSTR *retVal); |
| 1292 |
[propget] HRESULT CachedAuthor( [out, retval] BSTR *retVal); |
| 1293 |
[propget] HRESULT CachedDateTime( [out, retval] BSTR *retVal); |
| 1294 |
[propget] HRESULT CachedTarget( [out, retval] IUIAutomationElement **retVal); |
| 1295 |
}; |
| 1296 |
|
| 1297 |
[ |
| 1298 |
object, |
| 1299 |
uuid(85b5f0a2-bd79-484a-ad2b-388c9838d5fb), |
| 1300 |
pointer_default(unique) |
| 1301 |
] |
| 1302 |
interface IUIAutomationStylesPattern : IUnknown |
| 1303 |
{ |
| 1304 |
[propget] HRESULT CurrentStyleId([out, retval] int *retVal); |
| 1305 |
[propget] HRESULT CurrentStyleName([out, retval] BSTR *retVal); |
| 1306 |
[propget] HRESULT CurrentFillColor([out, retval] int *retVal); |
| 1307 |
[propget] HRESULT CurrentFillPatternStyle([out, retval] BSTR *retVal); |
| 1308 |
[propget] HRESULT CurrentShape([out, retval] BSTR *retVal); |
| 1309 |
[propget] HRESULT CurrentFillPatternColor([out, retval] int *retVal); |
| 1310 |
[propget] HRESULT CurrentExtendedProperties([out, retval] BSTR *retVal); |
| 1311 |
HRESULT GetCurrentExtendedPropertiesAsArray( |
| 1312 |
[out, size_is( ,*propertyCount)] struct ExtendedProperty **propertyArray, |
| 1313 |
[out] int *propertyCount); |
| 1314 |
|
| 1315 |
[propget] HRESULT CachedStyleId([out, retval] int *retVal); |
| 1316 |
[propget] HRESULT CachedStyleName([out, retval] BSTR *retVal); |
| 1317 |
[propget] HRESULT CachedFillColor([out, retval] int *retVal); |
| 1318 |
[propget] HRESULT CachedFillPatternStyle([out, retval] BSTR *retVal); |
| 1319 |
[propget] HRESULT CachedShape([out, retval] BSTR *retVal); |
| 1320 |
[propget] HRESULT CachedFillPatternColor([out, retval] int *retVal); |
| 1321 |
[propget] HRESULT CachedExtendedProperties([out, retval] BSTR *retVal); |
| 1322 |
HRESULT GetCachedExtendedPropertiesAsArray( |
| 1323 |
[out, size_is( ,*propertyCount)] struct ExtendedProperty **propertyArray, |
| 1324 |
[out] int *propertyCount); |
| 1325 |
}; |
| 1326 |
|
| 1327 |
[ |
| 1328 |
object, |
| 1329 |
uuid(7517a7c8-faae-4de9-9f08-29b91e8595c1), |
| 1330 |
pointer_default(unique) |
| 1331 |
] |
| 1332 |
interface IUIAutomationSpreadsheetPattern : IUnknown |
| 1333 |
{ |
| 1334 |
HRESULT GetItemByName( |
| 1335 |
[in] BSTR name, |
| 1336 |
[out, retval] IUIAutomationElement **element); |
| 1337 |
}; |
| 1338 |
|
| 1339 |
[ |
| 1340 |
object, |
| 1341 |
uuid(7d4fb86c-8d34-40e1-8e83-62c15204e335), |
| 1342 |
pointer_default(unique) |
| 1343 |
] |
| 1344 |
interface IUIAutomationSpreadsheetItemPattern : IUnknown |
| 1345 |
{ |
| 1346 |
[propget] HRESULT CurrentFormula([out, retval] BSTR *retVal); |
| 1347 |
HRESULT GetCurrentAnnotationObjects([out, retval] IUIAutomationElementArray **retVal); |
| 1348 |
HRESULT GetCurrentAnnotationTypes([out, retval] SAFEARRAY(int) *retVal); |
| 1349 |
|
| 1350 |
[propget] HRESULT CachedFormula([out, retval] BSTR *retVal); |
| 1351 |
HRESULT GetCachedAnnotationObjects([out, retval] IUIAutomationElementArray **retVal); |
| 1352 |
HRESULT GetCachedAnnotationTypes([out, retval] SAFEARRAY(int) *retVal); |
| 1353 |
}; |
| 1354 |
|
| 1355 |
[ |
| 1356 |
object, |
| 1357 |
uuid(6d74d017-6ecb-4381-b38b-3c17a48ff1c2), |
| 1358 |
pointer_default(unique) |
| 1359 |
] |
| 1360 |
interface IUIAutomationTransformPattern2 : IUIAutomationTransformPattern |
| 1361 |
{ |
| 1362 |
HRESULT Zoom([in] double zoomValue); |
| 1363 |
HRESULT ZoomByUnit([in] enum ZoomUnit zoomUnit); |
| 1364 |
|
| 1365 |
[propget] HRESULT CurrentCanZoom([out, retval] BOOL *retVal); |
| 1366 |
[propget] HRESULT CachedCanZoom([out, retval] BOOL *retVal); |
| 1367 |
|
| 1368 |
[propget] HRESULT CurrentZoomLevel([out, retval] double *retVal); |
| 1369 |
[propget] HRESULT CachedZoomLevel([out, retval] double *retVal); |
| 1370 |
|
| 1371 |
[propget] HRESULT CurrentZoomMinimum([out, retval] double *retVal); |
| 1372 |
[propget] HRESULT CachedZoomMinimum([out, retval] double *retVal); |
| 1373 |
|
| 1374 |
[propget] HRESULT CurrentZoomMaximum([out, retval] double *retVal); |
| 1375 |
[propget] HRESULT CachedZoomMaximum([out, retval] double *retVal); |
| 1376 |
} |
| 1377 |
|
| 1378 |
[ |
| 1379 |
object, |
| 1380 |
uuid(6552b038-ae05-40c8-abfd-aa08352aab86), |
| 1381 |
pointer_default(unique) |
| 1382 |
] |
| 1383 |
interface IUIAutomationTextChildPattern : IUnknown |
| 1384 |
{ |
| 1385 |
[propget] HRESULT TextContainer([out, retval] IUIAutomationElement **container); |
| 1386 |
[propget] HRESULT TextRange([out, retval] IUIAutomationTextRange **range); |
| 1387 |
} |
| 1388 |
|
| 1389 |
[ |
| 1390 |
object, |
| 1391 |
uuid(1dc7b570-1f54-4bad-bcda-d36a722fb7bd), |
| 1392 |
pointer_default(unique) |
| 1393 |
] |
| 1394 |
interface IUIAutomationDragPattern : IUnknown |
| 1395 |
{ |
| 1396 |
[propget] HRESULT CurrentIsGrabbed([out, retval] BOOL *retVal); |
| 1397 |
[propget] HRESULT CachedIsGrabbed([out, retval] BOOL *retVal); |
| 1398 |
|
| 1399 |
[propget] HRESULT CurrentDropEffect([out, retval] BSTR *retVal); |
| 1400 |
[propget] HRESULT CachedDropEffect([out, retval] BSTR *retVal); |
| 1401 |
|
| 1402 |
[propget] HRESULT CurrentDropEffects([out, retval] SAFEARRAY(BSTR) *retVal); |
| 1403 |
[propget] HRESULT CachedDropEffects([out, retval] SAFEARRAY(BSTR) *retVal); |
| 1404 |
|
| 1405 |
HRESULT GetCurrentGrabbedItems([out, retval] IUIAutomationElementArray **retVal); |
| 1406 |
HRESULT GetCachedGrabbedItems([out, retval] IUIAutomationElementArray **retVal); |
| 1407 |
} |
| 1408 |
|
| 1409 |
[ |
| 1410 |
object, |
| 1411 |
uuid(69a095f7-eee4-430e-a46b-fb73b1ae39a5), |
| 1412 |
pointer_default(unique) |
| 1413 |
] |
| 1414 |
interface IUIAutomationDropTargetPattern : IUnknown |
| 1415 |
{ |
| 1416 |
[propget] HRESULT CurrentDropTargetEffect([out, retval] BSTR *retVal); |
| 1417 |
[propget] HRESULT CachedDropTargetEffect([out, retval] BSTR *retVal); |
| 1418 |
|
| 1419 |
[propget] HRESULT CurrentDropTargetEffects([out, retval] SAFEARRAY(BSTR) *retVal); |
| 1420 |
[propget] HRESULT CachedDropTargetEffects([out, retval] SAFEARRAY(BSTR) *retVal); |
| 1421 |
} |
| 1422 |
|
| 1423 |
[ |
| 1424 |
object, |
| 1425 |
uuid(d22108aa-8ac5-49a5-837b-37bbb3d7591e), |
| 1426 |
pointer_default(unique) |
| 1427 |
] |
| 1428 |
interface IUIAutomationElement : IUnknown |
| 1429 |
{ |
| 1430 |
HRESULT SetFocus(); |
| 1431 |
HRESULT GetRuntimeId([out, retval] SAFEARRAY(int) *runtimeId); |
| 1432 |
|
| 1433 |
HRESULT FindFirst( |
| 1434 |
[in] enum TreeScope scope, |
| 1435 |
[in] IUIAutomationCondition *condition, |
| 1436 |
[out, retval] IUIAutomationElement **found); |
| 1437 |
HRESULT FindAll( |
| 1438 |
[in] enum TreeScope scope, |
| 1439 |
[in] IUIAutomationCondition *condition, |
| 1440 |
[out, retval] IUIAutomationElementArray **found); |
| 1441 |
|
| 1442 |
HRESULT FindFirstBuildCache( |
| 1443 |
[in] enum TreeScope scope, |
| 1444 |
[in] IUIAutomationCondition *condition, |
| 1445 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1446 |
[out, retval] IUIAutomationElement **found); |
| 1447 |
HRESULT FindAllBuildCache( |
| 1448 |
[in] enum TreeScope scope, |
| 1449 |
[in] IUIAutomationCondition *condition, |
| 1450 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1451 |
[out, retval] IUIAutomationElementArray **found); |
| 1452 |
|
| 1453 |
HRESULT BuildUpdatedCache( |
| 1454 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1455 |
[out, retval] IUIAutomationElement **updatedElement); |
| 1456 |
|
| 1457 |
HRESULT GetCurrentPropertyValue( |
| 1458 |
[in] PROPERTYID propertyId, |
| 1459 |
[out, retval] VARIANT *retVal); |
| 1460 |
HRESULT GetCurrentPropertyValueEx( |
| 1461 |
[in] PROPERTYID propertyId, |
| 1462 |
[in] BOOL ignoreDefaultValue, |
| 1463 |
[out, retval] VARIANT *retVal); |
| 1464 |
|
| 1465 |
HRESULT GetCachedPropertyValue( |
| 1466 |
[in] PROPERTYID propertyId, |
| 1467 |
[out, retval] VARIANT *retVal); |
| 1468 |
HRESULT GetCachedPropertyValueEx( |
| 1469 |
[in] PROPERTYID propertyId, |
| 1470 |
[in] BOOL ignoreDefaultValue, |
| 1471 |
[out, retval] VARIANT *retVal); |
| 1472 |
|
| 1473 |
HRESULT GetCurrentPatternAs( |
| 1474 |
[in] PATTERNID patternId, |
| 1475 |
[in] REFIID riid, |
| 1476 |
[out, iid_is(riid), retval] void **patternObject); |
| 1477 |
HRESULT GetCachedPatternAs( |
| 1478 |
[in] PATTERNID patternId, |
| 1479 |
[in] REFIID riid, |
| 1480 |
[out, iid_is(riid), retval] void **patternObject); |
| 1481 |
|
| 1482 |
HRESULT GetCurrentPattern( |
| 1483 |
[in] PATTERNID patternId, |
| 1484 |
[out, retval] IUnknown **patternObject); |
| 1485 |
HRESULT GetCachedPattern( |
| 1486 |
[in] PATTERNID patternId, |
| 1487 |
[out, retval] IUnknown **patternObject); |
| 1488 |
|
| 1489 |
HRESULT GetCachedParent([out, retval] IUIAutomationElement **parent); |
| 1490 |
HRESULT GetCachedChildren([out, retval] IUIAutomationElementArray **children); |
| 1491 |
|
| 1492 |
[propget] HRESULT CurrentProcessId([out, retval] int *retVal); |
| 1493 |
[propget] HRESULT CurrentControlType([out, retval] CONTROLTYPEID *retVal); |
| 1494 |
[propget] HRESULT CurrentLocalizedControlType([out, retval] BSTR *retVal); |
| 1495 |
[propget] HRESULT CurrentName([out, retval] BSTR *retVal); |
| 1496 |
[propget] HRESULT CurrentAcceleratorKey([out, retval] BSTR *retVal); |
| 1497 |
[propget] HRESULT CurrentAccessKey([out, retval] BSTR *retVal); |
| 1498 |
[propget] HRESULT CurrentHasKeyboardFocus([out, retval] BOOL *retVal); |
| 1499 |
[propget] HRESULT CurrentIsKeyboardFocusable([out, retval] BOOL *retVal); |
| 1500 |
[propget] HRESULT CurrentIsEnabled([out, retval] BOOL *retVal); |
| 1501 |
[propget] HRESULT CurrentAutomationId([out, retval] BSTR *retVal); |
| 1502 |
[propget] HRESULT CurrentClassName([out, retval] BSTR *retVal); |
| 1503 |
[propget] HRESULT CurrentHelpText([out, retval] BSTR *retVal); |
| 1504 |
[propget] HRESULT CurrentCulture([out, retval] int *retVal); |
| 1505 |
[propget] HRESULT CurrentIsControlElement([out, retval] BOOL *retVal); |
| 1506 |
[propget] HRESULT CurrentIsContentElement([out, retval] BOOL *retVal); |
| 1507 |
[propget] HRESULT CurrentIsPassword([out, retval] BOOL *retVal); |
| 1508 |
[propget] HRESULT CurrentNativeWindowHandle([out, retval] UIA_HWND *retVal); |
| 1509 |
[propget] HRESULT CurrentItemType([out, retval] BSTR *retVal); |
| 1510 |
[propget] HRESULT CurrentIsOffscreen([out, retval] BOOL *retVal); |
| 1511 |
[propget] HRESULT CurrentOrientation([out, retval] enum OrientationType *retVal); |
| 1512 |
[propget] HRESULT CurrentFrameworkId([out, retval] BSTR *retVal); |
| 1513 |
[propget] HRESULT CurrentIsRequiredForForm([out, retval] BOOL *retVal); |
| 1514 |
[propget] HRESULT CurrentItemStatus([out, retval] BSTR *retVal); |
| 1515 |
[propget] HRESULT CurrentBoundingRectangle([out, retval] RECT *retVal); |
| 1516 |
[propget] HRESULT CurrentLabeledBy([out, retval] IUIAutomationElement **retVal); |
| 1517 |
[propget] HRESULT CurrentAriaRole([out, retval] BSTR *retVal); |
| 1518 |
[propget] HRESULT CurrentAriaProperties([out, retval] BSTR *retVal); |
| 1519 |
[propget] HRESULT CurrentIsDataValidForForm([out, retval] BOOL *retVal); |
| 1520 |
[propget] HRESULT CurrentControllerFor([out, retval] IUIAutomationElementArray **retVal); |
| 1521 |
[propget] HRESULT CurrentDescribedBy([out, retval] IUIAutomationElementArray **retVal); |
| 1522 |
[propget] HRESULT CurrentFlowsTo([out, retval] IUIAutomationElementArray **retVal); |
| 1523 |
[propget] HRESULT CurrentProviderDescription([out, retval] BSTR *retVal); |
| 1524 |
|
| 1525 |
[propget] HRESULT CachedProcessId([out, retval] int *retVal); |
| 1526 |
[propget] HRESULT CachedControlType([out, retval] CONTROLTYPEID *retVal); |
| 1527 |
[propget] HRESULT CachedLocalizedControlType([out, retval] BSTR *retVal); |
| 1528 |
[propget] HRESULT CachedName([out, retval] BSTR *retVal); |
| 1529 |
[propget] HRESULT CachedAcceleratorKey([out, retval] BSTR *retVal); |
| 1530 |
[propget] HRESULT CachedAccessKey([out, retval] BSTR *retVal); |
| 1531 |
[propget] HRESULT CachedHasKeyboardFocus([out, retval] BOOL *retVal); |
| 1532 |
[propget] HRESULT CachedIsKeyboardFocusable([out, retval] BOOL *retVal); |
| 1533 |
[propget] HRESULT CachedIsEnabled([out, retval] BOOL *retVal); |
| 1534 |
[propget] HRESULT CachedAutomationId([out, retval] BSTR *retVal); |
| 1535 |
[propget] HRESULT CachedClassName([out, retval] BSTR *retVal); |
| 1536 |
[propget] HRESULT CachedHelpText([out, retval] BSTR *retVal); |
| 1537 |
[propget] HRESULT CachedCulture([out, retval] int *retVal); |
| 1538 |
[propget] HRESULT CachedIsControlElement([out, retval] BOOL *retVal); |
| 1539 |
[propget] HRESULT CachedIsContentElement([out, retval] BOOL *retVal); |
| 1540 |
[propget] HRESULT CachedIsPassword([out, retval] BOOL *retVal); |
| 1541 |
[propget] HRESULT CachedNativeWindowHandle([out, retval] UIA_HWND *retVal); |
| 1542 |
[propget] HRESULT CachedItemType([out, retval] BSTR *retVal); |
| 1543 |
[propget] HRESULT CachedIsOffscreen([out, retval] BOOL *retVal); |
| 1544 |
[propget] HRESULT CachedOrientation([out, retval] enum OrientationType *retVal); |
| 1545 |
[propget] HRESULT CachedFrameworkId([out, retval] BSTR *retVal); |
| 1546 |
[propget] HRESULT CachedIsRequiredForForm([out, retval] BOOL *retVal); |
| 1547 |
[propget] HRESULT CachedItemStatus([out, retval] BSTR *retVal); |
| 1548 |
[propget] HRESULT CachedBoundingRectangle([out, retval] RECT *retVal); |
| 1549 |
[propget] HRESULT CachedLabeledBy([out, retval] IUIAutomationElement **retVal); |
| 1550 |
[propget] HRESULT CachedAriaRole([out, retval] BSTR *retVal); |
| 1551 |
[propget] HRESULT CachedAriaProperties([out, retval] BSTR *retVal); |
| 1552 |
[propget] HRESULT CachedIsDataValidForForm([out, retval] BOOL *retVal); |
| 1553 |
[propget] HRESULT CachedControllerFor([out, retval] IUIAutomationElementArray **retVal); |
| 1554 |
[propget] HRESULT CachedDescribedBy([out, retval] IUIAutomationElementArray **retVal); |
| 1555 |
[propget] HRESULT CachedFlowsTo([out, retval] IUIAutomationElementArray **retVal); |
| 1556 |
[propget] HRESULT CachedProviderDescription([out, retval] BSTR *retVal); |
| 1557 |
|
| 1558 |
HRESULT GetClickablePoint( |
| 1559 |
[out] POINT *clickable, |
| 1560 |
[out, retval] BOOL *gotClickable); |
| 1561 |
} |
| 1562 |
|
| 1563 |
[ |
| 1564 |
object, |
| 1565 |
uuid(6749c683-f70d-4487-a698-5f79d55290d6), |
| 1566 |
pointer_default(unique) |
| 1567 |
] |
| 1568 |
interface IUIAutomationElement2 : IUIAutomationElement |
| 1569 |
{ |
| 1570 |
[propget] HRESULT CurrentOptimizeForVisualContent([out, retval] BOOL *retVal); |
| 1571 |
[propget] HRESULT CachedOptimizeForVisualContent([out, retval] BOOL *retVal); |
| 1572 |
|
| 1573 |
[propget] HRESULT CurrentLiveSetting([out, retval] enum LiveSetting *retVal); |
| 1574 |
[propget] HRESULT CachedLiveSetting([out, retval] enum LiveSetting *retVal); |
| 1575 |
|
| 1576 |
[propget] HRESULT CurrentFlowsFrom([out, retval] IUIAutomationElementArray **retVal); |
| 1577 |
[propget] HRESULT CachedFlowsFrom([out, retval] IUIAutomationElementArray **retVal); |
| 1578 |
} |
| 1579 |
|
| 1580 |
[ |
| 1581 |
object, |
| 1582 |
uuid(8471df34-aee0-4a01-a7de-7db9af12c296), |
| 1583 |
pointer_default(unique) |
| 1584 |
] |
| 1585 |
interface IUIAutomationElement3 : IUIAutomationElement2 |
| 1586 |
{ |
| 1587 |
HRESULT ShowContextMenu(); |
| 1588 |
|
| 1589 |
[propget] HRESULT CurrentIsPeripheral([out, retval] BOOL *retVal); |
| 1590 |
[propget] HRESULT CachedIsPeripheral([out, retval] BOOL *retVal); |
| 1591 |
} |
| 1592 |
|
| 1593 |
[ |
| 1594 |
object, |
| 1595 |
uuid(3b6e233c-52fb-4063-a4c9-77c075c2a06b), |
| 1596 |
pointer_default(unique) |
| 1597 |
] |
| 1598 |
interface IUIAutomationElement4 : IUIAutomationElement3 |
| 1599 |
{ |
| 1600 |
[propget] HRESULT CurrentPositionInSet([out, retval] int *retVal); |
| 1601 |
[propget] HRESULT CurrentSizeOfSet([out, retval] int *retVal); |
| 1602 |
[propget] HRESULT CurrentLevel([out, retval] int *retVal); |
| 1603 |
[propget] HRESULT CurrentAnnotationTypes([out, retval] SAFEARRAY(int) *retVal); |
| 1604 |
[propget] HRESULT CurrentAnnotationObjects([out, retval] IUIAutomationElementArray **retVal); |
| 1605 |
|
| 1606 |
[propget] HRESULT CachedPositionInSet([out, retval] int *retVal); |
| 1607 |
[propget] HRESULT CachedSizeOfSet([out, retval] int *retVal); |
| 1608 |
[propget] HRESULT CachedLevel([out, retval] int *retVal); |
| 1609 |
[propget] HRESULT CachedAnnotationTypes([out, retval] SAFEARRAY(int) *retVal); |
| 1610 |
[propget] HRESULT CachedAnnotationObjects([out, retval] IUIAutomationElementArray **retVal); |
| 1611 |
} |
| 1612 |
|
| 1613 |
[ |
| 1614 |
object, |
| 1615 |
uuid(98141c1d-0d0e-4175-bbe2-6bff455842a7), |
| 1616 |
pointer_default(unique) |
| 1617 |
] |
| 1618 |
interface IUIAutomationElement5 : IUIAutomationElement4 |
| 1619 |
{ |
| 1620 |
[propget] HRESULT CurrentLandmarkType([out, retval] LANDMARKTYPEID *retVal); |
| 1621 |
[propget] HRESULT CurrentLocalizedLandmarkType([out, retval] BSTR *retVal); |
| 1622 |
|
| 1623 |
[propget] HRESULT CachedLandmarkType([out, retval] LANDMARKTYPEID *retVal); |
| 1624 |
[propget] HRESULT CachedLocalizedLandmarkType([out, retval] BSTR *retVal); |
| 1625 |
} |
| 1626 |
|
| 1627 |
[ |
| 1628 |
object, |
| 1629 |
uuid(4780d450-8bca-4977-afa5-a4a517f555e3), |
| 1630 |
pointer_default(unique) |
| 1631 |
] |
| 1632 |
interface IUIAutomationElement6 : IUIAutomationElement5 |
| 1633 |
{ |
| 1634 |
[propget] HRESULT CurrentFullDescription([out, retval] BSTR *retVal); |
| 1635 |
[propget] HRESULT CachedFullDescription([out, retval] BSTR *retVal); |
| 1636 |
} |
| 1637 |
|
| 1638 |
[ |
| 1639 |
object, |
| 1640 |
uuid(204e8572-cfc3-4c11-b0c8-7da7420750b7), |
| 1641 |
pointer_default(unique) |
| 1642 |
] |
| 1643 |
interface IUIAutomationElement7 : IUIAutomationElement6 |
| 1644 |
{ |
| 1645 |
HRESULT FindFirstWithOptions( |
| 1646 |
[in] enum TreeScope scope, |
| 1647 |
[in] IUIAutomationCondition *condition, |
| 1648 |
[in] enum TreeTraversalOptions traversalOptions, |
| 1649 |
[in] IUIAutomationElement *root, |
| 1650 |
[out, retval] IUIAutomationElement **found); |
| 1651 |
HRESULT FindAllWithOptions( |
| 1652 |
[in] enum TreeScope scope, |
| 1653 |
[in] IUIAutomationCondition *condition, |
| 1654 |
[in] enum TreeTraversalOptions traversalOptions, |
| 1655 |
[in] IUIAutomationElement *root, |
| 1656 |
[out, retval] IUIAutomationElementArray **found); |
| 1657 |
|
| 1658 |
HRESULT FindFirstWithOptionsBuildCache( |
| 1659 |
[in] enum TreeScope scope, |
| 1660 |
[in] IUIAutomationCondition *condition, |
| 1661 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1662 |
[in] enum TreeTraversalOptions traversalOptions, |
| 1663 |
[in] IUIAutomationElement *root, |
| 1664 |
[out, retval] IUIAutomationElement **found); |
| 1665 |
HRESULT FindAllWithOptionsBuildCache( |
| 1666 |
[in] enum TreeScope scope, |
| 1667 |
[in] IUIAutomationCondition *condition, |
| 1668 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1669 |
[in] enum TreeTraversalOptions traversalOptions, |
| 1670 |
[in] IUIAutomationElement *root, |
| 1671 |
[out, retval] IUIAutomationElementArray **found); |
| 1672 |
|
| 1673 |
HRESULT GetCurrentMetadataValue( |
| 1674 |
[in] int targetId, |
| 1675 |
[in] METADATAID metadataId, |
| 1676 |
[out, retval] VARIANT *returnVal); |
| 1677 |
} |
| 1678 |
|
| 1679 |
[ |
| 1680 |
object, |
| 1681 |
uuid(8c60217d-5411-4cde-bcc0-1ceda223830c), |
| 1682 |
pointer_default(unique) |
| 1683 |
] |
| 1684 |
interface IUIAutomationElement8 : IUIAutomationElement7 |
| 1685 |
{ |
| 1686 |
[propget] HRESULT CurrentHeadingLevel([out, retval] HEADINGLEVELID *retVal); |
| 1687 |
[propget] HRESULT CachedHeadingLevel([out, retval] HEADINGLEVELID *retVal); |
| 1688 |
} |
| 1689 |
|
| 1690 |
[ |
| 1691 |
object, |
| 1692 |
uuid(39325fac-039d-440e-a3a3-5eb81a5cecc3), |
| 1693 |
pointer_default(unique) |
| 1694 |
] |
| 1695 |
interface IUIAutomationElement9 : IUIAutomationElement8 |
| 1696 |
{ |
| 1697 |
[propget] HRESULT CurrentIsDialog([out, retval] BOOL *retVal); |
| 1698 |
[propget] HRESULT CachedIsDialog([out, retval] BOOL *retVal); |
| 1699 |
} |
| 1700 |
|
| 1701 |
[ |
| 1702 |
object, |
| 1703 |
uuid(14314595-b4bc-4055-95f2-58f2e42c9855), |
| 1704 |
pointer_default(unique) |
| 1705 |
] |
| 1706 |
interface IUIAutomationElementArray : IUnknown |
| 1707 |
{ |
| 1708 |
[propget] HRESULT Length([out, retval] int *length); |
| 1709 |
|
| 1710 |
HRESULT GetElement( |
| 1711 |
[in] int index, |
| 1712 |
[out, retval] IUIAutomationElement **element); |
| 1713 |
} |
| 1714 |
|
| 1715 |
[ |
| 1716 |
object, |
| 1717 |
uuid(85b94ecd-849d-42b6-b94d-d6db23fdf5a4), |
| 1718 |
pointer_default(unique) |
| 1719 |
] |
| 1720 |
interface IUIAutomationProxyFactory : IUnknown |
| 1721 |
{ |
| 1722 |
HRESULT CreateProvider( |
| 1723 |
[in] UIA_HWND hwnd, |
| 1724 |
[in] LONG idObject, |
| 1725 |
[in] LONG idChild, |
| 1726 |
[out, retval] IRawElementProviderSimple **provider); |
| 1727 |
|
| 1728 |
[propget] HRESULT ProxyFactoryId([out, retval] BSTR *factoryId); |
| 1729 |
} |
| 1730 |
|
| 1731 |
[ |
| 1732 |
object, |
| 1733 |
uuid(d50e472e-b64b-490c-bca1-d30696f9f289), |
| 1734 |
pointer_default(unique) |
| 1735 |
] |
| 1736 |
interface IUIAutomationProxyFactoryEntry : IUnknown |
| 1737 |
{ |
| 1738 |
[propget] HRESULT ProxyFactory([out, retval] IUIAutomationProxyFactory **factory); |
| 1739 |
|
| 1740 |
[propget] HRESULT ClassName([out, retval] BSTR *className); |
| 1741 |
[propget] HRESULT ImageName([out, retval] BSTR *imageName); |
| 1742 |
[propget] HRESULT AllowSubstringMatch([out, retval] BOOL *allowSubstringMatch); |
| 1743 |
[propget] HRESULT CanCheckBaseClass([out, retval] BOOL *canCheckBaseClass); |
| 1744 |
[propget] HRESULT NeedsAdviseEvents([out, retval] BOOL *adviseEvents); |
| 1745 |
|
| 1746 |
[propput] HRESULT ClassName([in] LPCWSTR className); |
| 1747 |
[propput] HRESULT ImageName([in] LPCWSTR imageName); |
| 1748 |
[propput] HRESULT AllowSubstringMatch([in] BOOL allowSubstringMatch); |
| 1749 |
[propput] HRESULT CanCheckBaseClass([in] BOOL canCheckBaseClass); |
| 1750 |
[propput] HRESULT NeedsAdviseEvents([in] BOOL adviseEvents); |
| 1751 |
|
| 1752 |
HRESULT SetWinEventsForAutomationEvent( |
| 1753 |
[in] EVENTID eventId, |
| 1754 |
[in] PROPERTYID propertyId, |
| 1755 |
[in] SAFEARRAY(UINT) winEvents); |
| 1756 |
HRESULT GetWinEventsForAutomationEvent( |
| 1757 |
[in] EVENTID eventId, |
| 1758 |
[in] PROPERTYID propertyId, |
| 1759 |
[out, retval] SAFEARRAY(UINT) *winEvents); |
| 1760 |
} |
| 1761 |
|
| 1762 |
[ |
| 1763 |
object, |
| 1764 |
uuid(09e31e18-872d-4873-93d1-1e541ec133fd), |
| 1765 |
pointer_default(unique) |
| 1766 |
] |
| 1767 |
interface IUIAutomationProxyFactoryMapping : IUnknown |
| 1768 |
{ |
| 1769 |
[propget] HRESULT Count([out, retval] UINT *count); |
| 1770 |
|
| 1771 |
HRESULT GetTable([out, retval] SAFEARRAY(IUIAutomationProxyFactoryEntry) *table); |
| 1772 |
HRESULT GetEntry( |
| 1773 |
[in] UINT index, |
| 1774 |
[out, retval] IUIAutomationProxyFactoryEntry **entry); |
| 1775 |
|
| 1776 |
HRESULT SetTable([in] SAFEARRAY(IUIAutomationProxyFactoryEntry) factoryList); |
| 1777 |
HRESULT InsertEntries( |
| 1778 |
[in] UINT before, |
| 1779 |
[in] SAFEARRAY(IUIAutomationProxyFactoryEntry) factoryList); |
| 1780 |
HRESULT InsertEntry( |
| 1781 |
[in] UINT before, |
| 1782 |
[in] IUIAutomationProxyFactoryEntry *factory); |
| 1783 |
|
| 1784 |
HRESULT RemoveEntry([in] UINT index); |
| 1785 |
HRESULT ClearTable(); |
| 1786 |
HRESULT RestoreDefaultTable(); |
| 1787 |
} |
| 1788 |
|
| 1789 |
[ |
| 1790 |
object, |
| 1791 |
uuid(c9ee12f2-c13b-4408-997c-639914377f4e), |
| 1792 |
pointer_default(unique) |
| 1793 |
] |
| 1794 |
interface IUIAutomationEventHandlerGroup : IUnknown |
| 1795 |
{ |
| 1796 |
HRESULT AddActiveTextPositionChangedEventHandler( |
| 1797 |
[in] enum TreeScope scope, |
| 1798 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1799 |
[in] IUIAutomationActiveTextPositionChangedEventHandler *handler); |
| 1800 |
HRESULT AddAutomationEventHandler( |
| 1801 |
[in] EVENTID eventId, |
| 1802 |
[in] enum TreeScope scope, |
| 1803 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1804 |
[in] IUIAutomationEventHandler *handler); |
| 1805 |
HRESULT AddChangesEventHandler( |
| 1806 |
[in] enum TreeScope scope, |
| 1807 |
[in, size_is(changesCount)] int *changeTypes, |
| 1808 |
[in] int changesCount, |
| 1809 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1810 |
[in] IUIAutomationChangesEventHandler *handler); |
| 1811 |
HRESULT AddNotificationEventHandler( |
| 1812 |
[in] enum TreeScope scope, |
| 1813 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1814 |
[in] IUIAutomationNotificationEventHandler *handler); |
| 1815 |
HRESULT AddPropertyChangedEventHandler( |
| 1816 |
[in] enum TreeScope scope, |
| 1817 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1818 |
[in] IUIAutomationPropertyChangedEventHandler *handler, |
| 1819 |
[in, size_is(propertyCount)] PROPERTYID *propertyArray, |
| 1820 |
[in] int propertyCount); |
| 1821 |
HRESULT AddStructureChangedEventHandler( |
| 1822 |
[in] enum TreeScope scope, |
| 1823 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1824 |
[in] IUIAutomationStructureChangedEventHandler *handler); |
| 1825 |
HRESULT AddTextEditTextChangedEventHandler( |
| 1826 |
[in] enum TreeScope scope, |
| 1827 |
[in] enum TextEditChangeType textEditChangeType, |
| 1828 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1829 |
[in] IUIAutomationTextEditTextChangedEventHandler *handler); |
| 1830 |
} |
| 1831 |
|
| 1832 |
[ |
| 1833 |
object, |
| 1834 |
uuid(30cbe57d-d9d0-452a-ab13-7ac5ac4825ee), |
| 1835 |
pointer_default(unique) |
| 1836 |
] |
| 1837 |
interface IUIAutomation : IUnknown |
| 1838 |
{ |
| 1839 |
HRESULT CompareElements( |
| 1840 |
[in] IUIAutomationElement *el1, |
| 1841 |
[in] IUIAutomationElement *el2, |
| 1842 |
[out, retval] BOOL *areSame); |
| 1843 |
HRESULT CompareRuntimeIds( |
| 1844 |
[in] SAFEARRAY(int) runtimeId1, |
| 1845 |
[in] SAFEARRAY(int) runtimeId2, |
| 1846 |
[out, retval] BOOL *areSame); |
| 1847 |
|
| 1848 |
HRESULT GetRootElement([out, retval] IUIAutomationElement **root); |
| 1849 |
HRESULT ElementFromHandle( |
| 1850 |
[in] UIA_HWND hwnd, |
| 1851 |
[out, retval] IUIAutomationElement **element); |
| 1852 |
HRESULT ElementFromPoint( |
| 1853 |
[in] POINT pt, |
| 1854 |
[out, retval] IUIAutomationElement **element); |
| 1855 |
HRESULT GetFocusedElement([out, retval] IUIAutomationElement **element); |
| 1856 |
|
| 1857 |
HRESULT GetRootElementBuildCache( |
| 1858 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1859 |
[out, retval] IUIAutomationElement **root); |
| 1860 |
HRESULT ElementFromHandleBuildCache( |
| 1861 |
[in] UIA_HWND hwnd, |
| 1862 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1863 |
[out, retval] IUIAutomationElement **element); |
| 1864 |
HRESULT ElementFromPointBuildCache( |
| 1865 |
[in] POINT pt, |
| 1866 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1867 |
[out, retval] IUIAutomationElement **element); |
| 1868 |
HRESULT GetFocusedElementBuildCache( |
| 1869 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1870 |
[out, retval] IUIAutomationElement **element); |
| 1871 |
|
| 1872 |
HRESULT CreateTreeWalker( |
| 1873 |
[in] IUIAutomationCondition *pCondition, |
| 1874 |
[out, retval] IUIAutomationTreeWalker **walker); |
| 1875 |
|
| 1876 |
[propget] HRESULT ControlViewWalker([out, retval] IUIAutomationTreeWalker **walker); |
| 1877 |
[propget] HRESULT ContentViewWalker([out, retval] IUIAutomationTreeWalker **walker); |
| 1878 |
[propget] HRESULT RawViewWalker([out, retval] IUIAutomationTreeWalker **walker); |
| 1879 |
|
| 1880 |
[propget] HRESULT RawViewCondition([out, retval] IUIAutomationCondition **condition); |
| 1881 |
[propget] HRESULT ControlViewCondition([out, retval] IUIAutomationCondition **condition); |
| 1882 |
[propget] HRESULT ContentViewCondition([out, retval] IUIAutomationCondition **condition); |
| 1883 |
|
| 1884 |
HRESULT CreateCacheRequest([out, retval] IUIAutomationCacheRequest **cacheRequest); |
| 1885 |
|
| 1886 |
HRESULT CreateTrueCondition([out, retval] IUIAutomationCondition **newCondition); |
| 1887 |
HRESULT CreateFalseCondition([out, retval] IUIAutomationCondition **newCondition); |
| 1888 |
HRESULT CreatePropertyCondition( |
| 1889 |
[in] PROPERTYID propertyId, |
| 1890 |
[in] VARIANT value, |
| 1891 |
[out, retval] IUIAutomationCondition **newCondition); |
| 1892 |
HRESULT CreatePropertyConditionEx( |
| 1893 |
[in] PROPERTYID propertyId, |
| 1894 |
[in] VARIANT value, |
| 1895 |
[in] enum PropertyConditionFlags flags, |
| 1896 |
[out, retval] IUIAutomationCondition **newCondition); |
| 1897 |
|
| 1898 |
HRESULT CreateAndCondition( |
| 1899 |
[in] IUIAutomationCondition *condition1, |
| 1900 |
[in] IUIAutomationCondition *condition2, |
| 1901 |
[out, retval] IUIAutomationCondition **newCondition); |
| 1902 |
HRESULT CreateAndConditionFromArray( |
| 1903 |
[in] SAFEARRAY(IUIAutomationCondition) conditions, |
| 1904 |
[out, retval] IUIAutomationCondition **newCondition); |
| 1905 |
HRESULT CreateAndConditionFromNativeArray( |
| 1906 |
[in, size_is(conditionCount)] IUIAutomationCondition **conditions, |
| 1907 |
[in] int conditionCount, |
| 1908 |
[out, retval] IUIAutomationCondition **newCondition); |
| 1909 |
|
| 1910 |
HRESULT CreateOrCondition( |
| 1911 |
[in] IUIAutomationCondition *condition1, |
| 1912 |
[in] IUIAutomationCondition *condition2, |
| 1913 |
[out, retval] IUIAutomationCondition **newCondition); |
| 1914 |
HRESULT CreateOrConditionFromArray( |
| 1915 |
[in] SAFEARRAY(IUIAutomationCondition) conditions, |
| 1916 |
[out, retval] IUIAutomationCondition **newCondition); |
| 1917 |
HRESULT CreateOrConditionFromNativeArray( |
| 1918 |
[in, size_is(conditionCount)] IUIAutomationCondition **conditions, |
| 1919 |
[in] int conditionCount, |
| 1920 |
[out, retval] IUIAutomationCondition **newCondition); |
| 1921 |
|
| 1922 |
HRESULT CreateNotCondition( |
| 1923 |
[in] IUIAutomationCondition *condition, |
| 1924 |
[out, retval] IUIAutomationCondition **newCondition); |
| 1925 |
|
| 1926 |
HRESULT AddAutomationEventHandler( |
| 1927 |
[in] EVENTID eventId, |
| 1928 |
[in] IUIAutomationElement *element, |
| 1929 |
[in] enum TreeScope scope, |
| 1930 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1931 |
[in] IUIAutomationEventHandler *handler); |
| 1932 |
HRESULT RemoveAutomationEventHandler( |
| 1933 |
[in] EVENTID eventId, |
| 1934 |
[in] IUIAutomationElement *element, |
| 1935 |
[in] IUIAutomationEventHandler *handler); |
| 1936 |
|
| 1937 |
HRESULT AddPropertyChangedEventHandlerNativeArray( |
| 1938 |
[in] IUIAutomationElement *element, |
| 1939 |
[in] enum TreeScope scope, |
| 1940 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1941 |
[in] IUIAutomationPropertyChangedEventHandler *handler, |
| 1942 |
[in, size_is(propertyCount)] PROPERTYID *propertyArray, |
| 1943 |
[in] int propertyCount); |
| 1944 |
HRESULT AddPropertyChangedEventHandler( |
| 1945 |
[in] IUIAutomationElement *element, |
| 1946 |
[in] enum TreeScope scope, |
| 1947 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1948 |
[in] IUIAutomationPropertyChangedEventHandler *handler, |
| 1949 |
[in] SAFEARRAY(PROPERTYID) propertyArray); |
| 1950 |
HRESULT RemovePropertyChangedEventHandler( |
| 1951 |
[in] IUIAutomationElement *element, |
| 1952 |
[in] IUIAutomationPropertyChangedEventHandler *handler); |
| 1953 |
|
| 1954 |
HRESULT AddStructureChangedEventHandler( |
| 1955 |
[in] IUIAutomationElement *element, |
| 1956 |
[in] enum TreeScope scope, |
| 1957 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1958 |
[in] IUIAutomationStructureChangedEventHandler *handler); |
| 1959 |
HRESULT RemoveStructureChangedEventHandler( |
| 1960 |
[in] IUIAutomationElement *element, |
| 1961 |
[in] IUIAutomationStructureChangedEventHandler *handler); |
| 1962 |
|
| 1963 |
HRESULT AddFocusChangedEventHandler( |
| 1964 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 1965 |
[in] IUIAutomationFocusChangedEventHandler *handler); |
| 1966 |
HRESULT RemoveFocusChangedEventHandler([in] IUIAutomationFocusChangedEventHandler *handler); |
| 1967 |
|
| 1968 |
HRESULT RemoveAllEventHandlers(); |
| 1969 |
|
| 1970 |
HRESULT IntNativeArrayToSafeArray( |
| 1971 |
[in, size_is(arrayCount)] int *array, |
| 1972 |
[in] int arrayCount, |
| 1973 |
[out, retval] SAFEARRAY(int) *safeArray); |
| 1974 |
HRESULT IntSafeArrayToNativeArray( |
| 1975 |
[in] SAFEARRAY(int) intArray, |
| 1976 |
[out, size_is( ,*arrayCount)] int **array, |
| 1977 |
[out, retval] int *arrayCount); |
| 1978 |
|
| 1979 |
HRESULT RectToVariant( |
| 1980 |
[in] RECT rc, |
| 1981 |
[out, retval] VARIANT *var); |
| 1982 |
HRESULT VariantToRect( |
| 1983 |
[in] VARIANT var, |
| 1984 |
[out, retval] RECT *rc); |
| 1985 |
HRESULT SafeArrayToRectNativeArray( |
| 1986 |
[in] SAFEARRAY(double) rects, |
| 1987 |
[out, size_is( ,*rectArrayCount)] RECT **rectArray, |
| 1988 |
[out, retval] int *rectArrayCount); |
| 1989 |
|
| 1990 |
HRESULT CreateProxyFactoryEntry( |
| 1991 |
[in] IUIAutomationProxyFactory *factory, |
| 1992 |
[out, retval] IUIAutomationProxyFactoryEntry **factoryEntry); |
| 1993 |
[propget] HRESULT ProxyFactoryMapping([out, retval] IUIAutomationProxyFactoryMapping **factoryMapping); |
| 1994 |
|
| 1995 |
HRESULT GetPropertyProgrammaticName( |
| 1996 |
[in] PROPERTYID property, |
| 1997 |
[out, retval] BSTR *name); |
| 1998 |
HRESULT GetPatternProgrammaticName( |
| 1999 |
[in] PATTERNID pattern, |
| 2000 |
[out, retval] BSTR *name); |
| 2001 |
|
| 2002 |
HRESULT PollForPotentialSupportedPatterns( |
| 2003 |
[in] IUIAutomationElement *pElement, |
| 2004 |
[out] SAFEARRAY(int) *patternIds, |
| 2005 |
[out] SAFEARRAY(BSTR) *patternNames); |
| 2006 |
HRESULT PollForPotentialSupportedProperties( |
| 2007 |
[in] IUIAutomationElement *pElement, |
| 2008 |
[out] SAFEARRAY(int) *propertyIds, |
| 2009 |
[out] SAFEARRAY(BSTR) *propertyNames); |
| 2010 |
|
| 2011 |
HRESULT CheckNotSupported( |
| 2012 |
[in] VARIANT value, |
| 2013 |
[out, retval] BOOL *isNotSupported); |
| 2014 |
|
| 2015 |
[propget] HRESULT ReservedNotSupportedValue([out, retval] IUnknown **notSupportedValue); |
| 2016 |
[propget] HRESULT ReservedMixedAttributeValue([out, retval] IUnknown **mixedAttributeValue); |
| 2017 |
|
| 2018 |
HRESULT ElementFromIAccessible( |
| 2019 |
[in] IAccessible *accessible, |
| 2020 |
[in] int childId, |
| 2021 |
[out, retval] IUIAutomationElement **element); |
| 2022 |
HRESULT ElementFromIAccessibleBuildCache( |
| 2023 |
[in] IAccessible *accessible, |
| 2024 |
[in] int childId, |
| 2025 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 2026 |
[out, retval] IUIAutomationElement **element); |
| 2027 |
} |
| 2028 |
|
| 2029 |
[ |
| 2030 |
object, |
| 2031 |
uuid(34723aff-0c9d-49d0-9896-7ab52df8cd8a), |
| 2032 |
pointer_default(unique) |
| 2033 |
] |
| 2034 |
interface IUIAutomation2 : IUIAutomation |
| 2035 |
{ |
| 2036 |
[propget] HRESULT AutoSetFocus([out, retval] BOOL *autoSetFocus); |
| 2037 |
[propput] HRESULT AutoSetFocus([in] BOOL autoSetFocus); |
| 2038 |
|
| 2039 |
[propget] HRESULT ConnectionTimeout([out, retval] DWORD *timeout); |
| 2040 |
[propput] HRESULT ConnectionTimeout([in] DWORD timeout); |
| 2041 |
|
| 2042 |
[propget] HRESULT TransactionTimeout([out, retval] DWORD *timeout); |
| 2043 |
[propput] HRESULT TransactionTimeout([in] DWORD timeout); |
| 2044 |
} |
| 2045 |
|
| 2046 |
[ |
| 2047 |
object, |
| 2048 |
uuid(73d768da-9b51-4b89-936e-c209290973e7), |
| 2049 |
pointer_default(unique) |
| 2050 |
] |
| 2051 |
interface IUIAutomation3 : IUIAutomation2 |
| 2052 |
{ |
| 2053 |
HRESULT AddTextEditTextChangedEventHandler( |
| 2054 |
[in] IUIAutomationElement *element, |
| 2055 |
[in] enum TreeScope scope, |
| 2056 |
[in] enum TextEditChangeType textEditChangeType, |
| 2057 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 2058 |
[in] IUIAutomationTextEditTextChangedEventHandler *handler); |
| 2059 |
HRESULT RemoveTextEditTextChangedEventHandler( |
| 2060 |
[in] IUIAutomationElement *element, |
| 2061 |
[in] IUIAutomationTextEditTextChangedEventHandler *handler); |
| 2062 |
} |
| 2063 |
|
| 2064 |
[ |
| 2065 |
object, |
| 2066 |
uuid(1189c02a-05f8-4319-8e21-e817e3db2860), |
| 2067 |
pointer_default(unique) |
| 2068 |
] |
| 2069 |
interface IUIAutomation4 : IUIAutomation3 |
| 2070 |
{ |
| 2071 |
HRESULT AddChangesEventHandler( |
| 2072 |
[in] IUIAutomationElement *element, |
| 2073 |
[in] enum TreeScope scope, |
| 2074 |
[in, size_is(changesCount)] int *changeTypes, |
| 2075 |
[in] int changesCount, |
| 2076 |
[in] IUIAutomationCacheRequest *pCacheRequest, |
| 2077 |
[in] IUIAutomationChangesEventHandler *handler); |
| 2078 |
HRESULT RemoveChangesEventHandler( |
| 2079 |
[in] IUIAutomationElement *element, |
| 2080 |
[in] IUIAutomationChangesEventHandler *handler); |
| 2081 |
} |
| 2082 |
|
| 2083 |
[ |
| 2084 |
object, |
| 2085 |
uuid(25f700c8-d816-4057-a9dc-3cbdee77e256), |
| 2086 |
pointer_default(unique) |
| 2087 |
] |
| 2088 |
interface IUIAutomation5 : IUIAutomation4 |
| 2089 |
{ |
| 2090 |
HRESULT AddNotificationEventHandler( |
| 2091 |
[in] IUIAutomationElement *element, |
| 2092 |
[in] enum TreeScope scope, |
| 2093 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 2094 |
[in] IUIAutomationNotificationEventHandler *handler); |
| 2095 |
HRESULT RemoveNotificationEventHandler( |
| 2096 |
[in] IUIAutomationElement *element, |
| 2097 |
[in] IUIAutomationNotificationEventHandler *handler); |
| 2098 |
} |
| 2099 |
|
| 2100 |
[ |
| 2101 |
object, |
| 2102 |
uuid(aae072da-29e3-413d-87a7-192dbf81ed10), |
| 2103 |
pointer_default(unique) |
| 2104 |
] |
| 2105 |
interface IUIAutomation6 : IUIAutomation5 |
| 2106 |
{ |
| 2107 |
HRESULT CreateEventHandlerGroup([out] IUIAutomationEventHandlerGroup **handlerGroup); |
| 2108 |
HRESULT AddEventHandlerGroup( |
| 2109 |
[in] IUIAutomationElement *element, |
| 2110 |
[in] IUIAutomationEventHandlerGroup *handlerGroup); |
| 2111 |
HRESULT RemoveEventHandlerGroup( |
| 2112 |
[in] IUIAutomationElement *element, |
| 2113 |
[in] IUIAutomationEventHandlerGroup *handlerGroup); |
| 2114 |
|
| 2115 |
[propget] HRESULT ConnectionRecoveryBehavior( |
| 2116 |
[out, retval] enum ConnectionRecoveryBehaviorOptions *connectionRecoveryBehaviorOptions); |
| 2117 |
[propput] HRESULT ConnectionRecoveryBehavior( |
| 2118 |
[in] enum ConnectionRecoveryBehaviorOptions connectionRecoveryBehaviorOptions); |
| 2119 |
|
| 2120 |
[propget] HRESULT CoalesceEvents([out, retval] enum CoalesceEventsOptions *coalesceEventsOptions); |
| 2121 |
[propput] HRESULT CoalesceEvents([in] enum CoalesceEventsOptions coalesceEventsOptions); |
| 2122 |
|
| 2123 |
HRESULT AddActiveTextPositionChangedEventHandler( |
| 2124 |
[in] IUIAutomationElement *element, |
| 2125 |
[in] enum TreeScope scope, |
| 2126 |
[in] IUIAutomationCacheRequest *cacheRequest, |
| 2127 |
[in] IUIAutomationActiveTextPositionChangedEventHandler *handler); |
| 2128 |
HRESULT RemoveActiveTextPositionChangedEventHandler( |
| 2129 |
[in] IUIAutomationElement *element, |
| 2130 |
[in] IUIAutomationActiveTextPositionChangedEventHandler *handler); |
| 2131 |
} |
| 2132 |
|
| 2133 |
[ |
| 2134 |
uuid(ff48dba4-60ef-4201-aa87-54103eef594e), |
| 2135 |
version(1.0), |
| 2136 |
threading(both) |
| 2137 |
] |
| 2138 |
coclass CUIAutomation |
| 2139 |
{ |
| 2140 |
[default] interface IUIAutomation; |
| 2141 |
} |
| 2142 |
|
| 2143 |
[ |
| 2144 |
uuid(e22ad333-b25f-460c-83d0-0581107395c9), |
| 2145 |
version(1.0), |
| 2146 |
threading(both) |
| 2147 |
] |
| 2148 |
coclass CUIAutomation8 |
| 2149 |
{ |
| 2150 |
[default] interface IUIAutomation2; |
| 2151 |
interface IUIAutomation3; |
| 2152 |
interface IUIAutomation4; |
| 2153 |
interface IUIAutomation5; |
| 2154 |
interface IUIAutomation6; |
| 2155 |
} |
| 2156 |
} |