pub struct IUIAutomation4(/* private fields */);Implementations§
Source§impl IUIAutomation4
impl IUIAutomation4
pub unsafe fn CompareElements<'a>( &self, el1: impl IntoParam<'a, IUIAutomationElement>, el2: impl IntoParam<'a, IUIAutomationElement>, ) -> Result<BOOL, Error>
pub unsafe fn CompareRuntimeIds( &self, runtimeid1: *const SAFEARRAY, runtimeid2: *const SAFEARRAY, ) -> Result<BOOL, Error>
pub unsafe fn GetRootElement(&self) -> Result<IUIAutomationElement, Error>
pub unsafe fn ElementFromHandle<'a>( &self, hwnd: impl IntoParam<'a, HWND>, ) -> Result<IUIAutomationElement, Error>
pub unsafe fn ElementFromPoint<'a>( &self, pt: impl IntoParam<'a, POINT>, ) -> Result<IUIAutomationElement, Error>
pub unsafe fn GetFocusedElement(&self) -> Result<IUIAutomationElement, Error>
pub unsafe fn GetRootElementBuildCache<'a>( &self, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement, Error>
pub unsafe fn ElementFromHandleBuildCache<'a>( &self, hwnd: impl IntoParam<'a, HWND>, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement, Error>
pub unsafe fn ElementFromPointBuildCache<'a>( &self, pt: impl IntoParam<'a, POINT>, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement, Error>
pub unsafe fn GetFocusedElementBuildCache<'a>( &self, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement, Error>
pub unsafe fn CreateTreeWalker<'a>( &self, pcondition: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationTreeWalker, Error>
pub unsafe fn get_ControlViewWalker( &self, ) -> Result<IUIAutomationTreeWalker, Error>
pub unsafe fn get_ContentViewWalker( &self, ) -> Result<IUIAutomationTreeWalker, Error>
pub unsafe fn get_RawViewWalker(&self) -> Result<IUIAutomationTreeWalker, Error>
pub unsafe fn get_RawViewCondition( &self, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn get_ControlViewCondition( &self, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn get_ContentViewCondition( &self, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreateCacheRequest( &self, ) -> Result<IUIAutomationCacheRequest, Error>
pub unsafe fn CreateTrueCondition( &self, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreateFalseCondition( &self, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreatePropertyCondition<'a>( &self, propertyid: i32, value: impl IntoParam<'a, VARIANT>, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreatePropertyConditionEx<'a>( &self, propertyid: i32, value: impl IntoParam<'a, VARIANT>, flags: PropertyConditionFlags, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreateAndCondition<'a>( &self, condition1: impl IntoParam<'a, IUIAutomationCondition>, condition2: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreateAndConditionFromArray( &self, conditions: *const SAFEARRAY, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreateAndConditionFromNativeArray( &self, conditions: *const Option<IUIAutomationCondition>, conditioncount: i32, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreateOrCondition<'a>( &self, condition1: impl IntoParam<'a, IUIAutomationCondition>, condition2: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreateOrConditionFromArray( &self, conditions: *const SAFEARRAY, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreateOrConditionFromNativeArray( &self, conditions: *const Option<IUIAutomationCondition>, conditioncount: i32, ) -> Result<IUIAutomationCondition, Error>
pub unsafe fn CreateNotCondition<'a>( &self, condition: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationCondition, Error>
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<(), Error>
pub unsafe fn RemoveAutomationEventHandler<'a>( &self, eventid: i32, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationEventHandler>, ) -> Result<(), Error>
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<(), Error>
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<(), Error>
pub unsafe fn RemovePropertyChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationPropertyChangedEventHandler>, ) -> Result<(), Error>
pub unsafe fn AddStructureChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, scope: TreeScope, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationStructureChangedEventHandler>, ) -> Result<(), Error>
pub unsafe fn RemoveStructureChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationStructureChangedEventHandler>, ) -> Result<(), Error>
pub unsafe fn AddFocusChangedEventHandler<'a>( &self, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationFocusChangedEventHandler>, ) -> Result<(), Error>
pub unsafe fn RemoveFocusChangedEventHandler<'a>( &self, handler: impl IntoParam<'a, IUIAutomationFocusChangedEventHandler>, ) -> Result<(), Error>
pub unsafe fn RemoveAllEventHandlers(&self) -> Result<(), Error>
pub unsafe fn IntNativeArrayToSafeArray( &self, array: *const i32, arraycount: i32, ) -> Result<*mut SAFEARRAY, Error>
pub unsafe fn IntSafeArrayToNativeArray( &self, intarray: *const SAFEARRAY, array: *mut *mut i32, arraycount: *mut i32, ) -> Result<(), Error>
pub unsafe fn RectToVariant<'a>( &self, rc: impl IntoParam<'a, RECT>, ) -> Result<VARIANT, Error>
pub unsafe fn VariantToRect<'a>( &self, var: impl IntoParam<'a, VARIANT>, ) -> Result<RECT, Error>
pub unsafe fn SafeArrayToRectNativeArray( &self, rects: *const SAFEARRAY, rectarray: *mut *mut RECT, rectarraycount: *mut i32, ) -> Result<(), Error>
pub unsafe fn CreateProxyFactoryEntry<'a>( &self, factory: impl IntoParam<'a, IUIAutomationProxyFactory>, ) -> Result<IUIAutomationProxyFactoryEntry, Error>
pub unsafe fn get_ProxyFactoryMapping( &self, ) -> Result<IUIAutomationProxyFactoryMapping, Error>
pub unsafe fn GetPropertyProgrammaticName( &self, property: i32, ) -> Result<BSTR, Error>
pub unsafe fn GetPatternProgrammaticName( &self, pattern: i32, ) -> Result<BSTR, Error>
pub unsafe fn PollForPotentialSupportedPatterns<'a>( &self, pelement: impl IntoParam<'a, IUIAutomationElement>, patternids: *mut *mut SAFEARRAY, patternnames: *mut *mut SAFEARRAY, ) -> Result<(), Error>
pub unsafe fn PollForPotentialSupportedProperties<'a>( &self, pelement: impl IntoParam<'a, IUIAutomationElement>, propertyids: *mut *mut SAFEARRAY, propertynames: *mut *mut SAFEARRAY, ) -> Result<(), Error>
pub unsafe fn CheckNotSupported<'a>( &self, value: impl IntoParam<'a, VARIANT>, ) -> Result<BOOL, Error>
pub unsafe fn get_ReservedNotSupportedValue(&self) -> Result<IUnknown, Error>
pub unsafe fn get_ReservedMixedAttributeValue(&self) -> Result<IUnknown, Error>
pub unsafe fn ElementFromIAccessible<'a>( &self, accessible: impl IntoParam<'a, IAccessible>, childid: i32, ) -> Result<IUIAutomationElement, Error>
pub unsafe fn ElementFromIAccessibleBuildCache<'a>( &self, accessible: impl IntoParam<'a, IAccessible>, childid: i32, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement, Error>
pub unsafe fn get_AutoSetFocus(&self) -> Result<BOOL, Error>
pub unsafe fn put_AutoSetFocus<'a>( &self, autosetfocus: impl IntoParam<'a, BOOL>, ) -> Result<(), Error>
pub unsafe fn get_ConnectionTimeout(&self) -> Result<u32, Error>
pub unsafe fn put_ConnectionTimeout(&self, timeout: u32) -> Result<(), Error>
pub unsafe fn get_TransactionTimeout(&self) -> Result<u32, Error>
pub unsafe fn put_TransactionTimeout(&self, timeout: u32) -> Result<(), Error>
pub unsafe fn AddTextEditTextChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, scope: TreeScope, texteditchangetype: TextEditChangeType, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationTextEditTextChangedEventHandler>, ) -> Result<(), Error>
pub unsafe fn RemoveTextEditTextChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationTextEditTextChangedEventHandler>, ) -> Result<(), Error>
pub unsafe fn AddChangesEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, scope: TreeScope, changetypes: *const i32, changescount: i32, pcacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationChangesEventHandler>, ) -> Result<(), Error>
pub unsafe fn RemoveChangesEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationChangesEventHandler>, ) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for IUIAutomation4
impl Clone for IUIAutomation4
Source§fn clone(&self) -> IUIAutomation4
fn clone(&self) -> IUIAutomation4
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 IUIAutomation4
impl Debug for IUIAutomation4
Source§impl From<&IUIAutomation4> for IUIAutomation
impl From<&IUIAutomation4> for IUIAutomation
Source§fn from(value: &IUIAutomation4) -> IUIAutomation
fn from(value: &IUIAutomation4) -> IUIAutomation
Converts to this type from the input type.
Source§impl From<&IUIAutomation4> for IUIAutomation2
impl From<&IUIAutomation4> for IUIAutomation2
Source§fn from(value: &IUIAutomation4) -> IUIAutomation2
fn from(value: &IUIAutomation4) -> IUIAutomation2
Converts to this type from the input type.
Source§impl From<&IUIAutomation4> for IUIAutomation3
impl From<&IUIAutomation4> for IUIAutomation3
Source§fn from(value: &IUIAutomation4) -> IUIAutomation3
fn from(value: &IUIAutomation4) -> IUIAutomation3
Converts to this type from the input type.
Source§impl From<&IUIAutomation5> for IUIAutomation4
impl From<&IUIAutomation5> for IUIAutomation4
Source§fn from(value: &IUIAutomation5) -> IUIAutomation4
fn from(value: &IUIAutomation5) -> IUIAutomation4
Converts to this type from the input type.
Source§impl From<&IUIAutomation6> for IUIAutomation4
impl From<&IUIAutomation6> for IUIAutomation4
Source§fn from(value: &IUIAutomation6) -> IUIAutomation4
fn from(value: &IUIAutomation6) -> IUIAutomation4
Converts to this type from the input type.
Source§impl From<IUIAutomation4> for IUIAutomation
impl From<IUIAutomation4> for IUIAutomation
Source§fn from(value: IUIAutomation4) -> IUIAutomation
fn from(value: IUIAutomation4) -> IUIAutomation
Converts to this type from the input type.
Source§impl From<IUIAutomation4> for IUIAutomation2
impl From<IUIAutomation4> for IUIAutomation2
Source§fn from(value: IUIAutomation4) -> IUIAutomation2
fn from(value: IUIAutomation4) -> IUIAutomation2
Converts to this type from the input type.
Source§impl From<IUIAutomation4> for IUIAutomation3
impl From<IUIAutomation4> for IUIAutomation3
Source§fn from(value: IUIAutomation4) -> IUIAutomation3
fn from(value: IUIAutomation4) -> IUIAutomation3
Converts to this type from the input type.
Source§impl From<IUIAutomation5> for IUIAutomation4
impl From<IUIAutomation5> for IUIAutomation4
Source§fn from(value: IUIAutomation5) -> IUIAutomation4
fn from(value: IUIAutomation5) -> IUIAutomation4
Converts to this type from the input type.
Source§impl From<IUIAutomation6> for IUIAutomation4
impl From<IUIAutomation6> for IUIAutomation4
Source§fn from(value: IUIAutomation6) -> IUIAutomation4
fn from(value: IUIAutomation6) -> IUIAutomation4
Converts to this type from the input type.
Source§impl Interface for IUIAutomation4
impl Interface for IUIAutomation4
Source§impl PartialEq for IUIAutomation4
impl PartialEq for IUIAutomation4
impl Eq for IUIAutomation4
impl StructuralPartialEq for IUIAutomation4
Auto Trait Implementations§
impl Freeze for IUIAutomation4
impl RefUnwindSafe for IUIAutomation4
impl !Send for IUIAutomation4
impl !Sync for IUIAutomation4
impl Unpin for IUIAutomation4
impl UnwindSafe for IUIAutomation4
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