| 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 | 
 [ | 
 
 
 
 
 
 | 23 | 
     uuid(944de083-8fb8-45cf-bcb7-c477acb2f897), | 
 
 
 
 
 
 | 24 | 
     lcid(0), | 
 
 
 
 
 
 | 25 | 
     version(1.0) | 
 
 
 
 
 
 | 26 | 
 ] | 
 
 
 
 
 
 | 27 | 
 library UIAutomationClient { | 
 
 
 
 
 
 | 28 | 
     importlib ("stdole2.tlb"); | 
 
 
 
 
 
 | 29 | 
  | 
 
 
 
 
 
 | 30 | 
     /* FIXME: Uncomment when properly supported in widl | 
 
 
 
 
 
 | 31 | 
     [dllname("<no entry points>")] | 
 
 
 
 
 
 | 32 | 
     module UIA_PropertyIds | 
 
 
 
 
 
 | 33 | 
     { | 
 
 
 
 
 
 | 34 | 
     */ | 
 
 
 
 
 
 | 35 | 
         const long UIA_RuntimeIdPropertyId              = 30000; | 
 
 
 
 
 
 | 36 | 
         const long UIA_BoundingRectanglePropertyId      = 30001; | 
 
 
 
 
 
 | 37 | 
         const long UIA_ProcessIdPropertyId              = 30002; | 
 
 
 
 
 
 | 38 | 
         const long UIA_ControlTypePropertyId            = 30003; | 
 
 
 
 
 
 | 39 | 
         const long UIA_LocalizedControlTypePropertyId   = 30004; | 
 
 
 
 
 
 | 40 | 
         const long UIA_NamePropertyId                   = 30005; | 
 
 
 
 
 
 | 41 | 
         const long UIA_AcceleratorKeyPropertyId         = 30006; | 
 
 
 
 
 
 | 42 | 
         const long UIA_AccessKeyPropertyId              = 30007; | 
 
 
 
 
 
 | 43 | 
         const long UIA_HasKeyboardFocusPropertyId       = 30008; | 
 
 
 
 
 
 | 44 | 
         const long UIA_IsKeyboardFocusablePropertyId    = 30009; | 
 
 
 
 
 
 | 45 | 
         const long UIA_IsEnabledPropertyId              = 30010; | 
 
 
 
 
 
 | 46 | 
         const long UIA_AutomationIdPropertyId           = 30011; | 
 
 
 
 
 
 | 47 | 
         const long UIA_ClassNamePropertyId              = 30012; | 
 
 
 
 
 
 | 48 | 
         const long UIA_HelpTextPropertyId               = 30013; | 
 
 
 
 
 
 | 49 | 
         const long UIA_ClickablePointPropertyId         = 30014; | 
 
 
 
 
 
 | 50 | 
         const long UIA_CulturePropertyId                = 30015; | 
 
 
 
 
 
 | 51 | 
         const long UIA_IsControlElementPropertyId       = 30016; | 
 
 
 
 
 
 | 52 | 
         const long UIA_IsContentElementPropertyId       = 30017; | 
 
 
 
 
 
 | 53 | 
         const long UIA_LabeledByPropertyId              = 30018; | 
 
 
 
 
 
 | 54 | 
         const long UIA_IsPasswordPropertyId             = 30019; | 
 
 
 
 
 
 | 55 | 
         const long UIA_NativeWindowHandlePropertyId     = 30020; | 
 
 
 
 
 
 | 56 | 
         const long UIA_ItemTypePropertyId               = 30021; | 
 
 
 
 
 
 | 57 | 
         const long UIA_IsOffscreenPropertyId            = 30022; | 
 
 
 
 
 
 | 58 | 
         const long UIA_OrientationPropertyId            = 30023; | 
 
 
 
 
 
 | 59 | 
         const long UIA_FrameworkIdPropertyId            = 30024; | 
 
 
 
 
 
 | 60 | 
         const long UIA_IsRequiredForFormPropertyId      = 30025; | 
 
 
 
 
 
 | 61 | 
         const long UIA_ItemStatusPropertyId             = 30026; | 
 
 
 
 
 
 | 62 | 
         const long UIA_IsDockPatternAvailablePropertyId = 30027; | 
 
 
 
 
 
 | 63 | 
         const long UIA_IsExpandCollapsePatternAvailablePropertyId = 30028; | 
 
 
 
 
 
 | 64 | 
         const long UIA_IsGridItemPatternAvailablePropertyId       = 30029; | 
 
 
 
 
 
 | 65 | 
         const long UIA_IsGridPatternAvailablePropertyId           = 30030; | 
 
 
 
 
 
 | 66 | 
         const long UIA_IsInvokePatternAvailablePropertyId         = 30031; | 
 
 
 
 
 
 | 67 | 
         const long UIA_IsMultipleViewPatternAvailablePropertyId   = 30032; | 
 
 
 
 
 
 | 68 | 
         const long UIA_IsRangeValuePatternAvailablePropertyId     = 30033; | 
 
 
 
 
 
 | 69 | 
         const long UIA_IsScrollPatternAvailablePropertyId         = 30034; | 
 
 
 
 
 
 | 70 | 
         const long UIA_IsScrollItemPatternAvailablePropertyId     = 30035; | 
 
 
 
 
 
 | 71 | 
         const long UIA_IsSelectionItemPatternAvailablePropertyId  = 30036; | 
 
 
 
 
 
 | 72 | 
         const long UIA_IsSelectionPatternAvailablePropertyId      = 30037; | 
 
 
 
 
 
 | 73 | 
         const long UIA_IsTablePatternAvailablePropertyId          = 30038; | 
 
 
 
 
 
 | 74 | 
         const long UIA_IsTableItemPatternAvailablePropertyId      = 30039; | 
 
 
 
 
 
 | 75 | 
         const long UIA_IsTextPatternAvailablePropertyId           = 30040; | 
 
 
 
 
 
 | 76 | 
         const long UIA_IsTogglePatternAvailablePropertyId         = 30041; | 
 
 
 
 
 
 | 77 | 
         const long UIA_IsTransformPatternAvailablePropertyId      = 30042; | 
 
 
 
 
 
 | 78 | 
         const long UIA_IsValuePatternAvailablePropertyId          = 30043; | 
 
 
 
 
 
 | 79 | 
         const long UIA_IsWindowPatternAvailablePropertyId         = 30044; | 
 
 
 
 
 
 | 80 | 
         const long UIA_ValueValuePropertyId             = 30045; | 
 
 
 
 
 
 | 81 | 
         const long UIA_ValueIsReadOnlyPropertyId        = 30046; | 
 
 
 
 
 
 | 82 | 
         const long UIA_RangeValueValuePropertyId        = 30047; | 
 
 
 
 
 
 | 83 | 
         const long UIA_RangeValueIsReadOnlyPropertyId   = 30048; | 
 
 
 
 
 
 | 84 | 
         const long UIA_RangeValueMinimumPropertyId      = 30049; | 
 
 
 
 
 
 | 85 | 
         const long UIA_RangeValueMaximumPropertyId      = 30050; | 
 
 
 
 
 
 | 86 | 
         const long UIA_RangeValueLargeChangePropertyId  = 30051; | 
 
 
 
 
 
 | 87 | 
         const long UIA_RangeValueSmallChangePropertyId  = 30052; | 
 
 
 
 
 
 | 88 | 
         const long UIA_ScrollHorizontalScrollPercentPropertyId    = 30053; | 
 
 
 
 
 
 | 89 | 
         const long UIA_ScrollHorizontalViewSizePropertyId         = 30054; | 
 
 
 
 
 
 | 90 | 
         const long UIA_ScrollVerticalScrollPercentPropertyId      = 30055; | 
 
 
 
 
 
 | 91 | 
         const long UIA_ScrollVerticalViewSizePropertyId           = 30056; | 
 
 
 
 
 
 | 92 | 
         const long UIA_ScrollHorizontallyScrollablePropertyId     = 30057; | 
 
 
 
 
 
 | 93 | 
         const long UIA_ScrollVerticallyScrollablePropertyId       = 30058; | 
 
 
 
 
 
 | 94 | 
         const long UIA_SelectionSelectionPropertyId               = 30059; | 
 
 
 
 
 
 | 95 | 
         const long UIA_SelectionCanSelectMultiplePropertyId       = 30060; | 
 
 
 
 
 
 | 96 | 
         const long UIA_SelectionIsSelectionRequiredPropertyId     = 30061; | 
 
 
 
 
 
 | 97 | 
         const long UIA_GridRowCountPropertyId           = 30062; | 
 
 
 
 
 
 | 98 | 
         const long UIA_GridColumnCountPropertyId        = 30063; | 
 
 
 
 
 
 | 99 | 
         const long UIA_GridItemRowPropertyId            = 30064; | 
 
 
 
 
 
 | 100 | 
         const long UIA_GridItemColumnPropertyId         = 30065; | 
 
 
 
 
 
 | 101 | 
         const long UIA_GridItemRowSpanPropertyId        = 30066; | 
 
 
 
 
 
 | 102 | 
         const long UIA_GridItemColumnSpanPropertyId     = 30067; | 
 
 
 
 
 
 | 103 | 
         const long UIA_GridItemContainingGridPropertyId = 30068; | 
 
 
 
 
 
 | 104 | 
         const long UIA_DockDockPositionPropertyId       = 30069; | 
 
 
 
 
 
 | 105 | 
         const long UIA_ExpandCollapseExpandCollapseStatePropertyId = 30070; | 
 
 
 
 
 
 | 106 | 
         const long UIA_MultipleViewCurrentViewPropertyId           = 30071; | 
 
 
 
 
 
 | 107 | 
         const long UIA_MultipleViewSupportedViewsPropertyId        = 30072; | 
 
 
 
 
 
 | 108 | 
         const long UIA_WindowCanMaximizePropertyId                 = 30073; | 
 
 
 
 
 
 | 109 | 
         const long UIA_WindowCanMinimizePropertyId                 = 30074; | 
 
 
 
 
 
 | 110 | 
         const long UIA_WindowWindowVisualStatePropertyId           = 30075; | 
 
 
 
 
 
 | 111 | 
         const long UIA_WindowWindowInteractionStatePropertyId      = 30076; | 
 
 
 
 
 
 | 112 | 
         const long UIA_WindowIsModalPropertyId                     = 30077; | 
 
 
 
 
 
 | 113 | 
         const long UIA_WindowIsTopmostPropertyId                   = 30078; | 
 
 
 
 
 
 | 114 | 
         const long UIA_SelectionItemIsSelectedPropertyId           = 30079; | 
 
 
 
 
 
 | 115 | 
         const long UIA_SelectionItemSelectionContainerPropertyId   = 30080; | 
 
 
 
 
 
 | 116 | 
         const long UIA_TableRowHeadersPropertyId                   = 30081; | 
 
 
 
 
 
 | 117 | 
         const long UIA_TableColumnHeadersPropertyId                = 30082; | 
 
 
 
 
 
 | 118 | 
         const long UIA_TableRowOrColumnMajorPropertyId             = 30083; | 
 
 
 
 
 
 | 119 | 
         const long UIA_TableItemRowHeaderItemsPropertyId           = 30084; | 
 
 
 
 
 
 | 120 | 
         const long UIA_TableItemColumnHeaderItemsPropertyId        = 30085; | 
 
 
 
 
 
 | 121 | 
         const long UIA_ToggleToggleStatePropertyId                 = 30086; | 
 
 
 
 
 
 | 122 | 
         const long UIA_TransformCanMovePropertyId                  = 30087; | 
 
 
 
 
 
 | 123 | 
         const long UIA_TransformCanResizePropertyId                = 30088; | 
 
 
 
 
 
 | 124 | 
         const long UIA_TransformCanRotatePropertyId                = 30089; | 
 
 
 
 
 
 | 125 | 
         const long UIA_IsLegacyIAccessiblePatternAvailablePropertyId  = 30090; | 
 
 
 
 
 
 | 126 | 
         const long UIA_LegacyIAccessibleChildIdPropertyId          = 30091; | 
 
 
 
 
 
 | 127 | 
         const long UIA_LegacyIAccessibleNamePropertyId             = 30092; | 
 
 
 
 
 
 | 128 | 
         const long UIA_LegacyIAccessibleValuePropertyId            = 30093; | 
 
 
 
 
 
 | 129 | 
         const long UIA_LegacyIAccessibleDescriptionPropertyId      = 30094; | 
 
 
 
 
 
 | 130 | 
         const long UIA_LegacyIAccessibleRolePropertyId             = 30095; | 
 
 
 
 
 
 | 131 | 
         const long UIA_LegacyIAccessibleStatePropertyId            = 30096; | 
 
 
 
 
 
 | 132 | 
         const long UIA_LegacyIAccessibleHelpPropertyId             = 30097; | 
 
 
 
 
 
 | 133 | 
         const long UIA_LegacyIAccessibleKeyboardShortcutPropertyId = 30098; | 
 
 
 
 
 
 | 134 | 
         const long UIA_LegacyIAccessibleSelectionPropertyId        = 30099; | 
 
 
 
 
 
 | 135 | 
         const long UIA_LegacyIAccessibleDefaultActionPropertyId    = 30100; | 
 
 
 
 
 
 | 136 | 
         const long UIA_AriaRolePropertyId                          = 30101; | 
 
 
 
 
 
 | 137 | 
         const long UIA_AriaPropertiesPropertyId                    = 30102; | 
 
 
 
 
 
 | 138 | 
         const long UIA_IsDataValidForFormPropertyId                = 30103; | 
 
 
 
 
 
 | 139 | 
         const long UIA_ControllerForPropertyId                     = 30104; | 
 
 
 
 
 
 | 140 | 
         const long UIA_DescribedByPropertyId                       = 30105; | 
 
 
 
 
 
 | 141 | 
         const long UIA_FlowsToPropertyId                           = 30106; | 
 
 
 
 
 
 | 142 | 
         const long UIA_ProviderDescriptionPropertyId               = 30107; | 
 
 
 
 
 
 | 143 | 
         const long UIA_IsItemContainerPatternAvailablePropertyId   = 30108; | 
 
 
 
 
 
 | 144 | 
         const long UIA_IsVirtualizedItemPatternAvailablePropertyId = 30109; | 
 
 
 
 
 
 | 145 | 
         const long UIA_IsSynchronizedInputPatternAvailablePropertyId  = 30110; | 
 
 
 
 
 
 | 146 | 
     /* | 
 
 
 
 
 
 | 147 | 
     } | 
 
 
 
 
 
 | 148 | 
     */ | 
 
 
 
 
 
 | 149 | 
 } |