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>
pub unsafe fn CompareRuntimeIds( &self, runtimeid1: *mut SAFEARRAY, runtimeid2: *mut SAFEARRAY, ) -> Result<BOOL>
pub unsafe fn GetRootElement(&self) -> Result<IUIAutomationElement>
pub unsafe fn ElementFromHandle( &self, hwnd: *mut c_void, ) -> 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: *mut c_void, 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: *mut SAFEARRAY, ) -> Result<IUIAutomationCondition>
pub unsafe fn CreateAndConditionFromNativeArray( &self, conditions: *mut 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: *mut SAFEARRAY, ) -> Result<IUIAutomationCondition>
pub unsafe fn CreateOrConditionFromNativeArray( &self, conditions: *mut 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: *mut 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: *mut 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: *mut i32, arraycount: i32, ) -> Result<*mut SAFEARRAY>
pub unsafe fn IntSafeArrayToNativeArray( &self, intarray: *mut 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: *mut 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>
pub unsafe fn get_AutoSetFocus(&self) -> Result<BOOL>
pub unsafe fn put_AutoSetFocus<'a>( &self, autosetfocus: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_ConnectionTimeout(&self) -> Result<u32>
pub unsafe fn put_ConnectionTimeout(&self, timeout: u32) -> Result<()>
pub unsafe fn get_TransactionTimeout(&self) -> Result<u32>
pub unsafe fn put_TransactionTimeout(&self, timeout: u32) -> Result<()>
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<()>
pub unsafe fn RemoveTextEditTextChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationTextEditTextChangedEventHandler>, ) -> Result<()>
pub unsafe fn AddChangesEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, scope: TreeScope, changetypes: *mut i32, changescount: i32, pcacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationChangesEventHandler>, ) -> Result<()>
pub unsafe fn RemoveChangesEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationChangesEventHandler>, ) -> Result<()>
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) -> Self
fn from(value: &IUIAutomation4) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation4> for IUIAutomation2
impl From<&IUIAutomation4> for IUIAutomation2
Source§fn from(value: &IUIAutomation4) -> Self
fn from(value: &IUIAutomation4) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation4> for IUIAutomation3
impl From<&IUIAutomation4> for IUIAutomation3
Source§fn from(value: &IUIAutomation4) -> Self
fn from(value: &IUIAutomation4) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation4> for IUnknown
impl From<&IUIAutomation4> for IUnknown
Source§fn from(value: &IUIAutomation4) -> Self
fn from(value: &IUIAutomation4) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation5> for IUIAutomation4
impl From<&IUIAutomation5> for IUIAutomation4
Source§fn from(value: &IUIAutomation5) -> Self
fn from(value: &IUIAutomation5) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation6> for IUIAutomation4
impl From<&IUIAutomation6> for IUIAutomation4
Source§fn from(value: &IUIAutomation6) -> Self
fn from(value: &IUIAutomation6) -> 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<IUIAutomation4> for IUIAutomation2
impl From<IUIAutomation4> for IUIAutomation2
Source§fn from(value: IUIAutomation4) -> Self
fn from(value: IUIAutomation4) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation4> for IUIAutomation3
impl From<IUIAutomation4> for IUIAutomation3
Source§fn from(value: IUIAutomation4) -> Self
fn from(value: IUIAutomation4) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation4> for IUnknown
impl From<IUIAutomation4> for IUnknown
Source§fn from(value: IUIAutomation4) -> Self
fn from(value: IUIAutomation4) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation5> for IUIAutomation4
impl From<IUIAutomation5> for IUIAutomation4
Source§fn from(value: IUIAutomation5) -> Self
fn from(value: IUIAutomation5) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation6> for IUIAutomation4
impl From<IUIAutomation6> for IUIAutomation4
Source§fn from(value: IUIAutomation6) -> Self
fn from(value: IUIAutomation6) -> Self
Converts to this type from the input type.
Source§impl Interface for IUIAutomation4
impl Interface for IUIAutomation4
const IID: Guid
type Vtable = IUIAutomation4_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
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> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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