Trait windows::Win32::UI::Accessibility::IUIAutomation_Impl

pub trait IUIAutomation_Impl: Sized {
Show 55 methods // Required methods fn CompareElements( &self, el1: Option<&IUIAutomationElement>, el2: Option<&IUIAutomationElement>, ) -> Result<BOOL>; fn CompareRuntimeIds( &self, runtimeid1: *const SAFEARRAY, runtimeid2: *const SAFEARRAY, ) -> Result<BOOL>; fn GetRootElement(&self) -> Result<IUIAutomationElement>; fn ElementFromHandle(&self, hwnd: HWND) -> Result<IUIAutomationElement>; fn ElementFromPoint(&self, pt: &POINT) -> Result<IUIAutomationElement>; fn GetFocusedElement(&self) -> Result<IUIAutomationElement>; fn GetRootElementBuildCache( &self, cacherequest: Option<&IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>; fn ElementFromHandleBuildCache( &self, hwnd: HWND, cacherequest: Option<&IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>; fn ElementFromPointBuildCache( &self, pt: &POINT, cacherequest: Option<&IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>; fn GetFocusedElementBuildCache( &self, cacherequest: Option<&IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>; fn CreateTreeWalker( &self, pcondition: Option<&IUIAutomationCondition>, ) -> Result<IUIAutomationTreeWalker>; fn ControlViewWalker(&self) -> Result<IUIAutomationTreeWalker>; fn ContentViewWalker(&self) -> Result<IUIAutomationTreeWalker>; fn RawViewWalker(&self) -> Result<IUIAutomationTreeWalker>; fn RawViewCondition(&self) -> Result<IUIAutomationCondition>; fn ControlViewCondition(&self) -> Result<IUIAutomationCondition>; fn ContentViewCondition(&self) -> Result<IUIAutomationCondition>; fn CreateCacheRequest(&self) -> Result<IUIAutomationCacheRequest>; fn CreateTrueCondition(&self) -> Result<IUIAutomationCondition>; fn CreateFalseCondition(&self) -> Result<IUIAutomationCondition>; fn CreatePropertyCondition( &self, propertyid: UIA_PROPERTY_ID, value: &VARIANT, ) -> Result<IUIAutomationCondition>; fn CreatePropertyConditionEx( &self, propertyid: UIA_PROPERTY_ID, value: &VARIANT, flags: PropertyConditionFlags, ) -> Result<IUIAutomationCondition>; fn CreateAndCondition( &self, condition1: Option<&IUIAutomationCondition>, condition2: Option<&IUIAutomationCondition>, ) -> Result<IUIAutomationCondition>; fn CreateAndConditionFromArray( &self, conditions: *const SAFEARRAY, ) -> Result<IUIAutomationCondition>; fn CreateAndConditionFromNativeArray( &self, conditions: *const Option<IUIAutomationCondition>, conditioncount: i32, ) -> Result<IUIAutomationCondition>; fn CreateOrCondition( &self, condition1: Option<&IUIAutomationCondition>, condition2: Option<&IUIAutomationCondition>, ) -> Result<IUIAutomationCondition>; fn CreateOrConditionFromArray( &self, conditions: *const SAFEARRAY, ) -> Result<IUIAutomationCondition>; fn CreateOrConditionFromNativeArray( &self, conditions: *const Option<IUIAutomationCondition>, conditioncount: i32, ) -> Result<IUIAutomationCondition>; fn CreateNotCondition( &self, condition: Option<&IUIAutomationCondition>, ) -> Result<IUIAutomationCondition>; fn AddAutomationEventHandler( &self, eventid: UIA_EVENT_ID, element: Option<&IUIAutomationElement>, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationEventHandler>, ) -> Result<()>; fn RemoveAutomationEventHandler( &self, eventid: UIA_EVENT_ID, element: Option<&IUIAutomationElement>, handler: Option<&IUIAutomationEventHandler>, ) -> Result<()>; fn AddPropertyChangedEventHandlerNativeArray( &self, element: Option<&IUIAutomationElement>, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationPropertyChangedEventHandler>, propertyarray: *const UIA_PROPERTY_ID, propertycount: i32, ) -> Result<()>; fn AddPropertyChangedEventHandler( &self, element: Option<&IUIAutomationElement>, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationPropertyChangedEventHandler>, propertyarray: *const SAFEARRAY, ) -> Result<()>; fn RemovePropertyChangedEventHandler( &self, element: Option<&IUIAutomationElement>, handler: Option<&IUIAutomationPropertyChangedEventHandler>, ) -> Result<()>; fn AddStructureChangedEventHandler( &self, element: Option<&IUIAutomationElement>, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationStructureChangedEventHandler>, ) -> Result<()>; fn RemoveStructureChangedEventHandler( &self, element: Option<&IUIAutomationElement>, handler: Option<&IUIAutomationStructureChangedEventHandler>, ) -> Result<()>; fn AddFocusChangedEventHandler( &self, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationFocusChangedEventHandler>, ) -> Result<()>; fn RemoveFocusChangedEventHandler( &self, handler: Option<&IUIAutomationFocusChangedEventHandler>, ) -> Result<()>; fn RemoveAllEventHandlers(&self) -> Result<()>; fn IntNativeArrayToSafeArray( &self, array: *const i32, arraycount: i32, ) -> Result<*mut SAFEARRAY>; fn IntSafeArrayToNativeArray( &self, intarray: *const SAFEARRAY, array: *mut *mut i32, ) -> Result<i32>; fn RectToVariant(&self, rc: &RECT) -> Result<VARIANT>; fn VariantToRect(&self, var: &VARIANT) -> Result<RECT>; fn SafeArrayToRectNativeArray( &self, rects: *const SAFEARRAY, rectarray: *mut *mut RECT, ) -> Result<i32>; fn CreateProxyFactoryEntry( &self, factory: Option<&IUIAutomationProxyFactory>, ) -> Result<IUIAutomationProxyFactoryEntry>; fn ProxyFactoryMapping(&self) -> Result<IUIAutomationProxyFactoryMapping>; fn GetPropertyProgrammaticName( &self, property: UIA_PROPERTY_ID, ) -> Result<BSTR>; fn GetPatternProgrammaticName( &self, pattern: UIA_PATTERN_ID, ) -> Result<BSTR>; fn PollForPotentialSupportedPatterns( &self, pelement: Option<&IUIAutomationElement>, patternids: *mut *mut SAFEARRAY, patternnames: *mut *mut SAFEARRAY, ) -> Result<()>; fn PollForPotentialSupportedProperties( &self, pelement: Option<&IUIAutomationElement>, propertyids: *mut *mut SAFEARRAY, propertynames: *mut *mut SAFEARRAY, ) -> Result<()>; fn CheckNotSupported(&self, value: &VARIANT) -> Result<BOOL>; fn ReservedNotSupportedValue(&self) -> Result<IUnknown>; fn ReservedMixedAttributeValue(&self) -> Result<IUnknown>; fn ElementFromIAccessible( &self, accessible: Option<&IAccessible>, childid: i32, ) -> Result<IUIAutomationElement>; fn ElementFromIAccessibleBuildCache( &self, accessible: Option<&IAccessible>, childid: i32, cacherequest: Option<&IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>;
}

Required Methods§

fn CompareElements( &self, el1: Option<&IUIAutomationElement>, el2: Option<&IUIAutomationElement>, ) -> Result<BOOL>

fn CompareRuntimeIds( &self, runtimeid1: *const SAFEARRAY, runtimeid2: *const SAFEARRAY, ) -> Result<BOOL>

fn GetRootElement(&self) -> Result<IUIAutomationElement>

fn ElementFromHandle(&self, hwnd: HWND) -> Result<IUIAutomationElement>

fn ElementFromPoint(&self, pt: &POINT) -> Result<IUIAutomationElement>

fn GetFocusedElement(&self) -> Result<IUIAutomationElement>

fn GetRootElementBuildCache( &self, cacherequest: Option<&IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>

fn ElementFromHandleBuildCache( &self, hwnd: HWND, cacherequest: Option<&IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>

fn ElementFromPointBuildCache( &self, pt: &POINT, cacherequest: Option<&IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>

fn GetFocusedElementBuildCache( &self, cacherequest: Option<&IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>

fn CreateTreeWalker( &self, pcondition: Option<&IUIAutomationCondition>, ) -> Result<IUIAutomationTreeWalker>

fn ControlViewWalker(&self) -> Result<IUIAutomationTreeWalker>

fn ContentViewWalker(&self) -> Result<IUIAutomationTreeWalker>

fn RawViewWalker(&self) -> Result<IUIAutomationTreeWalker>

fn RawViewCondition(&self) -> Result<IUIAutomationCondition>

fn ControlViewCondition(&self) -> Result<IUIAutomationCondition>

fn ContentViewCondition(&self) -> Result<IUIAutomationCondition>

fn CreateCacheRequest(&self) -> Result<IUIAutomationCacheRequest>

fn CreateTrueCondition(&self) -> Result<IUIAutomationCondition>

fn CreateFalseCondition(&self) -> Result<IUIAutomationCondition>

fn CreatePropertyCondition( &self, propertyid: UIA_PROPERTY_ID, value: &VARIANT, ) -> Result<IUIAutomationCondition>

fn CreatePropertyConditionEx( &self, propertyid: UIA_PROPERTY_ID, value: &VARIANT, flags: PropertyConditionFlags, ) -> Result<IUIAutomationCondition>

fn CreateAndCondition( &self, condition1: Option<&IUIAutomationCondition>, condition2: Option<&IUIAutomationCondition>, ) -> Result<IUIAutomationCondition>

fn CreateAndConditionFromArray( &self, conditions: *const SAFEARRAY, ) -> Result<IUIAutomationCondition>

fn CreateAndConditionFromNativeArray( &self, conditions: *const Option<IUIAutomationCondition>, conditioncount: i32, ) -> Result<IUIAutomationCondition>

fn CreateOrCondition( &self, condition1: Option<&IUIAutomationCondition>, condition2: Option<&IUIAutomationCondition>, ) -> Result<IUIAutomationCondition>

fn CreateOrConditionFromArray( &self, conditions: *const SAFEARRAY, ) -> Result<IUIAutomationCondition>

fn CreateOrConditionFromNativeArray( &self, conditions: *const Option<IUIAutomationCondition>, conditioncount: i32, ) -> Result<IUIAutomationCondition>

fn CreateNotCondition( &self, condition: Option<&IUIAutomationCondition>, ) -> Result<IUIAutomationCondition>

fn AddAutomationEventHandler( &self, eventid: UIA_EVENT_ID, element: Option<&IUIAutomationElement>, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationEventHandler>, ) -> Result<()>

fn RemoveAutomationEventHandler( &self, eventid: UIA_EVENT_ID, element: Option<&IUIAutomationElement>, handler: Option<&IUIAutomationEventHandler>, ) -> Result<()>

fn AddPropertyChangedEventHandlerNativeArray( &self, element: Option<&IUIAutomationElement>, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationPropertyChangedEventHandler>, propertyarray: *const UIA_PROPERTY_ID, propertycount: i32, ) -> Result<()>

fn AddPropertyChangedEventHandler( &self, element: Option<&IUIAutomationElement>, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationPropertyChangedEventHandler>, propertyarray: *const SAFEARRAY, ) -> Result<()>

fn RemovePropertyChangedEventHandler( &self, element: Option<&IUIAutomationElement>, handler: Option<&IUIAutomationPropertyChangedEventHandler>, ) -> Result<()>

fn AddStructureChangedEventHandler( &self, element: Option<&IUIAutomationElement>, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationStructureChangedEventHandler>, ) -> Result<()>

fn RemoveStructureChangedEventHandler( &self, element: Option<&IUIAutomationElement>, handler: Option<&IUIAutomationStructureChangedEventHandler>, ) -> Result<()>

fn AddFocusChangedEventHandler( &self, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationFocusChangedEventHandler>, ) -> Result<()>

fn RemoveFocusChangedEventHandler( &self, handler: Option<&IUIAutomationFocusChangedEventHandler>, ) -> Result<()>

fn RemoveAllEventHandlers(&self) -> Result<()>

fn IntNativeArrayToSafeArray( &self, array: *const i32, arraycount: i32, ) -> Result<*mut SAFEARRAY>

fn IntSafeArrayToNativeArray( &self, intarray: *const SAFEARRAY, array: *mut *mut i32, ) -> Result<i32>

fn RectToVariant(&self, rc: &RECT) -> Result<VARIANT>

fn VariantToRect(&self, var: &VARIANT) -> Result<RECT>

fn SafeArrayToRectNativeArray( &self, rects: *const SAFEARRAY, rectarray: *mut *mut RECT, ) -> Result<i32>

fn CreateProxyFactoryEntry( &self, factory: Option<&IUIAutomationProxyFactory>, ) -> Result<IUIAutomationProxyFactoryEntry>

fn ProxyFactoryMapping(&self) -> Result<IUIAutomationProxyFactoryMapping>

fn GetPropertyProgrammaticName(&self, property: UIA_PROPERTY_ID) -> Result<BSTR>

fn GetPatternProgrammaticName(&self, pattern: UIA_PATTERN_ID) -> Result<BSTR>

fn PollForPotentialSupportedPatterns( &self, pelement: Option<&IUIAutomationElement>, patternids: *mut *mut SAFEARRAY, patternnames: *mut *mut SAFEARRAY, ) -> Result<()>

fn PollForPotentialSupportedProperties( &self, pelement: Option<&IUIAutomationElement>, propertyids: *mut *mut SAFEARRAY, propertynames: *mut *mut SAFEARRAY, ) -> Result<()>

fn CheckNotSupported(&self, value: &VARIANT) -> Result<BOOL>

fn ReservedNotSupportedValue(&self) -> Result<IUnknown>

fn ReservedMixedAttributeValue(&self) -> Result<IUnknown>

fn ElementFromIAccessible( &self, accessible: Option<&IAccessible>, childid: i32, ) -> Result<IUIAutomationElement>

fn ElementFromIAccessibleBuildCache( &self, accessible: Option<&IAccessible>, childid: i32, cacherequest: Option<&IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>

Object Safety§

This trait is not object safe.

Implementors§