pub struct IUIAutomation6(/* private fields */);
Implementations§
Source§impl IUIAutomation6
impl IUIAutomation6
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<()>
pub unsafe fn AddNotificationEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, scope: TreeScope, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationNotificationEventHandler>, ) -> Result<()>
pub unsafe fn RemoveNotificationEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationNotificationEventHandler>, ) -> Result<()>
pub unsafe fn CreateEventHandlerGroup( &self, ) -> Result<IUIAutomationEventHandlerGroup>
pub unsafe fn AddEventHandlerGroup<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handlergroup: impl IntoParam<'a, IUIAutomationEventHandlerGroup>, ) -> Result<()>
pub unsafe fn RemoveEventHandlerGroup<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handlergroup: impl IntoParam<'a, IUIAutomationEventHandlerGroup>, ) -> Result<()>
pub unsafe fn get_ConnectionRecoveryBehavior( &self, ) -> Result<ConnectionRecoveryBehaviorOptions>
pub unsafe fn put_ConnectionRecoveryBehavior( &self, connectionrecoverybehavioroptions: ConnectionRecoveryBehaviorOptions, ) -> Result<()>
pub unsafe fn get_CoalesceEvents(&self) -> Result<CoalesceEventsOptions>
pub unsafe fn put_CoalesceEvents( &self, coalesceeventsoptions: CoalesceEventsOptions, ) -> Result<()>
pub unsafe fn AddActiveTextPositionChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, scope: TreeScope, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, handler: impl IntoParam<'a, IUIAutomationActiveTextPositionChangedEventHandler>, ) -> Result<()>
pub unsafe fn RemoveActiveTextPositionChangedEventHandler<'a>( &self, element: impl IntoParam<'a, IUIAutomationElement>, handler: impl IntoParam<'a, IUIAutomationActiveTextPositionChangedEventHandler>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IUIAutomation6
impl Clone for IUIAutomation6
Source§fn clone(&self) -> IUIAutomation6
fn clone(&self) -> IUIAutomation6
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 IUIAutomation6
impl Debug for IUIAutomation6
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<&IUIAutomation6> for IUIAutomation2
impl From<&IUIAutomation6> for IUIAutomation2
Source§fn from(value: &IUIAutomation6) -> Self
fn from(value: &IUIAutomation6) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation6> for IUIAutomation3
impl From<&IUIAutomation6> for IUIAutomation3
Source§fn from(value: &IUIAutomation6) -> Self
fn from(value: &IUIAutomation6) -> 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<&IUIAutomation6> for IUIAutomation5
impl From<&IUIAutomation6> for IUIAutomation5
Source§fn from(value: &IUIAutomation6) -> Self
fn from(value: &IUIAutomation6) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomation6> for IUnknown
impl From<&IUIAutomation6> for IUnknown
Source§fn from(value: &IUIAutomation6) -> Self
fn from(value: &IUIAutomation6) -> 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<IUIAutomation6> for IUIAutomation2
impl From<IUIAutomation6> for IUIAutomation2
Source§fn from(value: IUIAutomation6) -> Self
fn from(value: IUIAutomation6) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation6> for IUIAutomation3
impl From<IUIAutomation6> for IUIAutomation3
Source§fn from(value: IUIAutomation6) -> Self
fn from(value: IUIAutomation6) -> 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<IUIAutomation6> for IUIAutomation5
impl From<IUIAutomation6> for IUIAutomation5
Source§fn from(value: IUIAutomation6) -> Self
fn from(value: IUIAutomation6) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomation6> for IUnknown
impl From<IUIAutomation6> for IUnknown
Source§fn from(value: IUIAutomation6) -> Self
fn from(value: IUIAutomation6) -> Self
Converts to this type from the input type.
Source§impl Interface for IUIAutomation6
impl Interface for IUIAutomation6
const IID: Guid
type Vtable = IUIAutomation6_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 IUIAutomation6
impl PartialEq for IUIAutomation6
impl Eq for IUIAutomation6
impl StructuralPartialEq for IUIAutomation6
Auto Trait Implementations§
impl Freeze for IUIAutomation6
impl RefUnwindSafe for IUIAutomation6
impl !Send for IUIAutomation6
impl !Sync for IUIAutomation6
impl Unpin for IUIAutomation6
impl UnwindSafe for IUIAutomation6
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