Documentation ¶
Overview ¶
+build amd64
+build amd64
Index ¶
- Constants
- Variables
- func Collapse(element *IUIAutomationElement) error
- func Expand(element *IUIAutomationElement) error
- func Invoke(element *IUIAutomationElement) error
- func NewVariantString(s string) ole.VARIANT
- func Select(element *IUIAutomationElement) error
- func VariantToUintptrArray(v ole.VARIANT) []uintptr
- type IUIAutomation
- func (auto *IUIAutomation) AddStructureChangedEventHandler(element *IUIAutomationElement, scope TreeScope, ...) error
- func (auto *IUIAutomation) CompareElements(el1, el2 *IUIAutomation) (areSame bool, err error)
- func (auto *IUIAutomation) CreateAndCondition(condition1, condition2 *IUIAutomationCondition) (newCondition *IUIAutomationCondition, err error)
- func (auto *IUIAutomation) CreatePropertyCondition(propertyId PROPERTYID, value ole.VARIANT) (newCondition *IUIAutomationCondition, err error)
- func (auto *IUIAutomation) CreateTreeWalker(condition *IUIAutomationCondition) (walker *IUIAutomationTreeWalker, err error)
- func (auto *IUIAutomation) CreateTrueCondition() (newCondition *IUIAutomationCondition, err error)
- func (auto *IUIAutomation) GetRootElement() (root *IUIAutomationElement, err error)
- func (auto *IUIAutomation) RemoveAllEventHandlers() error
- func (auto *IUIAutomation) RemoveStructureChangedEventHandler(element *IUIAutomationElement, ...) error
- func (v *IUIAutomation) VTable() *IUIAutomationVtbl
- type IUIAutomationCacheRequest
- type IUIAutomationCacheRequestVtbl
- type IUIAutomationCondition
- type IUIAutomationConditionVtbl
- type IUIAutomationElement
- func (elem *IUIAutomationElement) FindFirst(scope TreeScope, condition *IUIAutomationCondition) (found *IUIAutomationElement, err error)
- func (elem *IUIAutomationElement) GetCurrentPattern(patternId PATTERNID) (*ole.IUnknown, error)
- func (elem *IUIAutomationElement) Get_CurrentAutomationId() (string, error)
- func (elem *IUIAutomationElement) Get_CurrentBoundingRectangle() (RECT, error)
- func (elem *IUIAutomationElement) Get_CurrentCurrentClassName() (string, error)
- func (elem *IUIAutomationElement) Get_CurrentName() (string, error)
- func (elem *IUIAutomationElement) Get_CurrentNativeWindowHandle() (syscall.Handle, error)
- func (elem *IUIAutomationElement) SetFocus() (err error)
- func (elem *IUIAutomationElement) VTable() *IUIAutomationElementVtbl
- type IUIAutomationElementVtbl
- type IUIAutomationExpandCollapsePattern
- type IUIAutomationExpandCollapsePatternVtbl
- type IUIAutomationInvokePattern
- type IUIAutomationInvokePatternVtbl
- type IUIAutomationSelectionItemPattern
- type IUIAutomationSelectionItemPatternVtbl
- type IUIAutomationStructureChangedEventHandler
- type IUIAutomationStructureChangedEventHandlerVtbl
- type IUIAutomationTreeWalker
- func (w *IUIAutomationTreeWalker) GetFirstChildElement(element *IUIAutomationElement) (first *IUIAutomationElement, err error)
- func (w *IUIAutomationTreeWalker) GetNextSiblingElement(element *IUIAutomationElement) (next *IUIAutomationElement, err error)
- func (w *IUIAutomationTreeWalker) GetParentElement(element *IUIAutomationElement) (first *IUIAutomationElement, err error)
- func (w *IUIAutomationTreeWalker) VTable() *IUIAutomationTreeWalkerVtbl
- type IUIAutomationTreeWalkerVtbl
- type IUIAutomationVtbl
- type PATTERNID
- type PROPERTYID
- type RECT
- type StructureChangeType
- type TreeScope
Constants ¶
View Source
const ( UIA_ButtonControlTypeId = 50000 UIA_CalendarControlTypeId = 50001 UIA_CheckBoxControlTypeId = 50002 UIA_ComboBoxControlTypeId = 50003 UIA_EditControlTypeId = 50004 UIA_HyperlinkControlTypeId = 50005 UIA_ImageControlTypeId = 50006 UIA_ListItemControlTypeId = 50007 UIA_ListControlTypeId = 50008 UIA_MenuControlTypeId = 50009 UIA_MenuBarControlTypeId = 50010 UIA_MenuItemControlTypeId = 50011 UIA_ProgressBarControlTypeId = 50012 UIA_RadioButtonControlTypeId = 50013 UIA_ScrollBarControlTypeId = 50014 UIA_SliderControlTypeId = 50015 UIA_SpinnerControlTypeId = 50016 UIA_StatusBarControlTypeId = 50017 UIA_TabControlTypeId = 50018 UIA_TabItemControlTypeId = 50019 UIA_TextControlTypeId = 50020 UIA_ToolBarControlTypeId = 50021 UIA_ToolTipControlTypeId = 50022 UIA_TreeControlTypeId = 50023 UIA_TreeItemControlTypeId = 50024 UIA_CustomControlTypeId = 50025 UIA_GroupControlTypeId = 50026 UIA_ThumbControlTypeId = 50027 UIA_DataGridControlTypeId = 50028 UIA_DataItemControlTypeId = 50029 UIA_DocumentControlTypeId = 50030 UIA_SplitButtonControlTypeId = 50031 UIA_WindowControlTypeId = 50032 UIA_PaneControlTypeId = 50033 UIA_HeaderControlTypeId = 50034 UIA_HeaderItemControlTypeId = 50035 UIA_TableControlTypeId = 50036 UIA_TitleBarControlTypeId = 50037 UIA_SeparatorControlTypeId = 50038 )
View Source
const ( StructureChangeType_ChildAdded = iota StructureChangeType_ChildRemoved StructureChangeType_ChildrenInvalidated StructureChangeType_ChildrenBulkAdded StructureChangeType_ChildrenBulkRemoved StructureChangeType_ChildrenReordered )
View Source
const ( UIA_AnnotationPatternId = 10023 // Identifies the Annotation control pattern. Supported starting with Windows 8. UIA_DockPatternId = 10011 // Identifies the Dock control pattern. UIA_DragPatternId = 10030 // Identifies the Drag control pattern. Supported starting with Windows 8. UIA_DropTargetPatternId = 10031 // Identifies the DropTarget control pattern. Supported starting with Windows 8. UIA_ExpandCollapsePatternId = 10005 // Identifies the ExpandCollapse control pattern. UIA_GridItemPatternId = 10007 // Identifies the GridItem control pattern. UIA_GridPatternId = 10006 // Identifies the Grid control pattern. UIA_InvokePatternId = 10000 // Identifies the Invoke control pattern. UIA_ItemContainerPatternId = 10019 // Identifies the ItemContainer control pattern. UIA_LegacyIAccessiblePatternId = 10018 // Identifies the LegacyIAccessible control pattern. UIA_MultipleViewPatternId = 10008 // Identifies the MultipleView control pattern. UIA_ObjectModelPatternId = 10022 // Identifies the ObjectModel control pattern. Supported starting with Windows 8. UIA_RangeValuePatternId = 10003 // Identifies the RangeValue control pattern. UIA_ScrollItemPatternId = 10017 // Identifies the ScrollItem control pattern. UIA_ScrollPatternId = 10004 // Identifies the Scroll control pattern. UIA_SelectionItemPatternId = 10010 // Identifies the SelectionItem control pattern. UIA_SelectionPatternId = 10001 // Identifies the Selection control pattern. UIA_SpreadsheetPatternId = 10026 // Identifies the Spreadsheet control pattern. Supported starting with Windows 8. UIA_SpreadsheetItemPatternId = 10027 // Identifies the SpreadsheetItem control pattern. Supported starting with Windows 8. UIA_StylesPatternId = 10025 // Identifies the Styles control pattern. Supported starting with Windows 8. UIA_SynchronizedInputPatternId = 10021 // Identifies the SynchronizedInput control pattern. UIA_TableItemPatternId = 10013 // Identifies the TableItem control pattern. UIA_TablePatternId = 10012 // Identifies the Table control pattern. UIA_TextChildPatternId = 10029 // Identifies the TextChild control pattern. Supported starting with Windows 8. UIA_TextEditPatternId = 10032 // Identifies the TextEdit control pattern. Supported starting with Windows 8.1. UIA_TextPatternId = 10014 // Identifies the Text control pattern. UIA_TextPattern2Id = 10024 // Identifies the second version of the Text control pattern. Supported starting with Windows 8. UIA_TogglePatternId = 10015 // Identifies the Toggle control pattern. UIA_TransformPatternId = 10016 // Identifies the Transform control pattern. UIA_TransformPattern2Id = 10028 // Identifies the second version of the Transform control pattern. Supported starting with Windows 8. UIA_ValuePatternId = 10002 // Identifies the Value control pattern. UIA_VirtualizedItemPatternId = 10020 // Identifies the VirtualizedItem control pattern. UIA_WindowPatternId = 10009 // Identifies the Window control pattern. )
View Source
const ( UIA_RuntimeIdPropertyId = 30000 UIA_BoundingRectanglePropertyId = 30001 UIA_ProcessIdPropertyId = 30002 UIA_ControlTypePropertyId = 30003 UIA_LocalizedControlTypePropertyId = 30004 UIA_NamePropertyId = 30005 UIA_AcceleratorKeyPropertyId = 30006 UIA_AccessKeyPropertyId = 30007 UIA_HasKeyboardFocusPropertyId = 30008 UIA_IsKeyboardFocusablePropertyId = 30009 UIA_IsEnabledPropertyId = 30010 UIA_AutomationIdPropertyId = 30011 UIA_ClassNamePropertyId = 30012 UIA_HelpTextPropertyId = 30013 UIA_ClickablePointPropertyId = 30014 UIA_CulturePropertyId = 30015 UIA_IsControlElementPropertyId = 30016 UIA_IsContentElementPropertyId = 30017 UIA_LabeledByPropertyId = 30018 UIA_IsPasswordPropertyId = 30019 UIA_NativeWindowHandlePropertyId = 30020 UIA_ItemTypePropertyId = 30021 UIA_IsOffscreenPropertyId = 30022 UIA_OrientationPropertyId = 30023 UIA_FrameworkIdPropertyId = 30024 UIA_IsRequiredForFormPropertyId = 30025 UIA_ItemStatusPropertyId = 30026 UIA_IsDockPatternAvailablePropertyId = 30027 UIA_IsExpandCollapsePatternAvailablePropertyId = 30028 UIA_IsGridItemPatternAvailablePropertyId = 30029 UIA_IsGridPatternAvailablePropertyId = 30030 UIA_IsInvokePatternAvailablePropertyId = 30031 UIA_IsMultipleViewPatternAvailablePropertyId = 30032 UIA_IsRangeValuePatternAvailablePropertyId = 30033 UIA_IsScrollPatternAvailablePropertyId = 30034 UIA_IsScrollItemPatternAvailablePropertyId = 30035 UIA_IsSelectionItemPatternAvailablePropertyId = 30036 UIA_IsSelectionPatternAvailablePropertyId = 30037 UIA_IsTablePatternAvailablePropertyId = 30038 UIA_IsTableItemPatternAvailablePropertyId = 30039 UIA_IsTextPatternAvailablePropertyId = 30040 UIA_IsTogglePatternAvailablePropertyId = 30041 UIA_IsTransformPatternAvailablePropertyId = 30042 UIA_IsValuePatternAvailablePropertyId = 30043 UIA_IsWindowPatternAvailablePropertyId = 30044 UIA_ValueValuePropertyId = 30045 UIA_ValueIsReadOnlyPropertyId = 30046 UIA_RangeValueValuePropertyId = 30047 UIA_RangeValueIsReadOnlyPropertyId = 30048 UIA_RangeValueMinimumPropertyId = 30049 UIA_RangeValueMaximumPropertyId = 30050 UIA_RangeValueLargeChangePropertyId = 30051 UIA_RangeValueSmallChangePropertyId = 30052 UIA_ScrollHorizontalScrollPercentPropertyId = 30053 UIA_ScrollHorizontalViewSizePropertyId = 30054 UIA_ScrollVerticalScrollPercentPropertyId = 30055 UIA_ScrollVerticalViewSizePropertyId = 30056 UIA_ScrollHorizontallyScrollablePropertyId = 30057 UIA_ScrollVerticallyScrollablePropertyId = 30058 UIA_SelectionSelectionPropertyId = 30059 UIA_SelectionCanSelectMultiplePropertyId = 30060 UIA_SelectionIsSelectionRequiredPropertyId = 30061 UIA_GridRowCountPropertyId = 30062 UIA_GridColumnCountPropertyId = 30063 UIA_GridItemRowPropertyId = 30064 UIA_GridItemColumnPropertyId = 30065 UIA_GridItemRowSpanPropertyId = 30066 UIA_GridItemColumnSpanPropertyId = 30067 UIA_GridItemContainingGridPropertyId = 30068 UIA_DockDockPositionPropertyId = 30069 UIA_ExpandCollapseExpandCollapseStatePropertyId = 30070 UIA_MultipleViewCurrentViewPropertyId = 30071 UIA_MultipleViewSupportedViewsPropertyId = 30072 UIA_WindowCanMaximizePropertyId = 30073 UIA_WindowCanMinimizePropertyId = 30074 UIA_WindowWindowVisualStatePropertyId = 30075 UIA_WindowWindowInteractionStatePropertyId = 30076 UIA_WindowIsModalPropertyId = 30077 UIA_WindowIsTopmostPropertyId = 30078 UIA_SelectionItemIsSelectedPropertyId = 30079 UIA_SelectionItemSelectionContainerPropertyId = 30080 UIA_TableRowHeadersPropertyId = 30081 UIA_TableColumnHeadersPropertyId = 30082 UIA_TableRowOrColumnMajorPropertyId = 30083 UIA_TableItemRowHeaderItemsPropertyId = 30084 UIA_TableItemColumnHeaderItemsPropertyId = 30085 UIA_ToggleToggleStatePropertyId = 30086 UIA_TransformCanMovePropertyId = 30087 UIA_TransformCanResizePropertyId = 30088 UIA_TransformCanRotatePropertyId = 30089 UIA_IsLegacyIAccessiblePatternAvailablePropertyId = 30090 UIA_LegacyIAccessibleChildIdPropertyId = 30091 UIA_LegacyIAccessibleNamePropertyId = 30092 UIA_LegacyIAccessibleValuePropertyId = 30093 UIA_LegacyIAccessibleDescriptionPropertyId = 30094 UIA_LegacyIAccessibleRolePropertyId = 30095 UIA_LegacyIAccessibleStatePropertyId = 30096 UIA_LegacyIAccessibleHelpPropertyId = 30097 UIA_LegacyIAccessibleKeyboardShortcutPropertyId = 30098 UIA_LegacyIAccessibleSelectionPropertyId = 30099 UIA_LegacyIAccessibleDefaultActionPropertyId = 30100 UIA_AriaRolePropertyId = 30101 UIA_AriaPropertiesPropertyId = 30102 UIA_IsDataValidForFormPropertyId = 30103 UIA_ControllerForPropertyId = 30104 UIA_DescribedByPropertyId = 30105 UIA_FlowsToPropertyId = 30106 UIA_ProviderDescriptionPropertyId = 30107 UIA_IsItemContainerPatternAvailablePropertyId = 30108 UIA_IsVirtualizedItemPatternAvailablePropertyId = 30109 UIA_IsSynchronizedInputPatternAvailablePropertyId = 30110 )
View Source
const ( TreeScope_Element = 0x1 TreeScope_Children = 0x2 TreeScope_Descendants = 0x4 TreeScope_Parent = 0x8 TreeScope_Ancestors = 0x10 TreeScope_Subtree = TreeScope_Element | TreeScope_Children | TreeScope_Descendants )
Variables ¶
View Source
var CLSID_CUIAutomation = &ole.GUID{0xff48dba4, 0x60ef, 0x4201, [8]byte{0xaa, 0x87, 0x54, 0x10, 0x3e, 0xef, 0x59, 0x4e}}
View Source
var IID_IUIAutomation = &ole.GUID{0x30cbe57d, 0xd9d0, 0x452a, [8]byte{0xab, 0x13, 0x7a, 0xc5, 0xac, 0x48, 0x25, 0xee}}
View Source
var IID_IUIAutomationCacheRequest = &ole.GUID{0xb32a92b5, 0xbc25, 0x4078, [8]byte{0x9c, 0x08, 0xd7, 0xee, 0x95, 0xc4, 0x8e, 0x03}}
View Source
var IID_IUIAutomationElement = &ole.GUID{0xd22108aa, 0x8ac5, 0x49a5, [8]byte{0x83, 0x7b, 0x37, 0xbb, 0xb3, 0xd7, 0x59, 0x1e}}
View Source
var IID_IUIAutomationExpandCollapsePattern = &ole.GUID{0x619be086, 0x1f4e, 0x4ee4, [8]byte{0xba, 0xfa, 0x21, 0x01, 0x28, 0x73, 0x87, 0x30}}
View Source
var IID_IUIAutomationInvokePattern = &ole.GUID{0xfb377fbe, 0x8ea6, 0x46d5, [8]byte{0x9c, 0x73, 0x64, 0x99, 0x64, 0x2d, 0x30, 0x59}}
View Source
var IID_IUIAutomationSelectionItemPattern = &ole.GUID{0xa8efa66a, 0x0fda, 0x421a, [8]byte{0x91, 0x94, 0x38, 0x02, 0x1f, 0x35, 0x78, 0xea}}
View Source
var IID_IUIAutomationStructureChangedEventHandler = &ole.GUID{0xe81d1b4e, 0x11c5, 0x42f8, [8]byte{0x97, 0x54, 0xe7, 0x03, 0x6c, 0x79, 0xf0, 0x54}}
Functions ¶
func Collapse ¶
func Collapse(element *IUIAutomationElement) error
func Expand ¶
func Expand(element *IUIAutomationElement) error
func Invoke ¶
func Invoke(element *IUIAutomationElement) error
func NewVariantString ¶
func NewVariantString(s string) ole.VARIANT
func Select ¶
func Select(element *IUIAutomationElement) error
func VariantToUintptrArray ¶
func VariantToUintptrArray(v ole.VARIANT) []uintptr
Types ¶
type IUIAutomation ¶
type IUIAutomation struct {
ole.IUnknown
}
func NewUIAutomation ¶
func NewUIAutomation() (*IUIAutomation, error)
func (*IUIAutomation) AddStructureChangedEventHandler ¶
func (auto *IUIAutomation) AddStructureChangedEventHandler(element *IUIAutomationElement, scope TreeScope, cacheRequest *IUIAutomationCacheRequest, handler *IUIAutomationStructureChangedEventHandler) error
func (*IUIAutomation) CompareElements ¶
func (auto *IUIAutomation) CompareElements(el1, el2 *IUIAutomation) (areSame bool, err error)
func (*IUIAutomation) CreateAndCondition ¶
func (auto *IUIAutomation) CreateAndCondition(condition1, condition2 *IUIAutomationCondition) (newCondition *IUIAutomationCondition, err error)
func (*IUIAutomation) CreatePropertyCondition ¶
func (auto *IUIAutomation) CreatePropertyCondition(propertyId PROPERTYID, value ole.VARIANT) (newCondition *IUIAutomationCondition, err error)
func (*IUIAutomation) CreateTreeWalker ¶
func (auto *IUIAutomation) CreateTreeWalker(condition *IUIAutomationCondition) (walker *IUIAutomationTreeWalker, err error)
func (*IUIAutomation) CreateTrueCondition ¶
func (auto *IUIAutomation) CreateTrueCondition() (newCondition *IUIAutomationCondition, err error)
func (*IUIAutomation) GetRootElement ¶
func (auto *IUIAutomation) GetRootElement() (root *IUIAutomationElement, err error)
func (*IUIAutomation) RemoveAllEventHandlers ¶
func (auto *IUIAutomation) RemoveAllEventHandlers() error
func (*IUIAutomation) RemoveStructureChangedEventHandler ¶
func (auto *IUIAutomation) RemoveStructureChangedEventHandler(element *IUIAutomationElement, handler *IUIAutomationStructureChangedEventHandler) error
func (*IUIAutomation) VTable ¶
func (v *IUIAutomation) VTable() *IUIAutomationVtbl
type IUIAutomationCacheRequest ¶
type IUIAutomationCacheRequest struct {
ole.IUnknown
}
func (*IUIAutomationCacheRequest) VTable ¶
func (elem *IUIAutomationCacheRequest) VTable() *IUIAutomationCacheRequestVtbl
type IUIAutomationCacheRequestVtbl ¶
type IUIAutomationCacheRequestVtbl struct {
ole.IUnknownVtbl
}
type IUIAutomationCondition ¶
type IUIAutomationCondition struct {
ole.IUnknown
}
func (*IUIAutomationCondition) VTable ¶
func (v *IUIAutomationCondition) VTable() *IUIAutomationConditionVtbl
type IUIAutomationConditionVtbl ¶
type IUIAutomationConditionVtbl struct {
ole.IUnknownVtbl
}
type IUIAutomationElement ¶
type IUIAutomationElement struct {
ole.IUnknown
}
func WaitFindFirst ¶
func WaitFindFirst(auto *IUIAutomation, elem *IUIAutomationElement, scope TreeScope, condition *IUIAutomationCondition) (found *IUIAutomationElement, err error)
func (*IUIAutomationElement) FindFirst ¶
func (elem *IUIAutomationElement) FindFirst(scope TreeScope, condition *IUIAutomationCondition) (found *IUIAutomationElement, err error)
func (*IUIAutomationElement) GetCurrentPattern ¶
func (elem *IUIAutomationElement) GetCurrentPattern(patternId PATTERNID) (*ole.IUnknown, error)
func (*IUIAutomationElement) Get_CurrentAutomationId ¶
func (elem *IUIAutomationElement) Get_CurrentAutomationId() (string, error)
func (*IUIAutomationElement) Get_CurrentBoundingRectangle ¶
func (elem *IUIAutomationElement) Get_CurrentBoundingRectangle() (RECT, error)
func (*IUIAutomationElement) Get_CurrentCurrentClassName ¶
func (elem *IUIAutomationElement) Get_CurrentCurrentClassName() (string, error)
func (*IUIAutomationElement) Get_CurrentName ¶
func (elem *IUIAutomationElement) Get_CurrentName() (string, error)
func (*IUIAutomationElement) Get_CurrentNativeWindowHandle ¶
func (elem *IUIAutomationElement) Get_CurrentNativeWindowHandle() (syscall.Handle, error)
func (*IUIAutomationElement) SetFocus ¶
func (elem *IUIAutomationElement) SetFocus() (err error)
func (*IUIAutomationElement) VTable ¶
func (elem *IUIAutomationElement) VTable() *IUIAutomationElementVtbl
type IUIAutomationElementVtbl ¶
type IUIAutomationElementVtbl struct { ole.IUnknownVtbl SetFocus uintptr GetRuntimeId uintptr FindFirst uintptr FindAll uintptr FindFirstBuildCache uintptr FindAllBuildCache uintptr BuildUpdatedCache uintptr GetCurrentPropertyValue uintptr GetCurrentPropertyValueEx uintptr GetCachedPropertyValue uintptr GetCachedPropertyValueEx uintptr GetCurrentPatternAs uintptr GetCachedPatternAs uintptr GetCurrentPattern uintptr GetCachedPattern uintptr GetCachedParent uintptr GetCachedChildren uintptr Get_CurrentProcessId uintptr Get_CurrentControlType uintptr Get_CurrentLocalizedControlType uintptr Get_CurrentName uintptr Get_CurrentAcceleratorKey uintptr Get_CurrentAccessKey uintptr Get_CurrentHasKeyboardFocus uintptr Get_CurrentIsKeyboardFocusable uintptr Get_CurrentIsEnabled uintptr Get_CurrentAutomationId uintptr Get_CurrentClassName uintptr Get_CurrentHelpText uintptr Get_CurrentCulture uintptr Get_CurrentIsControlElement uintptr Get_CurrentIsContentElement uintptr Get_CurrentIsPassword uintptr Get_CurrentNativeWindowHandle uintptr Get_CurrentItemType uintptr Get_CurrentIsOffscreen uintptr Get_CurrentOrientation uintptr Get_CurrentFrameworkId uintptr Get_CurrentIsRequiredForForm uintptr Get_CurrentItemStatus uintptr Get_CurrentBoundingRectangle uintptr Get_CurrentLabeledBy uintptr Get_CurrentAriaRole uintptr Get_CurrentAriaProperties uintptr Get_CurrentIsDataValidForForm uintptr Get_CurrentControllerFor uintptr Get_CurrentDescribedBy uintptr Get_CurrentFlowsTo uintptr Get_CurrentProviderDescription uintptr Get_CachedProcessId uintptr Get_CachedControlType uintptr Get_CachedLocalizedControlType uintptr Get_CachedName uintptr Get_CachedAcceleratorKey uintptr Get_CachedAccessKey uintptr Get_CachedHasKeyboardFocus uintptr Get_CachedIsKeyboardFocusable uintptr Get_CachedIsEnabled uintptr Get_CachedAutomationId uintptr Get_CachedClassName uintptr Get_CachedHelpText uintptr Get_CachedCulture uintptr Get_CachedIsControlElement uintptr Get_CachedIsContentElement uintptr Get_CachedIsPassword uintptr Get_CachedNativeWindowHandle uintptr Get_CachedItemType uintptr Get_CachedIsOffscreen uintptr Get_CachedOrientation uintptr Get_CachedFrameworkId uintptr Get_CachedIsRequiredForForm uintptr Get_CachedItemStatus uintptr Get_CachedBoundingRectangle uintptr Get_CachedLabeledBy uintptr Get_CachedAriaRole uintptr Get_CachedAriaProperties uintptr Get_CachedIsDataValidForForm uintptr Get_CachedControllerFor uintptr Get_CachedDescribedBy uintptr Get_CachedFlowsTo uintptr Get_CachedProviderDescription uintptr GetClickablePoint uintptr }
type IUIAutomationExpandCollapsePattern ¶
type IUIAutomationExpandCollapsePattern struct {
ole.IUnknown
}
func (*IUIAutomationExpandCollapsePattern) Collapse ¶
func (pat *IUIAutomationExpandCollapsePattern) Collapse() error
func (*IUIAutomationExpandCollapsePattern) Expand ¶
func (pat *IUIAutomationExpandCollapsePattern) Expand() error
func (*IUIAutomationExpandCollapsePattern) VTable ¶
func (pat *IUIAutomationExpandCollapsePattern) VTable() *IUIAutomationExpandCollapsePatternVtbl
type IUIAutomationInvokePattern ¶
type IUIAutomationInvokePattern struct {
ole.IUnknown
}
func (*IUIAutomationInvokePattern) Invoke ¶
func (pat *IUIAutomationInvokePattern) Invoke() error
func (*IUIAutomationInvokePattern) VTable ¶
func (pat *IUIAutomationInvokePattern) VTable() *IUIAutomationInvokePatternVtbl
type IUIAutomationInvokePatternVtbl ¶
type IUIAutomationInvokePatternVtbl struct { ole.IUnknownVtbl Invoke uintptr }
type IUIAutomationSelectionItemPattern ¶
type IUIAutomationSelectionItemPattern struct {
ole.IUnknown
}
func (*IUIAutomationSelectionItemPattern) Select ¶
func (pat *IUIAutomationSelectionItemPattern) Select() error
func (*IUIAutomationSelectionItemPattern) VTable ¶
func (pat *IUIAutomationSelectionItemPattern) VTable() *IUIAutomationSelectionItemPatternVtbl
type IUIAutomationStructureChangedEventHandler ¶
type IUIAutomationStructureChangedEventHandler struct { ole.IUnknown // contains filtered or unexported fields }
func NewStructureChangedEventHandler ¶
func NewStructureChangedEventHandler(handlerFunc func(this *IUIAutomationStructureChangedEventHandler, sender *IUIAutomationElement, changeType StructureChangeType, runtimeId *ole.SAFEARRAY) syscall.Handle) IUIAutomationStructureChangedEventHandler
type IUIAutomationStructureChangedEventHandlerVtbl ¶
type IUIAutomationStructureChangedEventHandlerVtbl struct { ole.IUnknownVtbl HandleStructureChangedEvent uintptr }
type IUIAutomationTreeWalker ¶
type IUIAutomationTreeWalker struct {
ole.IUnknown
}
func NewTreeWalker ¶
func NewTreeWalker(auto *IUIAutomation) (*IUIAutomationTreeWalker, error)
func (*IUIAutomationTreeWalker) GetFirstChildElement ¶
func (w *IUIAutomationTreeWalker) GetFirstChildElement(element *IUIAutomationElement) (first *IUIAutomationElement, err error)
func (*IUIAutomationTreeWalker) GetNextSiblingElement ¶
func (w *IUIAutomationTreeWalker) GetNextSiblingElement(element *IUIAutomationElement) (next *IUIAutomationElement, err error)
func (*IUIAutomationTreeWalker) GetParentElement ¶
func (w *IUIAutomationTreeWalker) GetParentElement(element *IUIAutomationElement) (first *IUIAutomationElement, err error)
func (*IUIAutomationTreeWalker) VTable ¶
func (w *IUIAutomationTreeWalker) VTable() *IUIAutomationTreeWalkerVtbl
type IUIAutomationTreeWalkerVtbl ¶
type IUIAutomationTreeWalkerVtbl struct { ole.IUnknownVtbl GetParentElement uintptr GetFirstChildElement uintptr GetLastChildElement uintptr GetNextSiblingElement uintptr GetPreviousSiblingElement uintptr NormalizeElement uintptr GetParentElementBuildCache uintptr GetFirstChildElementBuildCache uintptr GetLastChildElementBuildCache uintptr GetNextSiblingElementBuildCache uintptr GetPreviousSiblingElementBuildCache uintptr NormalizeElementBuildCache uintptr Get_Condition uintptr }
type IUIAutomationVtbl ¶
type IUIAutomationVtbl struct { ole.IUnknownVtbl CompareElements uintptr CompareRuntimeIds uintptr GetRootElement uintptr ElementFromHandle uintptr ElementFromPoint uintptr GetFocusedElement uintptr GetRootElementBuildCache uintptr ElementFromHandleBuildCache uintptr ElementFromPointBuildCache uintptr GetFocusedElementBuildCache uintptr CreateTreeWalker uintptr Get_ControlViewWalker uintptr Get_ContentViewWalker uintptr Get_RawViewWalker uintptr Get_RawViewCondition uintptr Get_ControlViewCondition uintptr Get_ContentViewCondition uintptr CreateCacheRequest uintptr CreateTrueCondition uintptr CreateFalseCondition uintptr CreatePropertyCondition uintptr CreatePropertyConditionEx uintptr CreateAndCondition uintptr CreateAndConditionFromArray uintptr CreateAndConditionFromNativeArray uintptr CreateOrCondition uintptr CreateOrConditionFromArray uintptr CreateOrConditionFromNativeArray uintptr CreateNotCondition uintptr AddAutomationEventHandler uintptr RemoveAutomationEventHandler uintptr AddPropertyChangedEventHandlerNativeArray uintptr AddPropertyChangedEventHandler uintptr RemovePropertyChangedEventHandler uintptr AddStructureChangedEventHandler uintptr RemoveStructureChangedEventHandler uintptr AddFocusChangedEventHandler uintptr RemoveFocusChangedEventHandler uintptr RemoveAllEventHandlers uintptr IntNativeArrayToSafeArray uintptr IntSafeArrayToNativeArray uintptr RectToVariant uintptr VariantToRect uintptr SafeArrayToRectNativeArray uintptr CreateProxyFactoryEntry uintptr Get_ProxyFactoryMapping uintptr GetPropertyProgrammaticName uintptr GetPatternProgrammaticName uintptr PollForPotentialSupportedPatterns uintptr PollForPotentialSupportedProperties uintptr CheckNotSupported uintptr Get_ReservedNotSupportedValue uintptr Get_ReservedMixedAttributeValue uintptr ElementFromIAccessible uintptr ElementFromIAccessibleBuildCache uintptr }
type PROPERTYID ¶
type PROPERTYID uintptr
type StructureChangeType ¶
type StructureChangeType uintptr
func (StructureChangeType) ToString ¶
func (t StructureChangeType) ToString() string
Source Files ¶
- controltypeids.go
- expandcollapse.go
- invoke.go
- iuiautomation.go
- iuiautomation_amd64.go
- iuiautomationcacherequest.go
- iuiautomationcondition.go
- iuiautomationelement.go
- iuiautomationexpandcollapsepattern.go
- iuiautomationinvokepattern.go
- iuiautomationselectionitempattern.go
- iuiautomationstructurechangedeventhandler.go
- iuiautomationtreewalker.go
- patternid.go
- propertyidentifiers.go
- select.go
- treescope.go
- treewalker.go
- variant.go
- variant_amd64.go
- waitfind.go
Click to show internal directories.
Click to hide internal directories.