IUIAutomation class com

Exposes methods that enable Microsoft UI Automation client applications to discover, access, and filter UI Automation elements.

Inheritance
Implementers

Constructors

IUIAutomation(Pointer<COMObject> ptr)
IUIAutomation.from(IUnknown interface)
factory

Properties

contentViewCondition Pointer<COMObject>
no setter
contentViewWalker Pointer<COMObject>
no setter
controlViewCondition Pointer<COMObject>
no setter
controlViewWalker Pointer<COMObject>
no setter
hashCode int
The hash code for this object.
no setterinherited
proxyFactoryMapping Pointer<COMObject>
no setter
ptr Pointer<COMObject>
getter/setter pairinherited
rawViewCondition Pointer<COMObject>
no setter
rawViewWalker Pointer<COMObject>
no setter
reservedMixedAttributeValue Pointer<COMObject>
no setter
reservedNotSupportedValue Pointer<COMObject>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAutomationEventHandler(int eventId, Pointer<COMObject> element, int scope, Pointer<COMObject> cacheRequest, Pointer<COMObject> handler) int
addFocusChangedEventHandler(Pointer<COMObject> cacheRequest, Pointer<COMObject> handler) int
addPropertyChangedEventHandler(Pointer<COMObject> element, int scope, Pointer<COMObject> cacheRequest, Pointer<COMObject> handler, Pointer<SAFEARRAY> propertyArray) int
addPropertyChangedEventHandlerNativeArray(Pointer<COMObject> element, int scope, Pointer<COMObject> cacheRequest, Pointer<COMObject> handler, Pointer<Uint32> propertyArray, int propertyCount) int
addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
addStructureChangedEventHandler(Pointer<COMObject> element, int scope, Pointer<COMObject> cacheRequest, Pointer<COMObject> handler) int
checkNotSupported(VARIANT value, Pointer<Int32> isNotSupported) int
compareElements(Pointer<COMObject> el1, Pointer<COMObject> el2, Pointer<Int32> areSame) int
compareRuntimeIds(Pointer<SAFEARRAY> runtimeId1, Pointer<SAFEARRAY> runtimeId2, Pointer<Int32> areSame) int
createAndCondition(Pointer<COMObject> condition1, Pointer<COMObject> condition2, Pointer<Pointer<COMObject>> newCondition) int
createAndConditionFromArray(Pointer<SAFEARRAY> conditions, Pointer<Pointer<COMObject>> newCondition) int
createAndConditionFromNativeArray(Pointer<Pointer<COMObject>> conditions, int conditionCount, Pointer<Pointer<COMObject>> newCondition) int
createCacheRequest(Pointer<Pointer<COMObject>> cacheRequest) int
createFalseCondition(Pointer<Pointer<COMObject>> newCondition) int
createNotCondition(Pointer<COMObject> condition, Pointer<Pointer<COMObject>> newCondition) int
createOrCondition(Pointer<COMObject> condition1, Pointer<COMObject> condition2, Pointer<Pointer<COMObject>> newCondition) int
createOrConditionFromArray(Pointer<SAFEARRAY> conditions, Pointer<Pointer<COMObject>> newCondition) int
createOrConditionFromNativeArray(Pointer<Pointer<COMObject>> conditions, int conditionCount, Pointer<Pointer<COMObject>> newCondition) int
createPropertyCondition(int propertyId, VARIANT value, Pointer<Pointer<COMObject>> newCondition) int
createPropertyConditionEx(int propertyId, VARIANT value, int flags, Pointer<Pointer<COMObject>> newCondition) int
createProxyFactoryEntry(Pointer<COMObject> factory, Pointer<Pointer<COMObject>> factoryEntry) int
createTreeWalker(Pointer<COMObject> pCondition, Pointer<Pointer<COMObject>> walker) int
createTrueCondition(Pointer<Pointer<COMObject>> newCondition) int
detach() → void
Detaches the object from the Finalizer.
inherited
elementFromHandle(int hwnd, Pointer<Pointer<COMObject>> element) int
elementFromHandleBuildCache(int hwnd, Pointer<COMObject> cacheRequest, Pointer<Pointer<COMObject>> element) int
elementFromIAccessible(Pointer<COMObject> accessible, int childId, Pointer<Pointer<COMObject>> element) int
elementFromIAccessibleBuildCache(Pointer<COMObject> accessible, int childId, Pointer<COMObject> cacheRequest, Pointer<Pointer<COMObject>> element) int
elementFromPoint(POINT pt, Pointer<Pointer<COMObject>> element) int
elementFromPointBuildCache(POINT pt, Pointer<COMObject> cacheRequest, Pointer<Pointer<COMObject>> element) int
getFocusedElement(Pointer<Pointer<COMObject>> element) int
getFocusedElementBuildCache(Pointer<COMObject> cacheRequest, Pointer<Pointer<COMObject>> element) int
getPatternProgrammaticName(int pattern, Pointer<Pointer<Utf16>> name) int
getPropertyProgrammaticName(int property, Pointer<Pointer<Utf16>> name) int
getRootElement(Pointer<Pointer<COMObject>> root) int
getRootElementBuildCache(Pointer<COMObject> cacheRequest, Pointer<Pointer<COMObject>> root) int
intNativeArrayToSafeArray(Pointer<Int32> array, int arrayCount, Pointer<Pointer<SAFEARRAY>> safeArray) int
intSafeArrayToNativeArray(Pointer<SAFEARRAY> intArray, Pointer<Pointer<Int32>> array, Pointer<Int32> arrayCount) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pollForPotentialSupportedPatterns(Pointer<COMObject> pElement, Pointer<Pointer<SAFEARRAY>> patternIds, Pointer<Pointer<SAFEARRAY>> patternNames) int
pollForPotentialSupportedProperties(Pointer<COMObject> pElement, Pointer<Pointer<SAFEARRAY>> propertyIds, Pointer<Pointer<SAFEARRAY>> propertyNames) int
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
rectToVariant(RECT rc, Pointer<VARIANT> var_) int
release() int
Decrements the reference count for an interface on a COM object.
inherited
removeAllEventHandlers() int
removeAutomationEventHandler(int eventId, Pointer<COMObject> element, Pointer<COMObject> handler) int
removeFocusChangedEventHandler(Pointer<COMObject> handler) int
removePropertyChangedEventHandler(Pointer<COMObject> element, Pointer<COMObject> handler) int
removeStructureChangedEventHandler(Pointer<COMObject> element, Pointer<COMObject> handler) int
safeArrayToRectNativeArray(Pointer<SAFEARRAY> rects, Pointer<Pointer<RECT>> rectArray, Pointer<Int32> rectArrayCount) int
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited
variantToRect(VARIANT var_, Pointer<RECT> rc) int

Operators

operator ==(Object other) bool
The equality operator.
inherited