pub struct IUIAutomation(/* private fields */);
Implementations§
Source§impl IUIAutomation
impl IUIAutomation
pub unsafe fn CompareElements<'a>( &self, el1: impl IntoParam<'a, IUIAutomationElement>, el2: impl IntoParam<'a, IUIAutomationElement>, ) -> Result<BOOL>
pub unsafe fn CompareRuntimeIds( &self, runtimeid1: *const SAFEARRAY, runtimeid2: *const SAFEARRAY, ) -> Result<BOOL>
pub unsafe fn GetRootElement(&self) -> Result<IUIAutomationElement>
pub unsafe fn ElementFromHandle<'a>( &self, hwnd: impl IntoParam<'a, HWND>, ) -> Result<IUIAutomationElement>
pub unsafe fn ElementFromPoint<'a>( &self, pt: impl IntoParam<'a, POINT>, ) -> Result<IUIAutomationElement>
pub unsafe fn GetFocusedElement(&self) -> Result<IUIAutomationElement>
pub unsafe fn GetRootElementBuildCache<'a>( &self, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>
pub unsafe fn ElementFromHandleBuildCache<'a>( &self, hwnd: impl IntoParam<'a, HWND>, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>
pub unsafe fn ElementFromPointBuildCache<'a>( &self, pt: impl IntoParam<'a, POINT>, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>
pub unsafe fn GetFocusedElementBuildCache<'a>( &self, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>
pub unsafe fn CreateTreeWalker<'a>( &self, pcondition: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationTreeWalker>
pub unsafe fn get_ControlViewWalker(&self) -> Result<IUIAutomationTreeWalker>
pub unsafe fn get_ContentViewWalker(&self) -> Result<IUIAutomationTreeWalker>
pub unsafe fn get_RawViewWalker(&self) -> Result<IUIAutomationTreeWalker>
pub unsafe fn get_RawViewCondition(&self) -> Result<IUIAutomationCondition>
pub unsafe fn get_ControlViewCondition(&self) -> Result<IUIAutomationCondition>
pub unsafe fn get_ContentViewCondition(&self) -> Result<IUIAutomationCondition>
pub unsafe fn CreateCacheRequest(&self) -> Result<IUIAutomationCacheRequest>
pub unsafe fn CreateTrueCondition(&self) -> Result<IUIAutomationCondition>
pub unsafe fn CreateFalseCondition(&self) -> Result<IUIAutomationCondition>
pub unsafe fn CreatePropertyCondition<'a>( &self, propertyid: i32, value: impl IntoParam<'a, VARIANT>, ) -> Result<IUIAutomationCondition>
pub unsafe fn CreatePropertyConditionEx<'a>( &self, propertyid: i32, value: impl IntoParam<'a, VARIANT>, flags: PropertyConditionFlags, ) -> Result<IUIAutomationCondition>
pub unsafe fn CreateAndCondition<'a>( &self, condition1: impl IntoParam<'a, IUIAutomationCondition>, condition2: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationCondition>
pub unsafe fn CreateAndConditionFromArray( &self, conditions: *const SAFEARRAY, ) -> Result<IUIAutomationCondition>
pub unsafe fn CreateAndConditionFromNativeArray( &self, conditions: *const Option<IUIAutomationCondition>, conditioncount: i32, ) -> Result<IUIAutomationCondition>
pub unsafe fn CreateOrCondition<'a>( &self, condition1: impl IntoParam<'a, IUIAutomationCondition>, condition2: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationCondition>
pub unsafe fn CreateOrConditionFromArray( &self, conditions: *const SAFEARRAY, ) -> Result<IUIAutomationCondition>
pub unsafe fn CreateOrConditionFromNativeArray( &self, conditions: *const Option<IUIAutomationCondition>, conditioncount: i32, ) -> Result<IUIAutomationCondition>
pub unsafe fn CreateNotCondition<'a>( &self, condition: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationCondition>
pub unsafe fn AddAutomationEventHandler<'a>( &self, eventid: i32, element: impl IntoParam<'a, IUIAutomationElement>, scope: TreeScope, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationEventHandler>, ) -> Result<()>
pub unsafe fn RemoveAutomationEventHandler<'a>( &self, eventid: i32, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationEventHandler>, ) -> Result<()>
pub unsafe fn AddPropertyChangedEventHandlerNativeArray<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, scope: TreeScope, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationPropertyChangedEventHandler>, propertyarray: *const i32, propertycount: i32, ) -> Result<()>
pub unsafe fn AddPropertyChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, scope: TreeScope, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationPropertyChangedEventHandler>, propertyarray: *const SAFEARRAY, ) -> Result<()>
pub unsafe fn RemovePropertyChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationPropertyChangedEventHandler>, ) -> Result<()>
pub unsafe fn AddStructureChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, scope: TreeScope, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationStructureChangedEventHandler>, ) -> Result<()>
pub unsafe fn RemoveStructureChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationStructureChangedEventHandler>, ) -> Result<()>
pub unsafe fn AddFocusChangedEventHandler<'a>( &self, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationFocusChangedEventHandler>, ) -> Result<()>
pub unsafe fn RemoveFocusChangedEventHandler<'a>( &self, handler: impl IntoParam<'a, IUIAutomationFocusChangedEventHandler>, ) -> Result<()>
pub unsafe fn RemoveAllEventHandlers(&self) -> Result<()>
pub unsafe fn IntNativeArrayToSafeArray( &self, array: *const i32, arraycount: i32, ) -> Result<*mut SAFEARRAY>
pub unsafe fn IntSafeArrayToNativeArray( &self, intarray: *const SAFEARRAY, array: *mut *mut i32, arraycount: *mut i32, ) -> Result<()>
pub unsafe fn RectToVariant<'a>( &self, rc: impl IntoParam<'a, RECT>, ) -> Result<VARIANT>
pub unsafe fn VariantToRect<'a>( &self, var: impl IntoParam<'a, VARIANT>, ) -> Result<RECT>
pub unsafe fn SafeArrayToRectNativeArray( &self, rects: *const SAFEARRAY, rectarray: *mut *mut RECT, rectarraycount: *mut i32, ) -> Result<()>
pub unsafe fn CreateProxyFactoryEntry<'a>( &self, factory: impl IntoParam<'a, IUIAutomationProxyFactory>, ) -> Result<IUIAutomationProxyFactoryEntry>
pub unsafe fn get_ProxyFactoryMapping( &self, ) -> Result<IUIAutomationProxyFactoryMapping>
pub unsafe fn GetPropertyProgrammaticName(&self, property: i32) -> Result<BSTR>
pub unsafe fn GetPatternProgrammaticName(&self, pattern: i32) -> Result<BSTR>
pub unsafe fn PollForPotentialSupportedPatterns<'a>( &self, pelement: impl IntoParam<'a, IUIAutomationElement>, patternids: *mut *mut SAFEARRAY, patternnames: *mut *mut SAFEARRAY, ) -> Result<()>
pub unsafe fn PollForPotentialSupportedProperties<'a>( &self, pelement: impl IntoParam<'a, IUIAutomationElement>, propertyids: *mut *mut SAFEARRAY, propertynames: *mut *mut SAFEARRAY, ) -> Result<()>
pub unsafe fn CheckNotSupported<'a>( &self, value: impl IntoParam<'a, VARIANT>, ) -> Result<BOOL>
pub unsafe fn get_ReservedNotSupportedValue(&self) -> Result<IUnknown>
pub unsafe fn get_ReservedMixedAttributeValue(&self) -> Result<IUnknown>
pub unsafe fn ElementFromIAccessible<'a>( &self, accessible: impl IntoParam<'a, IAccessible>, childid: i32, ) -> Result<IUIAutomationElement>
pub unsafe fn ElementFromIAccessibleBuildCache<'a>( &self, accessible: impl IntoParam<'a, IAccessible>, childid: i32, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>
Trait Implementations§
Source§impl Clone for IUIAutomation
impl Clone for IUIAutomation
Source§fn clone(&self) -> IUIAutomation
fn clone(&self) -> IUIAutomation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IUIAutomation
impl Debug for IUIAutomation
Source§impl From<&IUIAutomation> for IUnknown
impl From<&IUIAutomation> for IUnknown
Source§fn from(value: &IUIAutomation) -> Self
fn from(value: &IUIAutomation) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation2> for IUIAutomation
impl From<&IUIAutomation2> for IUIAutomation
Source§fn from(value: &IUIAutomation2) -> Self
fn from(value: &IUIAutomation2) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation3> for IUIAutomation
impl From<&IUIAutomation3> for IUIAutomation
Source§fn from(value: &IUIAutomation3) -> Self
fn from(value: &IUIAutomation3) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation4> for IUIAutomation
impl From<&IUIAutomation4> for IUIAutomation
Source§fn from(value: &IUIAutomation4) -> Self
fn from(value: &IUIAutomation4) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation5> for IUIAutomation
impl From<&IUIAutomation5> for IUIAutomation
Source§fn from(value: &IUIAutomation5) -> Self
fn from(value: &IUIAutomation5) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation6> for IUIAutomation
impl From<&IUIAutomation6> for IUIAutomation
Source§fn from(value: &IUIAutomation6) -> Self
fn from(value: &IUIAutomation6) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation> for IUnknown
impl From<IUIAutomation> for IUnknown
Source§fn from(value: IUIAutomation) -> Self
fn from(value: IUIAutomation) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation2> for IUIAutomation
impl From<IUIAutomation2> for IUIAutomation
Source§fn from(value: IUIAutomation2) -> Self
fn from(value: IUIAutomation2) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation3> for IUIAutomation
impl From<IUIAutomation3> for IUIAutomation
Source§fn from(value: IUIAutomation3) -> Self
fn from(value: IUIAutomation3) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation4> for IUIAutomation
impl From<IUIAutomation4> for IUIAutomation
Source§fn from(value: IUIAutomation4) -> Self
fn from(value: IUIAutomation4) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation5> for IUIAutomation
impl From<IUIAutomation5> for IUIAutomation
Source§fn from(value: IUIAutomation5) -> Self
fn from(value: IUIAutomation5) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation6> for IUIAutomation
impl From<IUIAutomation6> for IUIAutomation
Source§fn from(value: IUIAutomation6) -> Self
fn from(value: IUIAutomation6) -> Self
Converts to this type from the input type.
Source§impl Interface for IUIAutomation
impl Interface for IUIAutomation
Source§impl PartialEq for IUIAutomation
impl PartialEq for IUIAutomation
impl Eq for IUIAutomation
impl StructuralPartialEq for IUIAutomation
Auto Trait Implementations§
impl Freeze for IUIAutomation
impl RefUnwindSafe for IUIAutomation
impl !Send for IUIAutomation
impl !Sync for IUIAutomation
impl Unpin for IUIAutomation
impl UnwindSafe for IUIAutomation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more