Documentation
¶
Index ¶
- Constants
- Variables
- func AddRef(v *IUnKnown) uint32
- func CoInitialize() error
- func CoUninitialize()
- func CreateInstance(clsid, riid *syscall.GUID, clsctx CLSCTX) (unsafe.Pointer, error)
- func FindWindowA(lpclass, lpwindow string) uintptr
- func FindWindowExA(phwdn, chwdn uintptr, lpclass, lpwindow string) uintptr
- func GetIDsOfNames(v *IDispatch, in *syscall.GUID, in2 uint16, in3, in4 uint32) (int32, error)
- func GetTypeInfoCount(v *IDispatch) (uint32, error)
- func GetWindowForString(classname, windowname string) uintptr
- func Get_BooleanValue(v *IUIAutomationBoolCondition) int32
- func Get_ChildCount(v *IUIAutomationAndCondition) int32
- func Get_Length(v *IUIAutomationElementArray) int32
- func HResult(ret uintptr) error
- func PatternSetValue(pointer unsafe.Pointer, in string) error
- func QueryInterface(v *IUnKnown, riid *syscall.GUID) (unsafe.Pointer, error)
- func Release(v *IUnKnown) uint32
- func ShutdownTextServices(unk *IUnKnown) error
- func StringToCharPtr(str string) *uint8
- func TreeString(root *Element, level int)
- func UnKnownToUintptr(obj *interface{}) uintptr
- type CLSCTX
- type ChangeEventHandler
- type ChangeEventHandlerNativeArray
- type ControlTypeId
- type DockPosition
- type Element
- func (e *Element) AccessKey() error
- func (e *Element) AccleratorKey() error
- func (e *Element) AriaProperties() error
- func (e *Element) AriaRole() error
- func (e *Element) AutomationId() error
- func (e *Element) BoundingRectangle()
- func (e *Element) ClassName() error
- func (e *Element) ControlType()
- func (e *Element) ControllerFor()
- func (e *Element) Culture()
- func (e *Element) DescribedBy()
- func (e *Element) FlowsTo()
- func (e *Element) FormatString() string
- func (e *Element) FrameworkId() error
- func (e *Element) HasKeyboardFocus()
- func (e *Element) HelpText() error
- func (e *Element) IsContentElement()
- func (e *Element) IsControlElement()
- func (e *Element) IsDataValidForForm()
- func (e *Element) IsEnabled()
- func (e *Element) IsKeyboardFocusable()
- func (e *Element) IsOffscreen()
- func (e *Element) IsPassword()
- func (e *Element) IsRequiredForForm()
- func (e *Element) ItemStatus() error
- func (e *Element) ItemType() error
- func (e *Element) LabeledBy()
- func (e *Element) LocalizedControlType() error
- func (e *Element) Name() error
- func (e *Element) NativeWindowHandle()
- func (e *Element) Orientation()
- func (e *Element) ProcessId()
- func (e *Element) ProviderDescription() error
- func (e *Element) SetUIAutomation(uiaumation *IUIAutomationElement)
- type EventHandler
- type ExpandCollapseState
- type IAccessible
- func (v *IAccessible) AccDoDefaultAction(in *VARIANT) error
- func (v *IAccessible) AccHitTest(in, in2 int32) (*VARIANT, error)
- func (v *IAccessible) AccLocation(in, in2, in3, in4 int32) (*VARIANT, error)
- func (v *IAccessible) AccNavigate(in int32, in2 *VARIANT) (*VARIANT, error)
- func (v *IAccessible) AccSelect(in int32, in2 *VARIANT) error
- func (v *IAccessible) Get_accChild(in *VARIANT) (*IDispatch, error)
- func (v *IAccessible) Get_accChildCount() (int32, error)
- func (v *IAccessible) Get_accDefaultAction(in *VARIANT) (string, error)
- func (v *IAccessible) Get_accDescription(in *VARIANT) (string, error)
- func (v *IAccessible) Get_accFocus() (*VARIANT, error)
- func (v *IAccessible) Get_accHelp(in *VARIANT) (string, error)
- func (v *IAccessible) Get_accHelpTopic(in *VARIANT, in2 int32) (string, error)
- func (v *IAccessible) Get_accKeyboardShortcut(in *VARIANT) (string, error)
- func (v *IAccessible) Get_accName(in *VARIANT) (string, error)
- func (v *IAccessible) Get_accParent() (*IDispatch, error)
- func (v *IAccessible) Get_accRole(in *VARIANT) (*VARIANT, error)
- func (v *IAccessible) Get_accSelection() (*VARIANT, error)
- func (v *IAccessible) Get_accState(in *VARIANT) (*VARIANT, error)
- func (v *IAccessible) Get_accValue(in *VARIANT) (string, error)
- func (v *IAccessible) Put_accName(in *VARIANT, in2 string) error
- func (v *IAccessible) Put_accValue(in *VARIANT, in2 string) error
- type IAccessibleVtbl
- type IAnnotationProvider
- type IAnnotationProviderVtbl
- type IDispatch
- type IDispatchVtbl
- type IDockProvider
- type IDockProviderVtbl
- type IDragProvider
- type IDragProviderVtbl
- type IDropTarget
- type IDropTargetProvider
- type IDropTargetProviderVtbl
- type IDropTargetVtbl
- type IExpandCollapseProvider
- type IExpandCollapseProviderVtbl
- type IGridItemProvider
- type IGridItemProviderVtbl
- type IGridProvider
- type IGridProviderVtbl
- type IInvokeProvider
- type IInvokeProviderVtbl
- type IItemContainerProvider
- type IItemContainerProviderVtbl
- type ILegacyIAccessibleProvider
- func (v *ILegacyIAccessibleProvider) DoDefaultAction() error
- func (v *ILegacyIAccessibleProvider) GetIAccessible() (*IAccessible, error)
- func (v *ILegacyIAccessibleProvider) GetSelection() (*TagSafeArray, error)
- func (v *ILegacyIAccessibleProvider) Get_ChildId() int32
- func (v *ILegacyIAccessibleProvider) Get_DefaultAction() (string, error)
- func (v *ILegacyIAccessibleProvider) Get_Description() (string, error)
- func (v *ILegacyIAccessibleProvider) Get_Help() (string, error)
- func (v *ILegacyIAccessibleProvider) Get_KeyboardShortcut() (string, error)
- func (v *ILegacyIAccessibleProvider) Get_Name() (string, error)
- func (v *ILegacyIAccessibleProvider) Get_Role() uint32
- func (v *ILegacyIAccessibleProvider) Get_State() uint32
- func (v *ILegacyIAccessibleProvider) Get_Value() uint32
- func (v *ILegacyIAccessibleProvider) Select(flag int32) error
- func (v *ILegacyIAccessibleProvider) SetValue(val string) error
- type ILegacyIAccessibleProviderVtbl
- type IMultipleViewProvider
- type IMultipleViewProviderVtbl
- type IObjectModelProvider
- type IObjectModelProviderVtbl
- type IRangeValueProvider
- func (v *IRangeValueProvider) Get_IsReadOnly() int32
- func (v *IRangeValueProvider) Get_LargeChange() float64
- func (v *IRangeValueProvider) Get_Maximum() float64
- func (v *IRangeValueProvider) Get_Minimum() float64
- func (v *IRangeValueProvider) Get_SmallChange() float64
- func (v *IRangeValueProvider) Get_Value() float64
- func (v *IRangeValueProvider) SetValue(val float64) error
- type IRangeValueProviderVtbl
- type IRawElementProviderSimple
- type IRawElementProviderSimpleVtbl
- type IRichEditUiaInformation
- type IRichEditUiaInformationVtbl
- type IRicheditUiaOverrides
- type IRicheditUiaOverridesVtbl
- type IRicheditWindowlessAccessibility
- type IRicheditWindowlessAccessibilityVtbl
- type IScrollItemProvider
- type IScrollItemProviderVtbl
- type IScrollProvider
- func (v *IScrollProvider) Get_HorizontalScrollPercent() float64
- func (v *IScrollProvider) Get_HorizontalViewSize() float64
- func (v *IScrollProvider) Get_HorizontallyScrollable() int32
- func (v *IScrollProvider) Get_VerticalScrollPercent() float64
- func (v *IScrollProvider) Get_VerticalViewSize() float64
- func (v *IScrollProvider) Get_VerticallyScrollable() int32
- func (v *IScrollProvider) Scroll(hr, vr ScrollAmount) error
- func (v *IScrollProvider) SetScrollPercent(hr, vr float64) error
- type IScrollProviderVtbl
- type ISelectionItemProvider
- func (v *ISelectionItemProvider) AddToSelection() error
- func (v *ISelectionItemProvider) Get_IsSelected() int32
- func (v *ISelectionItemProvider) Get_SelectionContainer() *IRawElementProviderSimple
- func (v *ISelectionItemProvider) RemoveFromSelection() error
- func (v *ISelectionItemProvider) Select() error
- type ISelectionItemProviderVtbl
- type ISelectionProvider
- type ISelectionProviderVtbl
- type ISpreadsheetItemProvider
- type ISpreadsheetItemProviderVtbl
- type ISpreadsheetProvider
- type ISpreadsheetProviderVtbl
- type IStylesProvider
- func (v *IStylesProvider) Get_ExtendedPropertvs() (string, error)
- func (v *IStylesProvider) Get_FillColor() int32
- func (v *IStylesProvider) Get_FillPatternColor() int32
- func (v *IStylesProvider) Get_FillPatternStyle() (string, error)
- func (v *IStylesProvider) Get_Shape() (string, error)
- func (v *IStylesProvider) Get_StyleId() int32
- func (v *IStylesProvider) Get_StyleName() (string, error)
- type IStylesProviderVtbl
- type ISynchronizedInputProvider
- type ISynchronizedInputProviderVtbl
- type ITableItemProvider
- type ITableItemProviderVtbl
- type ITableProvider
- type ITableProviderVtbl
- type ITextChildProvider
- type ITextChildProviderVtbl
- type ITextEditProvider
- type ITextEditProviderVtbl
- type ITextHost
- func (v *ITextHost) OnTxCharFormatChange() error
- func (v *ITextHost) OnTxParaFormatChange() error
- func (v *ITextHost) TxActivate() error
- func (v *ITextHost) TxClientToScreen() error
- func (v *ITextHost) TxCreateCaret() error
- func (v *ITextHost) TxDeactivate() error
- func (v *ITextHost) TxEnableScrollBar() error
- func (v *ITextHost) TxGetAcceleratorPos() error
- func (v *ITextHost) TxGetBackStyle() error
- func (v *ITextHost) TxGetCharFormat() error
- func (v *ITextHost) TxGetClientRect() error
- func (v *ITextHost) TxGetDC() error
- func (v *ITextHost) TxGetExtent() error
- func (v *ITextHost) TxGetMaxLength() error
- func (v *ITextHost) TxGetParaFormat() error
- func (v *ITextHost) TxGetPasswordChar() error
- func (v *ITextHost) TxGetPropertyBits() error
- func (v *ITextHost) TxGetScrollBars() error
- func (v *ITextHost) TxGetSelectionBarWidth() error
- func (v *ITextHost) TxGetSysColor() error
- func (v *ITextHost) TxGetViewInset() error
- func (v *ITextHost) TxImmGetContext() error
- func (v *ITextHost) TxImmReleaseContext() error
- func (v *ITextHost) TxInvalidateRect() error
- func (v *ITextHost) TxKillTimer() error
- func (v *ITextHost) TxNotify() error
- func (v *ITextHost) TxReleaseDC() error
- func (v *ITextHost) TxScreenToClient() error
- func (v *ITextHost) TxScrollWindowEx() error
- func (v *ITextHost) TxSetCapture() error
- func (v *ITextHost) TxSetCaretPos() error
- func (v *ITextHost) TxSetCursor() error
- func (v *ITextHost) TxSetFocus()
- func (v *ITextHost) TxSetScrollPos() error
- func (v *ITextHost) TxSetScrollRange() error
- func (v *ITextHost) TxSetTimer() error
- func (v *ITextHost) TxShowCaret() error
- func (v *ITextHost) TxShowScrollBar() error
- func (v *ITextHost) TxViewChange(in int32)
- type ITextHost2
- func (v *ITextHost2) TxDestroyCaret() error
- func (v *ITextHost2) TxFreeTextServicesNotification() error
- func (v *ITextHost2) TxGetEastAsianFlags() error
- func (v *ITextHost2) TxGetEditStyle() error
- func (v *ITextHost2) TxGetHorzExtent() error
- func (v *ITextHost2) TxGetPalette() error
- func (v *ITextHost2) TxGetWindow() error
- func (v *ITextHost2) TxGetWindowStyles() error
- func (v *ITextHost2) TxIsDoubleClickPending() error
- func (v *ITextHost2) TxSetCursor2() error
- func (v *ITextHost2) TxSetForegroundWindow() error
- func (v *ITextHost2) TxShowDropCaret() error
- type ITextHost2Vtbl
- type ITextHostVtbl
- type ITextProvider
- func (v *ITextProvider) GetSelection() (*TagSafeArray, error)
- func (v *ITextProvider) GetVisibleRanges() (*TagSafeArray, error)
- func (v *ITextProvider) Get_DocumentRange() *ITextRangeProvider
- func (v *ITextProvider) Get_SupportedTextSelection() *SupportedTextSelection
- func (v *ITextProvider) RangeFromChild(in *IRawElementProviderSimple) (*ITextRangeProvider, error)
- func (v *ITextProvider) RangeFromPoint(in *UiaPoint) (*ITextRangeProvider, error)
- type ITextProvider2
- type ITextProvider2Vtbl
- type ITextProviderVtbl
- type ITextRangeProvider
- func (v *ITextRangeProvider) AddToSelection() error
- func (v *ITextRangeProvider) Clone() (*ITextRangeProvider, error)
- func (v *ITextRangeProvider) Compare(in *ITextRangeProvider) (int32, error)
- func (v *ITextRangeProvider) CompareEndpoints(in TextPatternRangeEndpoint, in2 *ITextRangeProvider, ...) (int32, error)
- func (v *ITextRangeProvider) ExpandToEnclosingUnit(in TextUnit) error
- func (v *ITextRangeProvider) FindAttribute(in TextArrtibuteId, in2 *VARIANT, in3 int32) (*ITextRangeProvider, error)
- func (v *ITextRangeProvider) FindText(in string, in2 int32, in3 int32) (*ITextRangeProvider, error)
- func (v *ITextRangeProvider) GetAttributeValue(in TextArrtibuteId) (*VARIANT, error)
- func (v *ITextRangeProvider) GetBoundingRectangles() (*TagSafeArray, error)
- func (v *ITextRangeProvider) GetChildren() (*TagSafeArray, error)
- func (v *ITextRangeProvider) GetEnclosingElement() (*IRawElementProviderSimple, error)
- func (v *ITextRangeProvider) GetText(in int32) (string, error)
- func (v *ITextRangeProvider) Move(in TextUnit, in2 int32) (int32, error)
- func (v *ITextRangeProvider) MoveEndpointByRange(in TextPatternRangeEndpoint, in2 *ITextRangeProvider, ...) error
- func (v *ITextRangeProvider) MoveEndpointByUnit(in TextPatternRangeEndpoint, in2 TextUnit, in3 int32) (int32, error)
- func (v *ITextRangeProvider) RemoveFromSelection() error
- func (v *ITextRangeProvider) ScrollIntoView(in int32) error
- func (v *ITextRangeProvider) Select() error
- type ITextRangeProviderVtbl
- type ITextServices
- func (v *ITextServices) OnTxInPlaceActivate(in *TagRect) error
- func (v *ITextServices) OnTxInPlaceDeactivate(in *TagRect) error
- func (v *ITextServices) OnTxPropertyBitsChange(in, in2 uint32) error
- func (v *ITextServices) OnTxSetCursor(opt *TextCursor) error
- func (v *ITextServices) OnTxUIActivate() error
- func (v *ITextServices) OnTxUIDeactivate() error
- func (v *ITextServices) TxDraw(opt *TextDraw) error
- func (v *ITextServices) TxGetBaseLinePos() (int32, error)
- func (v *ITextServices) TxGetCachedSize(in, in2 uint32) error
- func (v *ITextServices) TxGetCurTargetX() (int32, error)
- func (v *ITextServices) TxGetDropTarget() (*IDropTarget, error)
- func (v *ITextServices) TxGetHScroll() (*TextHScroll, error)
- func (v *ITextServices) TxGetNaturalSize(opt *TextNaturalSize) (int32, int32, error)
- func (v *ITextServices) TxGetText() (string, error)
- func (v *ITextServices) TxGetVScroll() (*TextHScroll, error)
- func (v *ITextServices) TxQueryHitPoint(opt *QueryHitPoint) (TxtHitResult, error)
- func (v *ITextServices) TxSendMessage(opt *TextSendMessage) error
- func (v *ITextServices) TxSetText(in string) error
- type ITextServices2
- type ITextServices2Vtbl
- type ITextServicesVtbl
- type IToggleProvider
- type IToggleProviderVtbl
- type ITransformProvider
- func (v *ITransformProvider) Get_CanMove() int32
- func (v *ITransformProvider) Get_CanResize() int32
- func (v *ITransformProvider) Get_CanRotate() int32
- func (v *ITransformProvider) Move(x, y float64) error
- func (v *ITransformProvider) Resize(w, h float64) error
- func (v *ITransformProvider) Rotate(in float64) error
- type ITransformProvider2
- func (v *ITransformProvider2) Get_CanZoom() int32
- func (v *ITransformProvider2) Get_ZoomLevel() float64
- func (v *ITransformProvider2) Get_ZoomMaximum() float64
- func (v *ITransformProvider2) Get_ZoomMinimum() float64
- func (v *ITransformProvider2) Zoom(in float64) error
- func (v *ITransformProvider2) ZoomByUnit(in ZoomUnit) error
- type ITransformProvider2Vtbl
- type ITransformProviderVtbl
- type ITypeInfo
- func (v *ITypeInfo) AddressOfMember(in int32, in2 TagInvokeKind) (unsafe.Pointer, error)
- func (v *ITypeInfo) CreateInstance(in *IUnKnown, in2 *syscall.GUID) (unsafe.Pointer, error)
- func (v *ITypeInfo) GetContainingTypeLib() (*ITypeLib, int32, error)
- func (v *ITypeInfo) GetDllEntry(in int32, in2 TagInvokeKind) (string, string, uint16, error)
- func (v *ITypeInfo) GetDocumentation(in int32) (string, string, uint32, string, error)
- func (v *ITypeInfo) GetFuncDesc(in uint32) (*TagFuncDesc, error)
- func (v *ITypeInfo) GetIDsOfNames() error
- func (v *ITypeInfo) GetImplTypeFlags(in uint32) (int32, error)
- func (v *ITypeInfo) GetMops(in int32) (string, error)
- func (v *ITypeInfo) GetNames(in int32, in2 uint32) (string, uint32, error)
- func (v *ITypeInfo) GetRefTypeInfo() error
- func (v *ITypeInfo) GetRefTypeOfImplType() error
- func (v *ITypeInfo) GetTypeAttr() error
- func (v *ITypeInfo) GetTypeComp() error
- func (v *ITypeInfo) GetVarDesc() error
- func (v *ITypeInfo) Invoke() error
- func (v *ITypeInfo) ReleaseFuncDesc() error
- func (v *ITypeInfo) ReleaseTypeAttr() error
- func (v *ITypeInfo) ReleaseVarDesc() error
- type ITypeInfoVtbl
- type ITypeLib
- func (v *ITypeLib) FindName() error
- func (v *ITypeLib) GetDocumentation() error
- func (v *ITypeLib) GetLibAttr() error
- func (v *ITypeLib) GetTypeComp() error
- func (v *ITypeLib) GetTypeInfo() error
- func (v *ITypeLib) GetTypeInfoCount() error
- func (v *ITypeLib) GetTypeInfoOfGuid() error
- func (v *ITypeLib) GetTypeInfoType() error
- func (v *ITypeLib) IsName() error
- func (v *ITypeLib) ReleaseTLibAttr() error
- type ITypeLibVtbl
- type IUIAutomation
- func (v *IUIAutomation) AddAutomationEventHandler(opt *EventHandler) error
- func (v *IUIAutomation) AddFocusChangedEventHandler(in *IUIAutomationCacheRequest, in2 *IUIAutomationFocusChangedEventHandler) error
- func (v *IUIAutomation) AddPropertyChangedEventHandler(opt *ChangeEventHandler) error
- func (v *IUIAutomation) AddPropertyChangedEventHandlerNativeArray(opt *ChangeEventHandlerNativeArray) error
- func (v *IUIAutomation) AddStructureChangedEventHandler(opt *StructureChangedEventHandler) error
- func (v *IUIAutomation) CheckNotSupported(in *VARIANT) (int32, error)
- func (v *IUIAutomation) CompareElements(in, in2 *IUIAutomationElement) (int32, error)
- func (v *IUIAutomation) CompareRuntimeIds(in, in2 *TagSafeArray) (int32, error)
- func (v *IUIAutomation) CreateAndCondition(in, in2 *IUIAutomationCondition) (*IUIAutomationCondition, error)
- func (v *IUIAutomation) CreateAndConditionFromArray(in *TagSafeArray) (*IUIAutomationCondition, error)
- func (v *IUIAutomation) CreateAndConditionFromNativeArray(in *IUIAutomationCondition, in2 int32) (*IUIAutomationCondition, error)
- func (v *IUIAutomation) CreateCacheRequest() (*IUIAutomationCacheRequest, error)
- func (v *IUIAutomation) CreateFalseCondition() (*IUIAutomationCondition, error)
- func (v *IUIAutomation) CreateNotCondition(in *IUIAutomationCondition) (*IUIAutomationCondition, error)
- func (v *IUIAutomation) CreateOrCondition(in, in2 *IUIAutomationCondition) (*IUIAutomationCondition, error)
- func (v *IUIAutomation) CreateOrConditionFromArray(in *TagSafeArray) (*IUIAutomationCondition, error)
- func (v *IUIAutomation) CreateOrConditionFromNativeArray(in *IUIAutomationCondition, in2 int32) (*IUIAutomationCondition, error)
- func (v *IUIAutomation) CreatePropertyCondition(in *PropertyId, in2 *VARIANT) (*IUIAutomationCondition, error)
- func (v *IUIAutomation) CreatePropertyConditionEx(in *PropertyId, in2 *VARIANT, in3 PropertyConditionFlags) (*IUIAutomationCondition, error)
- func (v *IUIAutomation) CreateProxyFactoryEntry(in *IUIAutomationProxyFactory) (*IUIAutomationProxyFactoryEntry, error)
- func (v *IUIAutomation) CreateTreeWalker(in *IUIAutomationCondition) (*IUIAutomationTreeWalker, error)
- func (v *IUIAutomation) CreateTrueCondition() *IUIAutomationCondition
- func (v *IUIAutomation) ElementFromHandle(in uintptr) (*IUIAutomationElement, error)
- func (v *IUIAutomation) ElementFromHandleBuildCache(in uintptr, in2 *IUIAutomationCacheRequest) (*IUIAutomationElement, error)
- func (v *IUIAutomation) ElementFromIAccessible(in *IAccessible, in2 int32) (*IUIAutomationElement, error)
- func (v *IUIAutomation) ElementFromIAccessibleBuildCache(in *IAccessible, in2 int32, in3 *IUIAutomationCacheRequest) (*IUIAutomationElement, error)
- func (v *IUIAutomation) ElementFromPoint(in *TagPoint) (*IUIAutomationElement, error)
- func (v *IUIAutomation) ElementFromPointBuildCache(in *TagPoint, in2 *IUIAutomationCacheRequest) (*IUIAutomationElement, error)
- func (v *IUIAutomation) GetFocusedElement() (*IUIAutomationElement, error)
- func (v *IUIAutomation) GetFocusedElementBuildCache(in *IUIAutomationCacheRequest) (*IUIAutomationElement, error)
- func (v *IUIAutomation) GetPatternProgrammaticName(in PatternId) (string, error)
- func (v *IUIAutomation) GetPropertyProgrammaticName(in PropertyId) (string, error)
- func (v *IUIAutomation) GetRootElement() (*IUIAutomationElement, error)
- func (v *IUIAutomation) GetRootElementBuildCache(in *IUIAutomationCacheRequest) (*IUIAutomationElement, error)
- func (v *IUIAutomation) Get_ContentViewCondition() *IUIAutomationCondition
- func (v *IUIAutomation) Get_ContentViewWalker() *IUIAutomationTreeWalker
- func (v *IUIAutomation) Get_ControlViewCondition() *IUIAutomationCondition
- func (v *IUIAutomation) Get_ControlViewWalker() *IUIAutomationTreeWalker
- func (v *IUIAutomation) Get_ProxyFactoryMapping() *IUIAutomationProxyFactoryMapping
- func (v *IUIAutomation) Get_RawViewCondition() *IUIAutomationCondition
- func (v *IUIAutomation) Get_RawViewWalker() *IUIAutomationTreeWalker
- func (v *IUIAutomation) Get_ReservedMixedAttributeValue() *IUnKnown
- func (v *IUIAutomation) Get_ReservedNotSupportedValue() *IUnKnown
- func (v *IUIAutomation) IntNativeArrayToSafeArray(in, in2 int32) (*TagSafeArray, error)
- func (v *IUIAutomation) IntSafeArrayToNativeArray(in *TagSafeArray) (int32, int32, error)
- func (v *IUIAutomation) PollForPotentialSupportedPatterns(in *IUIAutomationElement) (*TagSafeArray, *TagSafeArray, error)
- func (v *IUIAutomation) PollForPotentialSupportedProperties(in *IUIAutomationElement) (*TagSafeArray, *TagSafeArray, error)
- func (v *IUIAutomation) RectToVariant(in *TagRect) (*VARIANT, error)
- func (v *IUIAutomation) RemoveAllEventHandlers() error
- func (v *IUIAutomation) RemoveAutomationEventHandler(in UIA_EventId, in2 *IUIAutomationElement, in3 *IUIAutomationEventHandler) error
- func (v *IUIAutomation) RemoveFocusChangedEventHandler(in *IUIAutomationFocusChangedEventHandler) error
- func (v *IUIAutomation) RemovePropertyChangedEventHandler(in *IUIAutomationElement, in2 *IUIAutomationPropertyChangedEventHandler) error
- func (v *IUIAutomation) RemoveStructureChangedEventHandler(in *IUIAutomationElement, in2 *IUIAutomationStructureChangedEventHandler) error
- func (v *IUIAutomation) SafeArrayToRectNativeArray(in *TagSafeArray) (*TagRect, int32, error)
- func (v *IUIAutomation) VariantToRect(in *VARIANT) (*TagRect, error)
- type IUIAutomationAndCondition
- type IUIAutomationAndConditionVtbl
- type IUIAutomationBoolCondition
- type IUIAutomationBoolConditionVtbl
- type IUIAutomationCacheRequest
- type IUIAutomationCacheRequestVtbl
- type IUIAutomationCondition
- type IUIAutomationConditionVtbl
- type IUIAutomationElement
- func (v *IUIAutomationElement) FindAll(condition *IUIAutomationCondition) (*IUIAutomationElementArray, error)
- func (v *IUIAutomationElement) GetClickablePoint() (*TagPoint, int32, error)
- func (v *IUIAutomationElement) GetCurrentPattern(patternId PatternId) (*IUnKnown, error)
- func (v *IUIAutomationElement) GetCurrentPatternAs(patternId PatternId, riid *syscall.GUID) (unsafe.Pointer, error)
- func (v *IUIAutomationElement) GetCurrentPropertyValue(id PropertyId) (*VARIANT, error)
- func (v *IUIAutomationElement) GetCurrentPropertyValueEx(id PropertyId, defaultVal int32) (*VARIANT, error)
- func (v *IUIAutomationElement) GetRuntimeId() (*TagSafeArray, error)
- func (v *IUIAutomationElement) Get_CurrentAcceleratorKey() (string, error)
- func (v *IUIAutomationElement) Get_CurrentAccessKey() (string, error)
- func (v *IUIAutomationElement) Get_CurrentAriaProperties() (string, error)
- func (v *IUIAutomationElement) Get_CurrentAriaRole() (string, error)
- func (v *IUIAutomationElement) Get_CurrentAutomationId() (string, error)
- func (v *IUIAutomationElement) Get_CurrentBoundingRectangle() *TagRect
- func (v *IUIAutomationElement) Get_CurrentClassName() (string, error)
- func (v *IUIAutomationElement) Get_CurrentControlType() ControlTypeId
- func (v *IUIAutomationElement) Get_CurrentControllerFor() *IUIAutomationElementArray
- func (v *IUIAutomationElement) Get_CurrentCulture() int32
- func (v *IUIAutomationElement) Get_CurrentDescribedBy() *IUIAutomationElementArray
- func (v *IUIAutomationElement) Get_CurrentFlowsTo() *IUIAutomationElementArray
- func (v *IUIAutomationElement) Get_CurrentFrameworkId() (string, error)
- func (v *IUIAutomationElement) Get_CurrentHasKeyboardFocus() int32
- func (v *IUIAutomationElement) Get_CurrentHelpText() (string, error)
- func (v *IUIAutomationElement) Get_CurrentIsContentElement() int32
- func (v *IUIAutomationElement) Get_CurrentIsControlElement() int32
- func (v *IUIAutomationElement) Get_CurrentIsDataValidForForm() int32
- func (v *IUIAutomationElement) Get_CurrentIsEnabled() int32
- func (v *IUIAutomationElement) Get_CurrentIsKeyboardFocusable() int32
- func (v *IUIAutomationElement) Get_CurrentIsOffscreen() int32
- func (v *IUIAutomationElement) Get_CurrentIsPassword() int32
- func (v *IUIAutomationElement) Get_CurrentIsRequiredForForm() int32
- func (v *IUIAutomationElement) Get_CurrentItemStatus() (string, error)
- func (v *IUIAutomationElement) Get_CurrentItemType() (string, error)
- func (v *IUIAutomationElement) Get_CurrentLabeledBy() *IUIAutomationElement
- func (v *IUIAutomationElement) Get_CurrentLocalizedControlType() (string, error)
- func (v *IUIAutomationElement) Get_CurrentName() (string, error)
- func (v *IUIAutomationElement) Get_CurrentNativeWindowHandle() uintptr
- func (v *IUIAutomationElement) Get_CurrentOrientation() OrientationType
- func (v *IUIAutomationElement) Get_CurrentProcessId() int32
- func (v *IUIAutomationElement) Get_CurrentProviderDescription() (string, error)
- func (v *IUIAutomationElement) SetFocus() error
- type IUIAutomationElementArray
- type IUIAutomationElementArrayVtbl
- type IUIAutomationElementVtbl
- type IUIAutomationEventHandler
- type IUIAutomationEventHandlerVtbl
- type IUIAutomationFocusChangedEventHandler
- type IUIAutomationFocusChangedEventHandlerVtbl
- type IUIAutomationLegacyIAccessiblePattern
- func (v *IUIAutomationLegacyIAccessiblePattern) DoDefaultAction() error
- func (v *IUIAutomationLegacyIAccessiblePattern) GetCachedSelection() (*IUIAutomationElementArray, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) GetCurrentSelection() (*IUIAutomationElementArray, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) GetIAccessible() (*IAccessible, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedChildId() int32
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedDefaultAction() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedDescription() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedHelp() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedKeyboardShortcut() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedName() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedRole() uint32
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedState() uint32
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedValue() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentChildId() int32
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentDefaultAction() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentDescription() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentHelp() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentKeyboardShortcut() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentName() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentRole() uint32
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentState() uint32
- func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentValue() (string, error)
- func (v *IUIAutomationLegacyIAccessiblePattern) Select(in SelFlag) error
- func (v *IUIAutomationLegacyIAccessiblePattern) SetValue(in string) error
- type IUIAutomationLegacyIAccessiblePatternVtbl
- type IUIAutomationNotCondition
- type IUIAutomationNotConditionVtbl
- type IUIAutomationPropertyChangedEventHandler
- type IUIAutomationPropertyChangedEventHandlerVtbl
- type IUIAutomationPropertyCondition
- type IUIAutomationPropertyConditionVtbl
- type IUIAutomationProxyFactory
- type IUIAutomationProxyFactoryEntry
- func (v *IUIAutomationProxyFactoryEntry) GetWinEventsForAutomationEvent(in UIA_EventId, in2 PropertyId) (*TagSafeArray, error)
- func (v *IUIAutomationProxyFactoryEntry) Get_AllowSubstringMatch() int32
- func (v *IUIAutomationProxyFactoryEntry) Get_CanCheckBaseClass() int32
- func (v *IUIAutomationProxyFactoryEntry) Get_ClassName() (string, error)
- func (v *IUIAutomationProxyFactoryEntry) Get_ImageName() (string, error)
- func (v *IUIAutomationProxyFactoryEntry) Get_NeedsAdviseEvents() int32
- func (v *IUIAutomationProxyFactoryEntry) Get_ProxyFactory() *IUIAutomationProxyFactory
- func (v *IUIAutomationProxyFactoryEntry) Put_AllowSubstringMatch() int32
- func (v *IUIAutomationProxyFactoryEntry) Put_CanCheckBaseClass() int32
- func (v *IUIAutomationProxyFactoryEntry) Put_ClassName() string
- func (v *IUIAutomationProxyFactoryEntry) Put_ImageName() string
- func (v *IUIAutomationProxyFactoryEntry) Put_NeedsAdviseEvents() int32
- func (v *IUIAutomationProxyFactoryEntry) SetWinEventsForAutomationEvent(in UIA_EventId, in2 PropertyId, in3 *TagSafeArray) error
- type IUIAutomationProxyFactoryEntryVtbl
- type IUIAutomationProxyFactoryMapping
- func (v *IUIAutomationProxyFactoryMapping) ClearTable() error
- func (v *IUIAutomationProxyFactoryMapping) GetEntry(in uint32) (*IUIAutomationProxyFactoryEntry, error)
- func (v *IUIAutomationProxyFactoryMapping) GetTable() (*TagSafeArray, error)
- func (v *IUIAutomationProxyFactoryMapping) Get_Count() uint32
- func (v *IUIAutomationProxyFactoryMapping) InsertEntries(in uint32, in2 *TagSafeArray) error
- func (v *IUIAutomationProxyFactoryMapping) InsertEntry(in uint32, in2 *IUIAutomationProxyFactoryEntry) error
- func (v *IUIAutomationProxyFactoryMapping) RemoveEntry(in uint32) error
- func (v *IUIAutomationProxyFactoryMapping) RestoreDefaultTable() error
- func (v *IUIAutomationProxyFactoryMapping) SetTable(in *TagSafeArray) error
- type IUIAutomationProxyFactoryMappingVtbl
- type IUIAutomationProxyFactoryVtbl
- type IUIAutomationStructureChangedEventHandler
- type IUIAutomationStructureChangedEventHandlerVtbl
- type IUIAutomationTreeWalker
- type IUIAutomationTreeWalkerVtbl
- type IUIAutomationValuePattern
- type IUIAutomationValuePatternVtbl
- type IUIAutomationVtbl
- type IUnKnown
- type IUnKnownVtbl
- type IValueProvider
- type IValueProviderVtbl
- type IVirtualizedItemProvider
- type IVirtualizedItemProviderVtbl
- type IWindowProvider
- func (v *IWindowProvider) Close() error
- func (v *IWindowProvider) Get_CanMaximize() int32
- func (v *IWindowProvider) Get_CanMinimize() int32
- func (v *IWindowProvider) Get_IsModal() int32
- func (v *IWindowProvider) Get_IsTopmost() int32
- func (v *IWindowProvider) Get_WindowInteractionState() *WindowInteractionState
- func (v *IWindowProvider) Get_WindowVisualState() *WindowVisualState
- func (v *IWindowProvider) SetVisualState(in WindowVisualState) error
- func (v *IWindowProvider) WaitForInputIdle(in int32) (int32, error)
- type IWindowProviderVtbl
- type InvokeReq
- type InvokeResp
- type OrientationType
- type ParamFalg
- type PatternId
- type PropertyConditionFlags
- type PropertyId
- type QueryHitPoint
- type RowOrColumnMajor
- type ScrollAmount
- type SearchFunc
- type SelFlag
- type StructureChangeType
- type StructureChangedEventHandler
- type SupportedTextSelection
- type SynchronizedInputType
- type TYPEDESC
- type TagCallConv
- type TagDispParams
- type TagDvAspect
- type TagDvTargetDevice
- type TagElemDesc
- type TagExcepInfo
- type TagFuncDesc
- type TagFuncKind
- type TagIdlDesc
- type TagInvokeKind
- type TagParamDesc
- type TagPoint
- type TagRect
- type TagSafeArray
- type TagSafeArrayBound
- type TagSize
- type TagTypeDesc
- type TagVarenum
- type TextArrtibuteId
- type TextCursor
- type TextDraw
- type TextHScroll
- type TextNaturalSize
- type TextPatternRangeEndpoint
- type TextSendMessage
- type TextUnit
- type TextVScroll
- type ToggleState
- type TreeScope
- type TxtHitResult
- type UIA_EventId
- type UiaPoint
- type UiaRect
- type VARIANT
- type WindowInteractionState
- type WindowVisualState
- type ZoomUnit
Constants ¶
View Source
const (
SetUIAutomation = "SetUIAutomation"
)
Variables ¶
View Source
var ( // https://learn.microsoft.com/zh-cn/previous-versions/windows/desktop/legacy/ff384838(v=vs.85) CLSID_CUIAutomation = &syscall.GUID{0xff48dba4, 0x60ef, 0x4201, [8]byte{0xaa, 0x87, 0x54, 0x10, 0x3e, 0xef, 0x59, 0x4e}} // \HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface{IID} IID_IUIAutomation = &syscall.GUID{0x30cbe57d, 0xd9d0, 0x452a, [8]byte{0xab, 0x13, 0x7a, 0xc5, 0xac, 0x48, 0x25, 0xee}} )
View Source
var (
ErrorBstrPointerNil = errors.New("BSTR pointer is nil")
)
View Source
var (
ErrorNotFoundWindow = errors.New("not found window")
)
Functions ¶
func CoInitialize ¶
func CoInitialize() error
func CoUninitialize ¶
func CoUninitialize()
func CreateInstance ¶
func FindWindowA ¶ added in v0.3.0
func FindWindowExA ¶ added in v0.3.0
func GetIDsOfNames ¶ added in v0.3.2
func GetTypeInfoCount ¶ added in v0.3.2
func GetWindowForString ¶
func Get_BooleanValue ¶ added in v0.3.2
func Get_BooleanValue(v *IUIAutomationBoolCondition) int32
func Get_ChildCount ¶ added in v0.3.2
func Get_ChildCount(v *IUIAutomationAndCondition) int32
func Get_Length ¶
func Get_Length(v *IUIAutomationElementArray) int32
func PatternSetValue ¶ added in v0.3.0
TODO:: clent IUIAutomationValuePattern method
func ShutdownTextServices ¶ added in v0.3.0
func StringToCharPtr ¶
func TreeString ¶
func UnKnownToUintptr ¶
func UnKnownToUintptr(obj *interface{}) uintptr
Types ¶
type CLSCTX ¶ added in v0.2.4
type CLSCTX int
var ( // https://learn.microsoft.com/zh-cn/windows/win32/api/wtypesbase/ne-wtypesbase-clsctx CLSCTX_INPROC_SERVER CLSCTX = 0x1 CLSCTX_INPROC_HANDLER CLSCTX = 0x2 CLSCTX_LOCAL_SERVER CLSCTX = 0x4 CLSCTX_INPROC_SERVER16 CLSCTX = 0x8 CLSCTX_REMOTE_SERVER CLSCTX = 0x10 CLSCTX_INPROC_HANDLER16 CLSCTX = 0x20 CLSCTX_RESERVED1 CLSCTX = 0x40 CLSCTX_RESERVED2 CLSCTX = 0x80 CLSCTX_RESERVED3 CLSCTX = 0x100 CLSCTX_RESERVED4 CLSCTX = 0x200 CLSCTX_NO_CODE_DOWNLOAD CLSCTX = 0x400 CLSCTX_RESERVED5 CLSCTX = 0x800 CLSCTX_NO_CUSTOM_MARSHAL CLSCTX = 0x1000 CLSCTX_ENABLE_CODE_DOWNLOAD CLSCTX = 0x2000 CLSCTX_NO_FAILURE_LOG CLSCTX = 0x4000 CLSCTX_DISABLE_AAA CLSCTX = 0x8000 CLSCTX_ENABLE_AAA CLSCTX = 0x10000 CLSCTX_FROM_DEFAULT_CONTEXT CLSCTX = 0x20000 CLSCTX_ACTIVATE_X86_SERVER CLSCTX = 0x40000 CLSCTX_ACTIVATE_64_BIT_SERVER CLSCTX = 0x80000 CLSCTX_ENABLE_CLOAKING CLSCTX = 0x100000 CLSCTX_APPCONTAINER CLSCTX = 0x400000 CLSCTX_ACTIVATE_AAA_AS_IU CLSCTX = 0x800000 CLSCTX_RESERVED6 CLSCTX = 0x1000000 CLSCTX_ACTIVATE_ARM32_SERVER CLSCTX = 0x2000000 CLSCTX_PS_DLL CLSCTX = 0x80000000 )
type ChangeEventHandler ¶ added in v0.3.1
type ChangeEventHandler struct { Element *IUIAutomationElement Scope TreeScope CacheRequest *IUIAutomationCacheRequest Handler *IUIAutomationPropertyChangedEventHandler PropertyArray *TagSafeArray }
type ChangeEventHandlerNativeArray ¶ added in v0.3.1
type ChangeEventHandlerNativeArray struct { Element *IUIAutomationElement Scope TreeScope CacheRequest *IUIAutomationCacheRequest Handler *IUIAutomationPropertyChangedEventHandler PropertyArray *TagSafeArray PropertyCount int32 }
type ControlTypeId ¶ added in v0.2.4
type ControlTypeId int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/winauto/uiauto-controlpatternmapping // https://learn.microsoft.com/zh-cn/windows/win32/winauto/uiauto-supportinguiautocontroltypes UIA_AppBarControlTypeId ControlTypeId = 50040 UIA_ButtonControlTypeId ControlTypeId = 50000 UIA_CalendarControlTypeId ControlTypeId = 50001 UIA_CheckBoxControlTypeId ControlTypeId = 50002 UIA_ComboBoxControlTypeId ControlTypeId = 50003 UIA_CustomControlTypeId ControlTypeId = 50025 UIA_DataGridControlTypeId ControlTypeId = 50028 UIA_DataItemControlTypeId ControlTypeId = 50029 UIA_DocumentControlTypeId ControlTypeId = 50030 UIA_EditControlTypeId ControlTypeId = 50004 UIA_GroupControlTypeId ControlTypeId = 50026 UIA_HeaderControlTypeId ControlTypeId = 50034 UIA_HeaderItemControlTypeId ControlTypeId = 50035 UIA_HyperlinkControlTypeId ControlTypeId = 50005 UIA_ImageControlTypeId ControlTypeId = 50006 UIA_ListControlTypeId ControlTypeId = 50008 UIA_ListItemControlTypeId ControlTypeId = 50007 UIA_MenuBarControlTypeId ControlTypeId = 50010 UIA_MenuControlTypeId ControlTypeId = 50009 UIA_MenuItemControlTypeId ControlTypeId = 50011 UIA_PaneControlTypeId ControlTypeId = 50033 UIA_ProgressBarControlTypeId ControlTypeId = 50012 UIA_RadioButtonControlTypeId ControlTypeId = 50013 UIA_ScrollBarControlTypeId ControlTypeId = 50014 UIA_SemanticZoomControlTypeId ControlTypeId = 50039 UIA_SeparatorControlTypeId ControlTypeId = 50038 UIA_SliderControlTypeId ControlTypeId = 50015 UIA_SpinnerControlTypeId ControlTypeId = 50016 UIA_SplitButtonControlTypeId ControlTypeId = 50031 UIA_StatusBarControlTypeId ControlTypeId = 50017 UIA_TabControlTypeId ControlTypeId = 50018 UIA_TabItemControlTypeId ControlTypeId = 50019 UIA_TableControlTypeId ControlTypeId = 50036 UIA_TextControlTypeId ControlTypeId = 50020 UIA_ThumbControlTypeId ControlTypeId = 50027 UIA_TitleBarControlTypeId ControlTypeId = 50037 UIA_ToolBarControlTypeId ControlTypeId = 50021 UIA_ToolTipControlTypeId ControlTypeId = 50022 UIA_TreeControlTypeId ControlTypeId = 50023 UIA_TreeItemControlTypeId ControlTypeId = 50024 UIA_WindowControlTypeId ControlTypeId = 50032 )
type DockPosition ¶
type DockPosition int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ne-uiautomationcore-dockposition DockPosition_Top DockPosition = iota DockPosition_Left DockPosition_Bottom DockPosition_Right DockPosition_Fill DockPosition_None )
type Element ¶
type Element struct { UIAutoElement *IUIAutomationElement CurrentAcceleratorKey string CurrentAccessKey string CurrentAriaProperties string CurrentAriaRole string CurrentAutomationId string CurrentBoundingRectangle *TagRect CurrentClassName string CurrentControllerFor *IUIAutomationElementArray CurrentControlType ControlTypeId CurrentCulture int32 CurrentDescribedBy *IUIAutomationElementArray CurrentFlowsTo *IUIAutomationElementArray CurrentFrameworkId string CurrentHasKeyboardFocus int32 CurrentHelpText string CurrentIsContentElement int32 CurrentIsControlElement int32 CurrentIsDataValidForForm int32 CurrentIsEnabled int32 CurrentIsKeyboardFocusable int32 CurrentIsOffscreen int32 CurrentIsPassword int32 CurrentIsRequiredForForm int32 CurrentItemStatus string CurrentItemType string CurrentLabeledBy *IUIAutomationElement CurrentLocalizedControlType string CurrentName string CurrentNativeWindowHandle uintptr CurrentOrientation OrientationType CurrentProcessId int32 CurrentProviderDescription string Child []*Element `json:"child,omitempty"` }
func FindElems ¶
func FindElems(elem *Element, searchFunc SearchFunc) (elems []*Element)
func NewElement ¶
func NewElement(uiaumation *IUIAutomationElement) *Element
func SearchElem ¶
func SearchElem(elem *Element, searchFunc SearchFunc) *Element
func TraverseUIElementTree ¶
func TraverseUIElementTree(ppv *IUIAutomation, root *IUIAutomationElement) *Element
func (*Element) AccleratorKey ¶
func (*Element) AriaProperties ¶
func (*Element) AutomationId ¶
func (*Element) BoundingRectangle ¶
func (e *Element) BoundingRectangle()
func (*Element) ControlType ¶
func (e *Element) ControlType()
func (*Element) ControllerFor ¶
func (e *Element) ControllerFor()
func (*Element) DescribedBy ¶
func (e *Element) DescribedBy()
func (*Element) FormatString ¶
func (*Element) FrameworkId ¶
func (*Element) HasKeyboardFocus ¶
func (e *Element) HasKeyboardFocus()
func (*Element) IsContentElement ¶
func (e *Element) IsContentElement()
func (*Element) IsControlElement ¶
func (e *Element) IsControlElement()
func (*Element) IsDataValidForForm ¶
func (e *Element) IsDataValidForForm()
func (*Element) IsKeyboardFocusable ¶
func (e *Element) IsKeyboardFocusable()
func (*Element) IsOffscreen ¶
func (e *Element) IsOffscreen()
func (*Element) IsPassword ¶
func (e *Element) IsPassword()
func (*Element) IsRequiredForForm ¶
func (e *Element) IsRequiredForForm()
func (*Element) ItemStatus ¶
func (*Element) LocalizedControlType ¶
func (*Element) NativeWindowHandle ¶
func (e *Element) NativeWindowHandle()
func (*Element) Orientation ¶
func (e *Element) Orientation()
func (*Element) ProviderDescription ¶
func (*Element) SetUIAutomation ¶
func (e *Element) SetUIAutomation(uiaumation *IUIAutomationElement)
type EventHandler ¶ added in v0.3.1
type EventHandler struct { EventId UIA_EventId Element *IUIAutomationElement Scope TreeScope CacheRequest *IUIAutomationCacheRequest Handler *IUIAutomationEventHandler }
type ExpandCollapseState ¶
type ExpandCollapseState int
const ( ExpandCollapseState_Collapsed ExpandCollapseState = iota ExpandCollapseState_Expanded ExpandCollapseState_PartiallyExpanded ExpandCollapseState_LeafNode )
type IAccessible ¶
type IAccessible struct {
// contains filtered or unexported fields
}
func NewIAccessible ¶ added in v0.3.2
func NewIAccessible(unk *IDispatch) *IAccessible
func (*IAccessible) AccDoDefaultAction ¶ added in v0.3.2
func (v *IAccessible) AccDoDefaultAction(in *VARIANT) error
func (*IAccessible) AccHitTest ¶ added in v0.3.2
func (v *IAccessible) AccHitTest(in, in2 int32) (*VARIANT, error)
func (*IAccessible) AccLocation ¶ added in v0.3.2
func (v *IAccessible) AccLocation(in, in2, in3, in4 int32) (*VARIANT, error)
func (*IAccessible) AccNavigate ¶ added in v0.3.2
func (v *IAccessible) AccNavigate(in int32, in2 *VARIANT) (*VARIANT, error)
func (*IAccessible) AccSelect ¶ added in v0.3.2
func (v *IAccessible) AccSelect(in int32, in2 *VARIANT) error
func (*IAccessible) Get_accChild ¶ added in v0.3.2
func (v *IAccessible) Get_accChild(in *VARIANT) (*IDispatch, error)
func (*IAccessible) Get_accChildCount ¶ added in v0.3.2
func (v *IAccessible) Get_accChildCount() (int32, error)
func (*IAccessible) Get_accDefaultAction ¶ added in v0.3.2
func (v *IAccessible) Get_accDefaultAction(in *VARIANT) (string, error)
func (*IAccessible) Get_accDescription ¶ added in v0.3.2
func (v *IAccessible) Get_accDescription(in *VARIANT) (string, error)
func (*IAccessible) Get_accFocus ¶ added in v0.3.2
func (v *IAccessible) Get_accFocus() (*VARIANT, error)
func (*IAccessible) Get_accHelp ¶ added in v0.3.2
func (v *IAccessible) Get_accHelp(in *VARIANT) (string, error)
func (*IAccessible) Get_accHelpTopic ¶ added in v0.3.2
func (v *IAccessible) Get_accHelpTopic(in *VARIANT, in2 int32) (string, error)
func (*IAccessible) Get_accKeyboardShortcut ¶ added in v0.3.2
func (v *IAccessible) Get_accKeyboardShortcut(in *VARIANT) (string, error)
func (*IAccessible) Get_accName ¶ added in v0.3.2
func (v *IAccessible) Get_accName(in *VARIANT) (string, error)
func (*IAccessible) Get_accParent ¶ added in v0.3.2
func (v *IAccessible) Get_accParent() (*IDispatch, error)
func (*IAccessible) Get_accRole ¶ added in v0.3.2
func (v *IAccessible) Get_accRole(in *VARIANT) (*VARIANT, error)
func (*IAccessible) Get_accSelection ¶ added in v0.3.2
func (v *IAccessible) Get_accSelection() (*VARIANT, error)
func (*IAccessible) Get_accState ¶ added in v0.3.2
func (v *IAccessible) Get_accState(in *VARIANT) (*VARIANT, error)
func (*IAccessible) Get_accValue ¶ added in v0.3.2
func (v *IAccessible) Get_accValue(in *VARIANT) (string, error)
func (*IAccessible) Put_accName ¶ added in v0.3.2
func (v *IAccessible) Put_accName(in *VARIANT, in2 string) error
func (*IAccessible) Put_accValue ¶ added in v0.3.2
func (v *IAccessible) Put_accValue(in *VARIANT, in2 string) error
type IAccessibleVtbl ¶
type IAccessibleVtbl struct { // https://learn.microsoft.com/zh-cn/windows/win32/api/oleacc/nn-oleacc-iaccessible IDispatchVtbl AccDoDefaultAction uintptr AccHitTest uintptr AccLocation uintptr AccSelect uintptr Get_accChild uintptr Get_accChildCount uintptr Get_accDefaultAction uintptr Get_accDescription uintptr Get_accFocus uintptr Get_accHelp uintptr Get_accHelpTopic uintptr // unsupported Get_accKeyboardShortcut uintptr Get_accName uintptr Get_accParent uintptr Get_accRole uintptr Get_accSelection uintptr Get_accState uintptr Get_accValue uintptr Put_accName uintptr // unsupported Put_accValue uintptr }
type IAnnotationProvider ¶
type IAnnotationProvider struct {
// contains filtered or unexported fields
}
func NewIAnnotationProvider ¶
func NewIAnnotationProvider(unk *IUnKnown) *IAnnotationProvider
func (*IAnnotationProvider) Get_AnnotationTypeId ¶
func (v *IAnnotationProvider) Get_AnnotationTypeId() int32
func (*IAnnotationProvider) Get_AnnotationTypeName ¶
func (v *IAnnotationProvider) Get_AnnotationTypeName() string
func (*IAnnotationProvider) Get_Author ¶
func (v *IAnnotationProvider) Get_Author() string
func (*IAnnotationProvider) Get_DateTime ¶
func (v *IAnnotationProvider) Get_DateTime() string
func (*IAnnotationProvider) Get_Target ¶
func (v *IAnnotationProvider) Get_Target() *IRawElementProviderSimple
type IAnnotationProviderVtbl ¶
type IDispatchVtbl ¶
type IDispatchVtbl struct { IUnKnownVtbl GetIDsOfNames uintptr GetTypeInfo uintptr GetTypeInfoCount uintptr Invoke uintptr }
type IDockProvider ¶
type IDockProvider struct {
// contains filtered or unexported fields
}
func NewIDockProvider ¶
func NewIDockProvider(unk *IUnKnown) *IDockProvider
func (*IDockProvider) Get_DockPosition ¶
func (v *IDockProvider) Get_DockPosition() *DockPosition
func (*IDockProvider) SetDockPosition ¶
func (v *IDockProvider) SetDockPosition(position *DockPosition) error
type IDockProviderVtbl ¶
type IDockProviderVtbl struct { IUnKnownVtbl Get_DockPosition uintptr SetDockPosition uintptr }
type IDragProvider ¶
type IDragProvider struct {
// contains filtered or unexported fields
}
func NewIDragProvider ¶
func NewIDragProvider(unk *IUnKnown) *IDragProvider
func (*IDragProvider) GetGrabbedItems ¶
func (v *IDragProvider) GetGrabbedItems() *TagSafeArray
func (*IDragProvider) Get_DropEffect ¶
func (v *IDragProvider) Get_DropEffect() string
func (*IDragProvider) Get_DropEffects ¶
func (v *IDragProvider) Get_DropEffects() *TagSafeArray
func (*IDragProvider) Get_IsGrabbed ¶
func (v *IDragProvider) Get_IsGrabbed() int32
type IDragProviderVtbl ¶
type IDragProviderVtbl struct { IUnKnownVtbl Get_DropEffect uintptr Get_DropEffects uintptr Get_IsGrabbed uintptr GetGrabbedItems uintptr }
type IDropTarget ¶ added in v0.3.0
type IDropTarget struct {
// contains filtered or unexported fields
}
func NewIDropTarget ¶ added in v0.3.2
func NewIDropTarget(unk *IUnKnown) *IDropTarget
func (*IDropTarget) DragEnter ¶ added in v0.3.2
func (v *IDropTarget) DragEnter() error
func (*IDropTarget) DragLeave ¶ added in v0.3.2
func (v *IDropTarget) DragLeave() error
func (*IDropTarget) DragOver ¶ added in v0.3.2
func (v *IDropTarget) DragOver() error
func (*IDropTarget) Drop ¶ added in v0.3.2
func (v *IDropTarget) Drop() error
type IDropTargetProvider ¶
type IDropTargetProvider struct {
// contains filtered or unexported fields
}
func NewIDropTargetProvider ¶
func NewIDropTargetProvider(unk *IUnKnown) *IDropTargetProvider
func (*IDropTargetProvider) Get_DropTargetEffect ¶
func (v *IDropTargetProvider) Get_DropTargetEffect() string
func (*IDropTargetProvider) Get_DropTargetEffects ¶
func (v *IDropTargetProvider) Get_DropTargetEffects() *TagSafeArray
type IDropTargetProviderVtbl ¶
type IDropTargetProviderVtbl struct { IUnKnownVtbl Get_DropTargetEffect uintptr Get_DropTargetEffects uintptr }
type IDropTargetVtbl ¶ added in v0.3.0
type IDropTargetVtbl struct { IUnKnownVtbl DragEnter uintptr DragLeave uintptr DragOver uintptr Drop uintptr }
TODO:: IDropTarget method
type IExpandCollapseProvider ¶
type IExpandCollapseProvider struct {
// contains filtered or unexported fields
}
func NewIExpandCollapseProvider ¶
func NewIExpandCollapseProvider(unk *IUnKnown) *IExpandCollapseProvider
func (*IExpandCollapseProvider) Collapse ¶
func (v *IExpandCollapseProvider) Collapse() (int32, error)
func (*IExpandCollapseProvider) Expand ¶
func (v *IExpandCollapseProvider) Expand() (int32, error)
func (*IExpandCollapseProvider) GetExpandCollapseState ¶
func (v *IExpandCollapseProvider) GetExpandCollapseState() *ExpandCollapseState
type IExpandCollapseProviderVtbl ¶
type IExpandCollapseProviderVtbl struct { IUnKnownVtbl Collapse uintptr Expand uintptr Get_ExpandCollapseState uintptr }
type IGridItemProvider ¶
type IGridItemProvider struct {
// contains filtered or unexported fields
}
func NewIGridItemProvider ¶
func NewIGridItemProvider(unk *IUnKnown) *IGridItemProvider
func (*IGridItemProvider) Get_Column ¶
func (v *IGridItemProvider) Get_Column() int32
func (*IGridItemProvider) Get_ColumnSpan ¶
func (v *IGridItemProvider) Get_ColumnSpan() int32
func (*IGridItemProvider) Get_ContainingGrid ¶
func (v *IGridItemProvider) Get_ContainingGrid() *IRawElementProviderSimple
func (*IGridItemProvider) Get_Row ¶
func (v *IGridItemProvider) Get_Row() int32
func (*IGridItemProvider) Get_RowSpan ¶
func (v *IGridItemProvider) Get_RowSpan() int32
type IGridItemProviderVtbl ¶
type IGridProvider ¶
type IGridProvider struct {
// contains filtered or unexported fields
}
func NewIGridProvider ¶
func NewIGridProvider(unk *IUnKnown) *IGridProvider
func (*IGridProvider) GetItem ¶
func (v *IGridProvider) GetItem(row, column int32) (*IRawElementProviderSimple, error)
func (*IGridProvider) Get_ColumnCount ¶
func (v *IGridProvider) Get_ColumnCount() int32
func (*IGridProvider) Get_RowCount ¶
func (v *IGridProvider) Get_RowCount() int32
type IGridProviderVtbl ¶
type IGridProviderVtbl struct { IUnKnownVtbl Get_ColumnCount uintptr Get_RowCount uintptr GetItem uintptr }
type IInvokeProvider ¶
type IInvokeProvider struct {
// contains filtered or unexported fields
}
func NewIInvokeProvider ¶
func NewIInvokeProvider(unk *IUnKnown) *IInvokeProvider
func (*IInvokeProvider) Invoke ¶
func (v *IInvokeProvider) Invoke() error
type IInvokeProviderVtbl ¶
type IInvokeProviderVtbl struct { IUnKnownVtbl Invoke uintptr }
type IItemContainerProvider ¶
type IItemContainerProvider struct {
// contains filtered or unexported fields
}
func NewIItemContainerProvider ¶
func NewIItemContainerProvider(unk *IUnKnown) *IItemContainerProvider
func (*IItemContainerProvider) FindItemByProperty ¶
func (v *IItemContainerProvider) FindItemByProperty(simple *IRawElementProviderSimple, id uintptr, val *VARIANT) (*IRawElementProviderSimple, error)
type IItemContainerProviderVtbl ¶
type IItemContainerProviderVtbl struct { IUnKnownVtbl FindItemByProperty uintptr }
type ILegacyIAccessibleProvider ¶
type ILegacyIAccessibleProvider struct {
// contains filtered or unexported fields
}
func NewILegacyIAccessibleProvider ¶
func NewILegacyIAccessibleProvider(unk *IUnKnown) *ILegacyIAccessibleProvider
func (*ILegacyIAccessibleProvider) DoDefaultAction ¶
func (v *ILegacyIAccessibleProvider) DoDefaultAction() error
func (*ILegacyIAccessibleProvider) GetIAccessible ¶
func (v *ILegacyIAccessibleProvider) GetIAccessible() (*IAccessible, error)
func (*ILegacyIAccessibleProvider) GetSelection ¶
func (v *ILegacyIAccessibleProvider) GetSelection() (*TagSafeArray, error)
func (*ILegacyIAccessibleProvider) Get_ChildId ¶
func (v *ILegacyIAccessibleProvider) Get_ChildId() int32
func (*ILegacyIAccessibleProvider) Get_DefaultAction ¶
func (v *ILegacyIAccessibleProvider) Get_DefaultAction() (string, error)
func (*ILegacyIAccessibleProvider) Get_Description ¶
func (v *ILegacyIAccessibleProvider) Get_Description() (string, error)
func (*ILegacyIAccessibleProvider) Get_Help ¶
func (v *ILegacyIAccessibleProvider) Get_Help() (string, error)
func (*ILegacyIAccessibleProvider) Get_KeyboardShortcut ¶
func (v *ILegacyIAccessibleProvider) Get_KeyboardShortcut() (string, error)
func (*ILegacyIAccessibleProvider) Get_Name ¶
func (v *ILegacyIAccessibleProvider) Get_Name() (string, error)
func (*ILegacyIAccessibleProvider) Get_Role ¶
func (v *ILegacyIAccessibleProvider) Get_Role() uint32
func (*ILegacyIAccessibleProvider) Get_State ¶
func (v *ILegacyIAccessibleProvider) Get_State() uint32
func (*ILegacyIAccessibleProvider) Get_Value ¶
func (v *ILegacyIAccessibleProvider) Get_Value() uint32
func (*ILegacyIAccessibleProvider) Select ¶
func (v *ILegacyIAccessibleProvider) Select(flag int32) error
func (*ILegacyIAccessibleProvider) SetValue ¶
func (v *ILegacyIAccessibleProvider) SetValue(val string) error
type ILegacyIAccessibleProviderVtbl ¶
type ILegacyIAccessibleProviderVtbl struct { IUnKnownVtbl DoDefaultAction uintptr Get_ChildId uintptr Get_DefaultAction uintptr Get_Description uintptr Get_Help uintptr Get_KeyboardShortcut uintptr Get_Name uintptr Get_Role uintptr Get_State uintptr Get_Value uintptr GetIAccessible uintptr GetSelection uintptr Select uintptr SetValue uintptr }
type IMultipleViewProvider ¶
type IMultipleViewProvider struct {
// contains filtered or unexported fields
}
func NewIMultipleViewProvider ¶
func NewIMultipleViewProvider(unk *IUnKnown) *IMultipleViewProvider
func (*IMultipleViewProvider) GetSupportedViews ¶
func (v *IMultipleViewProvider) GetSupportedViews() (*TagSafeArray, error)
func (*IMultipleViewProvider) GetViewName ¶
func (v *IMultipleViewProvider) GetViewName(viewId int32) (string, error)
func (*IMultipleViewProvider) Get_CurrentView ¶
func (v *IMultipleViewProvider) Get_CurrentView() int32
func (*IMultipleViewProvider) SetCurrentView ¶
func (v *IMultipleViewProvider) SetCurrentView(viewId int32) error
type IMultipleViewProviderVtbl ¶
type IMultipleViewProviderVtbl struct { IUnKnownVtbl Get_CurrentView uintptr GetSupportedViews uintptr GetViewName uintptr SetCurrentView uintptr }
type IObjectModelProvider ¶
type IObjectModelProvider struct {
// contains filtered or unexported fields
}
func NewIObjectModelProvider ¶
func NewIObjectModelProvider(unk *IUnKnown) *IObjectModelProvider
func (*IObjectModelProvider) GetUnderlyingObjectModel ¶
func (v *IObjectModelProvider) GetUnderlyingObjectModel() (*IUnKnown, error)
type IObjectModelProviderVtbl ¶
type IObjectModelProviderVtbl struct { // windows 8 start support IUnKnownVtbl GetUnderlyingObjectModel uintptr }
type IRangeValueProvider ¶
type IRangeValueProvider struct {
// contains filtered or unexported fields
}
func NewIRangeValueProvider ¶
func NewIRangeValueProvider(unk *IUnKnown) *IRangeValueProvider
func (*IRangeValueProvider) Get_IsReadOnly ¶
func (v *IRangeValueProvider) Get_IsReadOnly() int32
func (*IRangeValueProvider) Get_LargeChange ¶ added in v0.2.1
func (v *IRangeValueProvider) Get_LargeChange() float64
func (*IRangeValueProvider) Get_Maximum ¶ added in v0.2.1
func (v *IRangeValueProvider) Get_Maximum() float64
func (*IRangeValueProvider) Get_Minimum ¶ added in v0.2.1
func (v *IRangeValueProvider) Get_Minimum() float64
func (*IRangeValueProvider) Get_SmallChange ¶ added in v0.2.1
func (v *IRangeValueProvider) Get_SmallChange() float64
func (*IRangeValueProvider) Get_Value ¶ added in v0.2.1
func (v *IRangeValueProvider) Get_Value() float64
func (*IRangeValueProvider) SetValue ¶ added in v0.2.1
func (v *IRangeValueProvider) SetValue(val float64) error
type IRangeValueProviderVtbl ¶
type IRawElementProviderSimple ¶
type IRawElementProviderSimple struct {
// contains filtered or unexported fields
}
type IRawElementProviderSimpleVtbl ¶
type IRawElementProviderSimpleVtbl struct { IUnKnownVtbl Get_HostRawElementProvider uintptr Get_ProviderOptions uintptr GetPatternProvider uintptr GetPropertyValue uintptr }
type IRichEditUiaInformation ¶ added in v0.3.0
type IRichEditUiaInformation struct {
// contains filtered or unexported fields
}
func NewIRichEditUiaInformation ¶ added in v0.3.0
func NewIRichEditUiaInformation(unk *IUnKnown) *IRichEditUiaInformation
func (*IRichEditUiaInformation) GetBoundaryRectangle ¶ added in v0.3.0
func (v *IRichEditUiaInformation) GetBoundaryRectangle() (*UiaRect, error)
func (*IRichEditUiaInformation) IsVisible ¶ added in v0.3.0
func (v *IRichEditUiaInformation) IsVisible() bool
type IRichEditUiaInformationVtbl ¶ added in v0.3.0
type IRichEditUiaInformationVtbl struct { IUnKnownVtbl GetBoundaryRectangle uintptr IsVisible uintptr }
type IRicheditUiaOverrides ¶ added in v0.3.0
type IRicheditUiaOverrides struct {
// contains filtered or unexported fields
}
func NewIRicheditUiaOverrides ¶ added in v0.3.2
func NewIRicheditUiaOverrides(unk *IUnKnown) *IRicheditUiaOverrides
func (*IRicheditUiaOverrides) GetPropertyOverrideValue ¶ added in v0.3.2
func (v *IRicheditUiaOverrides) GetPropertyOverrideValue() error
type IRicheditUiaOverridesVtbl ¶ added in v0.3.0
type IRicheditUiaOverridesVtbl struct { IUnKnownVtbl GetPropertyOverrideValue uintptr }
type IRicheditWindowlessAccessibility ¶ added in v0.3.0
type IRicheditWindowlessAccessibility struct {
// contains filtered or unexported fields
}
func NewIRicheditWindowlessAccessibility ¶ added in v0.3.2
func NewIRicheditWindowlessAccessibility(unk *IUnKnown) *IRicheditWindowlessAccessibility
func (*IRicheditWindowlessAccessibility) CreateProvider ¶ added in v0.3.2
func (v *IRicheditWindowlessAccessibility) CreateProvider() error
type IRicheditWindowlessAccessibilityVtbl ¶ added in v0.3.0
type IRicheditWindowlessAccessibilityVtbl struct { IUnKnownVtbl CreateProvider uintptr }
type IScrollItemProvider ¶
type IScrollItemProvider struct {
// contains filtered or unexported fields
}
func NewIScrollItemProvider ¶ added in v0.2.1
func NewIScrollItemProvider(unk *IUnKnown) *IScrollItemProvider
func (*IScrollItemProvider) ScrollIntoView ¶ added in v0.2.1
func (v *IScrollItemProvider) ScrollIntoView() error
type IScrollItemProviderVtbl ¶
type IScrollItemProviderVtbl struct { IUnKnownVtbl ScrollIntoView uintptr }
type IScrollProvider ¶
type IScrollProvider struct {
// contains filtered or unexported fields
}
func NewIScrollProvider ¶ added in v0.2.1
func NewIScrollProvider(unk *IUnKnown) *IScrollProvider
func (*IScrollProvider) Get_HorizontalScrollPercent ¶ added in v0.2.1
func (v *IScrollProvider) Get_HorizontalScrollPercent() float64
func (*IScrollProvider) Get_HorizontalViewSize ¶ added in v0.2.1
func (v *IScrollProvider) Get_HorizontalViewSize() float64
func (*IScrollProvider) Get_HorizontallyScrollable ¶ added in v0.2.1
func (v *IScrollProvider) Get_HorizontallyScrollable() int32
func (*IScrollProvider) Get_VerticalScrollPercent ¶ added in v0.2.1
func (v *IScrollProvider) Get_VerticalScrollPercent() float64
func (*IScrollProvider) Get_VerticalViewSize ¶ added in v0.2.1
func (v *IScrollProvider) Get_VerticalViewSize() float64
func (*IScrollProvider) Get_VerticallyScrollable ¶ added in v0.2.1
func (v *IScrollProvider) Get_VerticallyScrollable() int32
func (*IScrollProvider) Scroll ¶ added in v0.2.1
func (v *IScrollProvider) Scroll(hr, vr ScrollAmount) error
func (*IScrollProvider) SetScrollPercent ¶ added in v0.2.1
func (v *IScrollProvider) SetScrollPercent(hr, vr float64) error
type IScrollProviderVtbl ¶
type ISelectionItemProvider ¶
type ISelectionItemProvider struct {
// contains filtered or unexported fields
}
func NewISelectionItemProvider ¶ added in v0.2.1
func NewISelectionItemProvider(unk *IUnKnown) *ISelectionItemProvider
func (*ISelectionItemProvider) AddToSelection ¶ added in v0.2.1
func (v *ISelectionItemProvider) AddToSelection() error
func (*ISelectionItemProvider) Get_IsSelected ¶ added in v0.2.1
func (v *ISelectionItemProvider) Get_IsSelected() int32
func (*ISelectionItemProvider) Get_SelectionContainer ¶ added in v0.2.1
func (v *ISelectionItemProvider) Get_SelectionContainer() *IRawElementProviderSimple
func (*ISelectionItemProvider) RemoveFromSelection ¶ added in v0.2.1
func (v *ISelectionItemProvider) RemoveFromSelection() error
func (*ISelectionItemProvider) Select ¶ added in v0.2.1
func (v *ISelectionItemProvider) Select() error
type ISelectionProvider ¶
type ISelectionProvider struct {
// contains filtered or unexported fields
}
func NewISelectionProvider ¶ added in v0.2.1
func NewISelectionProvider(unk *IUnKnown) *ISelectionProvider
func (*ISelectionProvider) GetSelection ¶ added in v0.2.1
func (v *ISelectionProvider) GetSelection() (*TagSafeArray, error)
func (*ISelectionProvider) Get_CanSelectMultiple ¶ added in v0.2.1
func (v *ISelectionProvider) Get_CanSelectMultiple() int32
func (*ISelectionProvider) Get_IsSelectionRequired ¶ added in v0.2.1
func (v *ISelectionProvider) Get_IsSelectionRequired() int32
type ISelectionProviderVtbl ¶
type ISelectionProviderVtbl struct { IUnKnownVtbl Get_CanSelectMultiple uintptr Get_IsSelectionRequired uintptr GetSelection uintptr }
type ISpreadsheetItemProvider ¶
type ISpreadsheetItemProvider struct {
// contains filtered or unexported fields
}
func NewISpreadsheetItemProvider ¶ added in v0.2.1
func NewISpreadsheetItemProvider(unk *IUnKnown) *ISpreadsheetItemProvider
func (*ISpreadsheetItemProvider) GetAnnotationObjects ¶ added in v0.2.1
func (v *ISpreadsheetItemProvider) GetAnnotationObjects() (*TagSafeArray, error)
func (*ISpreadsheetItemProvider) GetAnnotationTypes ¶ added in v0.2.1
func (v *ISpreadsheetItemProvider) GetAnnotationTypes() (*TagSafeArray, error)
func (*ISpreadsheetItemProvider) Get_Formula ¶ added in v0.2.1
func (v *ISpreadsheetItemProvider) Get_Formula() (string, error)
type ISpreadsheetItemProviderVtbl ¶
type ISpreadsheetItemProviderVtbl struct { IUnKnownVtbl Get_Formula uintptr GetAnnotationObjects uintptr GetAnnotationTypes uintptr }
type ISpreadsheetProvider ¶
type ISpreadsheetProvider struct {
// contains filtered or unexported fields
}
func NewISpreadsheetProvider ¶ added in v0.2.1
func NewISpreadsheetProvider(unk *IUnKnown) *ISpreadsheetProvider
func (*ISpreadsheetProvider) GetItemByName ¶ added in v0.2.1
func (v *ISpreadsheetProvider) GetItemByName(name string) (*IRawElementProviderSimple, error)
type ISpreadsheetProviderVtbl ¶
type ISpreadsheetProviderVtbl struct { IUnKnownVtbl GetItemByName uintptr }
type IStylesProvider ¶
type IStylesProvider struct {
// contains filtered or unexported fields
}
func NewIStylesProvider ¶ added in v0.2.1
func NewIStylesProvider(unk *IUnKnown) *IStylesProvider
func (*IStylesProvider) Get_ExtendedPropertvs ¶ added in v0.2.1
func (v *IStylesProvider) Get_ExtendedPropertvs() (string, error)
func (*IStylesProvider) Get_FillColor ¶ added in v0.2.1
func (v *IStylesProvider) Get_FillColor() int32
func (*IStylesProvider) Get_FillPatternColor ¶ added in v0.2.1
func (v *IStylesProvider) Get_FillPatternColor() int32
func (*IStylesProvider) Get_FillPatternStyle ¶ added in v0.2.1
func (v *IStylesProvider) Get_FillPatternStyle() (string, error)
func (*IStylesProvider) Get_Shape ¶ added in v0.2.1
func (v *IStylesProvider) Get_Shape() (string, error)
func (*IStylesProvider) Get_StyleId ¶ added in v0.2.1
func (v *IStylesProvider) Get_StyleId() int32
func (*IStylesProvider) Get_StyleName ¶ added in v0.2.1
func (v *IStylesProvider) Get_StyleName() (string, error)
type IStylesProviderVtbl ¶
type ISynchronizedInputProvider ¶
type ISynchronizedInputProvider struct {
// contains filtered or unexported fields
}
func NewISynchronizedInputProvider ¶ added in v0.2.1
func NewISynchronizedInputProvider(unk *IUnKnown) *ISynchronizedInputProvider
func (*ISynchronizedInputProvider) Cancel ¶ added in v0.2.1
func (v *ISynchronizedInputProvider) Cancel() error
func (*ISynchronizedInputProvider) StartListening ¶ added in v0.2.1
func (v *ISynchronizedInputProvider) StartListening(in SynchronizedInputType) error
type ISynchronizedInputProviderVtbl ¶
type ISynchronizedInputProviderVtbl struct { IUnKnownVtbl Cancel uintptr StartListening uintptr }
type ITableItemProvider ¶
type ITableItemProvider struct {
// contains filtered or unexported fields
}
func NewITableItemProvider ¶ added in v0.2.1
func NewITableItemProvider(unk *IUnKnown) *ITableItemProvider
func (*ITableItemProvider) GetColumnHeaderItems ¶ added in v0.2.1
func (v *ITableItemProvider) GetColumnHeaderItems() (*TagSafeArray, error)
func (*ITableItemProvider) GetRowHeaderItems ¶ added in v0.2.1
func (v *ITableItemProvider) GetRowHeaderItems() (*TagSafeArray, error)
type ITableItemProviderVtbl ¶
type ITableItemProviderVtbl struct { IUnKnownVtbl GetColumnHeaderItems uintptr GetRowHeaderItems uintptr }
type ITableProvider ¶
type ITableProvider struct {
// contains filtered or unexported fields
}
func NewITableProvider ¶ added in v0.2.1
func NewITableProvider(unk *IUnKnown) *ITableProvider
func (*ITableProvider) GetColumnHeaders ¶ added in v0.2.1
func (v *ITableProvider) GetColumnHeaders() (*TagSafeArray, error)
func (*ITableProvider) GetRowHeaders ¶ added in v0.2.1
func (v *ITableProvider) GetRowHeaders() (*TagSafeArray, error)
func (*ITableProvider) Get_RowOrColumnMajor ¶ added in v0.2.1
func (v *ITableProvider) Get_RowOrColumnMajor() *RowOrColumnMajor
type ITableProviderVtbl ¶
type ITableProviderVtbl struct { IUnKnownVtbl Get_RowOrColumnMajor uintptr GetColumnHeaders uintptr GetRowHeaders uintptr }
type ITextChildProvider ¶
type ITextChildProvider struct {
// contains filtered or unexported fields
}
func NewITextChildProvider ¶ added in v0.2.1
func NewITextChildProvider(unk *IUnKnown) *ITextChildProvider
func (*ITextChildProvider) Get_TextContainer ¶ added in v0.2.1
func (v *ITextChildProvider) Get_TextContainer() *IRawElementProviderSimple
func (*ITextChildProvider) Get_TextRange ¶ added in v0.2.1
func (v *ITextChildProvider) Get_TextRange() *ITextRangeProvider
type ITextChildProviderVtbl ¶
type ITextChildProviderVtbl struct { IUnKnownVtbl Get_TextContainer uintptr Get_TextRange uintptr }
type ITextEditProvider ¶
type ITextEditProvider struct {
// contains filtered or unexported fields
}
func NewITextEditProvider ¶ added in v0.2.1
func NewITextEditProvider(unk *IUnKnown) *ITextEditProvider
func (*ITextEditProvider) GetActiveComposition ¶ added in v0.2.1
func (v *ITextEditProvider) GetActiveComposition() (*ITextRangeProvider, error)
func (*ITextEditProvider) GetConversionTarget ¶ added in v0.2.1
func (v *ITextEditProvider) GetConversionTarget() (*ITextRangeProvider, error)
type ITextEditProviderVtbl ¶
type ITextEditProviderVtbl struct { IUnKnownVtbl GetActiveComposition uintptr GetConversionTarget uintptr }
type ITextHost ¶ added in v0.3.0
type ITextHost struct {
// contains filtered or unexported fields
}
func NewITextHost ¶ added in v0.3.0
func (*ITextHost) OnTxCharFormatChange ¶ added in v0.3.2
func (*ITextHost) OnTxParaFormatChange ¶ added in v0.3.2
func (*ITextHost) TxActivate ¶ added in v0.3.2
func (*ITextHost) TxClientToScreen ¶ added in v0.3.2
func (*ITextHost) TxCreateCaret ¶ added in v0.3.2
func (*ITextHost) TxDeactivate ¶ added in v0.3.2
func (*ITextHost) TxEnableScrollBar ¶ added in v0.3.2
func (*ITextHost) TxGetAcceleratorPos ¶ added in v0.3.2
func (*ITextHost) TxGetBackStyle ¶ added in v0.3.2
func (*ITextHost) TxGetCharFormat ¶ added in v0.3.2
func (*ITextHost) TxGetClientRect ¶ added in v0.3.2
func (*ITextHost) TxGetExtent ¶ added in v0.3.2
func (*ITextHost) TxGetMaxLength ¶ added in v0.3.2
func (*ITextHost) TxGetParaFormat ¶ added in v0.3.2
func (*ITextHost) TxGetPasswordChar ¶ added in v0.3.2
func (*ITextHost) TxGetPropertyBits ¶ added in v0.3.2
func (*ITextHost) TxGetScrollBars ¶ added in v0.3.2
func (*ITextHost) TxGetSelectionBarWidth ¶ added in v0.3.2
func (*ITextHost) TxGetSysColor ¶ added in v0.3.2
func (*ITextHost) TxGetViewInset ¶ added in v0.3.2
func (*ITextHost) TxImmGetContext ¶ added in v0.3.2
func (*ITextHost) TxImmReleaseContext ¶ added in v0.3.2
func (*ITextHost) TxInvalidateRect ¶ added in v0.3.2
func (*ITextHost) TxKillTimer ¶ added in v0.3.2
func (*ITextHost) TxReleaseDC ¶ added in v0.3.2
func (*ITextHost) TxScreenToClient ¶ added in v0.3.2
func (*ITextHost) TxScrollWindowEx ¶ added in v0.3.2
func (*ITextHost) TxSetCapture ¶ added in v0.3.2
func (*ITextHost) TxSetCaretPos ¶ added in v0.3.2
func (*ITextHost) TxSetCursor ¶ added in v0.3.2
func (*ITextHost) TxSetFocus ¶ added in v0.3.0
func (v *ITextHost) TxSetFocus()
TODO:: ITextHost method
func (*ITextHost) TxSetScrollPos ¶ added in v0.3.2
func (*ITextHost) TxSetScrollRange ¶ added in v0.3.2
func (*ITextHost) TxSetTimer ¶ added in v0.3.2
func (*ITextHost) TxShowCaret ¶ added in v0.3.2
func (*ITextHost) TxShowScrollBar ¶ added in v0.3.2
func (*ITextHost) TxViewChange ¶ added in v0.3.0
type ITextHost2 ¶ added in v0.3.0
type ITextHost2 struct {
// contains filtered or unexported fields
}
func NewITextHost2 ¶ added in v0.3.2
func NewITextHost2(unk *IUnKnown) *ITextHost2
func (*ITextHost2) TxDestroyCaret ¶ added in v0.3.2
func (v *ITextHost2) TxDestroyCaret() error
func (*ITextHost2) TxFreeTextServicesNotification ¶ added in v0.3.2
func (v *ITextHost2) TxFreeTextServicesNotification() error
func (*ITextHost2) TxGetEastAsianFlags ¶ added in v0.3.2
func (v *ITextHost2) TxGetEastAsianFlags() error
func (*ITextHost2) TxGetEditStyle ¶ added in v0.3.2
func (v *ITextHost2) TxGetEditStyle() error
func (*ITextHost2) TxGetHorzExtent ¶ added in v0.3.2
func (v *ITextHost2) TxGetHorzExtent() error
func (*ITextHost2) TxGetPalette ¶ added in v0.3.2
func (v *ITextHost2) TxGetPalette() error
func (*ITextHost2) TxGetWindow ¶ added in v0.3.2
func (v *ITextHost2) TxGetWindow() error
func (*ITextHost2) TxGetWindowStyles ¶ added in v0.3.2
func (v *ITextHost2) TxGetWindowStyles() error
func (*ITextHost2) TxIsDoubleClickPending ¶ added in v0.3.2
func (v *ITextHost2) TxIsDoubleClickPending() error
func (*ITextHost2) TxSetCursor2 ¶ added in v0.3.2
func (v *ITextHost2) TxSetCursor2() error
func (*ITextHost2) TxSetForegroundWindow ¶ added in v0.3.2
func (v *ITextHost2) TxSetForegroundWindow() error
func (*ITextHost2) TxShowDropCaret ¶ added in v0.3.2
func (v *ITextHost2) TxShowDropCaret() error
type ITextHost2Vtbl ¶ added in v0.3.0
type ITextHost2Vtbl struct { ITextHostVtbl TxDestroyCaret uintptr TxFreeTextServicesNotification uintptr TxGetEastAsianFlags uintptr TxGetEditStyle uintptr TxGetHorzExtent uintptr TxGetPalette uintptr TxGetWindow uintptr TxGetWindowStyles uintptr TxIsDoubleClickPending uintptr TxSetCursor2 uintptr TxSetForegroundWindow uintptr TxShowDropCaret uintptr }
type ITextHostVtbl ¶ added in v0.3.0
type ITextHostVtbl struct { IUnKnownVtbl OnTxCharFormatChange uintptr OnTxParaFormatChange uintptr TxActivate uintptr TxClientToScreen uintptr TxCreateCaret uintptr TxDeactivate uintptr TxEnableScrollBar uintptr TxGetAcceleratorPos uintptr TxGetBackStyle uintptr TxGetCharFormat uintptr TxGetClientRect uintptr TxGetDC uintptr TxGetExtent uintptr TxGetMaxLength uintptr TxGetParaFormat uintptr TxGetPasswordChar uintptr TxGetPropertyBits uintptr TxGetScrollBars uintptr TxGetSelectionBarWidth uintptr TxGetSysColor uintptr TxGetViewInset uintptr TxImmGetContext uintptr TxImmReleaseContext uintptr TxInvalidateRect uintptr TxKillTimer uintptr TxNotify uintptr TxReleaseDC uintptr TxScreenToClient uintptr TxScrollWindowEx uintptr TxSetCapture uintptr TxSetCaretPos uintptr TxSetCursor uintptr TxSetFocus uintptr TxSetScrollPos uintptr TxSetScrollRange uintptr TxSetTimer uintptr TxShowCaret uintptr TxShowScrollBar uintptr TxViewChange uintptr }
type ITextProvider ¶
type ITextProvider struct {
// contains filtered or unexported fields
}
func NewITextProvider ¶ added in v0.2.1
func NewITextProvider(unk *IUnKnown) *ITextProvider
func (*ITextProvider) GetSelection ¶ added in v0.2.1
func (v *ITextProvider) GetSelection() (*TagSafeArray, error)
func (*ITextProvider) GetVisibleRanges ¶ added in v0.2.1
func (v *ITextProvider) GetVisibleRanges() (*TagSafeArray, error)
func (*ITextProvider) Get_DocumentRange ¶ added in v0.2.1
func (v *ITextProvider) Get_DocumentRange() *ITextRangeProvider
func (*ITextProvider) Get_SupportedTextSelection ¶ added in v0.2.1
func (v *ITextProvider) Get_SupportedTextSelection() *SupportedTextSelection
func (*ITextProvider) RangeFromChild ¶ added in v0.2.1
func (v *ITextProvider) RangeFromChild(in *IRawElementProviderSimple) (*ITextRangeProvider, error)
func (*ITextProvider) RangeFromPoint ¶ added in v0.2.1
func (v *ITextProvider) RangeFromPoint(in *UiaPoint) (*ITextRangeProvider, error)
type ITextProvider2 ¶
type ITextProvider2 struct {
// contains filtered or unexported fields
}
func NewITextProvider2 ¶ added in v0.2.1
func NewITextProvider2(unk *IUnKnown) *ITextProvider2
func (*ITextProvider2) GetCaretRange ¶ added in v0.2.1
func (v *ITextProvider2) GetCaretRange() (int32, *ITextRangeProvider, error)
func (*ITextProvider2) RangeFromAnnotation ¶ added in v0.2.1
func (v *ITextProvider2) RangeFromAnnotation(in *IRawElementProviderSimple) (*ITextRangeProvider, error)
type ITextProvider2Vtbl ¶
type ITextProvider2Vtbl struct { // windows 8 start support IUnKnownVtbl GetCaretRange uintptr RangeFromAnnotation uintptr }
type ITextProviderVtbl ¶
type ITextRangeProvider ¶ added in v0.2.1
type ITextRangeProvider struct {
// contains filtered or unexported fields
}
func NewITextRangeProvider ¶ added in v0.2.1
func NewITextRangeProvider(unk *IUnKnown) *ITextRangeProvider
func (*ITextRangeProvider) AddToSelection ¶ added in v0.2.1
func (v *ITextRangeProvider) AddToSelection() error
func (*ITextRangeProvider) Clone ¶ added in v0.2.1
func (v *ITextRangeProvider) Clone() (*ITextRangeProvider, error)
func (*ITextRangeProvider) Compare ¶ added in v0.2.1
func (v *ITextRangeProvider) Compare(in *ITextRangeProvider) (int32, error)
func (*ITextRangeProvider) CompareEndpoints ¶ added in v0.2.1
func (v *ITextRangeProvider) CompareEndpoints(in TextPatternRangeEndpoint, in2 *ITextRangeProvider, in3 TextPatternRangeEndpoint) (int32, error)
func (*ITextRangeProvider) ExpandToEnclosingUnit ¶ added in v0.2.1
func (v *ITextRangeProvider) ExpandToEnclosingUnit(in TextUnit) error
func (*ITextRangeProvider) FindAttribute ¶ added in v0.2.1
func (v *ITextRangeProvider) FindAttribute(in TextArrtibuteId, in2 *VARIANT, in3 int32) (*ITextRangeProvider, error)
func (*ITextRangeProvider) FindText ¶ added in v0.2.1
func (v *ITextRangeProvider) FindText(in string, in2 int32, in3 int32) (*ITextRangeProvider, error)
func (*ITextRangeProvider) GetAttributeValue ¶ added in v0.2.1
func (v *ITextRangeProvider) GetAttributeValue(in TextArrtibuteId) (*VARIANT, error)
func (*ITextRangeProvider) GetBoundingRectangles ¶ added in v0.2.1
func (v *ITextRangeProvider) GetBoundingRectangles() (*TagSafeArray, error)
func (*ITextRangeProvider) GetChildren ¶ added in v0.2.1
func (v *ITextRangeProvider) GetChildren() (*TagSafeArray, error)
func (*ITextRangeProvider) GetEnclosingElement ¶ added in v0.2.1
func (v *ITextRangeProvider) GetEnclosingElement() (*IRawElementProviderSimple, error)
func (*ITextRangeProvider) GetText ¶ added in v0.2.1
func (v *ITextRangeProvider) GetText(in int32) (string, error)
func (*ITextRangeProvider) Move ¶ added in v0.2.1
func (v *ITextRangeProvider) Move(in TextUnit, in2 int32) (int32, error)
func (*ITextRangeProvider) MoveEndpointByRange ¶ added in v0.2.1
func (v *ITextRangeProvider) MoveEndpointByRange(in TextPatternRangeEndpoint, in2 *ITextRangeProvider, in3 TextPatternRangeEndpoint) error
func (*ITextRangeProvider) MoveEndpointByUnit ¶ added in v0.2.1
func (v *ITextRangeProvider) MoveEndpointByUnit(in TextPatternRangeEndpoint, in2 TextUnit, in3 int32) (int32, error)
func (*ITextRangeProvider) RemoveFromSelection ¶ added in v0.2.1
func (v *ITextRangeProvider) RemoveFromSelection() error
func (*ITextRangeProvider) ScrollIntoView ¶ added in v0.2.1
func (v *ITextRangeProvider) ScrollIntoView(in int32) error
func (*ITextRangeProvider) Select ¶ added in v0.2.1
func (v *ITextRangeProvider) Select() error
type ITextRangeProviderVtbl ¶ added in v0.2.1
type ITextRangeProviderVtbl struct { IUnKnownVtbl AddToSelection uintptr Clone uintptr Compare uintptr CompareEndpoints uintptr ExpandToEnclosingUnit uintptr FindAttribute uintptr FindText uintptr GetAttributeValue uintptr GetBoundingRectangles uintptr GetChildren uintptr GetEnclosingElement uintptr GetText uintptr Move uintptr MoveEndpointByRange uintptr MoveEndpointByUnit uintptr RemoveFromSelection uintptr ScrollIntoView uintptr Select uintptr }
type ITextServices ¶ added in v0.3.0
type ITextServices struct {
// contains filtered or unexported fields
}
func NewITextServices ¶ added in v0.3.0
func NewITextServices(unk *IUnKnown) *ITextServices
func (*ITextServices) OnTxInPlaceActivate ¶ added in v0.3.0
func (v *ITextServices) OnTxInPlaceActivate(in *TagRect) error
func (*ITextServices) OnTxInPlaceDeactivate ¶ added in v0.3.0
func (v *ITextServices) OnTxInPlaceDeactivate(in *TagRect) error
func (*ITextServices) OnTxPropertyBitsChange ¶ added in v0.3.0
func (v *ITextServices) OnTxPropertyBitsChange(in, in2 uint32) error
func (*ITextServices) OnTxSetCursor ¶ added in v0.3.0
func (v *ITextServices) OnTxSetCursor(opt *TextCursor) error
func (*ITextServices) OnTxUIActivate ¶ added in v0.3.0
func (v *ITextServices) OnTxUIActivate() error
func (*ITextServices) OnTxUIDeactivate ¶ added in v0.3.0
func (v *ITextServices) OnTxUIDeactivate() error
func (*ITextServices) TxDraw ¶ added in v0.3.0
func (v *ITextServices) TxDraw(opt *TextDraw) error
func (*ITextServices) TxGetBaseLinePos ¶ added in v0.3.0
func (v *ITextServices) TxGetBaseLinePos() (int32, error)
func (*ITextServices) TxGetCachedSize ¶ added in v0.3.0
func (v *ITextServices) TxGetCachedSize(in, in2 uint32) error
func (*ITextServices) TxGetCurTargetX ¶ added in v0.3.0
func (v *ITextServices) TxGetCurTargetX() (int32, error)
func (*ITextServices) TxGetDropTarget ¶ added in v0.3.0
func (v *ITextServices) TxGetDropTarget() (*IDropTarget, error)
func (*ITextServices) TxGetHScroll ¶ added in v0.3.0
func (v *ITextServices) TxGetHScroll() (*TextHScroll, error)
func (*ITextServices) TxGetNaturalSize ¶ added in v0.3.0
func (v *ITextServices) TxGetNaturalSize(opt *TextNaturalSize) (int32, int32, error)
func (*ITextServices) TxGetText ¶ added in v0.3.0
func (v *ITextServices) TxGetText() (string, error)
func (*ITextServices) TxGetVScroll ¶ added in v0.3.0
func (v *ITextServices) TxGetVScroll() (*TextHScroll, error)
func (*ITextServices) TxQueryHitPoint ¶ added in v0.3.0
func (v *ITextServices) TxQueryHitPoint(opt *QueryHitPoint) (TxtHitResult, error)
func (*ITextServices) TxSendMessage ¶ added in v0.3.0
func (v *ITextServices) TxSendMessage(opt *TextSendMessage) error
func (*ITextServices) TxSetText ¶ added in v0.3.0
func (v *ITextServices) TxSetText(in string) error
type ITextServices2 ¶ added in v0.3.0
type ITextServices2 struct {
// contains filtered or unexported fields
}
func NewITextServices2 ¶ added in v0.3.2
func NewITextServices2(unk *IUnKnown) *ITextServices2
func (*ITextServices2) TxDrawD2D ¶ added in v0.3.2
func (v *ITextServices2) TxDrawD2D() error
func (*ITextServices2) TxGetNaturalSize2 ¶ added in v0.3.2
func (v *ITextServices2) TxGetNaturalSize2() error
type ITextServices2Vtbl ¶ added in v0.3.0
type ITextServices2Vtbl struct { ITextServicesVtbl TxDrawD2D uintptr TxGetNaturalSize2 uintptr }
type ITextServicesVtbl ¶ added in v0.3.0
type ITextServicesVtbl struct { IUnKnownVtbl OnTxInPlaceActivate uintptr OnTxInPlaceDeactivate uintptr OnTxPropertyBitsChange uintptr OnTxSetCursor uintptr OnTxUIActivate uintptr OnTxUIDeactivate uintptr TxDraw uintptr TxGetBaseLinePos uintptr TxGetCachedSize uintptr TxGetCurTargetX uintptr TxGetDropTarget uintptr TxGetHScroll uintptr TxGetNaturalSize uintptr TxGetText uintptr TxGetVScroll uintptr TxQueryHitPoint uintptr TxSendMessage uintptr TxSetText uintptr }
type IToggleProvider ¶
type IToggleProvider struct {
// contains filtered or unexported fields
}
func NewIToggleProvider ¶ added in v0.2.1
func NewIToggleProvider(unk *IUnKnown) *IToggleProvider
func (*IToggleProvider) Get_ToggleState ¶ added in v0.2.1
func (v *IToggleProvider) Get_ToggleState() *ToggleState
func (*IToggleProvider) Toggle ¶ added in v0.2.1
func (v *IToggleProvider) Toggle() error
type IToggleProviderVtbl ¶
type IToggleProviderVtbl struct { IUnKnownVtbl Get_ToggleState uintptr Toggle uintptr }
type ITransformProvider ¶
type ITransformProvider struct {
// contains filtered or unexported fields
}
func NewITransformProvider ¶ added in v0.2.1
func NewITransformProvider(unk *IUnKnown) *ITransformProvider
func (*ITransformProvider) Get_CanMove ¶ added in v0.2.1
func (v *ITransformProvider) Get_CanMove() int32
func (*ITransformProvider) Get_CanResize ¶ added in v0.2.1
func (v *ITransformProvider) Get_CanResize() int32
func (*ITransformProvider) Get_CanRotate ¶ added in v0.2.1
func (v *ITransformProvider) Get_CanRotate() int32
func (*ITransformProvider) Move ¶ added in v0.2.1
func (v *ITransformProvider) Move(x, y float64) error
func (*ITransformProvider) Resize ¶ added in v0.2.1
func (v *ITransformProvider) Resize(w, h float64) error
func (*ITransformProvider) Rotate ¶ added in v0.2.1
func (v *ITransformProvider) Rotate(in float64) error
type ITransformProvider2 ¶
type ITransformProvider2 struct {
// contains filtered or unexported fields
}
func NewITransformProvider2 ¶ added in v0.2.1
func NewITransformProvider2(unk *IUnKnown) *ITransformProvider2
func (*ITransformProvider2) Get_CanZoom ¶ added in v0.2.1
func (v *ITransformProvider2) Get_CanZoom() int32
func (*ITransformProvider2) Get_ZoomLevel ¶ added in v0.2.1
func (v *ITransformProvider2) Get_ZoomLevel() float64
func (*ITransformProvider2) Get_ZoomMaximum ¶ added in v0.2.1
func (v *ITransformProvider2) Get_ZoomMaximum() float64
func (*ITransformProvider2) Get_ZoomMinimum ¶ added in v0.2.1
func (v *ITransformProvider2) Get_ZoomMinimum() float64
func (*ITransformProvider2) Zoom ¶ added in v0.2.1
func (v *ITransformProvider2) Zoom(in float64) error
func (*ITransformProvider2) ZoomByUnit ¶ added in v0.2.1
func (v *ITransformProvider2) ZoomByUnit(in ZoomUnit) error
type ITransformProvider2Vtbl ¶
type ITransformProviderVtbl ¶
type ITypeInfo ¶ added in v0.3.2
type ITypeInfo struct {
// contains filtered or unexported fields
}
func GetTypeInfo ¶ added in v0.3.2
func NewITypeInfo ¶ added in v0.3.2
func (*ITypeInfo) AddressOfMember ¶ added in v0.3.2
func (*ITypeInfo) CreateInstance ¶ added in v0.3.2
func (*ITypeInfo) GetContainingTypeLib ¶ added in v0.3.2
func (*ITypeInfo) GetDllEntry ¶ added in v0.3.2
func (*ITypeInfo) GetDocumentation ¶ added in v0.3.2
func (*ITypeInfo) GetFuncDesc ¶ added in v0.3.2
func (v *ITypeInfo) GetFuncDesc(in uint32) (*TagFuncDesc, error)
func (*ITypeInfo) GetIDsOfNames ¶ added in v0.3.2
func (*ITypeInfo) GetImplTypeFlags ¶ added in v0.3.2
func (*ITypeInfo) GetRefTypeInfo ¶ added in v0.3.2
func (*ITypeInfo) GetRefTypeOfImplType ¶ added in v0.3.2
func (*ITypeInfo) GetTypeAttr ¶ added in v0.3.2
func (*ITypeInfo) GetTypeComp ¶ added in v0.3.2
func (*ITypeInfo) GetVarDesc ¶ added in v0.3.2
func (*ITypeInfo) ReleaseFuncDesc ¶ added in v0.3.2
func (*ITypeInfo) ReleaseTypeAttr ¶ added in v0.3.2
func (*ITypeInfo) ReleaseVarDesc ¶ added in v0.3.2
type ITypeInfoVtbl ¶ added in v0.3.2
type ITypeInfoVtbl struct { IUnKnownVtbl AddressOfMember uintptr CreateInstance uintptr GetContainingTypeLib uintptr GetDllEntry uintptr GetDocumentation uintptr GetFuncDesc uintptr GetIDsOfNames uintptr GetImplTypeFlags uintptr GetMops uintptr GetNames uintptr GetRefTypeInfo uintptr GetRefTypeOfImplType uintptr GetTypeAttr uintptr GetTypeComp uintptr GetVarDesc uintptr Invoke uintptr ReleaseFuncDesc uintptr ReleaseTypeAttr uintptr ReleaseVarDesc uintptr }
type ITypeLib ¶ added in v0.3.2
type ITypeLib struct {
// contains filtered or unexported fields
}
func NewITypeLib ¶ added in v0.3.2
func (*ITypeLib) GetDocumentation ¶ added in v0.3.2
func (*ITypeLib) GetLibAttr ¶ added in v0.3.2
func (*ITypeLib) GetTypeComp ¶ added in v0.3.2
func (*ITypeLib) GetTypeInfo ¶ added in v0.3.2
func (*ITypeLib) GetTypeInfoCount ¶ added in v0.3.2
func (*ITypeLib) GetTypeInfoOfGuid ¶ added in v0.3.2
func (*ITypeLib) GetTypeInfoType ¶ added in v0.3.2
func (*ITypeLib) ReleaseTLibAttr ¶ added in v0.3.2
type ITypeLibVtbl ¶ added in v0.3.2
type ITypeLibVtbl struct {
IUnKnownVtbl
}
type IUIAutomation ¶
type IUIAutomation struct {
// contains filtered or unexported fields
}
func NewIUIAutomation ¶
func NewIUIAutomation(unk *IUnKnown) *IUIAutomation
func (*IUIAutomation) AddAutomationEventHandler ¶ added in v0.3.1
func (v *IUIAutomation) AddAutomationEventHandler(opt *EventHandler) error
func (*IUIAutomation) AddFocusChangedEventHandler ¶ added in v0.3.1
func (v *IUIAutomation) AddFocusChangedEventHandler(in *IUIAutomationCacheRequest, in2 *IUIAutomationFocusChangedEventHandler) error
func (*IUIAutomation) AddPropertyChangedEventHandler ¶ added in v0.3.1
func (v *IUIAutomation) AddPropertyChangedEventHandler(opt *ChangeEventHandler) error
func (*IUIAutomation) AddPropertyChangedEventHandlerNativeArray ¶ added in v0.3.1
func (v *IUIAutomation) AddPropertyChangedEventHandlerNativeArray(opt *ChangeEventHandlerNativeArray) error
func (*IUIAutomation) AddStructureChangedEventHandler ¶ added in v0.3.1
func (v *IUIAutomation) AddStructureChangedEventHandler(opt *StructureChangedEventHandler) error
func (*IUIAutomation) CheckNotSupported ¶ added in v0.3.1
func (v *IUIAutomation) CheckNotSupported(in *VARIANT) (int32, error)
func (*IUIAutomation) CompareElements ¶ added in v0.3.1
func (v *IUIAutomation) CompareElements(in, in2 *IUIAutomationElement) (int32, error)
func (*IUIAutomation) CompareRuntimeIds ¶ added in v0.3.1
func (v *IUIAutomation) CompareRuntimeIds(in, in2 *TagSafeArray) (int32, error)
func (*IUIAutomation) CreateAndCondition ¶ added in v0.3.1
func (v *IUIAutomation) CreateAndCondition(in, in2 *IUIAutomationCondition) (*IUIAutomationCondition, error)
func (*IUIAutomation) CreateAndConditionFromArray ¶ added in v0.3.1
func (v *IUIAutomation) CreateAndConditionFromArray(in *TagSafeArray) (*IUIAutomationCondition, error)
func (*IUIAutomation) CreateAndConditionFromNativeArray ¶ added in v0.3.1
func (v *IUIAutomation) CreateAndConditionFromNativeArray(in *IUIAutomationCondition, in2 int32) (*IUIAutomationCondition, error)
func (*IUIAutomation) CreateCacheRequest ¶ added in v0.3.1
func (v *IUIAutomation) CreateCacheRequest() (*IUIAutomationCacheRequest, error)
func (*IUIAutomation) CreateFalseCondition ¶ added in v0.3.1
func (v *IUIAutomation) CreateFalseCondition() (*IUIAutomationCondition, error)
func (*IUIAutomation) CreateNotCondition ¶ added in v0.3.1
func (v *IUIAutomation) CreateNotCondition(in *IUIAutomationCondition) (*IUIAutomationCondition, error)
func (*IUIAutomation) CreateOrCondition ¶ added in v0.3.1
func (v *IUIAutomation) CreateOrCondition(in, in2 *IUIAutomationCondition) (*IUIAutomationCondition, error)
func (*IUIAutomation) CreateOrConditionFromArray ¶ added in v0.3.1
func (v *IUIAutomation) CreateOrConditionFromArray(in *TagSafeArray) (*IUIAutomationCondition, error)
func (*IUIAutomation) CreateOrConditionFromNativeArray ¶ added in v0.3.1
func (v *IUIAutomation) CreateOrConditionFromNativeArray(in *IUIAutomationCondition, in2 int32) (*IUIAutomationCondition, error)
func (*IUIAutomation) CreatePropertyCondition ¶ added in v0.3.1
func (v *IUIAutomation) CreatePropertyCondition(in *PropertyId, in2 *VARIANT) (*IUIAutomationCondition, error)
func (*IUIAutomation) CreatePropertyConditionEx ¶ added in v0.3.1
func (v *IUIAutomation) CreatePropertyConditionEx(in *PropertyId, in2 *VARIANT, in3 PropertyConditionFlags) (*IUIAutomationCondition, error)
func (*IUIAutomation) CreateProxyFactoryEntry ¶ added in v0.3.1
func (v *IUIAutomation) CreateProxyFactoryEntry(in *IUIAutomationProxyFactory) (*IUIAutomationProxyFactoryEntry, error)
func (*IUIAutomation) CreateTreeWalker ¶ added in v0.3.1
func (v *IUIAutomation) CreateTreeWalker(in *IUIAutomationCondition) (*IUIAutomationTreeWalker, error)
func (*IUIAutomation) CreateTrueCondition ¶
func (v *IUIAutomation) CreateTrueCondition() *IUIAutomationCondition
func (*IUIAutomation) ElementFromHandle ¶ added in v0.3.1
func (v *IUIAutomation) ElementFromHandle(in uintptr) (*IUIAutomationElement, error)
func (*IUIAutomation) ElementFromHandleBuildCache ¶ added in v0.3.1
func (v *IUIAutomation) ElementFromHandleBuildCache(in uintptr, in2 *IUIAutomationCacheRequest) (*IUIAutomationElement, error)
func (*IUIAutomation) ElementFromIAccessible ¶ added in v0.3.1
func (v *IUIAutomation) ElementFromIAccessible(in *IAccessible, in2 int32) (*IUIAutomationElement, error)
func (*IUIAutomation) ElementFromIAccessibleBuildCache ¶ added in v0.3.1
func (v *IUIAutomation) ElementFromIAccessibleBuildCache(in *IAccessible, in2 int32, in3 *IUIAutomationCacheRequest) (*IUIAutomationElement, error)
func (*IUIAutomation) ElementFromPoint ¶ added in v0.3.1
func (v *IUIAutomation) ElementFromPoint(in *TagPoint) (*IUIAutomationElement, error)
func (*IUIAutomation) ElementFromPointBuildCache ¶ added in v0.3.1
func (v *IUIAutomation) ElementFromPointBuildCache(in *TagPoint, in2 *IUIAutomationCacheRequest) (*IUIAutomationElement, error)
func (*IUIAutomation) GetFocusedElement ¶ added in v0.3.1
func (v *IUIAutomation) GetFocusedElement() (*IUIAutomationElement, error)
func (*IUIAutomation) GetFocusedElementBuildCache ¶ added in v0.3.1
func (v *IUIAutomation) GetFocusedElementBuildCache(in *IUIAutomationCacheRequest) (*IUIAutomationElement, error)
func (*IUIAutomation) GetPatternProgrammaticName ¶ added in v0.3.1
func (v *IUIAutomation) GetPatternProgrammaticName(in PatternId) (string, error)
func (*IUIAutomation) GetPropertyProgrammaticName ¶ added in v0.3.1
func (v *IUIAutomation) GetPropertyProgrammaticName(in PropertyId) (string, error)
func (*IUIAutomation) GetRootElement ¶ added in v0.3.1
func (v *IUIAutomation) GetRootElement() (*IUIAutomationElement, error)
func (*IUIAutomation) GetRootElementBuildCache ¶ added in v0.3.1
func (v *IUIAutomation) GetRootElementBuildCache(in *IUIAutomationCacheRequest) (*IUIAutomationElement, error)
func (*IUIAutomation) Get_ContentViewCondition ¶ added in v0.3.1
func (v *IUIAutomation) Get_ContentViewCondition() *IUIAutomationCondition
func (*IUIAutomation) Get_ContentViewWalker ¶ added in v0.3.1
func (v *IUIAutomation) Get_ContentViewWalker() *IUIAutomationTreeWalker
func (*IUIAutomation) Get_ControlViewCondition ¶ added in v0.3.1
func (v *IUIAutomation) Get_ControlViewCondition() *IUIAutomationCondition
func (*IUIAutomation) Get_ControlViewWalker ¶ added in v0.3.1
func (v *IUIAutomation) Get_ControlViewWalker() *IUIAutomationTreeWalker
func (*IUIAutomation) Get_ProxyFactoryMapping ¶ added in v0.3.1
func (v *IUIAutomation) Get_ProxyFactoryMapping() *IUIAutomationProxyFactoryMapping
func (*IUIAutomation) Get_RawViewCondition ¶ added in v0.3.1
func (v *IUIAutomation) Get_RawViewCondition() *IUIAutomationCondition
func (*IUIAutomation) Get_RawViewWalker ¶ added in v0.3.1
func (v *IUIAutomation) Get_RawViewWalker() *IUIAutomationTreeWalker
func (*IUIAutomation) Get_ReservedMixedAttributeValue ¶ added in v0.3.1
func (v *IUIAutomation) Get_ReservedMixedAttributeValue() *IUnKnown
func (*IUIAutomation) Get_ReservedNotSupportedValue ¶ added in v0.3.1
func (v *IUIAutomation) Get_ReservedNotSupportedValue() *IUnKnown
func (*IUIAutomation) IntNativeArrayToSafeArray ¶ added in v0.3.1
func (v *IUIAutomation) IntNativeArrayToSafeArray(in, in2 int32) (*TagSafeArray, error)
func (*IUIAutomation) IntSafeArrayToNativeArray ¶ added in v0.3.1
func (v *IUIAutomation) IntSafeArrayToNativeArray(in *TagSafeArray) (int32, int32, error)
func (*IUIAutomation) PollForPotentialSupportedPatterns ¶ added in v0.3.1
func (v *IUIAutomation) PollForPotentialSupportedPatterns(in *IUIAutomationElement) (*TagSafeArray, *TagSafeArray, error)
func (*IUIAutomation) PollForPotentialSupportedProperties ¶ added in v0.3.1
func (v *IUIAutomation) PollForPotentialSupportedProperties(in *IUIAutomationElement) (*TagSafeArray, *TagSafeArray, error)
func (*IUIAutomation) RectToVariant ¶ added in v0.3.1
func (v *IUIAutomation) RectToVariant(in *TagRect) (*VARIANT, error)
func (*IUIAutomation) RemoveAllEventHandlers ¶ added in v0.3.1
func (v *IUIAutomation) RemoveAllEventHandlers() error
func (*IUIAutomation) RemoveAutomationEventHandler ¶ added in v0.3.1
func (v *IUIAutomation) RemoveAutomationEventHandler(in UIA_EventId, in2 *IUIAutomationElement, in3 *IUIAutomationEventHandler) error
func (*IUIAutomation) RemoveFocusChangedEventHandler ¶ added in v0.3.1
func (v *IUIAutomation) RemoveFocusChangedEventHandler(in *IUIAutomationFocusChangedEventHandler) error
func (*IUIAutomation) RemovePropertyChangedEventHandler ¶ added in v0.3.1
func (v *IUIAutomation) RemovePropertyChangedEventHandler(in *IUIAutomationElement, in2 *IUIAutomationPropertyChangedEventHandler) error
func (*IUIAutomation) RemoveStructureChangedEventHandler ¶ added in v0.3.1
func (v *IUIAutomation) RemoveStructureChangedEventHandler(in *IUIAutomationElement, in2 *IUIAutomationStructureChangedEventHandler) error
func (*IUIAutomation) SafeArrayToRectNativeArray ¶ added in v0.3.1
func (v *IUIAutomation) SafeArrayToRectNativeArray(in *TagSafeArray) (*TagRect, int32, error)
func (*IUIAutomation) VariantToRect ¶ added in v0.3.1
func (v *IUIAutomation) VariantToRect(in *VARIANT) (*TagRect, error)
type IUIAutomationAndCondition ¶
type IUIAutomationAndCondition struct {
// contains filtered or unexported fields
}
type IUIAutomationAndConditionVtbl ¶
type IUIAutomationAndConditionVtbl struct { IUIAutomationConditionVtbl Get_ChildCount uintptr GetChildren uintptr GetChildrenAsNativeArray uintptr }
type IUIAutomationBoolCondition ¶
type IUIAutomationBoolCondition struct {
// contains filtered or unexported fields
}
type IUIAutomationBoolConditionVtbl ¶
type IUIAutomationBoolConditionVtbl struct { IUIAutomationConditionVtbl Get_BooleanValue uintptr }
type IUIAutomationCacheRequest ¶ added in v0.3.1
type IUIAutomationCacheRequest struct {
// contains filtered or unexported fields
}
type IUIAutomationCacheRequestVtbl ¶ added in v0.3.1
type IUIAutomationCondition ¶
type IUIAutomationCondition struct {
// contains filtered or unexported fields
}
func CreateTrueCondition ¶
func CreateTrueCondition(v *IUIAutomation) *IUIAutomationCondition
func GetChild ¶ added in v0.3.2
func GetChild(v *IUIAutomationNotCondition) (*IUIAutomationCondition, error)
func GetChildrenAsNativeArray ¶ added in v0.3.2
func GetChildrenAsNativeArray(v *IUIAutomationAndCondition) (*IUIAutomationCondition, int32, error)
type IUIAutomationConditionVtbl ¶
type IUIAutomationConditionVtbl struct {
IUnKnownVtbl
}
type IUIAutomationElement ¶
type IUIAutomationElement struct {
// contains filtered or unexported fields
}
func ElementFromHandle ¶
func ElementFromHandle(v *IUIAutomation, hwnd uintptr) (*IUIAutomationElement, error)
func GetElement ¶
func GetElement(v *IUIAutomationElementArray, i int32) (*IUIAutomationElement, error)
func NewIUIAutomationElement ¶
func NewIUIAutomationElement(unk *IUnKnown) *IUIAutomationElement
func (*IUIAutomationElement) FindAll ¶
func (v *IUIAutomationElement) FindAll(condition *IUIAutomationCondition) (*IUIAutomationElementArray, error)
func (*IUIAutomationElement) GetClickablePoint ¶
func (v *IUIAutomationElement) GetClickablePoint() (*TagPoint, int32, error)
func (*IUIAutomationElement) GetCurrentPattern ¶
func (v *IUIAutomationElement) GetCurrentPattern(patternId PatternId) (*IUnKnown, error)
func (*IUIAutomationElement) GetCurrentPatternAs ¶
func (*IUIAutomationElement) GetCurrentPropertyValue ¶
func (v *IUIAutomationElement) GetCurrentPropertyValue(id PropertyId) (*VARIANT, error)
func (*IUIAutomationElement) GetCurrentPropertyValueEx ¶
func (v *IUIAutomationElement) GetCurrentPropertyValueEx(id PropertyId, defaultVal int32) (*VARIANT, error)
func (*IUIAutomationElement) GetRuntimeId ¶
func (v *IUIAutomationElement) GetRuntimeId() (*TagSafeArray, error)
func (*IUIAutomationElement) Get_CurrentAcceleratorKey ¶
func (v *IUIAutomationElement) Get_CurrentAcceleratorKey() (string, error)
func (*IUIAutomationElement) Get_CurrentAccessKey ¶
func (v *IUIAutomationElement) Get_CurrentAccessKey() (string, error)
func (*IUIAutomationElement) Get_CurrentAriaProperties ¶
func (v *IUIAutomationElement) Get_CurrentAriaProperties() (string, error)
func (*IUIAutomationElement) Get_CurrentAriaRole ¶
func (v *IUIAutomationElement) Get_CurrentAriaRole() (string, error)
func (*IUIAutomationElement) Get_CurrentAutomationId ¶
func (v *IUIAutomationElement) Get_CurrentAutomationId() (string, error)
func (*IUIAutomationElement) Get_CurrentBoundingRectangle ¶
func (v *IUIAutomationElement) Get_CurrentBoundingRectangle() *TagRect
func (*IUIAutomationElement) Get_CurrentClassName ¶
func (v *IUIAutomationElement) Get_CurrentClassName() (string, error)
func (*IUIAutomationElement) Get_CurrentControlType ¶
func (v *IUIAutomationElement) Get_CurrentControlType() ControlTypeId
func (*IUIAutomationElement) Get_CurrentControllerFor ¶
func (v *IUIAutomationElement) Get_CurrentControllerFor() *IUIAutomationElementArray
func (*IUIAutomationElement) Get_CurrentCulture ¶
func (v *IUIAutomationElement) Get_CurrentCulture() int32
func (*IUIAutomationElement) Get_CurrentDescribedBy ¶
func (v *IUIAutomationElement) Get_CurrentDescribedBy() *IUIAutomationElementArray
func (*IUIAutomationElement) Get_CurrentFlowsTo ¶
func (v *IUIAutomationElement) Get_CurrentFlowsTo() *IUIAutomationElementArray
func (*IUIAutomationElement) Get_CurrentFrameworkId ¶
func (v *IUIAutomationElement) Get_CurrentFrameworkId() (string, error)
func (*IUIAutomationElement) Get_CurrentHasKeyboardFocus ¶
func (v *IUIAutomationElement) Get_CurrentHasKeyboardFocus() int32
func (*IUIAutomationElement) Get_CurrentHelpText ¶
func (v *IUIAutomationElement) Get_CurrentHelpText() (string, error)
func (*IUIAutomationElement) Get_CurrentIsContentElement ¶
func (v *IUIAutomationElement) Get_CurrentIsContentElement() int32
func (*IUIAutomationElement) Get_CurrentIsControlElement ¶
func (v *IUIAutomationElement) Get_CurrentIsControlElement() int32
func (*IUIAutomationElement) Get_CurrentIsDataValidForForm ¶
func (v *IUIAutomationElement) Get_CurrentIsDataValidForForm() int32
func (*IUIAutomationElement) Get_CurrentIsEnabled ¶
func (v *IUIAutomationElement) Get_CurrentIsEnabled() int32
func (*IUIAutomationElement) Get_CurrentIsKeyboardFocusable ¶
func (v *IUIAutomationElement) Get_CurrentIsKeyboardFocusable() int32
func (*IUIAutomationElement) Get_CurrentIsOffscreen ¶
func (v *IUIAutomationElement) Get_CurrentIsOffscreen() int32
func (*IUIAutomationElement) Get_CurrentIsPassword ¶
func (v *IUIAutomationElement) Get_CurrentIsPassword() int32
func (*IUIAutomationElement) Get_CurrentIsRequiredForForm ¶
func (v *IUIAutomationElement) Get_CurrentIsRequiredForForm() int32
func (*IUIAutomationElement) Get_CurrentItemStatus ¶
func (v *IUIAutomationElement) Get_CurrentItemStatus() (string, error)
func (*IUIAutomationElement) Get_CurrentItemType ¶
func (v *IUIAutomationElement) Get_CurrentItemType() (string, error)
func (*IUIAutomationElement) Get_CurrentLabeledBy ¶
func (v *IUIAutomationElement) Get_CurrentLabeledBy() *IUIAutomationElement
func (*IUIAutomationElement) Get_CurrentLocalizedControlType ¶
func (v *IUIAutomationElement) Get_CurrentLocalizedControlType() (string, error)
func (*IUIAutomationElement) Get_CurrentName ¶
func (v *IUIAutomationElement) Get_CurrentName() (string, error)
func (*IUIAutomationElement) Get_CurrentNativeWindowHandle ¶
func (v *IUIAutomationElement) Get_CurrentNativeWindowHandle() uintptr
func (*IUIAutomationElement) Get_CurrentOrientation ¶
func (v *IUIAutomationElement) Get_CurrentOrientation() OrientationType
func (*IUIAutomationElement) Get_CurrentProcessId ¶
func (v *IUIAutomationElement) Get_CurrentProcessId() int32
func (*IUIAutomationElement) Get_CurrentProviderDescription ¶
func (v *IUIAutomationElement) Get_CurrentProviderDescription() (string, error)
func (*IUIAutomationElement) SetFocus ¶
func (v *IUIAutomationElement) SetFocus() error
type IUIAutomationElementArray ¶
type IUIAutomationElementArray struct {
// contains filtered or unexported fields
}
func FindAll ¶
func FindAll(v *IUIAutomationElement, condition *IUIAutomationCondition) (*IUIAutomationElementArray, error)
func NewIUIAutomationElementArray ¶
func NewIUIAutomationElementArray(unk *IUnKnown) *IUIAutomationElementArray
func (*IUIAutomationElementArray) GetElement ¶
func (v *IUIAutomationElementArray) GetElement(i int32) (*IUIAutomationElement, error)
func (*IUIAutomationElementArray) Get_Length ¶
func (v *IUIAutomationElementArray) Get_Length() int32
type IUIAutomationElementVtbl ¶
type IUIAutomationElementVtbl struct { 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 IUIAutomationEventHandler ¶ added in v0.3.1
type IUIAutomationEventHandler struct {
// contains filtered or unexported fields
}
func NewIUIAutomationEventHandler ¶ added in v0.3.1
func NewIUIAutomationEventHandler(unk *IUnKnown) *IUIAutomationEventHandler
func (*IUIAutomationEventHandler) HandleAutomationEvent ¶ added in v0.3.1
func (v *IUIAutomationEventHandler) HandleAutomationEvent(in *IUIAutomationElement, in2 UIA_EventId) error
type IUIAutomationEventHandlerVtbl ¶ added in v0.3.1
type IUIAutomationEventHandlerVtbl struct { IUnKnownVtbl HandleAutomationEvent uintptr }
type IUIAutomationFocusChangedEventHandler ¶ added in v0.3.1
type IUIAutomationFocusChangedEventHandler struct {
// contains filtered or unexported fields
}
func NewIUIAutomationFocusChangedEventHandler ¶ added in v0.3.1
func NewIUIAutomationFocusChangedEventHandler(unk *IUnKnown) *IUIAutomationFocusChangedEventHandler
func (*IUIAutomationFocusChangedEventHandler) HandleFocusChangedEvent ¶ added in v0.3.1
func (v *IUIAutomationFocusChangedEventHandler) HandleFocusChangedEvent(in *IUIAutomationElement) error
type IUIAutomationFocusChangedEventHandlerVtbl ¶ added in v0.3.1
type IUIAutomationFocusChangedEventHandlerVtbl struct { IUnKnownVtbl HandleFocusChangedEvent uintptr }
type IUIAutomationLegacyIAccessiblePattern ¶ added in v0.3.0
type IUIAutomationLegacyIAccessiblePattern struct {
// contains filtered or unexported fields
}
func NewIUIAutomationLegacyIAccessiblePattern ¶ added in v0.3.2
func NewIUIAutomationLegacyIAccessiblePattern(unk *IDispatch) *IUIAutomationLegacyIAccessiblePattern
func (*IUIAutomationLegacyIAccessiblePattern) DoDefaultAction ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) DoDefaultAction() error
func (*IUIAutomationLegacyIAccessiblePattern) GetCachedSelection ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) GetCachedSelection() (*IUIAutomationElementArray, error)
func (*IUIAutomationLegacyIAccessiblePattern) GetCurrentSelection ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) GetCurrentSelection() (*IUIAutomationElementArray, error)
func (*IUIAutomationLegacyIAccessiblePattern) GetIAccessible ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) GetIAccessible() (*IAccessible, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CachedChildId ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedChildId() int32
func (*IUIAutomationLegacyIAccessiblePattern) Get_CachedDefaultAction ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedDefaultAction() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CachedDescription ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedDescription() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CachedHelp ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedHelp() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CachedKeyboardShortcut ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedKeyboardShortcut() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CachedName ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedName() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CachedRole ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedRole() uint32
func (*IUIAutomationLegacyIAccessiblePattern) Get_CachedState ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedState() uint32
func (*IUIAutomationLegacyIAccessiblePattern) Get_CachedValue ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CachedValue() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CurrentChildId ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentChildId() int32
func (*IUIAutomationLegacyIAccessiblePattern) Get_CurrentDefaultAction ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentDefaultAction() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CurrentDescription ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentDescription() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CurrentHelp ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentHelp() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CurrentKeyboardShortcut ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentKeyboardShortcut() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CurrentName ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentName() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Get_CurrentRole ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentRole() uint32
func (*IUIAutomationLegacyIAccessiblePattern) Get_CurrentState ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentState() uint32
func (*IUIAutomationLegacyIAccessiblePattern) Get_CurrentValue ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Get_CurrentValue() (string, error)
func (*IUIAutomationLegacyIAccessiblePattern) Select ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) Select(in SelFlag) error
func (*IUIAutomationLegacyIAccessiblePattern) SetValue ¶ added in v0.3.2
func (v *IUIAutomationLegacyIAccessiblePattern) SetValue(in string) error
type IUIAutomationLegacyIAccessiblePatternVtbl ¶ added in v0.3.0
type IUIAutomationLegacyIAccessiblePatternVtbl struct { IUnKnownVtbl DoDefaultAction uintptr Get_CachedChildId uintptr Get_CachedDefaultAction uintptr Get_CachedDescription uintptr Get_CachedHelp uintptr Get_CachedKeyboardShortcut uintptr Get_CachedName uintptr Get_CachedRole uintptr Get_CachedState uintptr Get_CachedValue uintptr Get_CurrentChildId uintptr Get_CurrentDefaultAction uintptr Get_CurrentDescription uintptr Get_CurrentHelp uintptr Get_CurrentKeyboardShortcut uintptr Get_CurrentName uintptr Get_CurrentRole uintptr Get_CurrentState uintptr Get_CurrentValue uintptr GetCachedSelection uintptr GetCurrentSelection uintptr GetIAccessible uintptr Select uintptr SetValue uintptr }
type IUIAutomationNotCondition ¶
type IUIAutomationNotCondition struct {
// contains filtered or unexported fields
}
type IUIAutomationNotConditionVtbl ¶
type IUIAutomationNotConditionVtbl struct { IUIAutomationConditionVtbl GetChild uintptr }
type IUIAutomationPropertyChangedEventHandler ¶ added in v0.2.4
type IUIAutomationPropertyChangedEventHandler struct {
// contains filtered or unexported fields
}
func NewIUIAutomationPropertyChangedEventHandler ¶ added in v0.2.4
func NewIUIAutomationPropertyChangedEventHandler(unk *IUnKnown) *IUIAutomationPropertyChangedEventHandler
func (*IUIAutomationPropertyChangedEventHandler) HandlePropertyChangedEvent ¶ added in v0.2.4
func (v *IUIAutomationPropertyChangedEventHandler) HandlePropertyChangedEvent(in *IUIAutomationElement, in2 PropertyId, in3 VARIANT) error
type IUIAutomationPropertyChangedEventHandlerVtbl ¶ added in v0.2.4
type IUIAutomationPropertyChangedEventHandlerVtbl struct { *IUnKnownVtbl HandlePropertyChangedEvent uintptr }
type IUIAutomationPropertyCondition ¶
type IUIAutomationPropertyCondition struct {
// contains filtered or unexported fields
}
type IUIAutomationPropertyConditionVtbl ¶
type IUIAutomationPropertyConditionVtbl struct { IUIAutomationConditionVtbl Get_PropertyConditionFlags uintptr Get_PropertyId uintptr Get_PropertyValue uintptr }
type IUIAutomationProxyFactory ¶ added in v0.3.1
type IUIAutomationProxyFactory struct {
// contains filtered or unexported fields
}
func NewIUIAutomationProxyFactory ¶ added in v0.3.1
func NewIUIAutomationProxyFactory(unk *IUnKnown) *IUIAutomationProxyFactory
func (*IUIAutomationProxyFactory) CreateProvider ¶ added in v0.3.1
func (v *IUIAutomationProxyFactory) CreateProvider(in uintptr, in2, in3 int32) (*IRawElementProviderSimple, error)
func (*IUIAutomationProxyFactory) Get_ProxyFactoryId ¶ added in v0.3.1
func (v *IUIAutomationProxyFactory) Get_ProxyFactoryId() (string, error)
type IUIAutomationProxyFactoryEntry ¶ added in v0.3.1
type IUIAutomationProxyFactoryEntry struct {
// contains filtered or unexported fields
}
func NewIUIAutomationProxyFactoryEntry ¶ added in v0.3.1
func NewIUIAutomationProxyFactoryEntry(unk *IUnKnown) *IUIAutomationProxyFactoryEntry
func (*IUIAutomationProxyFactoryEntry) GetWinEventsForAutomationEvent ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) GetWinEventsForAutomationEvent(in UIA_EventId, in2 PropertyId) (*TagSafeArray, error)
func (*IUIAutomationProxyFactoryEntry) Get_AllowSubstringMatch ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Get_AllowSubstringMatch() int32
func (*IUIAutomationProxyFactoryEntry) Get_CanCheckBaseClass ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Get_CanCheckBaseClass() int32
func (*IUIAutomationProxyFactoryEntry) Get_ClassName ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Get_ClassName() (string, error)
func (*IUIAutomationProxyFactoryEntry) Get_ImageName ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Get_ImageName() (string, error)
func (*IUIAutomationProxyFactoryEntry) Get_NeedsAdviseEvents ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Get_NeedsAdviseEvents() int32
func (*IUIAutomationProxyFactoryEntry) Get_ProxyFactory ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Get_ProxyFactory() *IUIAutomationProxyFactory
func (*IUIAutomationProxyFactoryEntry) Put_AllowSubstringMatch ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Put_AllowSubstringMatch() int32
func (*IUIAutomationProxyFactoryEntry) Put_CanCheckBaseClass ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Put_CanCheckBaseClass() int32
func (*IUIAutomationProxyFactoryEntry) Put_ClassName ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Put_ClassName() string
func (*IUIAutomationProxyFactoryEntry) Put_ImageName ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Put_ImageName() string
func (*IUIAutomationProxyFactoryEntry) Put_NeedsAdviseEvents ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) Put_NeedsAdviseEvents() int32
func (*IUIAutomationProxyFactoryEntry) SetWinEventsForAutomationEvent ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryEntry) SetWinEventsForAutomationEvent(in UIA_EventId, in2 PropertyId, in3 *TagSafeArray) error
type IUIAutomationProxyFactoryEntryVtbl ¶ added in v0.3.1
type IUIAutomationProxyFactoryEntryVtbl struct { IUnKnownVtbl Get_AllowSubstringMatch uintptr Get_CanCheckBaseClass uintptr Get_ClassName uintptr Get_ImageName uintptr Get_NeedsAdviseEvents uintptr Get_ProxyFactory uintptr GetWinEventsForAutomationEvent uintptr Put_AllowSubstringMatch uintptr Put_CanCheckBaseClass uintptr Put_ClassName uintptr Put_ImageName uintptr Put_NeedsAdviseEvents uintptr SetWinEventsForAutomationEvent uintptr }
type IUIAutomationProxyFactoryMapping ¶ added in v0.3.1
type IUIAutomationProxyFactoryMapping struct {
// contains filtered or unexported fields
}
func NewIUIAutomationProxyFactoryMapping ¶ added in v0.3.1
func NewIUIAutomationProxyFactoryMapping(unk *IUnKnown) *IUIAutomationProxyFactoryMapping
func (*IUIAutomationProxyFactoryMapping) ClearTable ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryMapping) ClearTable() error
func (*IUIAutomationProxyFactoryMapping) GetEntry ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryMapping) GetEntry(in uint32) (*IUIAutomationProxyFactoryEntry, error)
func (*IUIAutomationProxyFactoryMapping) GetTable ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryMapping) GetTable() (*TagSafeArray, error)
func (*IUIAutomationProxyFactoryMapping) Get_Count ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryMapping) Get_Count() uint32
func (*IUIAutomationProxyFactoryMapping) InsertEntries ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryMapping) InsertEntries(in uint32, in2 *TagSafeArray) error
func (*IUIAutomationProxyFactoryMapping) InsertEntry ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryMapping) InsertEntry(in uint32, in2 *IUIAutomationProxyFactoryEntry) error
func (*IUIAutomationProxyFactoryMapping) RemoveEntry ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryMapping) RemoveEntry(in uint32) error
func (*IUIAutomationProxyFactoryMapping) RestoreDefaultTable ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryMapping) RestoreDefaultTable() error
func (*IUIAutomationProxyFactoryMapping) SetTable ¶ added in v0.3.1
func (v *IUIAutomationProxyFactoryMapping) SetTable(in *TagSafeArray) error
type IUIAutomationProxyFactoryMappingVtbl ¶ added in v0.3.1
type IUIAutomationProxyFactoryVtbl ¶ added in v0.3.1
type IUIAutomationProxyFactoryVtbl struct { IUnKnownVtbl CreateProvider uintptr Get_ProxyFactoryId uintptr }
type IUIAutomationStructureChangedEventHandler ¶ added in v0.3.1
type IUIAutomationStructureChangedEventHandler struct {
// contains filtered or unexported fields
}
func NewIUIAutomationStructureChangedEventHandler ¶ added in v0.3.1
func NewIUIAutomationStructureChangedEventHandler(unk *IUnKnown) *IUIAutomationStructureChangedEventHandler
func (*IUIAutomationStructureChangedEventHandler) HandleStructureChangedEvent ¶ added in v0.3.1
func (v *IUIAutomationStructureChangedEventHandler) HandleStructureChangedEvent(in *IUIAutomationElement, in2 StructureChangeType, in3 *TagSafeArray) error
type IUIAutomationStructureChangedEventHandlerVtbl ¶ added in v0.3.1
type IUIAutomationStructureChangedEventHandlerVtbl struct { IUnKnownVtbl HandleStructureChangedEvent uintptr }
type IUIAutomationTreeWalker ¶
type IUIAutomationTreeWalker struct {
// contains filtered or unexported fields
}
type IUIAutomationTreeWalkerVtbl ¶
type IUIAutomationTreeWalkerVtbl struct { IUnKnownVtbl Get_Condition uintptr GetFirstChildElement uintptr GetFirstChildElementBuildCache uintptr GetLastChildElement uintptr GetLastChildElementBuildCache uintptr GetNextSiblingElement uintptr GetNextSiblingElementBuildCache uintptr GetParentElement uintptr GetParentElementBuildCache uintptr GetPreviousSiblingElement uintptr GetPreviousSiblingElementBuildCache uintptr NormalizeElement uintptr NormalizeElementBuildCache uintptr }
type IUIAutomationValuePattern ¶ added in v0.3.0
type IUIAutomationValuePattern struct {
// contains filtered or unexported fields
}
type IUIAutomationValuePatternVtbl ¶ added in v0.3.0
type IUIAutomationVtbl ¶
type IUIAutomationVtbl struct { 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 IUnKnown ¶
type IUnKnown struct {
Vtbl *IUnKnownVtbl
}
func CreateTextServices ¶ added in v0.3.0
func NewIUnKnown ¶
type IUnKnownVtbl ¶
type IValueProvider ¶
type IValueProvider struct {
// contains filtered or unexported fields
}
func NewIValueProvider ¶ added in v0.2.1
func NewIValueProvider(unk *IUnKnown) *IValueProvider
func (*IValueProvider) Get_IsReadOnly ¶ added in v0.2.1
func (v *IValueProvider) Get_IsReadOnly() int32
func (*IValueProvider) Get_Value ¶ added in v0.2.1
func (v *IValueProvider) Get_Value() (string, error)
func (*IValueProvider) SetValue ¶ added in v0.2.1
func (v *IValueProvider) SetValue(in string) error
type IValueProviderVtbl ¶
type IValueProviderVtbl struct { IUnKnownVtbl Get_IsReadOnly uintptr Get_Value uintptr SetValue uintptr }
type IVirtualizedItemProvider ¶
type IVirtualizedItemProvider struct {
// contains filtered or unexported fields
}
func NewIVirtualizedItemProvider ¶ added in v0.2.1
func NewIVirtualizedItemProvider(unk *IUnKnown) *IVirtualizedItemProvider
func (*IVirtualizedItemProvider) Realize ¶ added in v0.2.1
func (v *IVirtualizedItemProvider) Realize() error
type IVirtualizedItemProviderVtbl ¶
type IVirtualizedItemProviderVtbl struct { IUnKnownVtbl Realize uintptr }
type IWindowProvider ¶
type IWindowProvider struct {
// contains filtered or unexported fields
}
func NewIWindowProvider ¶ added in v0.2.1
func NewIWindowProvider(unk *IUnKnown) *IWindowProvider
func (*IWindowProvider) Close ¶ added in v0.2.1
func (v *IWindowProvider) Close() error
func (*IWindowProvider) Get_CanMaximize ¶ added in v0.2.1
func (v *IWindowProvider) Get_CanMaximize() int32
func (*IWindowProvider) Get_CanMinimize ¶ added in v0.2.1
func (v *IWindowProvider) Get_CanMinimize() int32
func (*IWindowProvider) Get_IsModal ¶ added in v0.2.1
func (v *IWindowProvider) Get_IsModal() int32
func (*IWindowProvider) Get_IsTopmost ¶ added in v0.2.1
func (v *IWindowProvider) Get_IsTopmost() int32
func (*IWindowProvider) Get_WindowInteractionState ¶ added in v0.2.1
func (v *IWindowProvider) Get_WindowInteractionState() *WindowInteractionState
func (*IWindowProvider) Get_WindowVisualState ¶ added in v0.2.1
func (v *IWindowProvider) Get_WindowVisualState() *WindowVisualState
func (*IWindowProvider) SetVisualState ¶ added in v0.2.1
func (v *IWindowProvider) SetVisualState(in WindowVisualState) error
func (*IWindowProvider) WaitForInputIdle ¶ added in v0.2.1
func (v *IWindowProvider) WaitForInputIdle(in int32) (int32, error)
type IWindowProviderVtbl ¶
type InvokeResp ¶ added in v0.3.2
type InvokeResp struct { PDispParams *TagDispParams PVarResult *VARIANT PExcepInfo *TagExcepInfo PuArgErr uint32 }
type OrientationType ¶
type OrientationType int
const ( OrientationType_None OrientationType = iota OrientationType_Horizontal OrientationType_Vertical )
type ParamFalg ¶ added in v0.3.2
type ParamFalg uint16
const ( // https://learn.microsoft.com/zh-cn/previous-versions/windows/desktop/automat/paramflags PARAMFLAG_NONE ParamFalg = 0 PARAMFLAG_FIN ParamFalg = 0x1 PARAMFLAG_FOUT ParamFalg = 0x2 PARAMFLAG_FLCID ParamFalg = 0x4 PARAMFLAG_FRETVAL ParamFalg = 0x8 PARAMFLAG_FOPT ParamFalg = 0x10 PARAMFLAG_FHASDEFAULT ParamFalg = 0x20 PARAMFLAG_FHASCUSTDATA ParamFalg = 0x40 )
type PatternId ¶
type PatternId int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/winauto/uiauto-controlpattern-ids // https://learn.microsoft.com/zh-cn/windows/win32/winauto/uiauto-controlsupport UIA_AnnotationPatternId PatternId = 10023 UIA_DockPatternId PatternId = 10011 UIA_DragPatternId PatternId = 10030 UIA_DropTargetPatternId PatternId = 10031 UIA_ExpandCollapsePatternId PatternId = 10005 UIA_GridItemPatternId PatternId = 10007 UIA_GridPatternId PatternId = 10006 UIA_InvokePatternId PatternId = 10000 UIA_ItemContainerPatternId PatternId = 10019 UIA_LegacyIAccessiblePatternId PatternId = 10018 UIA_MultipleViewPatternId PatternId = 10008 UIA_ObjectModelPatternId PatternId = 10022 UIA_RangeValuePatternId PatternId = 10003 UIA_ScrollItemPatternId PatternId = 10017 UIA_ScrollPatternId PatternId = 10004 UIA_SelectionItemPatternId PatternId = 10010 UIA_SelectionPatternId PatternId = 10001 UIA_SpreadsheetPatternId PatternId = 10026 UIA_SpreadsheetItemPatternId PatternId = 10027 UIA_StylesPatternId PatternId = 10025 UIA_SynchronizedInputPatternId PatternId = 10021 UIA_TableItemPatternId PatternId = 10013 UIA_TablePatternId PatternId = 10012 UIA_TextChildPatternId PatternId = 10029 UIA_TextEditPatternId PatternId = 10032 UIA_TextPatternId PatternId = 10014 UIA_TextPattern2Id PatternId = 10024 UIA_TogglePatternId PatternId = 10015 UIA_TransformPatternId PatternId = 10016 UIA_TransformPattern2Id PatternId = 10028 UIA_ValuePatternId PatternId = 10002 UIA_VirtualizedItemPatternId PatternId = 10020 UIA_WindowPatternId PatternId = 10009 )
type PropertyConditionFlags ¶ added in v0.3.1
type PropertyConditionFlags int
const ( PropertyConditionFlags_None PropertyConditionFlags = 0 PropertyConditionFlags_IgnoreCase PropertyConditionFlags = 0x1 PropertyConditionFlags_MatchSubstring PropertyConditionFlags = 0x2 )
func Get_PropertyConditionFlags ¶ added in v0.3.2
func Get_PropertyConditionFlags(v *IUIAutomationPropertyCondition) *PropertyConditionFlags
type PropertyId ¶ added in v0.2.4
type PropertyId int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/winauto/uiauto-entry-propids UIA_AcceleratorKeyPropertyId PropertyId = 30006 UIA_AccessKeyPropertyId PropertyId = 30007 UIA_AnnotationObjectsPropertyId PropertyId = 30156 UIA_AnnotationTypesPropertyId PropertyId = 30155 UIA_AriaPropertiesPropertyId PropertyId = 30102 UIA_AriaRolePropertyId PropertyId = 30101 UIA_AutomationIdPropertyId PropertyId = 30011 UIA_BoundingRectanglePropertyId PropertyId = 30001 UIA_CenterPointPropertyId PropertyId = 30165 UIA_ClassNamePropertyId PropertyId = 30012 UIA_ClickablePointPropertyId PropertyId = 30014 UIA_ControllerForPropertyId PropertyId = 30104 UIA_ControlTypePropertyId PropertyId = 30003 UIA_CulturePropertyId PropertyId = 30015 UIA_DescribedByPropertyId PropertyId = 30105 UIA_FillColorPropertyId PropertyId = 30160 UIA_FillTypePropertyId PropertyId = 30162 UIA_FlowsFromPropertyId PropertyId = 30148 UIA_FlowsToPropertyId PropertyId = 30106 UIA_FrameworkIdPropertyId PropertyId = 30024 UIA_FullDescriptionPropertyId PropertyId = 30159 UIA_HasKeyboardFocusPropertyId PropertyId = 30008 UIA_HeadingLevelPropertyId PropertyId = 30173 UIA_HelpTextPropertyId PropertyId = 30013 UIA_IsContentElementPropertyId PropertyId = 30017 UIA_IsControlElementPropertyId PropertyId = 30016 UIA_IsDataValidForFormPropertyId PropertyId = 30103 UIA_IsDialogPropertyId PropertyId = 30174 UIA_IsEnabledPropertyId PropertyId = 30010 UIA_IsKeyboardFocusablePropertyId PropertyId = 30009 UIA_IsOffscreenPropertyId PropertyId = 30022 UIA_IsPasswordPropertyId PropertyId = 30019 UIA_IsPeripheralPropertyId PropertyId = 30150 UIA_IsRequiredForFormPropertyId PropertyId = 30025 UIA_ItemStatusPropertyId PropertyId = 30026 UIA_ItemTypePropertyId PropertyId = 300021 UIA_LabeledByPropertyId PropertyId = 30018 UIA_LandmarkTypePropertyId PropertyId = 30157 UIA_LevelPropertyId PropertyId = 30154 UIA_LiveSettingPropertyId PropertyId = 30135 UIA_LocalizedControlTypePropertyId PropertyId = 30004 UIA_LocalizedLandmarkTypePropertyId PropertyId = 30158 UIA_NamePropertyId PropertyId = 30005 UIA_NativeWindowHandlePropertyId PropertyId = 30020 UIA_OptimizeForVisualContentPropertyId PropertyId = 30111 UIA_OrientationPropertyId PropertyId = 300023 UIA_OutlineColorPropertyId PropertyId = 30161 UIA_OutlineThicknessPropertyId PropertyId = 30164 UIA_PositionInSetPropertyId PropertyId = 30152 UIA_ProcessIdPropertyId PropertyId = 30002 UIA_ProviderDescriptionPropertyId PropertyId = 30107 UIA_RotationPropertyId PropertyId = 30166 UIA_RuntimeIdPropertyId PropertyId = 30000 UIA_SizePropertyId PropertyId = 30167 UIA_SizeOfSetPropertyId PropertyId = 30153 UIA_VisualEffectsPropertyId PropertyId = 30163 )
func Get_PropertyId ¶ added in v0.3.2
func Get_PropertyId(v *IUIAutomationPropertyCondition) *PropertyId
type QueryHitPoint ¶ added in v0.3.0
type QueryHitPoint struct { DwDrawAspect TagDvAspect Lindex int32 PvAspect unsafe.Pointer Ptd *TagDvTargetDevice HdcDraw uintptr HicTargetDev uintptr LPrcClient *TagRect X int32 Y int32 }
type RowOrColumnMajor ¶ added in v0.2.1
type RowOrColumnMajor int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ne-uiautomationcore-roworcolumnmajor RowOrColumnMajor_RowMajor RowOrColumnMajor = iota RowOrColumnMajor_ColumnMajor RowOrColumnMajor_Indeterminate )
type ScrollAmount ¶ added in v0.2.1
type ScrollAmount int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ne-uiautomationcore-scrollamount ScrollAmount_LargeDecrement ScrollAmount = iota ScrollAmount_SmallDecrement ScrollAmount_NoAmount ScrollAmount_LargeIncrement ScrollAmount_SmallIncrement )
type SearchFunc ¶
type StructureChangeType ¶ added in v0.3.1
type StructureChangeType int
const ( StructureChangeType_ChildAdded StructureChangeType = iota StructureChangeType_ChildRemoved StructureChangeType_ChildrenInvalidated StructureChangeType_ChildrenBulkAdded StructureChangeType_ChildrenBulkRemoved StructureChangeType_ChildrenReordered )
type StructureChangedEventHandler ¶ added in v0.3.1
type StructureChangedEventHandler struct { Element *IUIAutomationElement Scope TreeScope CacheRequest *IUIAutomationCacheRequest Handler *IUIAutomationPropertyChangedEventHandler }
type SupportedTextSelection ¶ added in v0.2.1
type SupportedTextSelection int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ne-uiautomationcore-supportedtextselection SupportedTextSelection_None SupportedTextSelection = iota SupportedTextSelection_Single SupportedTextSelection_Multiple )
type SynchronizedInputType ¶ added in v0.2.1
type SynchronizedInputType int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ne-uiautomationcore-synchronizedinputtype SynchronizedInputType_KeyUp SynchronizedInputType = 0x1 SynchronizedInputType_KeyDown SynchronizedInputType = 0x2 SynchronizedInputType_LeftMouseUp SynchronizedInputType = 0x4 SynchronizedInputType_LeftMouseDown SynchronizedInputType = 0x8 SynchronizedInputType_RightMouseUp SynchronizedInputType = 0x10 SynchronizedInputType_RightMouseDown SynchronizedInputType = 0x20 )
type TagCallConv ¶ added in v0.3.2
type TagCallConv int
const ( CC_FASTCALL TagCallConv = iota CC_CDECL CC_MSCPASCAL CC_PASCAL CC_MACPASCAL CC_STDCALL CC_FPFASTCALL CC_SYSCALL CC_MPWCDECL CC_MPWPASCAL CC_MAX )
type TagDispParams ¶ added in v0.3.2
type TagDvAspect ¶ added in v0.3.0
type TagDvAspect int
const ( DVASPECT_CONTENT TagDvAspect = 1 DVASPECT_THUMBNAIL TagDvAspect = 2 DVASPECT_ICON TagDvAspect = 4 DVASPECT_DOCPRINT TagDvAspect = 8 )
type TagDvTargetDevice ¶ added in v0.3.0
type TagElemDesc ¶ added in v0.3.2
type TagElemDesc struct { Tdesc *TagTypeDesc Union struct { Idldesc TagIdlDesc Paramdesc TagParamDesc } }
type TagExcepInfo ¶ added in v0.3.2
type TagFuncDesc ¶ added in v0.3.2
type TagFuncDesc struct { Memid int32 LPrgsCode int32 LPrgelemdescParam *TagElemDesc Funckind TagFuncKind Invkind TagInvokeKind Callconv TagCallConv CParams int16 CParamsOpt int16 OVft int16 CScodes int16 ElemdescFunc TagElemDesc WFuncFlags uint16 }
type TagFuncKind ¶ added in v0.3.2
type TagFuncKind int
const ( FUNC_VIRTUAL TagFuncKind = iota FUNC_PUREVIRTUAL FUNC_NONVIRTUAL FUNC_STATIC FUNC_DISPATCH )
type TagIdlDesc ¶ added in v0.3.2
type TagInvokeKind ¶ added in v0.3.2
type TagInvokeKind int
const ( INVOKE_FUNC TagInvokeKind = 1 INVOKE_PROPERTYGET TagInvokeKind = 2 INVOKE_PROPERTYPUT TagInvokeKind = 4 INVOKE_PROPERTYPUTREF TagInvokeKind = 8 )
type TagParamDesc ¶ added in v0.3.2
type TagSafeArray ¶ added in v0.2.1
type TagSafeArray struct { // https://learn.microsoft.com/zh-cn/windows/win32/api/oaidl/ns-oaidl-safearray CbElement uint32 CDims uint16 CLocks uint32 FFeatures uint16 PvData uintptr Rgsabound []TagSafeArrayBound }
func GetChildren ¶ added in v0.3.2
func GetChildren(v *IUIAutomationAndCondition) (*TagSafeArray, error)
type TagSafeArrayBound ¶ added in v0.2.1
type TagSafeArrayBound struct { // https://learn.microsoft.com/zh-cn/windows/win32/api/oaidl/ns-oaidl-safearraybound CElements uint32 LLbound int32 }
type TagTypeDesc ¶ added in v0.3.2
type TagTypeDesc struct { }
type TagVarenum ¶ added in v0.2.4
type TagVarenum int
const ( VT_EMPTY TagVarenum = 0 VT_NULL TagVarenum = 1 VT_I2 TagVarenum = 2 VT_I4 TagVarenum = 3 VT_R4 TagVarenum = 4 VT_R8 TagVarenum = 5 VT_CY TagVarenum = 6 VT_DATE TagVarenum = 7 VT_BSTR TagVarenum = 8 VT_DISPATCH TagVarenum = 9 VT_ERROR TagVarenum = 10 VT_BOOL TagVarenum = 11 VT_VARIANT TagVarenum = 12 VT_UNKNOWN TagVarenum = 13 VT_DECIMAL TagVarenum = 14 VT_I1 TagVarenum = 16 VT_UI1 TagVarenum = 17 VT_UI2 TagVarenum = 18 VT_UI4 TagVarenum = 19 VT_I8 TagVarenum = 20 VT_UI8 TagVarenum = 21 VT_INT TagVarenum = 22 VT_UINT TagVarenum = 23 VT_VOID TagVarenum = 24 VT_HRESULT TagVarenum = 25 VT_PTR TagVarenum = 26 VT_SAFEARRAY TagVarenum = 27 VT_CARRAY TagVarenum = 28 VT_USERDEFINED TagVarenum = 29 VT_LPSTR TagVarenum = 30 VT_LPWSTR TagVarenum = 31 VT_RECORD TagVarenum = 36 VT_INT_PTR TagVarenum = 37 VT_UINT_PTR TagVarenum = 38 VT_FILETIME TagVarenum = 64 VT_BLOB TagVarenum = 65 VT_STREAM TagVarenum = 66 VT_STORAGE TagVarenum = 67 VT_STREAMED_OBJECT TagVarenum = 68 VT_STORED_OBJECT TagVarenum = 69 VT_BLOB_OBJECT TagVarenum = 70 VT_CF TagVarenum = 71 VT_CLSID TagVarenum = 72 VT_VERSIONED_STREAM TagVarenum = 73 VT_BSTR_BLOB TagVarenum = 0xfff VT_VECTOR TagVarenum = 0x1000 VT_ARRAY TagVarenum = 0x2000 VT_BYREF TagVarenum = 0x4000 VT_RESERVED TagVarenum = 0x8000 VT_ILLEGAL TagVarenum = 0xffff VT_ILLEGALMASKED TagVarenum = 0xfff VT_TYPEMASK TagVarenum = 0xfff )
type TextArrtibuteId ¶ added in v0.2.1
type TextArrtibuteId int
type TextCursor ¶ added in v0.3.0
type TextCursor struct { DwDrawAspect TagDvAspect Lindex int32 PvAspect unsafe.Pointer Ptd *TagDvTargetDevice HdcDraw uintptr HicTargetDev uintptr LPrcClient *TagRect X int32 Y int32 }
type TextHScroll ¶ added in v0.3.0
type TextNaturalSize ¶ added in v0.3.0
type TextNaturalSize struct { DwAspect TagDvAspect HdcDraw uintptr HicTargetDev uintptr Ptd *TagDvTargetDevice DwMode uint32 PSizelExtent *TagSize PWidth int32 PHeight int32 }
type TextPatternRangeEndpoint ¶ added in v0.2.1
type TextPatternRangeEndpoint int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ne-uiautomationcore-textpatternrangeendpoint TextPatternRangeEndpoint_Start TextPatternRangeEndpoint = iota TextPatternRangeEndpoint_End )
type TextSendMessage ¶ added in v0.3.0
type TextUnit ¶ added in v0.2.1
type TextUnit int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ne-uiautomationcore-textunit TextUnit_Character TextUnit = iota TextUnit_Format TextUnit_Word TextUnit_Line TextUnit_Paragraph TextUnit_Page TextUnit_Document )
type TextVScroll ¶ added in v0.3.0
type ToggleState ¶ added in v0.2.1
type ToggleState int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ne-uiautomationcore-togglestate ToggleState_Off ToggleState = iota ToggleState_On ToggleState_Indeterminate )
type TreeScope ¶
type TreeScope int
var ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationclient/ne-uiautomationclient-treescope TreeScope_None TreeScope = 0x0 TreeScope_Element TreeScope = 0x1 TreeScope_Children TreeScope = 0x2 TreeScope_Descendants TreeScope = 0x4 TreeScope_Parent TreeScope = 0x8 TreeScope_Ancestors TreeScope = 0x10 TreeScope_Subtree TreeScope = TreeScope_Element | TreeScope_Children | TreeScope_Descendants )
type TxtHitResult ¶ added in v0.3.0
type TxtHitResult int
const ( TXTHITRESULT_NOHIT TxtHitResult = iota TXTHITRESULT_TRANSPARENT TXTHITRESULT_CLOSE TXTHITRESULT_HIT )
type UIA_EventId ¶ added in v0.3.1
type UIA_EventId int
const ( UIA_ActiveTextPositionChangedEventId UIA_EventId = 20036 UIA_AsyncContentLoadedEventId UIA_EventId = 20006 UIA_AutomationFocusChangedEventId UIA_EventId = 20005 UIA_AutomationPropertyChangedEventId UIA_EventId = 20004 UIA_ChangesEventId UIA_EventId = 20034 UIA_Drag_DragCancelEventId UIA_EventId = 20027 UIA_Drag_DragCompleteEventId UIA_EventId = 20028 UIA_Drag_DragStartEventId UIA_EventId = 20026 UIA_DropTarget_DragEnterEventId UIA_EventId = 20029 UIA_DropTarget_DragLeaveEventId UIA_EventId = 20030 UIA_DropTarget_DroppedEventId UIA_EventId = 20031 UIA_HostedFragmentRootsInvalidatedEventId UIA_EventId = 20025 UIA_InputDiscardedEventId UIA_EventId = 20022 UIA_InputReachedOtherElementEventId UIA_EventId = 20021 UIA_InputReachedTargetEventId UIA_EventId = 20020 UIA_Invoke_InvokedEventId UIA_EventId = 20009 UIA_LayoutInvalidatedEventId UIA_EventId = 20008 UIA_LiveRegionChangedEventId UIA_EventId = 20024 UIA_MenuClosedEventId UIA_EventId = 20007 UIA_MenuModeEndEventId UIA_EventId = 20019 UIA_MenuModeStartEventId UIA_EventId = 20018 UIA_MenuOpenedEventId UIA_EventId = 20003 UIA_NotificationEventId UIA_EventId = 20035 UIA_Selection_InvalidatedEventId UIA_EventId = 20013 UIA_SelectionItem_ElementAddedToSelectionEventId UIA_EventId = 20010 UIA_SelectionItem_ElementRemovedFromSelectionEventId UIA_EventId = 20011 UIA_SelectionItem_ElementSelectedEventId UIA_EventId = 20012 UIA_StructureChangedEventId UIA_EventId = 20002 UIA_SystemAlertEventId UIA_EventId = 20023 UIA_Text_TextChangedEventId UIA_EventId = 20015 UIA_Text_TextSelectionChangedEventId UIA_EventId = 20014 UIA_TextEdit_ConversionTargetChangedEventId UIA_EventId = 20033 UIA_TextEdit_TextChangedEventId UIA_EventId = 20032 UIA_ToolTipClosedEventId UIA_EventId = 20001 UIA_ToolTipOpenedEventId UIA_EventId = 20000 UIA_Window_WindowClosedEventId UIA_EventId = 20017 UIA_Window_WindowOpenedEventId UIA_EventId = 20016 )
type UiaPoint ¶ added in v0.2.1
type UiaPoint struct { // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ns-uiautomationcore-uiapoint X float64 Y float64 }
type VARIANT ¶
type VARIANT struct { VT TagVarenum Val int64 // contains filtered or unexported fields }
func Get_PropertyValue ¶ added in v0.3.2
func Get_PropertyValue(v *IUIAutomationPropertyCondition) *VARIANT
func NewVariant ¶
func NewVariant(vt TagVarenum, val int64) VARIANT
type WindowInteractionState ¶ added in v0.2.1
type WindowInteractionState int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ne-uiautomationcore-windowinteractionstate WindowInteractionState_Running WindowInteractionState = iota WindowInteractionState_Closing WindowInteractionState_ReadyForUserInteraction WindowInteractionState_BlockedByModalWindow WindowInteractionState_NotResponding )
type WindowVisualState ¶ added in v0.2.1
type WindowVisualState int
const ( // https://learn.microsoft.com/zh-cn/windows/win32/api/uiautomationcore/ne-uiautomationcore-windowvisualstate WindowVisualState_Normal WindowVisualState = iota WindowVisualState_Maximized WindowVisualState_Minimized )
Click to show internal directories.
Click to hide internal directories.